Commit grafiek

3549 Commits

Auteur SHA1 Bericht Datum
Selvaraj, Sridhar
a7dc2381e7 qcacld-3.0: Fix memleak in psoc create sequence
After psoc create is successful, destroy and release
psoc if cds open fails.

Change-Id: Ia0bf593511d0b90a4a21510ec8e80d85f126443c
CRs-Fixed: 1116856
2017-02-01 03:22:22 -08:00
qcabuildsw
815bd1ce75 Release 5.2.0.8C
Release 5.2.0.8C

Change-Id: I4d823ce2bd0f549c6bd346aba5614112cf93721d
CRs-Fixed: 688141
2017-01-31 23:47:49 -08:00
Poddar, Siddarth
1bec7aeaa0 qcacld-3.0: Enable FEATURE_METERING for SDM660 and SDM630 in Kbuild
Enable FEATURE_METERING for SDM660 and SDM630 in Kbuild
to get any IPA stats by Wlan driver.

CRs-Fixed: 1115310
Change-Id: I44ad270735c91b9642612307d223da7f5e25fcf0
2017-01-31 23:47:49 -08:00
qcabuildsw
3ec0b8a224 Release 5.2.0.8B
Release 5.2.0.8B

Change-Id: Ib4d0197a34873caa980855b794142e4032d745c7
CRs-Fixed: 688141
2017-01-31 18:53:24 -08:00
Houston Hoffman
1a77757b42 qcacld-3.0: Initialize lock-stats feature
The lock stats feature will keep track of all initialized spinlocks.
The initialization and deinitialization functions are needed for
creating the tracking structures.

Change-Id: I69e08e85cb5105c9d5f3dae8b24121e2cb5726ff
CRs-Fixed: 1117098
2017-01-31 18:53:23 -08:00
Houston Hoffman
54f465a80b qcacld-3.0: reduce spinlock time in htt_rx_hash_deinit
12ms is too long to hold a spinlock bh.

Change-Id: Ie57c94c20f81dd060185728901b1d14119609825
CRs-Fixed: 1100552
2017-01-31 18:53:22 -08:00
Houston Hoffman
eb2f80b685 qcacld-3.0: reduce spinlock time in htt_rx_hash_init
12ms is too long to hold a spinlock bh.

Change-Id: I498fc89c6bbaffeda988db9a37f0099767016c7e
CRs-Fixed: 1100552
2017-01-31 18:53:21 -08:00
Houston Hoffman
2eac7c4033 qcacld-3.0: Add lock destruction for several locks
rx_buff_list_lock, hdd_roc_req_q_lock, lim_frame_register_lock.
Adding lock stats print upon spinlock & mutex destroy.  Without
the destroy api invoked the lock stats are not printed.

Change-Id: I26cad72e3f55b9ff5f1383d617859ff2b30d74f7
CRs-Fixed: 1100552
2017-01-31 18:53:19 -08:00
qcabuildsw
cd849a385b Release 5.2.0.8A
Release 5.2.0.8A

Change-Id: Iab55a3955f1a43a0ff1d5d57ad6d315faa023553
CRs-Fixed: 688141
2017-01-31 18:00:30 -08:00
Sreelakshmi Konamki
13b5ad5054 qcacld-3.0: Add INI template for SAP-MLME
Add INI template for SAP-MLME for documentation

Change-Id: I102712b37bee7cbf26b54f0af481a57cd6ed5ee2
CRs-Fixed: 1117200
2017-01-31 18:00:29 -08:00
qcabuildsw
34829a1b0c Release 5.2.0.8
Release 5.2.0.8

Change-Id: Ief734b1e91c3b877b3c37f4856c325d214e5d5b4
CRs-Fixed: 688141
2017-01-31 14:03:07 -08:00
Kabilan Kannan
5aebaaa436 qcacld-3.0: Fix the driver unload crash in TDLS
TDLS tries to stop uninitialized peer idle timers
during driver unload operation, which causes dmesg
overflow and watchdog bite in the system.
Check the peer idle timers initialization status
before processing the cleanup operation.

