wifi: ath12k: register EHT mesh capabilities
authorRamya Gnanasekar <quic_rgnanase@quicinc.com>
Fri, 13 Oct 2023 07:00:07 +0000 (12:30 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 18 Oct 2023 08:29:45 +0000 (11:29 +0300)
commit6b819f89c482b0ab1b9eb913860ca53d70537832
tree9b2a416d9ab6d9ffb91541a8fce52571a3ddfed3
parent9d2c23d21aa4517e48e5d6d0dfb9f99f1aa07636
wifi: ath12k: register EHT mesh capabilities

The capabilities for the EHT mesh are generated from the capabilities
reported by the firmware. But the firmware only reports the overall
capabilities and not the one which are specific for mesh.

Capabilities which requires infrastructure setup with a main STA(AP)
controlling operations are not needed for mesh and hence remove these
capabilities from the list.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0-02903-QCAHKSWPL_SILICONZ-1
Signed-off-by: Ramya Gnanasekar <quic_rgnanase@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20231013070007.25597-3-quic_rgnanase@quicinc.com
drivers/net/wireless/ath/ath12k/mac.c