When processing unexpected MLM join request in STA mode,
it won't create bss peer or trigger vdev start, just post
LIM_MLM_JOIN_CNF with result code eSIR_SME_RESOURCES_UNAVAILABLE;
when handling this connection failure, vdev stop will be sent but
WLAN_VDEV_SM_EV_STOP_RESP will be discarded due to SM is
in INIT state, which leads to PE session leak and unexpected
behaviors.
To fix it, change the result code to eSIR_SME_PEER_CREATE_FAILED,
then the pe_session will be deleted and no vdev stop will be
triggered when processing connection failure.
Change-Id: I7fd860e7ce07970eafcfb31cd9b54340048d69a4
CRs-Fixed: 2894292
This change removes unused variable "mac" in function -
sme_set_auto_shutdown_timer and avoid compilation fail.
Change-Id: I4a3ae1ea0deb62d6d43845330162dc8a24b8ab62
CRs-Fixed: 2890806
Update default values of INI items to most commonly used values
in WCNSS_qcom_cfg.ini file on commercial devices.
Change-Id: Ibf1e22406951855a4e726fb8105913a53d3c33ee
CRs-Fixed: 2874758
Currently the SPF support is triggered when there is more than one
target specified in TARGET_WLAN_CHIP. For taro we know we need
multi-target support in the future, but we only want to support a
single target during bringup. However we want all procedures
established during the bringup process to be applicable to the final
product. Therefore update the logic such that SPF support is triggered
whenever the TARGET_WLAN_CHIP is anything other than the default value
of 'wlan'.
Change-Id: I0a0671d2ebbdb85985bc57376b4acd2bd79a16ae
CRs-Fixed: 2890488
Move prev ap info and connected bss in connection manager
macro in csr session.
Change-Id: Ie2b8ecdbcf7134f93f908ba596c0398712da7ac8
CRs-Fixed: 2895259
If set country fails, disable the flag stating the update is in
progress. Otherwise, all subsequent requests will end up waiting for the
full timeout period.
Change-Id: Id35f49b65d5b641d9a0093204dadecc1792ee529
CRs-fixed: 2892388
Change I0e44cb1789516e1bcee619be3581d826f45f265b register
ndo_set_features API, and upper stack will invoke it during
driver loading phase, which is not expected.
Return success with debug level log printed if DSC check failure.
Change-Id: Iba35a6c3ed6394794c9be7332e0243d975ba37bd
CRs-Fixed: 2747343
Correct the attribute policy for TWT suspend to fix the command
parsing failure.
Change-Id: I6078c2e199ed13433c3dea532e3bbe396dd6ad8a
CRs-Fixed: 2872500
TDLS related codes won't be compile if disable mobile router, so this
change moves below function "lim_add_tdls_sta_he_config" to macro -
FEATURE_WLAN_TDLS and avoids compilation issue.
Change-Id: I6c46219c5e37712ce412fe3dbcdedc5dfa6bac53
CRs-Fixed: 2891591
Currently, the code is not sending the Tx beamforming capability to FW
in the case of NAN. Add this call to support beamforming in NAN mode.
Change-Id: I32af660724cfaecfe59da153fea9f98d24b0d4cb
CRs-fixed: 2889614
sys nodes disappear as it missed to re-create after
SSR, adding it in hdd_start_all_adapters.
Change-Id: I25f138a1b64dfff795ab62bca3c3d5d44b5601ca
CRs-Fixed: 2892725
Allow twt get_params command with dialog_id 255 to get all session
parameters in user space.
Change-Id: I1b5dbc742c65f2445681aebf1f69255eaf6e1954
CRs-Fixed: 2882925
The qcacld-3.0 Android.mk is unique in that it can be called
recursively. This behavior can make it difficult to debug build
issues. To help alleviate this problem, add a user function to
Android.mk to allow debug information to be logged, and add a few logs
which will be useful in debugging recursion issues. In addition change
a few $(warning) calls to use the infrastructure since under normal
use the Android.mk should be silent.
Change-Id: I660ceddaf53e42c331deba5d33b32360b549cfc7
CRs-Fixed: 2890484
In preparation for upcoming Single Product Family (SPF) support add
per-target default configuration files for QCA6490 and WCN7850. In
addition add a default configuration file for the generic 'wlan'
target.
Change-Id: I0fb90c110bfa8b27a21327e2880642e1acb7853a
CRs-Fixed: 2890266
During system suspend, the psoc idle timer is stopped. So it may
happen that work was not scheduled and it got removed from the
workqueue. This will result into the module state as enabled after
system resume which will lead to extra power consumption.
So, to avoid this issue, start the psoc idle timer in the system
reume if all interfaces are down and module state is ENABLED.
CRs-Fixed: 2867472
Change-Id: I2151e825919b45727a279a2285293e578ce86ffa
Currently, for every pre CAC request a new vdev sync is getting created
and it will be destroyed only when SAP is stopped. So, there is a possible
memory leak if a valid pre CAC request is issued second time without SAP
stop.
To avoid this, don't create vdev sync for pre CAC request if pre CAC
adapter already exist.
Change-Id: If3f65648645b6801a1504a2d184dbc6928ff4771
CRs-Fixed: 2891360
Reset RSN IE for every Connect. This RSN IE
will be overwritten with RSN IE if present.
If we don't reset then connect will use PMF
capability in RSN IE from previous connection
and will expect Deauth frame to be protected
even if connection is open.
Change-Id: I626ceb831556d17cd185a050b28d8d7a19344e68
CRs-Fixed: 2890563
Fill operational and extended rates in LIM
instead of CSR as part of connection manager.
Change-Id: I9197e835703059d61bc67897a9670ff166460318
CRs-Fixed: 2892415
TWT responder support should be announced, if enabled, in the
Extended capabilities IE.
Change-Id: I1355a9ddf2fe0361cb542b4c49b754d8f8a158fc
CRs-Fixed: 2884862
Currently, the regulatory update event is created in
hdd_regulatory_init. In some cases, the country can be set before this
function, causing a crash. Move the event creation to before the country
setting logic.
Change-Id: I344d0de71f1983b3da7b47b816d6bbb0e402cbe8
CRs-fixed: 2891434
Add support for TWT AP params not in range and IE validation failed
status code.
Change-Id: I939db5388c4e7aac86484b319638a57baf83171e
CRs-Fixed: 2888847
Driver report beacon/probe rsp frame in wlan_hdd_inform_bss_frame
to kernel. "boottime_ns" field needs be filled by "scansystimensec"
in nanosecond, so assign "boottime_ns" (NS) from scan entry to
bss_description instead of "scan_entry_time" (MS).
Change-Id: Id22f119f41f8cf60a8aadc9e04c4f18424c88413
CRs-Fixed: 2870827
Don't allow twt statistics or clear statistics command
if twt statistics or clear statistics is in_progress.
As a Fix, reject the new twt statistic or clear statistic
command till existing twt statistic or clear statistic
command completion.
Change-Id: I710a81ae3409f181689b2e4c9e9d4e583d4aadab
CRs-Fixed: 2870592