Commit Graph

6805 Commits

Author SHA1 Message Date
Sridhar Selvaraj
6d3e0d78a3 qcacld-3.0: Add FILS HLP Support for Assoc Request
This change adds support to append/store the HLP IE(if present)
in req_ie as part of connect request from Supplicant and adds the
same in Association request for FILS connection.

Change-Id: I8cd3e28b462a8ac2bd9eee2a383f9d0886adfa83
CRs-Fixed: 2034452
2017-10-06 12:27:42 -07:00
Poddar, Siddarth
c2c0814c7a qcacld-3.0: Add support to capture data stall event from FW
Add support in wma_flush_complete_evt_handler to capture
data stall event from Firmware and post the message to
sys queue.

CRs-Fixed: 2086176
Change-Id: I4e819b1ae711b3867fa46ff638d4bfd2054519ed
2017-10-06 12:27:36 -07:00
Poddar, Siddarth
1b27cd093c qcacld-3.0: Send data stall status diag event
Add support in data stall detection event to send
diag event to QXDM.

CRs-Fixed: 2086176
Change-Id: Ifad03e0882ccce09a7bf90c8e560f24146690895
2017-10-06 12:27:34 -07:00
Poddar, Siddarth
db568161cb qcacld-3.0: Add support to post data stall event to SYS queue
Add support to post data stall event to sys message queue
to handle it in data detection module and finally post
diag event to QXDM. Add support to send  NUD failure
diag event.

CRs-Fixed: 2086176
Change-Id: I72ba36d4c2f6ef2eb495ad1586f74af0f3c69254
2017-10-06 12:27:32 -07:00
Poddar, Siddarth
348727860d qcacld-3.0: Add new data stall detection module in hdd
Add data stall detection module in hdd which handles data
stall reported by host or fw and take necessary recovery
steps based on the data stall type.

Change-Id: Idf6c43f55d1bc115a0c06b4c6ef766ff3ed09bee
CRs-Fixed: 2090643
2017-10-06 12:27:29 -07:00
Krunal Soni
a5ccb8007f qcacld-3.0: Keep wake lock while mac config is getting changed
Host should keep the wake lock from the time it sends
WMI_PDEV_SET_MAC_CONFIG_CMDID to FW till it receives the
WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID. This will avoid any fatal
crash condition.

Change-Id: Id16a1957b38acee6cf45c123ea9dbab25aae9b39
CRs-Fixed: 2070779
2017-10-06 12:27:26 -07:00
snandini
3635ad27ba Release 5.2.0.47O
Release 5.2.0.47O

Change-Id: I23eb38275be6bc1baf7cbff03ed66975638d576d
CRs-Fixed: 774533
2017-10-06 11:45:08 -07:00
Yeshwanth Sriram Guntuka
32cc7e8136 qcacld-3.0: Increase default value of Probe after HB timer to 70msecs
If Probe resp is received just after the Probe after
HB timer expires then it results in disconnection.

Fix is to increase the probe after hb timer default
value to 70msecs.

Change-Id: I0d4ac3e567def348c6b03b41c54579f332099de8
CRs-Fixed: 2111579
2017-10-06 11:45:07 -07:00
snandini
e29c72d26c Release 5.2.0.47N
Release 5.2.0.47N

Change-Id: Iecab039357de810568165b135750721a833a473f
CRs-Fixed: 774533
2017-10-06 10:25:25 -07:00
Srinivas Dasari
3030f5987c qcacld-3.0: Return EOPNOTSUPP if fw_mem_dump is not supported
wlan_hdd_cfg80211_get_fw_mem_dump() currently returns ENOTSUPP
if the feature is not supported by firmware. Return EOPNOTSUPP
instead of ENOTSUPP, which looks more appropriate.

Change-Id: I1ca2ebd3fa572ba3caae29ef9f1e396693378fb2
CRs-Fixed: 2088667
2017-10-06 10:25:24 -07:00
snandini
1dd1f72c44 Release 5.2.0.47M
Release 5.2.0.47M

Change-Id: I27d0b44780932dde8875b77f4278a31ac3dfcc05
CRs-Fixed: 774533
2017-10-06 07:58:09 -07:00
Anurag Chouhan
4085ff7e51 qcacld-3.0: Add vendor event to get the driver hang reason
Add Vendor Event to get the driver hang reason indicating to the
user space that the driver has detected an internal failure.
This event carries the information indicating the reason that triggered
this detection.

