Commit Graph

9247 Commits

Author SHA1 Message Date
snandini
b4ad53d198 Release 5.2.0.66U
Release 5.2.0.66U

Change-Id: I5a3a7af592f66d2a61457a331f3ba6508941b7fb
CRs-Fixed: 774533
2018-02-20 17:05:46 -08:00
Abhinav Kumar
9449269c04 qcacld-3.0: Fix to pass appropriate buffer length to unpack RSN IE
In lim_set_rs_nie_wp_aiefrom_sme_start_bss_req_message, length passed
to unpack RSN IE is total length of WPA and RSN IE. So if only WPA IE
is present in assoc request, the RSN IE parser will try to validate the
buffer beyond the RSN IE and might fail as the buffer belongs to WPA IE.

Pass appropriate length to unpack RSN IE.

Change-Id: Ie679e67061e7ac622e8e76b285a32135a60ca6e8
CRs-Fixed: 2189926
2018-02-20 11:12:38 +05:30
snandini
cf6099f206 Release 5.2.0.66T
Release 5.2.0.66T

Change-Id: I1d77c390e3893495c23f8360de33700e0b48229e
CRs-Fixed: 774533
2018-02-16 19:46:25 -08:00
Naveen Rawat
368858c54f qcacld-3.0: Switch order of phymode and ch_width
As part of csa or opmode IE handling program phymode param after
ch_width since firmware expects channel width to be programmed
before phymode.

Change-Id: I46e3a5e1ce94fa53e27f821e70c29e209e591865
CRs-Fixed: 2186030
2018-02-16 19:46:25 -08:00
snandini
e9ff3fc419 Release 5.2.0.66S
Release 5.2.0.66S

Change-Id: I667afd67466b0e4280d7602bb1178c88f822e42b
CRs-Fixed: 774533
2018-02-16 18:58:35 -08:00
Arif Hussain
55aaaad921 qcacld-3.0: Set copy_to_user flag on ftm rsp command
If command type is FTM_IOCTL_UNIFIED_UTF_RSP set copy_to_user
flag to return proper data to userspace.

Change-Id: I5f4a1e147f3d1dc162001ceb69fa6823b3158787
CRs-Fixed: 2191046
2018-02-16 18:58:34 -08:00
snandini
1dd309b9b8 Release 5.2.0.66R
Release 5.2.0.66R

Change-Id: I2d60da2db850f27e41b7a33209337c38ae53ffb0
CRs-Fixed: 774533
2018-02-15 20:59:51 -08:00
Rajeev Kumar
1117fcf2af qcacld-3.0: Fix memory leak in HDD API iw_setnone_getint
HDD IOCTL __iw_setnone_getint is not releasing SME config memory
in error case properly and hence leading to memory leak. Fix this
SME config memory leak by properly freeing it before returning from
__iw_setnone_getint.

Change-Id: Ie50259a639edb2cfa63cd3bbe7cac8bb8ebb7654
CRs-Fixed: 2191041
2018-02-15 20:59:50 -08:00
snandini
56e3c3c7e7 Release 5.2.0.66Q
Release 5.2.0.66Q

Change-Id: I85ceb49e8aff16bec3b4e6078bede83a292c3ec1
CRs-Fixed: 774533
2018-02-15 19:35:00 -08:00
Varun Reddy Yeturu
85090c94e9 qcacld-3.0: Cancel scans during roaming
Upon receiving a ROAM_START from the firmware,
cancel the current scans which is similar to
initial connection which will avoid unnecessary
frames to the host during the connection process.

Change-Id: I0c9a4dd7cd4d58e0583cc44b5e33e88728eb70bb
CRs-Fixed: 2174921
2018-02-15 19:35:00 -08:00
snandini
df63a809a1 Release 5.2.0.66P
Release 5.2.0.66P

Change-Id: I8e25194a67393e3216e3149d273fe91fbd2e0911
CRs-Fixed: 774533
2018-02-15 18:45:45 -08:00
Naveen Rawat
2eb4c8309f qcacld-3.0: Fix suBFormee/suBFormer in handling assoc request
In handling assoc request make sure to use VHT IE or vendor VHT IE
appropriately for suBFormee/suBFormer calculation.

Change-Id: I3934a0c7229a8a400d1aa54fe3bf0bc3513d4d70
CRs-Fixed: 2159206
2018-02-15 14:38:59 -08:00
snandini
819e218bf2 Release 5.2.0.66O
Release 5.2.0.66O

Change-Id: I523c94c5fba1aab6aad54d5501fe2a085f7c2d7d
CRs-Fixed: 774533
2018-02-15 14:10:45 -08:00
Abhinav Kumar
5eda62d43c qcacld-3.0: Fix to avoid race condition during acs scan
Currently, driver allows multiple acs scan requests at a time. Due to this
race conditions can occur and causes "use after free" issue for variable
channelList. To avoid race condition, driver should allow only one acs scan
request at a time.

