[PATCH 6.1 133/417] wifi: rtlwifi: add calculate_bit_shift()