Change-Id: I3934f2a18c796ed3b53175dcbe7efd7f4d1409b9
CRs-fixed: 2098498
2017-10-06 07:58:08 -07:00
snandini
3fbcf86e45 Release 5.2.0.47L
Release 5.2.0.47L

Change-Id: Id2b04746d63ad6d0280c83debdc7828feff252b1
CRs-Fixed: 774533
2017-10-06 04:25:25 -07:00
Jeff Johnson
7b92c0fdaf qcacld-3.0: Rename pAdapter in wlan_hdd_main.h
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: Id6ab1b413a3eec66c88dce52ce14dd3693d15a34
CRs-Fixed: 2119860
2017-10-06 04:25:24 -07:00
Jeff Johnson
fd33cce7fb qcacld-3.0: Rename pAdapter in wlan_hdd_hostapd.[ch]
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: I29e0573d41628692838037c79007ef983a0cbf9f
CRs-Fixed: 2119855
2017-10-06 04:25:21 -07:00
snandini
eaa91ef6ed Release 5.2.0.47K
Release 5.2.0.47K

Change-Id: I89e47838d4dcdefb8fa2f86405d3774bcd725f84
CRs-Fixed: 774533
2017-10-06 02:36:42 -07:00
Jeff Johnson
25c77340d9 qcacld-3.0: Rename pAdapter in wlan_hdd_ioctl.[ch]
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: I3d3c52f80a402231dd2a742cf019bf5813791fe7
CRs-Fixed: 2119854
2017-10-06 02:36:42 -07:00
Jeff Johnson
089d043fb8 qcacld-3.0: Rename pAdapter in wlan_hdd_ipa.c
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: I846cf0b6effcfacce22ce122bf73064a230a05c1
CRs-Fixed: 2119853
2017-10-06 02:36:39 -07:00
Jeff Johnson
057249750c qcacld-3.0: Rename pAdapter in wlan_hdd_scan.c
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: Iee939c8df097967143b77cbffe46fba6e69cd52a
CRs-Fixed: 2119849
2017-10-06 02:36:36 -07:00
snandini
fbdb5cb413 Release 5.2.0.47J
Release 5.2.0.47J

Change-Id: Ic88145b240b2196a7f828811be9b6b2041afb63f
CRs-Fixed: 774533
2017-10-06 00:13:09 -07:00
Varun Reddy Yeturu
84637fcaa0 qcacld-3.0: Check the length of IE's before appending
Check the length of the IE's before appending them
and storing them in the session in
lim_process_update_add_ies.

Change-Id: I70d26638a58998c82a8810d7c2181d1f24c56e19
CRs-Fixed: 2119729
2017-10-06 00:13:08 -07:00
Varun Reddy Yeturu
87c8ad8925 qcacld-3.0: Fix the size of array ch_list in sme_set_plm_request
Currently the size of array ch_list in sme_set_plm_request is
defined as WNI_CFG_VALID_CHANNEL_LIST and this is incorrect.
This is just an index to the corresponding CFG item. Fix the
size to WNI_CFG_VALID_CHANNEL_LIST_LEN which is the maximum
size that can be passed from the source buffer.

Change-Id: I90086f2c73ee09cfc9d63a327b464f4017f5b37f
CRs-Fixed: 2120725
2017-10-06 00:13:05 -07:00
Srinivas Girigowda
bc8454e978 qcacld-3.0: Properly advertise mem_dump feature support
Currently, mem_dump feature support is advertized just based
on the compile macro, if the firmware does not support this
feature, still code ends up sending true to the user space.

Fix this by properly advertising the mem_dump feature support
based on the the FW support.

Change-Id: I4d601f764c6598c51c48d43e24e15fb6c35875bd
CRs-Fixed: 2077931
2017-10-06 00:13:02 -07:00
Varun Reddy Yeturu
4353e4f156 qcacld-3.0: Check for valid vdev ID in SWBA event handler
After deriving the vdev_id from the vdev map in
wma_beacon_swba_handler check for the validity
of the vdev_id

Change-Id: Ifc4577d8a00f447e2bcfa4e01fce5ac2dbe96a4d
CRs-Fixed: 2120751
2017-10-06 00:12:59 -07:00
snandini
7cbd117885 Release 5.2.0.47I
Release 5.2.0.47I

