[PATCH AUTOSEL 6.6 090/104] wifi: rtlwifi: add calculate_bit_shift()