diff options
author | Wen Gong <quic_wgong@quicinc.com> | 2024-01-11 14:56:57 +0100 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2024-01-14 15:59:08 +0100 |
commit | 7004bdceef605e5c1c5ab4aaf282002ad7523ddd (patch) | |
tree | cd1c627817589ddd0f8751106eae353cb4074516 /drivers/net/wireless/ath/ath11k/wmi.h | |
parent | wifi: ath11k: add support to select 6 GHz regulatory type (diff) | |
download | linux-7004bdceef605e5c1c5ab4aaf282002ad7523ddd.tar.xz linux-7004bdceef605e5c1c5ab4aaf282002ad7523ddd.zip |
wifi: ath11k: store cur_regulatory_info for each radio
The regulatory info of WMI_REG_CHAN_LIST_CC_EXT_EVENTID is not saved
in ath11k now, the info should be saved in ath11k. Save the info for
each radio and support switch regulatory rules dynamically.
As mac.c will also call ath11k_reg_handle_chan_list() in next patches move the
function to reg.c.
Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23
Signed-off-by: Wen Gong <quic_wgong@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20231218085844.2658-3-quic_bqiang@quicinc.com
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/wmi.h')
-rw-r--r-- | drivers/net/wireless/ath/ath11k/wmi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath11k/wmi.h b/drivers/net/wireless/ath/ath11k/wmi.h index b1b4ee804b7b..a466d2bb4bb8 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.h +++ b/drivers/net/wireless/ath/ath11k/wmi.h @@ -4951,6 +4951,7 @@ struct ath11k_targ_cap { }; enum wmi_vdev_type { + WMI_VDEV_TYPE_UNSPEC = 0, WMI_VDEV_TYPE_AP = 1, WMI_VDEV_TYPE_STA = 2, WMI_VDEV_TYPE_IBSS = 3, |