A recent change added a sleeping wait to the interface up handing code
in hdd_open, which can lead to transient deadlocks and cascading bad
behavior when Sub-System Restart (SSR) is in progress. Instead, simply
return -EBUSY when SSR is in progress, allowing the user to try again.
Change-Id: Id029090f9aafefa76d9778f8e5de5698b852495b
CRs-Fixed: 2132580
In case host receives a paddr in a HTT_RX_IN_ORDER_IND_PADDR msg
from FW that is not found in the rx_hash, instead of forcing an
APPS crash, iniate a host-triggered recovery. If the feature
is not enabled, this would be equivalent to the old code.
Change-Id: Iaab5329c13d626c4b94c690f5537899eecf2637b
CRs-Fixed: 2084522
This reverts Change-Id: I2a4980b6cd4b689da07c34f2acdfaafbbb0715bb.
This change set driver unload state before unload work is scheduled,
which causes async between platform driver and wlan host driver.
Change-Id: Ieaf1cf0a257f69bf8958085c48d9020f1b5ec610
CRs-Fixed: 2124953
Currently there is no support for management MGMT TXRX
component over HTT endpoint and supports only over WMI.
As a result for platforms which does not support MGMT
over WMI will break other components which uses MGMT TXRX
component to send mgmt packets. In this change support MGMT
TXRX component over HTT.
Change-Id: I414269abb5a5c616cc890dab450a7782e6829d0e
CRs-Fixed: 2128213
Currently, do_not_roam flag is used for denoting both supplicant
disabled roaming and the roaming disabled on an interface during
the interface bring up. Differentiate these two flags with proper
nomenclature to make it clear and distinguishable. Name the new
flags to be supplicant_disabled_roaming and roaming_allowed_on_iface.
Currently in a sta+sta scenario roaming is supported only on wlan0.
Based on the flag roaming_allowed_on_iface, send/discard the
roaming commands to be sent to the firmware.
Change-Id: I1bd19e938b00c26c06ff06c73754560d4502ef2c
CRs-Fixed: 2130204
Fix the maximum permissible length for Keyname NAI and also
perform a check for the same.
Change-Id: Ib6eaa11a470202fcde7495f788ab6d3c0272cefe
CRs-Fixed: 2126720
Add sanity check on the adapter structure, using the magic field
before accessing any fields on it.
Change-Id: If6965415bc0e6400ffb5924461715dff4c9efa36
CRs-Fixed: 2054084
Add the sanity checks to the authentication types for a
FILS connection to ensure if it is a FILS type connection
and if it is, then add a check for the currently supported
FILS authentication types. This should also take care of
getting rid of dangling pointers for fils_con_info which
are not set to NULL after a memory release operation.
Change-Id: I688086fdff1536bf7e314832e34012878e3a3304
CRs-Fixed: 2123393
When WLAN driver goes thru recovery, it's no longer suspended. All
threads are woken up, and FW is also reset during the recovery.
CRs-Fixed: 2110156
Change-Id: I4f586919c0a25345c981149d79c707fbfd1c347e
There are some events from firmware that the driver would prefer to
process immediately. In some cases, these events can race with the
suspend process such that the event is not processed until the device
resumes. Keep a counter of so called "critical events" so the suspend
process can be aborted in the event of the aforementioned race
condition.
Change-Id: Ic8a557368d6cb62bed9fba424c851b48b16bc574
CRs-Fixed: 2125904
In the event of an error during cds_open, the cds config is not released
until very late in error handing process. Instead, release the cds
config immediately after an error occurs in cds_open.
Change-Id: I5fdf446c3cad82cbe3cbdec40f1dce4b46a0c3fb
CRs-Fixed: 2124189