Change-Id: I65b86ac0a191b6cc51c918ba4617b3f8dc977d07
CRs-Fixed: 774533
2017-10-05 20:54:47 -07:00
Jeff Johnson
f23a89b88e qcacld-3.0: Rename pAdapter in wlan_hdd_wext.[ch]
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: I262e70dfaf24e11c61c848b8d53e39f9be838baa
CRs-Fixed: 2119844
2017-10-05 20:54:47 -07:00
Jeff Johnson
ba38834945 qcacld-3.0: Rename pAdapter in wlan_hdd_assoc.[ch]
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: If28820c6caaf8e61d022ade48787baeed8413c8a
CRs-Fixed: 2119859
2017-10-05 20:54:43 -07:00
Jeff Johnson
ce2ba7037e qcacld-3.0: Rename pAdapter in wlan_hdd_cfg80211.[ch]
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: I395db8a6491d27ba9c16dd1a9011aad149c17a5d
CRs-Fixed: 2119857
2017-10-05 20:54:40 -07:00
Jeff Johnson
d900b9d35e qcacld-3.0: Rename pAdapter in wlan_hdd_debugfs.[ch]
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: Id086072eff4d1a55e316a3d6b32b3127385eebd8
CRs-Fixed: 2119858
2017-10-05 20:54:37 -07:00
Jeff Johnson
7058aa8f92 qcacld-3.0: Rename pAdapter in wlan_hdd_ext_scan.c
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: I54c32558f050839f78bac449483103591feb73e9
CRs-Fixed: 2119856
2017-10-05 20:54:35 -07:00
Jeff Johnson
701ac0512c qcacld-3.0: Rename pAdapter in wlan_hdd_oemdata.c
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: Ib6ad0b143b8a6ab3e4911a91d3502820ce2a3d21
CRs-Fixed: 2119852
2017-10-05 20:54:33 -07:00
Jeff Johnson
19b66e8ef2 qcacld-3.0: Rename pAdapter in wlan_hdd_p2p.[ch]
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: Ib4f4b0f6c726c1ed49d7a22bd9ead2ce3975e882
CRs-Fixed: 2119851
2017-10-05 20:54:30 -07:00
Jeff Johnson
f6d242831e qcacld-3.0: Rename pAdapter in wlan_hdd_power.c
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: I03a29ff2c4eebacc976d6b3e7fbcd23b389b579c
CRs-Fixed: 2119850
2017-10-05 20:54:28 -07:00
Jeff Johnson
d31ab6a813 qcacld-3.0: Rename pAdapter in wlan_hdd_softap_tx_rx.[ch]
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: I845eae808defedc3895f98ee15554ffca591bf00
CRs-Fixed: 2119861
2017-10-05 20:54:25 -07:00
Jeff Johnson
a86e78e131 qcacld-3.0: Rename pAdapter in wlan_hdd_stats.c
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: I51b73e52e0920a38c6ded4e274026b9a3f3355e0
CRs-Fixed: 2119848
2017-10-05 20:54:23 -07:00
Jeff Johnson
6bff8949cf qcacld-3.0: Rename pAdapter in wlan_hdd_tdls.[ch]
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: Ifdac5a6191cbbcde80395d26c5288964a7dda4d4
CRs-Fixed: 2119846
2017-10-05 20:54:21 -07:00
Jeff Johnson
8048686785 qcacld-3.0: Rename pAdapter in wlan_hdd_tx_rx.[ch]
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: Ibe7b2055276d765af2dd72033bd04ddf43ae3494
CRs-Fixed: 2119845
2017-10-05 20:54:18 -07:00
Jeff Johnson
a7e2e00d18 qcacld-3.0: Rename pAdapter in wlan_hdd_wmm.[ch]
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: Ia4b1ee1717f0d0bb44583e967e5dd8290f679b29
CRs-Fixed: 2119843
2017-10-05 20:54:16 -07:00
Jeff Johnson
d184d2b06d qcacld-3.0: Rename pAdapter in wlan_hdd_wowl.[ch]
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.

Change-Id: I5d56195378cf9507d00b2affe1c8efc1793a9510
CRs-Fixed: 2119842
2017-10-05 20:54:13 -07:00
snandini
5ff866902d Release 5.2.0.47H
Release 5.2.0.47H