Add a new atomic variable to make sure that if one acs scan request
is in process, the driver should reject all further acs scan requests.

Change-Id: I7aa2f4df0dd4c6ca8ff791fe462d142fc7b3e691
CRs-Fixed: 2176354
2018-02-15 14:10:44 -08:00
snandini
0d86b5c428 Release 5.2.0.66N
Release 5.2.0.66N

Change-Id: Iccc9c63b8b19d2142a998324dfdad60418908b1d
CRs-Fixed: 774533
2018-02-15 10:15:11 -08:00
Hanumanth Reddy Pothula
855f7ef72f qcacld-3.0: Add txrx_get_pldev API to get packetlog object
Packetlog initialization is failing as txrx_get_pldev API is missing,
which returns paketlog object from the given pdev.

Add txrx_get_pldev API to get packet log object for the given pdev.

Change-Id: I2219a5c0964e76637ff8dbef92661b98cd22fb28
CRs-Fixed: 2189211
2018-02-15 10:15:11 -08:00
snandini
6de76520a6 Release 5.2.0.66M
Release 5.2.0.66M

Change-Id: I307d047aaf90fa89efc4d49a0c66408fc1c96603
CRs-Fixed: 774533
2018-02-15 09:20:28 -08:00
Yun Park
84c0cebe87 qcacld-3.0: Add IPA WDI Unified API support
Support for WDI2 in the Unified IPA WDI APIs.

Change-Id: Ife42a6a96ce80070de51f994e29ded252b3dd980
CRs-Fixed: 2183498
2018-02-15 09:20:27 -08:00
snandini
1b4e3017e8 Release 5.2.0.66L
Release 5.2.0.66L

Change-Id: I8aa68677a42ee82e539ff6ee5197e3497eee9bb4
CRs-Fixed: 774533
2018-02-15 01:49:23 -08:00
Vignesh Viswanathan
0a569299e8 qcacld-3.0: Check for SME state in hdd_get_sta_connection_in_progress
Currently in hdd_get_sta_connection_in_progress, conn_info.uIsAuthenticated
is used to check if the STA connection is in progress. However, this might
not reflect the actual state and might still lead to the deadlock scenario
fixed in I23ad1fc96882abeaae2d1b051659ea6d24b07428.

Add new API to check for SME state for key exchange in progress and
use it in hdd_get_sta_connection_in_progress.

Change-Id: I7d6199ed8c81a113c4e3f30538d74fb675e730ff
CRs-Fixed: 2189814
2018-02-15 01:49:23 -08:00
snandini
54cdde0c73 Release 5.2.0.66K
Release 5.2.0.66K

Change-Id: Ideaca7a6e6d59def4e7210fa33f0f6de590c3bda
CRs-Fixed: 774533
2018-02-14 21:12:15 -08:00
Will Huang
cf9ed9cca7 qcacld-3.0: Fix Pre-auth pe session id error
lim_preauth_scan_event_handler using sme session id to find pe session,
it may find pe session new create for roaming bss, it will cause
pre-auth roaming command can't dequeue.

Change-Id: I81be20318300ac0e312aa9bcff1a43a47e9a38f7
CRs-Fixed: 2189778
2018-02-14 21:12:15 -08:00
snandini
996b902d8e Release 5.2.0.66J
Release 5.2.0.66J

Change-Id: Ie4416a7517df24544fa53e76f0887471c36a49f6
CRs-Fixed: 774533
2018-02-14 19:43:32 -08:00
Tushnim Bhattacharyya
356d46e59e qcacld-3.0: Fix a race between SMM hw mode request and connection request
Fix the following race condition,
1. A connection request to driver which requires DBS
2. DBS gets granted, but connection fails, so opportunistic timer
   starts off
3. New connection request gets queued in SME & opportunistic timer fires
   and SMM HW mode request gets queued behind the connection request
4. Connection is succesful which needs DBS
5. SMM hw mode request gets sent to FW

Change-Id: I0456eba8165015b58b341df934fbfad5fb6eee86
CRs-Fixed: 2186292
2018-02-14 19:43:31 -08:00
snandini
8e2ad06c76 Release 5.2.0.66I
Release 5.2.0.66I

Change-Id: Iba575ce27dcf4fb8c9af646e028594abb50c5810
CRs-Fixed: 774533
2018-02-14 13:02:13 -08:00
Krunal Soni
1fd496d4f2 qcacld-3.0: Send certain DTIM params when LI offload is enabled
It is decided to centralize the logic of programming LI based on
modulated/dynamic DTIM in FW to address the concerns with LFR3.0 in WoW
mode. In order to make it work, following steps need to be performed.

