Enable FEATURE_METERING for SDM660 and SDM630 in Kbuild
to get any IPA stats by Wlan driver.
CRs-Fixed: 1115310
Change-Id: I44ad270735c91b9642612307d223da7f5e25fcf0
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
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
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
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
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
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
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
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
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
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
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
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
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
We should use the context id instead of directly referencing
the context pointer name from the cds context.
Change-Id: I80f4822b37c920f37b70162890c02369b2972ee9
CRs-Fixed: 2000089
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
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
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
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
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
Turn on debugfs support only if CONFIG_DEBUG_FS is enabled in kernel
configuration.
Change-Id: I0b63bff056123fe29b0880bbe98da7a5c204fae7
CRs-Fixed: 1083744
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
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
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
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
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
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
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