wifi: ath12k: propagate EHT capabilities to userspace
authorAloka Dixit <quic_alokad@quicinc.com>
Wed, 2 Aug 2023 17:04:02 +0000 (20:04 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 3 Aug 2023 09:11:58 +0000 (12:11 +0300)
commitdbe90679bfa1287651b8bb8304b7ce46b00a5f81
tree8e86a8b82651fc92c7b74ed5dd0b10a707ea9222
parent1476014fadb6625c6720c4439ff0c4b5b5431137
wifi: ath12k: propagate EHT capabilities to userspace

Propagate EHT capabilities to the userspace using a new member
'eht_cap' in structure ieee80211_sband_iftype_data.

MCS-NSS capabilities are copied depending on the supported bandwidths
for the given 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: Pradeep Kumar Chitrapu<quic_pradeepc@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230725224034.14045-5-quic_alokad@quicinc.com
drivers/net/wireless/ath/ath12k/mac.c