Change-Id: Iecc8d91843ae3954c9aa98c1beca35cd6142b6fc
CRs-Fixed: 1114926
2017-01-31 14:03:06 -08:00
Kabilan Kannan
5ce85b8ac2 qcacld-3.0: Remove TDLS tracker update from concurrency functions
All TDLS connection tracker toggle operations is moved into policy
manager. Moreover concurrency functions set_concurrency() and
clear_concurrency() is going to be deprecated soon, so remove
TDLS connection tracker update from those functions.

Change-Id: I13d41d2a5dab154239d88249ea1d2a652ac5e6c7
CRs-Fixed: 1113457
2017-01-31 14:03:05 -08:00
Kabilan Kannan
8657a7e195 qcacld-3.0: Fix TDLS mode problem in P2P client operation
TDLS mode is incorrectly set in P2P remain on channel operation, and
due to this TDLS connection happens in P2P client mode, even when it
is not configured.
Set the correct TDLS mode in P2P ROC operation.

Change-Id: I480f09b03da8637ec4fc283b8feb2c08b0917ac4
CRs-Fixed: 1112790
2017-01-31 14:03:03 -08:00
Kabilan Kannan
3a5b9fc7cc qcacld-3.0: Fix TDLS connection problem in concurrency cases
TDLS conection is not happening consistently when the system
goes in and out of sta/p2p concurrency. TDLS set mode source
bit map is not cleared correctly in concurrency situation and
it causes connection problem.
Clear the TDLS set mode source bit map correctly in concurrency
cases.

Change-Id: Ided72067e194794f45382c2c3ba32343a3ab2e59
CRs-Fixed: 1116900
2017-01-31 14:03:02 -08:00
qcabuildsw
e3db4e61e6 Release 5.2.0.7Z
Release 5.2.0.7Z

Change-Id: Ie48948d1dc323c09d0cb68df233599926845a523
CRs-Fixed: 688141
2017-01-31 13:25:07 -08:00
yeshwanth sriram guntuka
37c09824aa qcacld-3.0: Add wakelock for Roam Handoff
After roaming, FW tries to detect for a subnet change and if
there is a change, then it wakes up the host if it is suspended.
Upon waking up, host handles the roam synch and indicates event
to supplicant. The event to supplicant from host could be
delayed.

Fix is to add wakelock for roam handoff.

Change-Id: I777d37993784c623542dad898e255205ec1bae53
CRs-Fixed: 1115355
2017-01-31 13:25:06 -08:00
qcabuildsw
d0932fa717 Release 5.2.0.7Y
Release 5.2.0.7Y

Change-Id: I5cdfb87fbb414c60fad82179fd4e73b71eb9e540
CRs-Fixed: 688141
2017-01-31 12:45:01 -08:00
Ashish Kumar Dhanotiya
7a031ce178 qcacld-3.0: Update QDF loggging usage according to converged framwork
As a part of QDF framework convergence, we need to update the QDF framwork
usage in current implementation according to converged framework.

Add qdf_print_ctrl_register API call in hdd_context_create to register HDD
module with QDF framwork and qdf_print_ctrl_cleanup API call in
__hdd_module_exit to deregister HDD module with QDF framwork.

Change-Id: Ibc45d91dca311760d4a5d0d1847662ba917b27a8
CRs-Fixed: 1108445
2017-01-31 12:45:00 -08:00
qcabuildsw
f2781fe142 Release 5.2.0.7X
Release 5.2.0.7X

Change-Id: I6d8240d09bf5650ca16fab1df93ed86ba75e501a
CRs-Fixed: 688141
2017-01-31 11:20:41 -08:00
Dustin Brown
6d44b0cdbf qcacld-3.0: Allow 16 characters for logging thread names
When logging thread names, the wlan driver truncates them at 6
characters. Increase this limit to 16 to improve the debugging
experience involving logs from kthreads.

