diff options
author | Glen Kuhne <kuh@google.com> | 2017-01-18 13:14:52 -0800 |
---|---|---|
committer | Glen Kuhne <kuh@google.com> | 2017-01-18 13:14:52 -0800 |
commit | e178eab366b0900a2ed72bd09a016a5025e782e4 (patch) | |
tree | e1be3adaed9ca920dc03aacbf9c956ecce9c9cc4 /wifi | |
parent | 670d00aa0e64aeb2b60638eeeb07806833871aef (diff) | |
download | bullhead-e178eab366b0900a2ed72bd09a016a5025e782e4.tar.gz |
Whitelist Probe Request IEs on bullhead
Enables a whitelist that gets applied to Prove Request Information
elemts while bullhead devices are scanning for wifi networks in a
disconnected state (Is not applied while device is connected or
connecting).
This whitelist only allows the 'SSID Paramter Set' and 'DS Parameter
Set' Information elements (0 & 3).
Bug: 30307282
Test: Manually verified via wireshark
Change-Id: Ie1cb9de9a47a9f8a734b25a09022c3a7b0344ce5
Diffstat (limited to 'wifi')
-rw-r--r-- | wifi/WCNSS_qcom_cfg.ini | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/wifi/WCNSS_qcom_cfg.ini b/wifi/WCNSS_qcom_cfg.ini index 437bcf1..57da027 100644 --- a/wifi/WCNSS_qcom_cfg.ini +++ b/wifi/WCNSS_qcom_cfg.ini @@ -685,6 +685,25 @@ g_use_otpmac=0 # Enable Active mode offload gActiveModeOffload=1 +# Enable or disable Probe Req Information Element whitelist. When enabled, IEs corresponding to bits +# set in bitmaps are allowed in probe request, all others removed while device is unassociated +# with an AP +# 1=Enable, 0=Disable (default) +g_enable_probereq_whitelist_ies=1 + +# ie bitmap examples: <bitmap_name>=<value> [<Allowed Information elements>] +# g_probe_req_ie_bitmap_0=0x80000009 #[0, 3, 31] +# g_probe_req_ie_bitmap_0=0x00000000 #[] (default) +# g_probe_req_ie_bitmap_1=0x80000009 #[32, 35, 63] +g_probe_req_ie_bitmap_0=0x00000009 +# g_probe_req_ie_bitmap_1=0x00000000 +# g_probe_req_ie_bitmap_2=0x00000000 +# g_probe_req_ie_bitmap_3=0x00000000 +# g_probe_req_ie_bitmap_4=0x00000000 +# g_probe_req_ie_bitmap_5=0x00000000 +# g_probe_req_ie_bitmap_6=0x00000000 +# g_probe_req_ie_bitmap_7=0x00000000 + END # Note: Configuration parser would not read anything past the END marker |