[PATCH 6.7 207/641] wifi: rtlwifi: add calculate_bit_shift()