wifi: ath12k: move HE capabilities processing to a new function
authorAloka Dixit <quic_alokad@quicinc.com>
Wed, 2 Aug 2023 17:04:01 +0000 (20:04 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 3 Aug 2023 09:11:57 +0000 (12:11 +0300)
commita7a6a45d37fe868b30363255d3a37a44acd1cf37
tree298820976a689ef91adf65af6d80f39116d4c067
parente22f5b780c691ae2ed0d5e7743ccd6183baf5dc2
wifi: ath12k: move HE capabilities processing to a new function

The function ath12k_mac_copy_sband_iftype_data() is currently
used HE capabilities propagation but it can be extended to
include EHT data. Move the HE specific functionality from to
ath12k_mac_copy_he_cap() to make EHT additions easier.

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-3-quic_alokad@quicinc.com
drivers/net/wireless/ath/ath12k/mac.c