[PATCH 5.4 095/194] wifi: rtlwifi: add calculate_bit_shift()