Commit Graph

9293 Commits

Author SHA1 Message Date
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
Min Liu
a9df1ff921 qcacld-3.0: Fix FW assert when delete VDEV
FW assert is observed when deleting VDEV due to there are peers
not deleted.

Add check for peer number in FW before sending delete VDEV
command to avoid such issue.

Change-Id: I4cc5d4c63faf3dc8f7b9d0702f92b54b298802cb
CRs-Fixed: 2163770
2018-02-09 01:51:13 -08:00
snandini
b229eaff66 Release 5.2.0.65H
Release 5.2.0.65H

Change-Id: I5c97889bd44faf2b9d45752a8d00647b699e26eb
CRs-Fixed: 774533
2018-02-09 00:42:18 -08:00
Manjunathappa Prakash
34fda7994a qcacld-3.0: Fail channel switch if current chan and mode same as previous
Currently we fail channel switch if new channel matches old channel. So it
dosnot take into account of mode switches HT20/HT40/VHT80.
So process channel switch request if either channel or mode is different.

Change-Id: I8743a6292277daad8b1bf38b79c236f19fbac700
CRs-Fixed: 2186212
2018-02-09 00:42:17 -08:00
snandini
ac43d7f2ad Release 5.2.0.65G
Release 5.2.0.65G

Change-Id: I86b04ac1729b69594e4fa1e20d26f5264214a9e6
CRs-Fixed: 774533
2018-02-08 23:34:34 -08:00
Abhishek Singh
c87bb049d8 qcacld-3.0: Move wma_get_buf_start_scan_cmd logic to common code
Move wma_get_buf_start_scan_cmd logic to common code in
ucfg_scan_update_params.

Change-Id: Iaee8ab5b7f0c20867bf37db7509b1c1fab23579d
CRs-Fixed: 2180959
2018-02-08 23:34:34 -08:00
Kabilan Kannan
fa16398e7a qcacld-3.0: Return the correct status in txrx clear peer
STA peer can be cleared from peer detach and HDD. If the
peer is cleared by peer detach, then return success to
HDD request.

Change-Id: I7aa564e7f2a1c9ce336ae96679d93a6e11703c37
CRs-Fixed: 2181163
2018-02-08 23:34:31 -08:00
snandini
5857853308 Release 5.2.0.65F
Release 5.2.0.65F

Change-Id: I41561ec87a9362c7c7a7db2d97289fc3c0323576
CRs-Fixed: 774533
2018-02-08 21:37:29 -08:00
Amar Singhal
2d812011d7 qcacld-3.0: Maintain and call driver load count
When wiphy is registered with kernel, the kernel call the regulatory
notifier with the last request cached by the kernel. The last request
is initialized to world mode. So for the first time registration,
ignore the kernel callback.

Change-Id: I8c6070eebac4c04145e51daaecb7745f331f58b1
CRs-Fixed: 2174245
2018-02-08 21:37:28 -08:00
Paul Zhang
a05a025bcf qcacld-3.0: use driver database for reg no-offload
Currently driver created reg database instead of
db.txt for reg no-offload case.

Change-Id: Ia7853679532ad7536d34b4a4040feffb8566e907
CRs-Fixed: 2174245
2018-02-08 21:37:25 -08:00
snandini
9c072dc7f6 Release 5.2.0.65E
Release 5.2.0.65E

Change-Id: Ibdc31ab1d80d3cf149eb013eb7db10561b13bb9e
CRs-Fixed: 774533
2018-02-08 13:13:41 -08:00
Tiger Yu
2da63e421a qcacld-3.0: only unmap the mapped nbuf in the ol_txrx_vdev_flush
The TX buffers in the vdev->ll_pause pending queue, which haven't mapped
the physical address.

Adding nbuf physical address checking to avoid the mis-matching unmap
especially when the MEMORY_DEBUG is enabled.

Change-Id: I6b0fcd1c7d07ca358d07b9931dea321ee8c6169a
CRs-Fixed: 2183678
2018-02-08 13:13:41 -08:00
snandini
8237109cf6 Release 5.2.0.65D
Release 5.2.0.65D

Change-Id: I5b5605ac5da4359d8ba3df53b88ad1e2aa7b1529
CRs-Fixed: 774533
2018-02-08 07:55:41 -08:00
Padma, Santhosh Kumar
10a655f54c qcacld-3.0: Fix stack corruption in beacon table mode
qcacld-2.0 to qcacld-3.0 propagation

Currently driver sends beacon report for each channel recursively
in beacon table mode. There is a chance that variables on stack
can exceed allocated stack size which can lead to corruption of
stack. Remove unnecessary variables which are not required for
beacon table mode to fix this issue.

Change-Id: I9aa35e7da916f5d4c6380862d292b44c254c9334
CRs-Fixed: 2184037
2018-02-08 07:55:40 -08:00
Arunk Khandavalli
10af728966 qcacld-3.0: use common specific mode caps
As part of convergence the mode capabilities
are extracted and saved in the target info structure.
Update the hardware mode list and pcl from the converged
structures.

CRs-Fixed: 2179003
Change-Id: I3cfc28533448c312913db3bead5d5322386f3f74
2018-02-08 07:55:38 -08:00
Himanshu Agarwal
75e74413db qcacld-3.0: Avoid selection of irrelevant channel in 80/160MHz config
When channel list contains all channels from channel 1 to channel
165 and ch width is 80MHz, the channel to be selected as part of
ACS algorithm should be a 5GHz channel as 2.4GHz channels does not
support 80MHz but 2.4GHz channel gets selected with channel
width as 40MHz. Similarly when ch width is 160Mhz, the 160Mhz bonding
can be made only by 36-64 and 100-128 channels but 2.4Ghz channel or
some other 5Ghz channel gets selected as a result of ACS algorithm.

Assign max weight to all the 2.4GHz channels in 80Mhz and to all 2.4 Ghz
channels and 5Ghz channels not in the range 36-64 and 100-128 in 160 Mhz
so that only a valid channel is selected after the ACS algorithm is
completed.

Change-Id: I00c40e5d000a1cf8b79397fd4e361838a60b363d
CRs-Fixed: 2182011
2018-02-08 07:55:35 -08:00
snandini
d46194c757 Release 5.2.0.65C
Release 5.2.0.65C

Change-Id: I221e6d134d373053d8c995c8dc17d8474e219166
CRs-Fixed: 774533
2018-02-08 06:58:27 -08:00
Naveen Rawat
17c42a8802 qcacld-3.0: Remove panic and enhance logging for peer_delete timeout
Remove panic after peer_delete timeout and fail corresponding peer
operation. Peer reference count can be taken by kworker thread which
may get pre-empted by other higher priority threads or stuck, leading
to delay in releasing reference. This delay cannot be completely
removed, hence rather than panic after timeout, enhance logging and
fail corresponding peer operation.

Change-Id: I42c379c0cf91d29d293c3c53c3a378421aef07f9
CRs-Fixed: 2181097
2018-02-08 06:58:27 -08:00