qcacmn: Update HE capability in scan channel list cmd
Set HE capability support in scan channel list command to enable
HE IEs probe request frames.
Change-Id: Ia8836f033ee010ba21f82fdc21da5085e70bc0a4
CRs-Fixed: 2478069
diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h
index 4d1a963..d279493 100644
--- a/wmi/inc/wmi_unified_param.h
+++ b/wmi/inc/wmi_unified_param.h
@@ -622,6 +622,7 @@
* @allow_ht: HT allowed in chan
* @allow_vht: VHT allowed on chan
* @set_agile: is agile mode
+ * @allow_he: HE allowed on chan
* @phy_mode: phymode (vht80 or ht40 or ...)
* @cfreq1: centre frequency on primary
* @cfreq2: centre frequency on secondary
@@ -643,7 +644,8 @@
is_chan_passive:1,
allow_ht:1,
allow_vht:1,
- set_agile:1;
+ set_agile:1,
+ allow_he:1;
uint32_t phy_mode;
uint32_t cfreq1;
uint32_t cfreq2;
diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c
index 89b6033..1a16bb7 100644
--- a/wmi/src/wmi_unified_tlv.c
+++ b/wmi/src/wmi_unified_tlv.c
@@ -3005,6 +3005,9 @@
if (tchan_info->dfs_set)
WMI_SET_CHANNEL_FLAG(chan_info,
WMI_CHAN_FLAG_DFS);
+ if (tchan_info->allow_he)
+ WMI_SET_CHANNEL_FLAG(chan_info,
+ WMI_CHAN_FLAG_ALLOW_HE);
if (tchan_info->allow_vht)
WMI_SET_CHANNEL_FLAG(chan_info,