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
UMAC components uses its own logging level configuration,
but now all the log level checks are handled in QDF.
Hence remove the support for WNI_CFG_LOG_LEVEL.
Change-Id: Ib1f47efe6a8f0113543d855ed2a05b86170b7675
CRs-Fixed: 2020798
Log level check is currently handled in QDF and hence we don't
need another redundant check in UMAC modules.
Change-Id: I86e7341ab3a634b50a4c4c2d70f6651e6e1f8de5
CRs-Fixed: 2020798
With I446c7d7589534688e04579ed434de0803ed8b4ff, STA adds
FILS request parameters IE in Probe Requests. But FILS capability
is not set in extended capability IE.
Enable FILS capability bit in extended capability IE.
Change-Id: If409185f785a4c1905b60df5935baf313f638887
CRs-Fixed: 2018546
Add INI "g_qcn_ie_support" INI and selectively add the QCN IE
in probe/assoc/reassoc request based on the INI.
Change-Id: I6039bb5366feb77b4c601bcde00b4bd5d92a3b23
CRs-Fixed: 1117320
If number of BSSID tried by CSR reach max bss limit for the
connect request, no more AP are tried and failure is sent to hdd.
But as PE session ref count is 1, assoc completion is sent instead
of assoc failure and thus HDD does not send the connect failure to
upper layer. Also the HDD state remains in
"eConnectionState_Connecting" state and is not moved to
eConnectionState_NotConnected state and thus scan fails.
To fix this decrease the PE session ref count if number of BSSID
tried by csr reaches max BSS limit for the connect request.
Change-Id: I43ea4fa67d968ee648c47c2d52c0dd98d67f051d
CRs-fixed: 2027306
In wma_start_extscan scan req params is allocated but not freed
once command is sent to WMI.
Fix it by freeing the scan req params once sent to WMI.
Change-Id: I3eb37b33c3731e69991b9d67aa9274abeebb5339
CRs-Fixed: 2029379
WiFi currently has no mechanism for tracking software path statistics.
However, quota usage must be aggregate of all traffic occuring over
STA (SoftAp HW, SoftAp SW, Embedded, Other Tether Traffic).
This is a WLAN host side change to support this; send set Quota
message to FW even before first client connected.
Change-Id: Ica326ae4a11b465ed3131652ac311c7a76e01253
CRs-Fixed: 1097371
IPA uC quota bytes is 64 bits long, however wma_cli_set_command
passes only 32 bit value, so only LSB is passed to FW.
To set full 64 bits to FW, pass MSB of the quota value using second
value parameter of wma_cli_set2_command.
Change-Id: Iace8c4a856fcadaa1492b843e24901ab63657550
CRs-fixed: 2007400
Add structure changes for querying WDI-stats, register the callback
functions for IPA to query WDI stats and sets the quota limit
Change-Id: I05d9d50fad735fa0a57c4de23c81461f6e12b648
CRs-Fixed: 1095710