wifi: ath11k: Send HT fixed rate in WMI peer fixed param
authorMaharaja Kennadyrajan <quic_mkenna@quicinc.com>
Tue, 9 May 2023 17:07:24 +0000 (20:07 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 17 May 2023 08:18:42 +0000 (11:18 +0300)
commitdf8e3729ffc0aa645839693f74ee7b6d999cdf64
treeb392c5e7d4e00597d8d7ef847e7191317d66b90e
parent570eec3d40505c30babbe3b8f85a38496c975ab2
wifi: ath11k: Send HT fixed rate in WMI peer fixed param

Due to the firmware behavior with HT fixed rate setting,
HT fixed rate MCS with NSS > 1 are treated as NSS = 1
HT rates in the firmware and enables the HT fixed rate of
NSS = 1.

This leads to HT fixed rate is always configured for NSS = 1
even though the user sets NSS = 2 or > 1 HT fixed MCS in the
set bitrate command.

Currently HT fixed MCS is sent via WMI peer assoc command.
Fix this issue, by sending the HT fixed rate MCS in WMI peer
fixed param instead of sending in peer assoc command.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1

Signed-off-by: Maharaja Kennadyrajan <quic_mkenna@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230504092033.3542456-3-quic_mkenna@quicinc.com
drivers/net/wireless/ath/ath11k/mac.c