ath9k: split set11nRateFlags and set11nChainSel
authorWenli Looi <wlooi@ucalgary.ca>
Sun, 20 Mar 2022 23:30:06 +0000 (17:30 -0600)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 25 Mar 2022 10:32:25 +0000 (12:32 +0200)
commita96474a794e11eda2c96b06270178ac1ccd6e1c0
treeb06bba34b343a9ce2c89b6e1dc17d03192ed7719
parent26c31016fe7eb1911e9ffa50dbaac6f2c42c799c
ath9k: split set11nRateFlags and set11nChainSel

This makes the code clearer since set11nRateFlags currently sets
both the rate flags and chain sel. This may also be required for
QCN550x support, where the rate flags and chain sel are in separate
fields.

This change does not appear to affect the final binary.

Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220320233010.123106-3-wlooi@ucalgary.ca
drivers/net/wireless/ath/ath9k/ar9002_mac.c
drivers/net/wireless/ath/ath9k/ar9003_mac.c
drivers/net/wireless/ath/ath9k/mac.h