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
Packet log ops are protected against load-unload and SSR, but not
against module stop. Take care to add check for module stop.
Also takecare to NULLing of wdi_event_list and NULL check before accessing.
Change-Id: I20d49ff587719fc14f60a53e86092383de6ef5b8
CRs-Fixed: 2082135
Enable TSO segment history collection per TSO segment. This will
allow a better understanding of a rare instance (only 1 instance
so far) where a single TSO segment is detected by memory leak
detection logic.
Change-Id: I7b8277a7307706abdc9a68c8d62fe8c9bcf24513
CRs-Fixed: 2054062
While selecting P2PGO channel in sap_goto_channel_sel(), force SCC
if there is STA + P2PGO concurrency AND gWlanMccToSccSwitchMode!=0,
This makes behaviour similar to STA + AP concurrency.
Change-Id: Ib80a36c22432791c5466b68b625373c58e4c8206
Check if SAP restart is required when STA is changing the channel
as part of CSA handling.
CRs-Fixed: 2115904
Change-Id: Ie8c798c0964def5c3d5db6dbe55a3de3ff8a3381
Change "qcacld-3.0: Remove legacy P2P codes in HDD" (Change-Id:
Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d) removed almost all of the
legacy P2P code. However it left behind struct hdd_cfg80211_state (and
associated enums p2p_action_frame_state and action_frm_type) which are
no longer used, so remove those as well.
Change-Id: I3713fa2c940fd5b481ddc32dbd4fcc9ea138799d
CRs-Fixed: 2131863
It has been observed that prints are adding significant overhead
to the period a lock is being held. Move the prints outside of lock.
Change-Id: Ifc84b562bc294ae2348f6d152b2852c21c963762
CRs-Fixed: 2040486
Per the Linux coding style "mixed-case names are frowned upon" so
rename field ClassD_stat in struct hdd_stats.
Change-Id: Iffd826b5d179e824a2f5bdaeca1ecfd4fe4ba02a
CRs-Fixed: 2131838
Per the Linux coding style "mixed-case names are frowned upon" so
rename field ClassA_stat in struct hdd_stats.
Change-Id: I33c773b08767e733d69c0dd843f64edc3c00fbee
CRs-Fixed: 2131838
Add sanity check to reject limit off channel param configuration
if vdev is not up to avoid fw assert.
Change-Id: I8b550e3963896cb8b202747b70f3553750290ee5
CRs-Fixed: 2121828
Once IPA resource loading timeout when 1st connection of SAP, the later
come in ipa event will be queued, but when process pending event it
calls __hdd_ipa_wlan_evt with mismatched type/sta_id.
Change-Id: If6bd8d234d12dcc044e49883be38420dbe15f7db
CRs-Fixed: 2130614
Deinit QDF print infra after printing leaked objects such that leak objects
detail gets logged before QDF print infra is destroyed.
Change-Id: I55494de6253c0409c8156a838b28bcc20a60913b
CRs-Fixed: 2129306
Fix NAPI and flow pool info logging levels. NAPI stats are showing up in
kmsg, when they should not. flow pool stats are simply not showing up
since debug levels are disabled for TXRX module.
Change-Id: I5fa3ca24cf3c31c2cf5183ccf9044eb085153da7
CRs-Fixed: 2127633
Ignore target suspend timeout if fw is down such that
system can recover gracefully.
Change-Id: I26c3a1fb34483a46cd4f9d48d17408b688e5ad6c
CRs-Fixed: 2130097
Stop BSS callback runs in driver's internal scheduler thread context
which should not check for driver load/unload state which is required
for external thread of execution. Stop BSS callback is supposed to
free the peer object which is created by HDD when driver gets unloaded.
Change-Id: I3b8586498f3e9783be3ca4ba8cc06b7f1e9d70a2
CRs-Fixed: 2131209
Add a new ini param to enable power collapse of physical registers.
ini values can be:
0-Disable Phy register retention
1-Statically enable Phy register retention
2-Dynamically enable/disable Phy register retention
by default ini value is set to zero.
Change-Id: Ia922c4c25a47b3251c765fda5d4189c69d1a1d14
CRs-Fixed: 1100324
Struct hdd_adapter defines fields aStaInfo and staInfo_lock to manage
the station information. Per the Linux coding style "mixed-case names
are frowned upon" so rename the fields.
Change-Id: I0e0436d03255ab6e18eee70b57e3b5a9dc9cc3f5
CRs-Fixed: 2131096
Per the Linux coding style "mixed-case names are frowned upon" so
rename field staType in struct hdd_station_info.
Change-Id: I6852f6b1c45c69f0ef414ecaa46467094244888d
CRs-Fixed: 2131095
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged" so rename field
ucSTAId in struct hdd_station_info.
Change-Id: Ifff172f180d6a769f25d29b655d1d4bb834318d1
CRs-Fixed: 2131094
Per the Linux coding style "mixed-case names are frowned upon" so
rename field macAddrSTA in struct hdd_station_info.
Change-Id: I823e0037902f0edd573041679ed8adf53b4bb411
CRs-Fixed: 2131093
Per the Linux coding style "mixed-case names are frowned upon" so
rename the STAId parameter to hdd_softap_deinit_tx_rx_sta().
Change-Id: Ica4882c93e471f0c8deac40000179eac5a3e29d1
CRs-Fixed: 2131092
Per the Linux coding style "mixed-case names are frowned upon" so
rename parameters to hdd_softap_init_tx_rx_sta() which currently use
mixed-case names.
Change-Id: I0bdc746d0f9c89cd6d6d6170337ac9db5fb0242c
CRs-Fixed: 2131091
Per the Linux coding style "mixed-case names are frowned upon" so
rename parameters to hdd_wlan_set_ht2040_mode() which currently use
mixed-case names.
Change-Id: I7759dcfb0e37c86a953d029a7ecf96082f565bbc
CRs-Fixed: 2131090
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isQosEnabled in struct hdd_station_info.
Change-Id: I0e8ba829be981faa339c7ad6ccebdb7f8194ae17
CRs-Fixed: 2131089
Per the Linux coding style "mixed-case names are frowned upon" so
rename field tlSTAState in struct hdd_station_info.
Change-Id: I8742b42144ed455213eef92426356c54b08e2038
CRs-Fixed: 2131087
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isDeauthInProgress in struct hdd_station_info.
Change-Id: I8e30bb8b91e8eddd32e3122902543b44a8cdd170
CRs-Fixed: 2131086
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isUsed in struct hdd_station_info.
Change-Id: I60265fd3b6ac5bb8d98aa916b87ebf73a6c231f6
CRs-Fixed: 2131085
Both fields within struct hdd_pmf_stats are currently defined with
camelCase. Rename these to align with the Linux coding style which
states "mixed-case names are frowned upon."
Change-Id: Ib701404a07c3c42fdecbe56f8baafece849fa616
CRs-Fixed: 2130440