Peer sta kickout ind was received from fw nine times
which resulted in queuing nine scan commands as part
of csr_scan_request_lost_link1 without checking for
max allowed scans. The ninth scan cmd is not released
as fw did not send completion event resulting in
subsequent connect to fail.
Fix is to
1) check for max allowed scans before
queuing scan command.
2) check for lim sme state to avoid invoking tear
down link with ap multiple times on receiving
multiple peer sta kickout ind from fw.
3) don't invoke csr_scan_request_lost_link1 as part
of csr_roam_lost_link as supplicant will issue scan
after successful disconnection.
Change-Id: I850fd336fc73e4b2c2362dfd11db433b68ccd1fb
CRs-Fixed: 2031342
-If disconnection is in progress then don't process the
new disassoc frame.
-Limit the number of logs message related to disassoc
frame dropping.
Change-Id: Ia4d612ec67d4a6b80991a6e0e6393bc59ba76617
CRs-Fixed: 2035813
If AP changes its color code for 11AX mode then it will announce
through bss color change IE. Connected STA needs to honor that IE
and update its internal table.
Along with color change IE, he ops can also be changed by AP.
STA needs to honor that as well.
CRs-Fixed: 2039284
Change-Id: I4f6767d0a6a814f56448dc6d647e045c852e2750
Add support for handling BSS color collision and select new BSS
color. Update beacon template and set new BSS color to FW.
Change-Id: If441990916753bdcf4daaded031e16f0460a0e8f
CRs-Fixed: 2039284
Add new IEs related to 11ax. Following IEs are added as part of
this MU EDCA Parameter Set and BSS Color Change Announcement.
Change-Id: I5b31f026e3a9625a89bda027599493248fee760a
CRs-Fixed: 2039284
qdf_trace_set_value() is depreciated. Use
qdf_print_set_category_verbose() instead.
Change-Id: I37a2af5c0e08bfd8e8c6e0ce0e503889e6e0c782
CRs-Fixed: 2048109
Reduce the excessive failure logging of OL_TX_SEND. Make it as debug log
so that it will not hog the console. OL layer tx flow control stats will
catch the dropped packets.
Change-Id: I57feee9b4eeb7bf6c6c0c239c2a30041936fa758
CRs-Fixed: 2047953
Currently, for disable roam from supplicant, if STA is in
not connected state, driver wont send any commands to FW
as it is unnecessary. However, for this case, driver updates
fail status to supplicant.
Update success status for disable roam cmd when STA is in
not connected state.
Change-Id: I076d1b5389868b5d136e5adce730f6b3ec41e6f8
CRs-Fixed: 2042596
For MBO[Multi-Band Operations], supplicant configures driver to ignore
assocition disallowed even if assoc disallowed attribute is present
in MBO IE of target BSS. Currently driver is updating this config
in PE session and fails if PE session doesnot exist at the instance.
Save ignore_assoc_disallowed config to mac context and update the same
to PE session while creating it.
Change-Id: I0379c756f6150533723ba4306f9780e345c3f61f
CRs-Fixed: 2042550
Function sapconvert_to_csr_profile is allocating memory for
pRSNReqIE without checking if it is already populated. This
will leak memory if this function is getting called for sap
restart. Fix this by first freeing memory if already allocated.
Change-Id: I562b1dabb330057b4f1b934b0edad692330aab70
CRs-Fixed: 2046608
This is qcacld-2.0 to qcacld-3.0 propagation.
This patch adds ini support for WMI_VDEV_PARAM_DISCONNECT_TH
which represents number of dropped packets before FW sends out
kickout event for that peer to host.
Change-Id: I4c82bd1b5d1bc5d8265e3b0e5e58c82cdcab7f50
CRs-Fixed: 862686
Serialization is not required to deliver the set key request coming
from upper layer as well as set key response coming from lower layer.
Take the set key request coming through IOCTL thread, and directly
post the request to protocol layer. Similarly take the set key response
coming through worker thread, and post the request to protocol layer.
Change-Id: Idcd0047f6e323d982e3159f7ef376e6eeb201395
CRs-Fixed: 2046036
In PMF SAP case iface->rmfEnabled is not set and thus even
unprotected frames are received by driver and processed.
To fix this set iface->rmfEnabled while adding station.
Change-Id: I3cbe5d7d64ee0d38f64f9cf256ce338163edd302
CRs-Fixed: 2048364
WoW patterns are maintained in an internal cache that is not cleaned
when the WLAN module is unloaded. Free the WoW pattern cache as part
of the WLAN module unload.
Change-Id: I1ebd1876555d01551542f7029f53a72af6773dbc
CRs-Fixed: 2044774
When channel list changes dynamically; it needs to be
propagated to kernel and firmware. Do the propagation in
the callback registered by hdd.
Change-Id: I2c9fb92a9abf1c26a8c57ee8be65bd5556bb84a1
CRs-Fixed: 2012415
e_sme_command_set_hw_mode is always requested on session id 0 even
though it is supposed to go on different session id. This is due to
not updating session id when posting e_sme_command_set_hw_mode
command to SME.
Update session id in e_sme_command_set_hw_mode command.
CRs-Fixed: 2041453
Change-Id: I211f8b4cda3ef4ce216c1957eeea812e0eec5dc7
Check for NULL pointer before accessing the roc_ctx in function
"wlan_hdd_cancel_pending_roc".
Change-Id: Ic01f2776567f6fc7d9fc89523b78fc697fb625a8
CRs-Fixed: 2045861
In case the service ready extension event is not available from
firmware, the hal_reg_capabilities in psoc structure do not get filled
up. But pdev channel list depends on hal_reg_capabilities extension
having proper range values values for channels. Since MCL has only
single pdev, unconditionally fill up the values in psoc service ready
ext data structures..
Change-Id: Idb2c8525d5789078654c1cba8d841dea03841ae8
CRs-Fixed: 2048054
Firmware expects TDLS set state cmd before vdev stop, but
the cmd is going out of sequence during roaming and induce
crash in the system.
Send the TDLS set state cmd with correct sequence.
Change-Id: Ie106b8a8cebaa7f107c9eff67dda924b231162da
CRs-Fixed: 2045961
When client send AssocReq without any cipher suite IE to DUT's SAP
which has security configure, driver/hostapd will not reject/delete
this client, this client will associate but eapol process will not
happen, so this client tlSTAState will not change to
OL_TXRX_PEER_STATE_AUTH state, and it blocks DUT's STA scan because
cds_is_connection_in_progress check this state.
This change is to reject it from driver when AssocReq without any
cipher suite IE received from DUT's SAP which has security configure.
Change-Id: Ia9a3b0791ac36c3ee6d48cf6df97f47a3752bd16
CRs-Fixed: 2033663
Since firmware has already asserted, VDEV deletion will timeout
finally which will result VDEV release failure in host driver.
Bypass it in SSR shutdown routine.
Change-Id: Ib9a4b8a4d49edf8178a1da8201f8a7c6931f487f
For module start/stop and SSR cases, pdev is reused so it needs to be
restored to MAC/WMA contexts again.
Change-Id: Ifce95437d2c32a71c9376164f821f4e27df38409
CRs-fixed: 2021415
Firmware expects TDLS set state cmd before vdev stop, but
the cmd is going out of sequence and induce crash in the
system.
Send the TDLS set state cmd with correct sequence
Change-Id: I5be19d8d44f86b60eed162ee3798f34e87892b15
CRs-Fixed: 2042194
Currently, Host serialize get link speed command through
MC thread which is truly not required.Hence removing
serialization for get link speed cmd.
Change-Id: Ia2895394025056d4957856bb9bde0350b55d25ca
CRs-Fixed: 2042492