1) If listen interval offload bit is enabled in service ready extension
   then,

   a) Driver needs to send "gEnableModulatedDTIM", "gMaxLIModulatedDTIM"
      and "gEnableDynamicDTIM" params' value to FW via VDEV PARAM up on
      each successful association.

   b) Driver should not program LI during suspend()/resume()

2) If listen interval offload bit is disabled in service ready extension
   then don't trigger above changes.

Change-Id: I6f94c95bd83e5846d7290d5dc752b14da5951a76
CRs-Fixed: 2187597
2018-02-14 13:02:13 -08:00
snandini
a4f9af4ba5 Release 5.2.0.66H
Release 5.2.0.66H

Change-Id: If0a86fa095964c1676bd329389e3bbe4bdf81b53
CRs-Fixed: 774533
2018-02-14 09:33:16 -08:00
Vignesh Viswanathan
0fcb4d3b6b qcacld-3.0: Reduce minimum value for 11k offload cache timeout
Reduce the minimum value for the ini nr_offload_cache_timeout to
5 seconds.

This is done to give the user a shorter cache_timeout to trigger
neighbor report frames more frequently.

Change-Id: Ica5359b9e826dad382868de991dcbf204c10a096
CRs-Fixed: 2189034
2018-02-14 09:33:15 -08:00
snandini
0a1cafa0f2 Release 5.2.0.66G
Release 5.2.0.66G

Change-Id: I7e030e10e10536ba94d0ceb17098b33a46c629c8
CRs-Fixed: 774533
2018-02-14 07:49:18 -08:00
Abhinav Kumar
f9989586a6 qcacld-3.0: Scan cleanup in lim and csr
Cleanup the unused scan legacy code in lim and csr

Change-Id: Ibea328196a9453ebaae887aa4068e78c47296762
CRs-Fixed: 2184924
2018-02-14 04:02:17 -08:00
snandini
07a33b1fb1 Release 5.2.0.66F
Release 5.2.0.66F

Change-Id: I150e62eb62e9d4ef96b8310d2a5c4221586ed005
CRs-Fixed: 774533
2018-02-14 03:43:28 -08:00
Will Huang
80ac13b298 qcacld-3.0: Fix size error in htt_tx_ipa_uc_detach
Size allocate with sizeof(target_paddr_t) which is following DMA
device, but free with sizeof(qdf_nbuf_t) which is a pointer following
system. Maybe not same size on some platform.

Fix it by using same type when allocate/free.

Change-Id: Iadcb68b05ca5798f38c4341323b9fd1e32f5d693
CRs-Fixed: 2189671
2018-02-14 03:43:28 -08:00
snandini
9a32e9bf41 Release 5.2.0.66E
Release 5.2.0.66E

Change-Id: I1c83a9e9b8d7dc904cc5f454c67bf32874e64e6c
CRs-Fixed: 774533
2018-02-13 18:28:45 -08:00
Krunal Soni
707eb78287 qcacld-3.0: Add support to enable/disable WMM using nl cmd
Add support to enable/disable WMM feature using nl command

Change-Id: I71f5afd0f922854f8756a0428cbb290e641d5021
CRs-Fixed: 2187621
2018-02-13 18:28:44 -08:00
Kiran Kumar Lokere
f7662e5fed qcacld-3.0: Validate opmode update req before sending to FW
Check the current vdev supported bandwidth values agianst peer
opemode update value and if the peer opmode value is greater than
current supported value then do not send the opmode update request
to FW.

Change-Id: I8f360d769b5aafb90061a6a9d18f1f8062e3534e
CRs-Fixed: 2174050
2018-02-13 18:28:42 -08:00
snandini
bd64a24c7a Release 5.2.0.66D
Release 5.2.0.66D

Change-Id: Ie96bf5b060680149e248edc8956f8a1ba02d00b2
CRs-Fixed: 774533
2018-02-13 17:24:05 -08:00
Kiran Kumar Lokere
13dedacbdc qcacld-3.0: Update HE STBC cap and support to configure it
Update the HE STBC capabilty per latest spec and add support
to configure it using INI configuration and ioctl.

Change-Id: I4ecc7b600671c132c1f3968a10fb652a4311f484
CRs-Fixed: 2181114
2018-02-13 17:24:04 -08:00
Kiran Kumar Lokere
96246e5cfb qcacld-3.0: Add support to configure HE MCS using ioctl
Add support to configure HE MCS using ioctl

