aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/qca-vendor.h
diff options
context:
space:
mode:
authorPeng Xu <pxu@qca.qualcomm.com>2015-06-20 00:19:27 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-28 20:22:24 (GMT)
commitd0cdccd30785b2471c632c341caef68ab1bc62db (patch)
treeac71eaf84eceebe3d45adca616457c445812b36a /src/common/qca-vendor.h
parent844dfeb804af7e6934b5d8e5ffbe2e813dabff54 (diff)
downloadhostap-d0cdccd30785b2471c632c341caef68ab1bc62db.zip
hostap-d0cdccd30785b2471c632c341caef68ab1bc62db.tar.gz
hostap-d0cdccd30785b2471c632c341caef68ab1bc62db.tar.bz2
Fix generating offloaded ACS channel list when hw_mode is set to any
When ACS is offloaded to device driver and the hw_mode parameter is set to any, the current_mode structure is NULL which fails the ACS command. Fix this by populating the ACS channel list with channels from all bands when current_mode is NULL. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/common/qca-vendor.h')
-rw-r--r--src/common/qca-vendor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h
index 2a6e242..b9f5f84 100644
--- a/src/common/qca-vendor.h
+++ b/src/common/qca-vendor.h
@@ -223,6 +223,7 @@ enum qca_wlan_vendor_attr_acs_offload {
QCA_WLAN_VENDOR_ATTR_ACS_CH_LIST,
QCA_WLAN_VENDOR_ATTR_ACS_VHT_SEG0_CENTER_CHANNEL,
QCA_WLAN_VENDOR_ATTR_ACS_VHT_SEG1_CENTER_CHANNEL,
+ QCA_WLAN_VENDOR_ATTR_ACS_FREQ_LIST,
/* keep last */
QCA_WLAN_VENDOR_ATTR_ACS_AFTER_LAST,
QCA_WLAN_VENDOR_ATTR_ACS_MAX =