Link adapters are added to tail of hdd adapter list after ml adapter. When
rmmod, remove and delete all adapters from head of the list, so ml adapter
is removed before link adapters, all of it's link adapters are deleted
at same time, later link adpaters are removed from the list, user after
free lead to assert.
To fix it, when a ml adapter is deleted from hdd adapter list, need let
all it's link adapters deleted from hdd adapter list first.
Change-Id: I9a4657000e994ef64d08a6b1fa354cef0b1be6bd
CRs-Fixed: 3278312
If SAP+GO SCC on DFS channel and Radar event is detected, driver
should move out both SAP and GO to new channel. Add GO mode
check in wlansap_roam_process_dfs_chansw_update API.
Change-Id: I824553222be8a8f21ab6c4ac776a4b1e692ed3da
CRs-Fixed: 3280352
Currently, there is no interface id valid check,
Which is resulting in unnecessary Vdev NULL error
logs for interfaces for which Vdev is not created.
So to fix the excessive logging issue add a check
to validate the interface id.
Change-Id: I86b2a60c11631f5122f866a83427d4cd9b794a02
CRs-Fixed: 3283932
STA is disconnecting and set rso stop to fw, and start "RSO stop"
timer. But in middle of it, the fw csa event comes, and it clears the
"RSO stop" timer, start “RESTAT” timer.
Finally when the RSO status comes from fw, it can’t stop the rso
timer. Then the disconnecting is stuck in the state.
Fix by ignore the CSA if CM is in disconnecting or disconnected state.
Change-Id: I63f52d3a58b06ee012a05d5a4f194c32c63ab1f5
CRs-Fixed: 3281072
Fix misspellings:
availbale ==> available
avaialble ==> available
avilable ==> available
Change-Id: Ibaf369e6baf70508b32f6acdd6aa851c1fc13dca
CRs-Fixed: 3275686
Single SAP is not allowed on the DFS channel with the
g_sta_sap_scc_on_dfs_chan value = 1.
If g_sta_sap_scc_on_dfs_chan = 1 and STA is present on the
dfs channel, allow the dfs channel to be added to ACS channel
selection list.
Change-Id: I19f799628febd495302547a3f223e8b2561d8b78
CRs-Fixed: 3271710
Host receives channel list via an event
WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID as
getroamscanchannels command response or on disconnection
in FW.
As per the new requirements sort the channel list in
ascending order before sending the list to the supplicant.
Change-Id: I189e10eef534349a044a4dbb30b92461a886f614
CRs-Fixed: 3277010
Currently, link entry is not added to connection_list of
policy_mgr in case of legacy to MLO roaming. This causes
policy_mgr to miss track of the MLO link.
Check if the connection entry is present in the policy mgr
for the link vdev id and add an entry if it's not present.
Change-Id: Ib19f3616a3384670f1faef20c39476a2bcac2588
CRs-Fixed: 3274435
In DP thread create failure path, thread de-init logic
doesn't check thread is really running or not, but sends
an shutdown event and wait for completion. This will cause
completion timeout and lead crash. Change adds additional
check for theard stats before sending event.
Change-Id: Ie8e07ba3b6f992a34e9b4b3bbc36b8080157a408
CRs-Fixed: 3280401
There is a race condition issue between supplicant and driver thread.
1. Suppliant disable F/W roaming.
2. Supplicant Invoked roaming.
3. Driver reported roam completed to supplicant before EV_ROAM_DONE.
4. Supplicant tried to enabled roaming, failed for vdev ROAMING state.
5. Roaming completed, but RSO kept disabled for supplicant disabled
roaming flag not cleared.
6. F/W roaming kept disabled until next disconnect and reconnect.
To fix it, driver don't report roam completed event to supplicant until
vdev changed from ROAMING to CONNECTED.
Change-Id: I8f0db74b5dce69ea355fde2c43edaf6419c87eb0
CRs-Fixed: 3280727
Currently, host driver processes the PASN auth frames only
on 11az supported targets. This is guarded with a compilation
flag WLAN_FEATURE_RTT_11AZ_SUPPORT. NAN pairing protocol also
uses PASN auth frames and these targets may not support 11az.
So, move PASN authentication frame processing out of the
compilation flag WLAN_FEATURE_RTT_11AZ_SUPPORT to support paring
protocol on non-11az supported targets as well.
Change-Id: I8ae5fed3cbbb8518285855d90d297dc31c62f493
CRs-Fixed: 3281439
Disable TDLS offchannel if number of connected peers are more than
one.
Also, re-enable offchannel if all peers are disconnected expect one.
With this change, it is possible to increase the limit of max
connected peers which was previously set as one when TDLS
Offchannel is enabled.
Change-Id: Ic0826aa32c8ef805a2df6da6c7506895cdc08a09
CRs-Fixed: 3265868
After SAE full authentication, driver is not including
PMKID derived as part of the SAE authentication to the
AP in association request frame. This causes interopability
issues with some AP, which expects PMKID in association
request frame.
Fill PMKID in association request to SAE AP.
Change-Id: Ic09d653c74fd5c37486e4fa22b5ca9cd85c04743
CRs-Fixed: 3280164
Update offchannel frequency based on peer caps such as
1. If 6 GHz is supported then select the ini preferred 6 GHz channel
frequency if peer also supports the same channel.
2. If 6 GHz is supported and peer doesn't support the ini preffered
channel frequency then select the very first 6 GHz channel which
peer supports as preffered offchannel.
3. If peer doesn't support 6 GHz, then select ini preffered 5 GHz
off channel frequency, given that peer should also support it.
4. If peer doesn support 6 GHz and also doesn't support ini preferred
5 GHz offcahnnel, then select the very first 5 GHz channel it
supports.
Update preffered offchannel Bandwidth such as take minimum of peer
supported max bandwith which is extracted from supported opclass and
max Bw device supports.
Change-Id: I93412774f35280105b22d5ec44895572f9d7aeef
CRs-Fixed: 3266066
Driver will refill rx rates info which has been filled according
to the rateflags obtained from FW. The problem occurs when DP
receives legacy data whereas the rateflags do not contain legacy
bit. This will lead to the GUI displaying non-legacy rates.This
change clears the rate flag to ensure kernel to use legacy rates.
Change-Id: I93f30170b6a4dd742d8c653ef62f82190f1da2ee
CRs-Fixed: 3277906
For single link connection, the number of partner links is set to min
of assoc response ML IE and number of partner links that user configured.
This is not needed for roaming case, as roam sync indication has number
of partner links set.
Change-Id: Ibb46b83a2a88adb81d3d430362c7b1b7a4b6a4c3
CRs-Fixed: 3281779