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
Adds logic to use default RSN IE fields if optional fields are not
present in IE. So if RSN IE doesn't contain AKM, group and unicast
cipher use the default AKM(AKM_IEEE8021X) and cipher (CCMP).
Change-Id: I8e9737aea15322e43d2d954d046f5b2ac9b21af1
CRs-Fixed: 2164528
In some use cases invalid phy mode is sent to the firmware
and it bring down the system.
Validate the phymode in all cases, before send to the
to firmware
Change-Id: I01d7fa833304967ff742d24bce814819079ecc68
CRs-fixed: 2167366
The Linux kernel version 4.12 introduced an API change to
nla_parse_nested(). Add conditional compilation to call
nla_parse_nested with the correct parameters based on the
version of the linux kernel being compiled against.
Change-Id: I5214e9622d63ec928f5814f5840528f8c0d61422
CRs-Fixed: 2167853