Change-Id: Ic0749957f2262c69051128e3e69ff98b5c144df2
CRs-Fixed: 774533
2017-10-05 20:00:04 -07:00
Dustin Brown
3561949b4d qcacld-3.0: Migrate to stats_request_params
There are currently two ways to get vdev stats from firmware. As such,
the redundant pe_stats_req is being removed. Migrate existing consumers
to stats_request_params instead.

Change-Id: I3426b43a6202bb59ceef13cf8d4528700c7f3983
CRs-Fixed: 2120637
2017-10-05 20:00:04 -07:00
snandini
58f050480f Release 5.2.0.47G
Release 5.2.0.47G

Change-Id: I9eb9fa26f8cc96769de6620a95d269c3a4d2d95f
CRs-Fixed: 774533
2017-10-05 16:59:50 -07:00
Vignesh Viswanathan
53d69c9b7f qcacld-3.0: Fix integer overflow in wma_unified_link_peer_stats_event_handler
Currently in wma_unified_link_peer_stats_event_handler, the check to validate
if peer_stats->num_rates is less than WMA_SVC_MSG_MAX_SIZE is done only for
the first member of the peer_stats array. This can lead to integer overflow
as num_rates is calculated as sum of peer_stats->num_rates for each of the
peer_stats in the array.

Add code changes to loop and calculate total_num_rates for all the peer_stats
and then validate total_num_rates with WMA_SVC_MSG_MAX_SIZE.

Change-Id: Ic934934a990bd55fce70a0eaffa2812bc34b0ddd
CRs-Fixed: 2113758
2017-10-05 16:59:49 -07:00
snandini
391df21964 Release 5.2.0.47F
Release 5.2.0.47F

Change-Id: Ia72b34432a914373bd2013827b9cfd46c3712c96
CRs-Fixed: 774533
2017-10-05 16:11:48 -07:00
Vignesh Viswanathan
cc7f1b909e qcacld-3.0: Add configuration option to enable/disable FILS
Add configuration option g_is_fils_enabled to enable/disable FILS.
Driver will update the capability to supplicant based on this
configuration.

Change-Id: I939d59981e1a847a7d113cd015135d76f7d9992e
CRs-Fixed: 2050366
2017-10-05 16:11:47 -07:00
Naveen Rawat
b3f3eee6c2 qcacld-3.0: Add new check for Vendor AP to associate in 1x1
Some vendor APs are not able to handle the SMPS frames causing the
APs to crash.

Add new check for a vendor AP OUIs and AP being in 4x4 or 3x3 11ac
capabilities to associate in 1x1 to that AP.

Change-Id: I023237fd3531529648890c9d71101b57a036cc7f
CRs-Fixed: 2112017
2017-10-05 16:11:44 -07:00
Naveen Rawat
5b96c3c90c qcacld-3.0: Fix Tx BF CNS Value sent in ASSOC request
Currently host take min of VHTCaps.csnofBeamformerAntSup and self
txBFCsnValue rather than sending self CSN cap. However doing so
have certain IOT issue with commercial APs already in market. This
IOT issue is found only in our 2x4 solution. Fix this by min only
if self CSN is < 4.

Change-Id: I819fcc440ef3a74ae0dc9011465d0a5d1f2c5892
CRs-Fixed: 2121133
2017-10-05 16:11:42 -07:00
snandini
b61286029e Release 5.2.0.47E
Release 5.2.0.47E

Change-Id: I7bff6ca81c1a4db0a1ac422c523e7d972e858230
CRs-Fixed: 774533
2017-10-05 09:20:22 -07:00
Mukul Sharma
9f1345284e qcacld-3.0: Support more Cipher / Akm suits in RSNIE parsing
Currently, while parinsg RSNIE host allow up to 4 max
cipher / akm suits. Hence if beacon / probe response
carry more than 4 cipher/akm suits then RSNIE parsing
get fails.
As a part of fix, increase cipher/akm max count to 6.

Change-Id: I62f8797b480f0cc82586f76ec7fd318499bc7628
CRs-Fixed: 2081030
2017-10-05 09:20:20 -07:00
snandini
3185814f6f Release 5.2.0.47D
Release 5.2.0.47D

Change-Id: I4f05af227b5b1240cf3b74fd741b806c4656102d
CRs-Fixed: 774533
2017-10-05 05:37:59 -07:00