Change-Id: Ib494b12e04ddc8e24e73e77df467abc08ba7275e
CRs-Fixed: 1116268
2017-01-31 11:20:40 -08:00
Dustin Brown
86534fb0f1 qcacld-3.0: Promote unhandled WMA message log to error level
Currently, when an unhandled WMA message is received, it is ignored and
a debug-level log is issued. Promote unhandled WMA message logs to
error-level to help in finding unnecessary posts to WMA.

Change-Id: Id3d068f33d545b1d0620520ac24adda5778a1d68
CRs-Fixed: 1115514
2017-01-31 11:20:39 -08:00
Dustin Brown
e94495c41d qcacld-3.0: Remove dead sme_configure_rxp_filter()
sme_configure_rxp_filter() sends a WMA message type that isn't being
handled, effectively making it dead code. Remove
sme_configure_rxp_filter and cleanup calling contexts as necessary.

Change-Id: I04190111e1c714cf93b42c9f17ea4d80049ee98d
CRs-Fixed: 1114226
2017-01-31 11:20:37 -08:00
qcabuildsw
74e31b71aa Release 5.2.0.7W
Release 5.2.0.7W

Change-Id: I81d9e38f9c9e111b48b3f305f8a6a3200cc6d981
CRs-Fixed: 688141
2017-01-31 01:28:22 -08:00
Poddar, Siddarth
b1200e37af qcacld-3.0: Avoid deinit of TSO Seg lists if not initialized during pdev attach
Fix to avoid deinit of tso seg list and tso num seg list
during pdev detach if the lists are not initialized during
pdev post attach.

Currently, if htt_attach() fails as part of ol_txrx_post_pdev_attach(),
then it immediately returns from the function and not initializes
tso seg lists and during pdev_detach(), host tries to de-initialize
tso seg list and end up in a crash.

CRs-Fixed: 1113347
Change-Id: I91e077496a15a69edb9d41574f846bc3d1b73b31
2017-01-31 01:28:21 -08:00
qcabuildsw
ab07694712 Release 5.2.0.7V
Release 5.2.0.7V

Change-Id: I8b002bb6e7c5b9326029b3f49eec1be3a66b5378
CRs-Fixed: 688141
2017-01-31 00:13:39 -08:00
Nishank Aggarwal
9ac3589633 qcacld-3.0: Fix buffer overflow in WLANSAP_Set_WPARSNIes()
qcacld-2.0 to qcacld-3.0 propagation

Currently In WLANSAP_Set_WPARSNIes() the parameter WPARSNIEsLen
is user-controllable and never validates which uses as the length
for a memory copy. This enables user-space applications to corrupt
heap memory and potentially crash the kernel.

Fix is to validate the WPARSNIes length to its max before use as the
length for a memory copy.

Change-Id: I7aff731aeae22bfd84beb955439a799abef37f68
CRs-Fixed: 1102648
2017-01-31 00:13:38 -08:00
qcabuildsw
d642bbf1e6 Release 5.2.0.7U
Release 5.2.0.7U

Change-Id: If8b8470346506bcadeaebd9b660ef8e72d731b85
CRs-Fixed: 688141
2017-01-30 17:33:20 -08:00
Houston Hoffman
57c36d7997 qcacld-3.0: Support QDF_MODULE_ID_TXRX in cds_set_context
We should use the context id instead of directly referencing
the context pointer name from the cds context.

Change-Id: I80f4822b37c920f37b70162890c02369b2972ee9
CRs-Fixed: 2000089
2017-01-30 17:33:19 -08:00
Houston Hoffman
e5ec049121 qcacld-3.0: Fix double free of ol_txrx pdev
Converged pdev_detach is responsible for freeing the context.
Legacy api needs to conform.  Now the removal of the pdev from
the cds context needs to be done with the api that does not free
the context.

