mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-20 19:03:39 +00:00
55 lines
1.9 KiB
Diff
55 lines
1.9 KiB
Diff
--- a/drivers/net/wireless/ath/ath11k/wmi.c
|
|
+++ b/drivers/net/wireless/ath/ath11k/wmi.c
|
|
@@ -1374,6 +1374,7 @@ int ath11k_wmi_pdev_bss_chan_info_reques
|
|
WMI_TAG_PDEV_BSS_CHAN_INFO_REQUEST) |
|
|
FIELD_PREP(WMI_TLV_LEN, sizeof(*cmd) - TLV_HDR_SIZE);
|
|
cmd->req_type = type;
|
|
+ cmd->pdev_id = ar->pdev->pdev_id;
|
|
|
|
ath11k_dbg(ar->ab, ATH11K_DBG_WMI,
|
|
"WMI bss chan info req type %d\n", type);
|
|
@@ -3516,7 +3517,8 @@ ath11k_wmi_copy_resource_config(struct w
|
|
wmi_cfg->bpf_instruction_size = tg_cfg->bpf_instruction_size;
|
|
wmi_cfg->max_bssid_rx_filters = tg_cfg->max_bssid_rx_filters;
|
|
wmi_cfg->use_pdev_id = tg_cfg->use_pdev_id;
|
|
- wmi_cfg->flag1 |= WMI_RSRC_CFG_FLAG1_EAPOL_REKEY_MINRATE;
|
|
+ wmi_cfg->flag1 |= WMI_RSRC_CFG_FLAG1_EAPOL_REKEY_MINRATE |
|
|
+ WMI_RSRC_CFG_FLAG1_BSS_CHANNEL_INFO_64;
|
|
wmi_cfg->peer_map_unmap_v2_support = tg_cfg->peer_map_unmap_v2_support;
|
|
wmi_cfg->sched_params = tg_cfg->sched_params;
|
|
wmi_cfg->twt_ap_pdev_count = tg_cfg->twt_ap_pdev_count;
|
|
--- a/drivers/net/wireless/ath/ath11k/wmi.h
|
|
+++ b/drivers/net/wireless/ath/ath11k/wmi.h
|
|
@@ -2219,6 +2219,7 @@ struct wmi_init_cmd {
|
|
} __packed;
|
|
|
|
#define WMI_RSRC_CFG_FLAG1_EAPOL_REKEY_MINRATE BIT(14)
|
|
+#define WMI_RSRC_CFG_FLAG1_BSS_CHANNEL_INFO_64 BIT(5)
|
|
|
|
struct wmi_resource_config {
|
|
u32 tlv_header;
|
|
@@ -2948,6 +2949,7 @@ struct wmi_pdev_bss_chan_info_req_cmd {
|
|
u32 tlv_header;
|
|
/* ref wmi_bss_chan_info_req_type */
|
|
u32 req_type;
|
|
+ u32 pdev_id;
|
|
} __packed;
|
|
|
|
struct wmi_ap_ps_peer_cmd {
|
|
@@ -4071,7 +4073,6 @@ struct wmi_vdev_stopped_event {
|
|
} __packed;
|
|
|
|
struct wmi_pdev_bss_chan_info_event {
|
|
- u32 pdev_id;
|
|
u32 freq; /* Units in MHz */
|
|
u32 noise_floor; /* units are dBm */
|
|
/* rx clear - how often the channel was unused */
|
|
@@ -4089,6 +4090,7 @@ struct wmi_pdev_bss_chan_info_event {
|
|
/*rx_cycle cnt for my bss in 64bits format */
|
|
u32 rx_bss_cycle_count_low;
|
|
u32 rx_bss_cycle_count_high;
|
|
+ u32 pdev_id;
|
|
} __packed;
|
|
|
|
#define WMI_VDEV_INSTALL_KEY_COMPL_STATUS_SUCCESS 0
|