]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
wifi: ath11k: add support to parse new WMI event for 6 GHz
authorAditya Kumar Singh <quic_adisi@quicinc.com>
Wed, 1 Mar 2023 14:20:59 +0000 (16:20 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 13 Mar 2023 11:57:47 +0000 (13:57 +0200)
commit91fa00fa69224aae5afb720c5e68b22e4c4f7333
tree7901df25b87a59ffef2b41d96a1d0c6b9ed6e377
parent25e289e1f52e1f4fb1d07622c6a24f8d8a8e420d
wifi: ath11k: add support to parse new WMI event for 6 GHz

In order to support different power levels of 6 GHz AP and client,
new WMI event for regulatory - WMI_REG_CHAN_LIST_CC_EXT_EVENTID is
added in firmware. This event provides new parameters required for
6 GHz regulatory rules.

Add support for parsing 2.4 GHz, 5 GHz and 6 GHz reg rules and other
parameters from WMI_REG_CHAN_LIST_CC_EXT_EVENTID.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1

Signed-off-by: Lavanya Suresh <quic_lavaks@quicinc.com>
Signed-off-by: Wen Gong <quic_wgong@quicinc.com>
Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230110121024.14051-3-quic_adisi@quicinc.com
drivers/net/wireless/ath/ath11k/reg.c
drivers/net/wireless/ath/ath11k/wmi.c
drivers/net/wireless/ath/ath11k/wmi.h