[PATCH AUTOSEL 5.10 39/44] wifi: rtlwifi: add calculate_bit_shift()