[PATCH AUTOSEL 6.1 58/68] wifi: rtlwifi: add calculate_bit_shift()