mbox series

[v2,0/2] ath11k: Send HT fixed rate in WMI peer fixed param

Message ID 20230510100242.1241752-1-quic_mkenna@quicinc.com (mailing list archive)
Headers show
Series ath11k: Send HT fixed rate in WMI peer fixed param | expand

Message

Maharaja Kennadyrajan May 10, 2023, 10:02 a.m. UTC
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.

Maharaja Kennadyrajan (2):
  ath11k: Relocate the func ath11k_mac_bitrate_mask_num_ht_rates() and
    change hweight16 to hweight8
  ath11k: Send HT fixed rate in WMI peer fixed param

 drivers/net/wireless/ath/ath11k/mac.c | 93 ++++++++++++++++++++++-----
 1 file changed, 76 insertions(+), 17 deletions(-)

v2:
* Rebased on latest ath.git TOT.