Change-Id: I4430a3bae1658e4e1accc457a572c67c9ce6f58f
CRs-Fixed: 2000089
2017-01-30 17:33:18 -08:00
qcabuildsw
23a8839a95 Release 5.2.0.7T
Release 5.2.0.7T

Change-Id: I04845782ab15a6a656ef2959a66f9485f50fc962
CRs-Fixed: 688141
2017-01-30 16:50:53 -08:00
Dhanashri Atre
63d980253b qcacld-3.0: Add support to handle a packet list in the rx path
Add support to handle a list of packets in the receive callback.

The Napier data path may deliver a list of frames as opposed to
one frame at a time.

Change-Id: I4ea274783337a550ed83661a0510084f5ec54604
CRs-Fixed: 1114851
2017-01-30 16:50:52 -08:00
Dhanashri Atre
a8f82f28fc qcacld-3.0: Fix data path function call from HDD
Get the intra-bss packet count in HDD using the CDP interface.

The CDP interface ensures that the appropriate data path API
is invoked  (which is target dependent). A crash is seen on
Napier since ol_txrx_get_vdev_from_vdev_id() which is not
supported on Napier is being invoked.

Change-Id: I647d8c8705ad5c93fb3e3a05b2f9b3896a4f459a
CRs-Fixed: 1114851
2017-01-30 16:50:51 -08:00
qcabuildsw
28e00c4fd8 Release 5.2.0.7S
Release 5.2.0.7S

Change-Id: I97501123c9fd9a4398f74dcb0581899a9ac83ead
CRs-Fixed: 688141
2017-01-30 16:06:14 -08:00
Mahesh Kumar Kalikot Veetil
9c65618338 qcacld-3.0: use QDF API for mem allocation
Replace usage of k[mz]alloc()/kfree() with qdf_mem_malloc()/
qdf_mem_free(). The API qdf_mem_malloc() calls kzalloc() with proper
allocation flags depending on the context.

QDF module has debugging capabilities like detect memory leak, list
allocation..etc.

Change-Id: I6655bc54675b5bdc0a8ce17753a08205e711d806
CRs-Fixed: 1085826
2017-01-30 16:06:12 -08:00
Mahesh Kumar Kalikot Veetil
5a3dec6ec8 qcacld-3.0: Fix a memory leak in wlan_init_sysfs()
Free the memory allocated for the global variable wlan_loader. Also
properly unlink the kobject from the parent and free the memory
resources in cleanup path. Cleanup the function wlan_boot_cb().

Change-Id: I16e558c894980cbad531231ecda6fb093cf162e5
CRs-Fixed: 1085823
2017-01-30 16:06:11 -08:00
Mahesh Kumar Kalikot Veetil
c0233a7d73 qcacld-3.0: Add debugfs support flag in Kbuild
Turn on debugfs support only if CONFIG_DEBUG_FS is enabled in kernel
configuration.

Change-Id: I0b63bff056123fe29b0880bbe98da7a5c204fae7
CRs-Fixed: 1083744
2017-01-30 16:06:10 -08:00
Mahesh Kumar Kalikot Veetil
3bafd9a2ab qcacld-3.0: Featurize debugfs support in HDD
Protect debugfs code with WLAN_DEBUGFS feature flag. This enables to
compile out the feature for external builds. Also add a dependency to
Linux kernel debugfs feature.

Change-Id: I1b09c18a8eadc7a9b90fb6535e39b8c4b5a25ab9
CRs-Fixed: 1083744
2017-01-30 16:06:08 -08:00
qcabuildsw
2a697e5650 Release 5.2.0.7R
Release 5.2.0.7R

Change-Id: Icfb25bbda5955e4ab0ce3e6f0724476f3a7664d3
CRs-Fixed: 688141
2017-01-30 11:21:02 -08:00
Naveen Rawat
10b1c15524 qcacld-3.0: Restrict SAP in 11abg mode when starting in 5/10 MHz
Restrict SAP in 11abg mode when starting in 5/10 MHz, since sub 20MHz
channel width is not compatible with HT and VHT rates.

