If the disconnect is triggered from the user space then print those
logs in kmsg.
Change the log level from hdd_debug() to hdd_info().
Change-Id: I72839e33a69e7bdf07471cbfe7f6f9b6144ace90
CRs-Fixed: 2014745
Add support to handle the event for the Roam Scan Offload[RSO] command
status. Inform the same to user space.
Change-Id: I2758103e8ca3c49c0fecd3323b619542dbbabf0c
CRs-Fixed: 1111809
Define AKM suites WLAN_AKM_SUITE_8021X_SHA256 and
WLAN_AKM_SUITE_PSK_SHA256 only if not defined in kernel header in order
to avoid compilation issues because of a previous definition.
Change-Id: I779a9991763797541fc142e980f717a48fe3bd26
CRs-Fixed: 2033185
There can be a race condition if two threads tries to execute
memdump read which may lead to use-after-free case.
To address this issue implement the use and free of the memory into
the lock.
Change-Id: Ie4d15e9a6414f556a622869d561c331c6bc5d85e
CRs-Fixed: 2023313
Set is_key_installed in roam_synch handler, if firmware has already
done 4-way handshake and set keys.
Change-Id: Ie5539dfe821c1c9d8d713a83592a31f04a85c3ac
CRs-Fixed: 1104243
In function sme_prepare_beacon_from_bss_descp, ie_len was storing
uint32_t into uint8_t which was causing beacon frame buffer to be
filled partially. Change the ie_len argument to uint32_t
Change-Id: Ia94dbd6e280579fe1621863b0e8f6ba4e13d10ed
CRs-Fixed: 2004265
Define HDD API to get adapter by interface name. This will be used in
NDI + NDI and similar scenarios.
Change-Id: Icd7fb7c60c67e73aa030752b2e6840853a242fc9
CRs-Fixed: 2032704
Do not free request pointer in wma_hold_req_timer, if not found
in the list, because firmware response would have consumed and
freed it.
Change-Id: Ibf561243c606b40e45c8b1cd7c0d2559e0ea85aa
CRs-Fixed: 2027853
After supplicant issues a new PSK_PMK send a ROAM_OFFLOAD_START cmd
to firmware to update latest PMK to firmware so that it can send
correct PMK in 4-way EAPOL handshake.
Change-Id: Ied2ba70ca7538ddf7b63478585c53bf174b62c38
CRs-Fixed: 2032853
Add support to add memory tracking in tx path in WLAN driver using
already present infrastructure for memory tracking.
Change-Id: I6a2c9890e0af1fd51c4e2dfcded68f0075a3a4ef
CRs-Fixed: 2025668
Race condition is happening when tx traffic is running and simulataneously
suspend is going on. hdd_hard_start_xmit() is called under txq->__xmit_lock
and in case of low descriptor scenario, it goes to pause the netif queues
and trying to take adapter->pause_map_lock for doing so which is already
acquired by another thread. In another thread, suspend indication is being
preocessed and as a result is trying to pause netif queues with
netif_action WLAN_NETIF_TX_DISABLE which takes adapter->pause_map_lock and
then calls netif_tx_disable() which is trying to take txq->__xmit_lock
already taken by the thread executing hdd_hard_start_xmit(). This leads to
a deadlock situation.
Replace netif_tx_disable() with netif_tx_stop_all_queues() as
netif_tx_stop_all_queues() is doing the same thing as netif_tx_disable()
only without taking the txq->__xmit_lock which prevents this deadlock.
Change-Id: I5afafe6435707bd8f0e87972a740f908d06ce847
CRs-Fixed: 2030933
For IBSS, firmware does not add self peer for each mac and thus
if HW is capable of DBS the firmware crash when scan req is received
on IBSS vdev. Also IBSS vdev does not need to scan to establish
IBSS connection.
To fix the crash, block the scan on IBSS vdev when DBS is enabled.
Change-Id: I41eda671d263a72ccb2b0c27212dd1d983043bca
CRs-Fixed: 2029880