OSDN Git Service

wifi: ath12k: rename HE capabilities setup/copy functions
authorAloka Dixit <quic_alokad@quicinc.com>
Wed, 2 Aug 2023 17:04:00 +0000 (20:04 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 3 Aug 2023 09:11:57 +0000 (12:11 +0300)
commite22f5b780c691ae2ed0d5e7743ccd6183baf5dc2
treed40b788fd1fba2bafca2fbea09cc471237707b6b
parent3742928a52d6859731d525f06c09decff87ffa01
wifi: ath12k: rename HE capabilities setup/copy functions

Functions ath12k_mac_setup_he_cap() and ath12k_mac_copy_he_cap()
propagate HE and 6GHz capabilities to the userspace using an instance
of struct ieee80211_sband_iftype_data. This structure now has a new
member 'eht_cap' to include EHT capabilities as well.
Rename the above mentioned functions to indicate that their use is not
limited to HE.

Also, replace the local variable 'band' with 'sband' and reuse
'band' for the type enum nl80211_band.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230725224034.14045-2-quic_alokad@quicinc.com
drivers/net/wireless/ath/ath12k/mac.c