Change-Id: I80b3f7b8f360368f3c3cfe653c90432dfd173ce2
CRs-Fixed: 1113259
2017-01-30 11:21:01 -08:00
qcabuildsw
7745c8af34 Release 5.2.0.7Q
Release 5.2.0.7Q

Change-Id: Ia477216014ca4c640c569883577afc429e048a36
CRs-Fixed: 688141
2017-01-29 22:24:15 -08:00
Nitesh Shah
d1266d7e62 qcacld-3.0: Initialize tdls global context variables after SSR
After SSR is done all the tdls global context variables are
not initialized in wlan_hdd_tdls_init() that can create
problem in TDLS.

Fix is to initialize tdls global context variables after SSR.

Change-Id: I6e777d4d61876ea85300e587c5d720e89bad3431
CRs-Fixed: 1116756
2017-01-29 22:24:14 -08:00
qcabuildsw
ccf84fc83e Release 5.2.0.7P
Release 5.2.0.7P

Change-Id: I8d053fa2997567080602cc3f9a749a5dbbe51bcc
CRs-Fixed: 688141
2017-01-28 04:50:21 -08:00
Arif Hussain
c6aa1ceb94 qcacld-3.0: Set CSN value in assoc request based on peer’s CSN value
Instead of using CSN value based on peer’s numSoundingDim, check peer’s
CSN value to make sure CSN value in assoc request should not be greater
than the peer CSN value.

Change-Id: I1456fbeb3ab1ef294d16b8383a5a094ca68d09c2
CRs-Fixed: 1116537
2017-01-28 04:50:20 -08:00
qcabuildsw
52b4459710 Release 5.2.0.7O
Release 5.2.0.7O

Change-Id: I65ca11d4a2b5478d9ca438cce3f3b1085756bef4
CRs-Fixed: 688141
2017-01-27 12:02:14 -08:00
Arif Hussain
4d43b9b9a6 qcacld-3.0: DFS CAC duration fix for emulation platform
For emulation platform, timer value multiplied by  100,
Set the CAC value accordingly, to get timer expire after
intended duration.

Change-Id: Ia99ee6f36b88bca3c297fc06d1f3b777a2114d14
CRs-Fixed: 1114332
2017-01-27 12:02:13 -08:00
qcabuildsw
e090f85797 Release 5.2.0.7N
Release 5.2.0.7N

Change-Id: I3d0bcae797dec4b95f8dd701a2933f474fbb0e9a
CRs-Fixed: 688141
2017-01-27 04:51:44 -08:00
Himanshu Agarwal
795b7f756c qcacld-3.0: Inline funcs for mgmt_txrx southbound API's
Use inline functions to access mgmt_txrx southbound API's.
This will remove the need to invoke these directly from the
structures.

Change-Id: I50f71261618fd6812265738597bd6f2968cef692
CRs-Fixed: 1110551
2017-01-27 04:51:43 -08:00
qcabuildsw
552bc1a02f Release 5.2.0.7M
Release 5.2.0.7M

Change-Id: Iac798297923d0f370a064ce21fcb395c4eda7c1d
CRs-Fixed: 688141
2017-01-27 01:59:48 -08:00
Poddar, Siddarth
3f1fb13bc6 qcacld-3.0: TSO MAP-UNMAP individual segments one by one
Add support to unmap tso segment when host receives
ol_tx_comletion_handler for a particular tso segment.
Host unmap all the fragments of corresponding tso segment
except 0th fragment.
0th fragment of each tso segment now points to EIT header
which is common across all the segments. So 0th fragment cannot
be unmapped until host receives tx completion for last tso segment.
Also, now with introduction of tso, skb map-unmap is not required
anymore for tcp packets as host anyway does map-unmap of each
tso segment before sending it.

CRs-Fixed: 1106688
Change-Id: I572c7dcd2d29cb19b398e13e0fe7ce6f88ee1641
2017-01-27 01:59:47 -08:00