From 47e93c04b35477bb5d9832b7dc2c6fd2111a8a7a Mon Sep 17 00:00:00 2001 From: Kiran Kumar Lokere Date: Mon, 24 Jun 2019 18:19:48 -0700 Subject: [PATCH] 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 --- wmi/inc/wmi_unified_param.h | 4 +++- wmi/src/wmi_unified_tlv.c | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index 4d1a9631e9..d279493e56 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -622,6 +622,7 @@ typedef enum { * @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 @@ struct channel_param { 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 89b6033aea..1a16bb7021 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -3005,6 +3005,9 @@ static QDF_STATUS send_scan_chan_list_cmd_tlv(wmi_unified_t wmi_handle, 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,