Commit graph

9,125 commits

Author SHA1 Message Date
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
snandini
6600b7874b Release 5.2.0.65Y
Release 5.2.0.65Y

Change-Id: I9b485cf9839f4614ec56c3d385e81f1e3cf594dc
CRs-Fixed: 774533
2018-02-12 14:52:00 -08:00
Sandeep Puligilla
ad399cd99b qcacld-3.0: Fix wlan load failure
CONFIG_GENL is not defined in some target
builds which is causing wlan load failure
with deubg message unknown symbol.

Fix the build load failures.

Change-Id: I448e405b099788c4c83303d9abdee9f7c1e45261
CRs-Fixed: 2188593
2018-02-12 11:32:29 -08:00
snandini
5a99ab9924 Release 5.2.0.65X
Release 5.2.0.65X

Change-Id: Icb3486e7062e68a76ee9932be45a6ed83fbd579a
CRs-Fixed: 774533
2018-02-12 07:34:49 -08:00
Himanshu Agarwal
8b3d3e93b5 qcacld-3.0: Do 11ac override only if channel list has 5Ghz channel(s)
If 11ac override is enabled, change hw moed to 11ac and channel width
to the value defined in vht channel width ini. If channel list received
from hostapd contains only 2.4 Ghz channels, mismatch happens as hw mode
is 11ac but the channel list contains only 2.4 Ghz channels and no 5Ghz
channel.

Do 11ac override only when the channel list received from hostapd contains
5Ghz channel(s).

Change-Id: I28d9af3fed4b8487b50a4442221c1c880fe14c13
CRs-Fixed: 2186710
2018-02-12 16:33:32 +05:30
snandini
ce16a0a473 Release 5.2.0.65W
Release 5.2.0.65W

Change-Id: I1aa52c94b5ed4322d9eade680195b540817b544e
CRs-Fixed: 774533
2018-02-12 02:15:42 -08:00
Alok Kumar
eff0d77da1 qcacld-3.0: Prevent null pointer dereference issue
Add null check for pdev after cds_get_context, while
retrieving the context maintained by CDS

Change-Id: I2d6de7d5ad2a46139b2594cf966f2c083c9bb4b4
CRs-Fixed: 2187396
2018-02-12 02:15:41 -08:00
snandini
3bc79311d7 Release 5.2.0.65V
Release 5.2.0.65V

Change-Id: I4b0bc25f37db5d7348070b681c69d11588a4d0fc
CRs-Fixed: 774533
2018-02-12 01:17:09 -08:00
Sourav Mohapatra
eade62fc49 qcacld-3.0: Remove check to disable memdump for FTM mode
During init and deinit, the driver performs memdymp_init and
memdump_deinit. These are not done for the case when driver is in
FTM mode. In the present scenario, unloading the driver while in
FTM mode and then reloading causes problem.

Allow memdump_init and memdump_deinit to occur while the driver is
in FTM mode.

Change-Id: I4bed1bf76ee19612da9c27fe6cebb586ef7e542b
CRs-Fixed: 2170695
2018-02-12 01:17:08 -08:00
snandini
0bc49ce42b Release 5.2.0.65U
Release 5.2.0.65U

Change-Id: I1a8f5bb56281203a91a24d573da7bf15a0439cf7
CRs-Fixed: 774533
2018-02-11 23:20:43 -08:00
Arif Hussain
05fb4870a3 qcacld-3.0: Add bss color collision detection support
Add support for bss color collision detection.

Change-Id: Idd616ca902469f5dc446d35e63fce7fe7eb0d327
CRs-Fixed: 2130127
2018-02-11 23:20:42 -08:00
snandini
e1b8ee0f2f Release 5.2.0.65T
Release 5.2.0.65T

Change-Id: Id5c82228308f3cfb220c233581837ceea31a03e7
CRs-Fixed: 774533
2018-02-11 03:33:49 -08:00
Liangwei Dong
2a7f2914a9 qcacld-3.0: Unit test chan avoid
Add iw private command for unit test sap ch avoid

Change-Id: I27f051b47eb25e3a57be6449ccb778aefe5b0967
CRs-Fixed: 2186440
2018-02-11 03:33:49 -08:00
snandini
fc1e942a07 Release 5.2.0.65S
Release 5.2.0.65S

Change-Id: I3e26005f241878ea0c62552705a2df682f726e20
CRs-Fixed: 774533
2018-02-11 01:45:09 -08:00
Yun Park
a658cf9852 qcacld-3.0: Fix IPA Rx suspend timeout due to IPA Tx pipe stall
IPA Rx suspend command could be timed out because IPA Tx pipe stalls
due to FW WDI Tx pipe is already suspended beforehand.
Fix this by sending IPA Tx pipe suspend before FW WDI suspend.

Change-Id: I50c357ca0f8ddfcc1a51ad4ed040961daf052459
CRs-Fixed: 2177445
2018-02-11 01:45:09 -08:00
snandini
491b08c62d Release 5.2.0.65R
Release 5.2.0.65R

Change-Id: Iccbeeba6fa4dd0485dd704991e3d6455ba9ee434
CRs-Fixed: 774533
2018-02-10 11:23:16 -08:00
Arif Hussain
3a30fdcfe6 qcacld-3.0: Change BSS_COLOR_CHANGE IE to Ext IE
Change BSS_COLOR_CHANGE IE to Ext IE

Change-Id: I687eedca3bb2a527409e29163d5f8e4af100b6fe
CRs-Fixed: 2179270
2018-02-10 11:23:16 -08:00
snandini
97fc8dfe31 Release 5.2.0.65Q
Release 5.2.0.65Q

Change-Id: I7ec743796c07540f526dec5a3433536d3d6277bb
CRs-Fixed: 774533
2018-02-10 07:14:48 -08:00
Dustin Brown
911057b1ad qcacld-3.0: Add qdf_file and qdf_parse to Kbuild
Include the recently added qdf_file and qdf_parse files to the Kbuild.

Change-Id: Ibe0dd7f2338196aefd93c6550ec2a808b5249cf2
CRs-Fixed: 2184476
2018-02-10 07:14:47 -08:00
Dustin Brown
59877b01ef qcacld-3.0: Add qdf_str to Kbuild
Include the recently added qdf_str files to the Kbuild.

Change-Id: Id6753691e950ac06114de95d71068f45c48003a5
CRs-Fixed: 2184473
2018-02-10 07:14:44 -08:00
snandini
d652ed54aa Release 5.2.0.65P
Release 5.2.0.65P

Change-Id: Iea8102e257c7d9cd67af04b66c39c9e00857470b
CRs-Fixed: 774533
2018-02-10 03:23:28 -08:00
Naveen Rawat
dacb503d6f qcacld-3.0: Skip chainmask programming if antenna sharing enabled
Skip chainmask programming if antenna sharing enabled.

Change-Id: If4c765ed35b249b8a08660557a20bec2c77579f7
CRs-Fixed: 2186904
2018-02-10 03:23:28 -08:00
snandini
efa0cd47b4 Release 5.2.0.65O
Release 5.2.0.65O

Change-Id: I411e80f629452bbf8fb0ffc7797811e80e17bcfe
CRs-Fixed: 774533
2018-02-10 00:52:07 -08:00