Commit Graph

9160 Commits

Author SHA1 Message Date
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
Kiran Kumar Lokere
44a2943836 qcacld-3.0: Add support to update HE cap Nss using ioctl
Add support to update HE Nss capability using ioctl command

Change-Id: I0f32da6eb5835c008b6b35f000e4c670a22b111b
CRs-Fixed: 2181263
2018-02-10 00:52:06 -08:00
Kiran Kumar Lokere
59a569e53a qcacld-3.0: Do not connect in HE mode if HE LDPC check fails
Do not connect in HE mode if the AP does not support LDPC with more
than 20M bandwidth or in 20M if it advertise the MCS11 support.
Connect in 11ac/11n mode if the LDPC check fails.

Change-Id: I8cf9bb30fd897fe4016585cb79a38fbdc78c06fd
CRs-Fixed: 2181259
2018-02-10 00:52:02 -08:00
snandini
3110d31a00 Release 5.2.0.65N
Release 5.2.0.65N

Change-Id: I990b8b825a3d5128f772f128984fa2b035a9e16e
CRs-Fixed: 774533
2018-02-09 11:33:12 -08:00
Dustin Brown
c1034df950 qcacld-3.0: Disable PANIC_ON_BUG for end user builds
PANIC_ON_BUG is currently enabled for all WLAN builds. While a customer
can, and should, disable PANIC_ON_BUG for end user builds, this can be
easily overlooked. Disable PANIC_ON_BUG by default on pure performance
builds, to avoid accidentally crashing end user devices. Customers can
opt-in to PANIC_ON_BUG as needed for validation on performance builds.

Change-Id: I79371206b20b978f4e61954c2f49bbb7b07ba95e
CRs-Fixed: 2186099
2018-02-09 11:33:11 -08:00
Srinivas Girigowda
b4f780f737 qcacld-3.0: Allow out-of-tree build with relative path in M
The Make variable $(M) must point to the directory that contains the
module source code (which includes this Makefile). It can either be an
absolute or a relative path. If it is a relative path, then it must be
relative to the kernel source directory (KERNEL_SRC). An absolute path
can be obtained very easily through $(shell pwd). Generating a path
relative to KERNEL_SRC is difficult and we accept some outside help by
letting the caller override the variable $(M). Allowing a relative path
for $(M) enables us to have the build system put output/object files
(.o, .ko.) into a directory different from the module source directory.

Change-Id: Ic5dbcaa4579e4b7fe8b01399e03293c3bd425d27
CRs-Fixed: 2182672
2018-02-09 11:33:09 -08:00
snandini
80101ac605 Release 5.2.0.65M
Release 5.2.0.65M

Change-Id: If0e1d28e59bc604e0cbc7279c82933afaa0b6750
CRs-Fixed: 774533
2018-02-09 09:20:49 -08:00
Sandeep Puligilla
019a1bd120 qcacld-3.0: changes to support spectral genl
HDD changes to support general netlink sockets for
spectral scan feature.

Change-Id: Ie8f262ef77b42c69ac5e25e9a2d0cc099b66b1dd
CRs-Fixed: 2183863
2018-02-09 09:20:49 -08:00
snandini
d884eec60b Release 5.2.0.65L
Release 5.2.0.65L

Change-Id: I084cd1a2e44a7f1668e739633a305fad9c7ea039
CRs-Fixed: 774533
2018-02-09 07:45:31 -08:00
Will Huang
20de943612 qcacld-3.0: Check driver load/unload status before starting tx
hdd_softap_hard_start_xmit has cds_ssr_protect so prevent it running at
point of cds_wait_for_external_threads_completion in wlan_hdd_remove,
but after that hdd_softap_hard_start_xmit still inject in, it will
cause race condition between tx and unloading deinit.

Fix it by checking driver load/unload status at the beginning of
__hdd_softap_hard_start_xmit, and similar change for sta mode.

Change-Id: Ic3c72debb81fdfb8adca4e90bd9436f3a68eea11
CRs-Fixed: 2174243
2018-02-09 07:45:31 -08:00
snandini
9a8ec43ed4 Release 5.2.0.65K
Release 5.2.0.65K

Change-Id: I0acdf029ce2f0feb3bd260840309beedde6d0650
CRs-Fixed: 774533
2018-02-09 06:24:24 -08:00
Arunk Khandavalli
4b44ef4e00 qcacld-3.0: update tgt services from converged structures
Update the services information from the target psoc info structure.

CRs-Fixed: 2178933
Change-Id: I7137ff604d680fe6eb5ff6486b59879bf52ebc91
2018-02-09 06:24:23 -08:00
Vignesh Viswanathan
dd9cf6259a qcacld-3.0: Stop STA if connection in progress and SAP Stop is received
In STA+SAP concurrency, when the STA connection is in progress or set_key
is in progress, the set_hw_mode command to SME is queued and would be
processed only after the connection is complete. Meanwhile, when a stop
SAP is received and SAP Dissassociate STA is triggered from HDD, the
command is queued in SME and cannot be processed until STA connection
is done. The add_key command from the supplicant is also stuck as the
previous stop_ap command is in progress leading to a deadlock. When the
AP sends deauth to the STA due to 4 Way Handshake failure, the STA is
reset and then the stop SAP command proceeds, followed by another
connection for the STA.

Disconnect STA interface first if connection or key exchange is in progress
and then stop SAP interface to prevent this deadlock condition.

Change-Id: I23ad1fc96882abeaae2d1b051659ea6d24b07428
CRs-Fixed: 2187070
2018-02-09 06:24:20 -08:00
snandini
e8903258b5 Release 5.2.0.65J
Release 5.2.0.65J

Change-Id: I7b0b8e87a5faec01be75ec8e5cdd6236aeaf487f
CRs-Fixed: 774533
2018-02-09 03:53:45 -08:00
Liangwei Dong
c26be33664 qcacld-3.0: Add LIM callback for p2p
p2p component has no 11w mgmt protection
information for tx frame.

Add LIM callback to register to p2p
module, to provide mgmt protection information.

Change-Id: Ibdb26d2ebbf51c191258c163cd45290ee5d4fccf
CRs-Fixed: 2172228
2018-02-09 03:53:45 -08:00
snandini
50766ac556 Release 5.2.0.65I
Release 5.2.0.65I

Change-Id: I2c5c3ecbb511c56f9425bbaa00d563c43c953ab6
CRs-Fixed: 774533
2018-02-09 01:51:14 -08:00