Change-Id: Idcff05dd090a601e1603d60f55a38424d2f124d8
CRs-Fixed: 2181112
2018-02-13 17:24:01 -08:00
Kiran Kumar Lokere
08195ef17d qcacld-3.0: Add support to reject addba request from peer
Add support to reject addba request from peer by sending
refuse status

Change-Id: Icfd4c14009b4e4646a246b84790da5d0b7b0a512
CRs-Fixed: 2172674
2018-02-13 17:23:58 -08:00
snandini
7e849963a5 Release 5.2.0.66C
Release 5.2.0.66C

Change-Id: I5387c77954605493e7a879a16c692ce38c82e5d6
CRs-Fixed: 774533
2018-02-13 15:22:07 -08:00
Rajeev Kumar
0b071179d4 qcacld-3.0: Add vdev id sanity check in wma stats event handlers
Stats events are sent by WLAN FW based on over the air frame reception
and may contain incorrect vdev id hence sanitize vdev id received from
FW in stats events before accessing interface array based on it.

Change-Id: I4ecc73fc27285c98c0ea8cebc27955213cd68399
CRs-Fixed: 2186953
2018-02-13 15:22:07 -08:00
Kiran Kumar Lokere
6d3a30dd48 qcacld-3.0: Update DTIM value in WMA for modulated DTIM
Update DTIM value in WMA interface for modulated DTIM
calculation

Change-Id: I090cb2f33427202edb4e4272e6ac79686fec9cf8
CRs-Fixed: 2171810
2018-02-13 15:22:04 -08:00
snandini
d209e71919 Release 5.2.0.66B
Release 5.2.0.66B

Change-Id: I3330bc7ab9dec8be7355624524a0728c6cc75524
CRs-Fixed: 774533
2018-02-13 09:33:53 -08:00
Zhu Jianmin
a2f8e8dbe1 qcacld-3.0: wait tx complete before vdev stop
Before VDEV_STOP is initiated by host, sometimes there are
outstanding mgmt tx pkts left in FW.  need wait all tx
complete,  or peer vdev ref count keep held. In P2P GO/SAP mode,
no wait since wma->interfaces[session_id].delay_before_vdev_stop
is 0, ini relative cfg isn't passed to wma at all.

Change-Id: I1c3d137bb08624e30cc220e0fa0e31e6d6fc8a9d
CRs-Fixed: 2184096
2018-02-13 09:33:52 -08:00
snandini
0a7325aacc Release 5.2.0.66A
Release 5.2.0.66A

Change-Id: I54c986327a45ca6e4d31c25283db8edbcd0f876f
CRs-Fixed: 774533
2018-02-13 03:55:12 -08:00
Vignesh Viswanathan
167f8accee qcacld-3.0: Fix improper len check for public action frames
Change Id872e2b0b8b7a203b472e0bd152f25f63c873b4f introduced support
for GAS public action frames in lim_process_action_frame and included
GAS frames under the frame_len check for minimum length of Vendor
specific public action frames. This would fail for GAS frames which
do not include OUI and could be as small as 3 octets.

Do frame_len check only for vendor specific public action frames
and remove the checks for GAS public action frames

Change-Id: I8b20925a23e2ba26d0a8df32eb3e5b2d043888d2
CRs-Fixed: 2187538
2018-02-13 03:55:12 -08:00
snandini
2da6f3b062 Release 5.2.0.66
Release 5.2.0.66

Change-Id: I31f27213e55461709a0f195a843fa46a7051296a
CRs-Fixed: 774533
2018-02-12 19:52:22 -08:00
Kiran Kumar Lokere
05a0658af1 qcacld-3.0: Validate CSA WBW IE before processing channel switch
Check new channel width and center frequency segments in CSA
wider BW IE before processing the channel switch and if CSA IE
has invalid data for any of these parameters then do not do the
channel switch with wider BW.
Also check for self capability for BW that is supported by device
before processing wider BW channel switch. If AP advertises the new
channel width with valid data that is greater than self capability
BW value then limit the channel switch BW to self capability.

Change-Id: I1d567e5cdc6347b56b513ea002b5a3978cb447e9
CRs-Fixed: 2182054
2018-02-12 19:52:21 -08:00
snandini
6704fd5288 Release 5.2.0.65Z
Release 5.2.0.65Z

Change-Id: Ifbdc2101c82c4669b30123237e369918f3bf6a70
CRs-Fixed: 774533
2018-02-12 15:44:51 -08:00
Naveen Rawat
d1ad569cee qcacld-3.0: Change TXRX chainmask default to 0
Change CFG_VHT_ENABLE_1x1_TX/RX_CHAINMASK_DEFAULT to 0 which
indicates to don't care setting.

Change-Id: Ic16a2eba471bdfb77ecc0329c67b36b65a3b3489
CRs-Fixed: 2184433
2018-02-12 15:44:51 -08:00