Currently, pdev destroy is before cds_close and
scheduler_disable. Some pending msg in scheduler
may hold ref count on vdev.
scheduler_flush_mqs will release all the vdev ref
and get vdev freed.
That may cause pdev freed before vdev and get
issue in wlan_objmgr_vdev_obj_free.
Fix by destroy pdev after all possible vdev ref
released (cds_close).
Change-Id: I8e898f6c63fa298f2c63c5fc19706208b8580a60
CRs-Fixed: 2156577
Currently in cds_enable, no check is performed against the return
value of dispatcher_psoc_enable. Add it accordingly.
Change-Id: Ie8119b5581fb13723dd5cd3c7e22477df51005f4
CRs-Fixed: 2168212
To use the new wlan reg API
wlan_reg_get_current_chan_list to get current
chan list.
Change-Id: I8b57e425dfb8c27e8c7b013107fb92fd0d08bc34
CRs-Fixed: 2168335
Do not send power save disable command to FW in disconnected state
as the power save is already disabled when STA is disconnected and
FW does not expect powersave commands after VDEV is down
Change-Id: Iea5a564f1a57f7fa4b8d9c96296d2c2e82c92775
CRs-Fixed: 2171113
Two clang issues reported in csr_api_roam.c and dot11f.c for
unwanted NULL Checks.
Remove the below unwanted NULL checks:
1. for fils_info->keyname_nai in csr_update_fils_params_rso function
2. for gp_mgmt_cipher_suite in RSN IE for pack and get_packed_size
functions.
Change-Id: Ifd3a5772ee8b604d06293b6d4ebd3a049aebd3cd
CRs-Fixed: 2167373
Make sure to delete the client peer objects for P2P GO mode to avoid peer
object leaks during SSR. Refine some logs for SSR for better readability.
CRs-fixed: 2171112
Change-Id: Icd691df90f3e0583ffe72d0025dbff4713d82a84
Adds support for INI "force_rsne_override" and vendor interface to
enable test mode to force rsne override. Once force rsne override
is set the driver will use the RSN IE's as-is from the connect
request. Exclusively used for the scenarios where the device is used as
a cert test bed and not recommended for production.
With force_rsne_override enabled in INI and once enabled from vendor
command driver will not validate the RSN IE's passed from user space
and thus induce improper IE as it is to test the peer.
Once the force_rsne_override is set, it will be active until its
disabled by vendor interface or driver unload.
If INI force_rsne_override is disabled, the force rsne override mode
cannot be enabled by vendor command.
Change-Id: Ic58474e7a18e6c1f944c61783f630af3953011c0
CRs-Fixed: 2164526
Currently, firmware fills the num variables value of param_tlvs
structure for all wmi commands. But during buffer write the fixed param
values are used to check maximum limit of buffer in wmi commands.
Due to multiple length definition of num variable in WLAN FW message,
num variables of param_tlvs may not equal to max limit defined in
fixed_param, resulting OOB issues in WLAN FW messages during buffer write.
Add sanity check to make sure that num variables value doesn’t exceed max
limit of num value defined in param_tlvs.
Change-Id: I43c15557057ab5b900f19b9f54426dcdf85e2c27
CRs-Fixed: 2153638
Move module init/deinit and function entry/exit logs to DEBUG level,
and keep only minimum logs in kernel log buffer.
Change-Id: Ia9fe82934638683079d308acfc9e7014e1d1a0e3
CRs-Fixed: 2169416
Roaming is allowed only on wlan0 interface and is not allowed by
default on any other STA interface.
With this change, roaming will be allowed on all the STA interface
with below conditions:
- At a time only one STA interface will have roaming enabled.
- STA which connects first will enable the roaming.
- Whenever a STA connects and if roaming is not enabled on
any STA interface, roaming will be enabled on the connected STA.
- Whenever a STA on which roaming was enabled disconnects, if any
other STA interface is present and is in connected state, the
roaming will get enabled on the other STA interface.
Change-Id: I4c7654480ad893eb1635138447e1a0b37abf1ac4
CRs-Fixed: 2166972
Firmware will provide PPET capability per phy, and phy in-turns is
tied to a band. Add support for per band HE PPET in host, which will
allow correct HE PPET advertisement based on channel.
Change-Id: I476dede3b0f6df107b9980c141c0dbca90f950f1
CRs-Fixed: 2166741
Clean the compiler issue when CONFIG_QCACLD_WLAN_LFR3
or CONFIG_QCACLD_WLAN_LFR2 or both sets to 'N'.
Change-Id: I9fbad33883fcaf9c3f5728a96cac18bd18c2d14a
CRs-Fixed: 2159431
In STA mode bw computer function is under INCSS/CNSS,
add Fix to enable bw computer on all MSM platform
Change-Id: Ic7218d637da4ce06349906b014c7bb82bf8f1d63
CRs-Fixed: 2159745
Fix NULL dereference a pointer returned from call to function
'cds_get_context'.
Change-Id: I4c09309b5813f105ccf1c836b81a92522d81df75
CRs-Fixed: 2162256
Change some of info/warn log levels to debug log levels to
avoid excessive console logging during driver load.
Change-Id: I042a8f8f735fb2eb7c135c120cbc6644c46bcc31
CRs-Fixed: 2169378
There are some issues found related to missing session's validation,
out of bound array indices, or NULL pointer dereference in SME module.
Take appropriate measures to fix the issues.
CRs-Fixed: 2162249
Change-Id: Ia8b8131ec0ea0e494971b07aa2b76c03d6af2915
There are some issues found related to missing session's validation,
out of bound array indices, or NULL pointer dereference in CSR section
of SME module.
Take appropriate measures to fix the issues.
CRs-Fixed: 2162240
Change-Id: I8c4d050bfc7040fba052eb42b32a91302a0a0ecb
HDD context is freed as part of wiphy_free() kernel API call
and after it any access of HDD context member variable will
lead to use after panic. Make sure to destroy iface change
mutex before HDD context is freed as part of wiphy_free.
Change-Id: Ic447501c8c7faad7cc7322e5fdb112cb74e5d7ad
CRs-Fixed: 2169505
Instead of maintaining two sets of nla_parse wrappers, update HDD to
reference the nla_parse wrappers defined in the wlan_cfg80211 component.
Change-Id: Ic0701f47fbc524fcaea623934f447142d39a5b77
CRs-Fixed: 2168630
In function pmo_core_send_lphb_enable check index before accessing array.
In function pmo_core_is_wow_applicable initialize vaiable before access.
Change-Id: Iadba3175d10da3e4e311d8ab9e8a850053d3da24
CRs-Fixed: 2162257
Add final changes of DISA component into the skeleton. Fill up all the
code in core, dispatcher and target_if of the DISA component. Use new
wmi API to extract cmd response from event buffer.
Change-Id: I55f7170efa1055f1449dd95d9f1a911dfa6b54ce
CRs-Fixed: 2161979
DISA feature has been moved to a CLD component under the converged
driver model. This renders original code in WMA and SME obsolete.
Remove it.
Change-Id: Ia44acd9a3e31bf0d1098f7d423f0c28a2b7fe5fa
CRs-Fixed: 2161950
Create a skeleton for the DISA component. This is a CLD
component. Add files for disa core, dispatcher and
target_if. Define DISA related public structures and
objmgr objects. Add API's as stubs.
Change-Id: I63b32a0e7da0283d091815aaccea6b8703f5184c
CRs-Fixed: 2159579
Currently DUT dropped the auth response frame from
AP because AP is sending 2 different auth response
fames with the same sequence number 0.
Change-Id: I64f05137a34fb3e4554011b032afebed251daba3
CRs-Fixed: 2166008