[PATCH 5.10 223/270] wifi: rtw88: Dont use static local variable in rtw8822b_set_tx_power_index_by_rate