[PATCH 6.6 191/583] wifi: rtlwifi: add calculate_bit_shift()