[PATCH AUTOSEL 6.7 093/108] wifi: rtlwifi: add calculate_bit_shift()