While mlo wlan0 sta connecting with vdev0 up and vdev1 not up yet, wlan1
vdev2 disconnected, enabled roaming on other connected sta, then vdev0 RSO
enabled before vdev1 up, mlme session for vdev1 wasn't created in F/W. When
roaming happened, vdev1 peer wasn't deleted, F/W asserted.
To fix it, for mlo sta, follow legacy sta, if not all of requested links
are up, abort RSO operation except deinit on it.
Change-Id: I7026614ab91cf0a603c97e962433dc5139b210dd
CRs-Fixed: 3471655
Currently for REASSOC command host starts vdev ops
and tries to use vdev. In parallel if host receives
interface down and starts vdev trans then proceeds
to stop adapter and destroys the vdev, this leads
to null pointer dereference if vdev is destroyed
first.
This happens because driver doesn't wait for vdev ops
to complete after starting vdev trans.
To address this issue, start vdev trans and wait for
vdev ops to complete before proceeding to execute
further.
Change-Id: I363d05f742f7569dffed70cfa9b6bb9a0a766d9e
CRs-Fixed: 3445858
Fix incorrect center frequency seg1 value in ch params
structure by initializing it. This value is later used as
320 MHz band center frequency and results in all 6 GHz
channels to be devoid of 320 MHz bonded pairs and thus
reducing maximum supported BW to less than 320 MHz.
Change-Id: Icc996393654e3571b6969a40784ca622130959cb
CRs-Fixed: 3457159
While STA handle csa event from F/W and switch channel, disconnect
happened and bss peer was removed from vdev, assert happened in
cfg80211_ch_switch_notify.
To fix it, if found sta isn’t connected, don’t call
cfg80211_ch_switch_notify.
Change-Id: I016749ac4ac87563cc3de2aa930e7caeac858378
CRs-Fixed: 3478814
Channel switch wrapper IE V2 includes bandwidth indication sub IE from
IEEE802.11be draft 3.0 optionally.
When receive CSA event, Eht STA parse bandwidth indication IE of connected
Eht AP for channel switch or puncture update.
Change-Id: Id5740a1394766b02b65c5d6791ce98780bbacbd4
CRs-Fixed: 3458348
If PMKID present in AP expires, AP rejects the PMKID based association.
Current design is to clear the cache using BSSID/MAC address of link
in such cases to let a fresh SAE authentication to happen.
But host driver stores PMKSA with MLD address for ML BSS.
Adapt to the same and update PMKSA cache clear APIs to use
MLD address instead of link address.
Use the API which gives ML BSS peer's MLD address for
MLO VDEV or else legacy address for non MLO VDEV to remove
the correct entry in PMKSA cache based on association.
Change-Id: I4af9814e377737eef4a54fdf15db9f6bac38d954
CRs-Fixed: 3433723
Currently driver doesn't update mcs info while updating
he capabilities in wiphy. This leads to kernel rejecting
higher mcs when NL80211_CMD_SET_TX_BITRATE_MASK function
is invoked from userspace.
Change-Id: I7370de077364fa4287171544ee3ca1f495f9e519
CRs-Fixed: 3477587
Cleanup the SIR_* definitions of action frame and replace them
with common enums.
Change-Id: Ib72f9c452ca59e328d0f15a8643f6a803e517433
CRs-Fixed: 3479554
Add macro check about CFG80211_LINK_STA_PARAMS_PRESENT for
function wlan_cfg80211_tdls_extract_eht_params.
Change-Id: I1982d97f06e333936ea45828f5082d322664a2c0
CRs-Fixed: 3479244
Currently, support to get num_of_pwr level for 320 MHz chan width is
not present, so it is considered as Invalid channel width.
Add support to get num_of_pwr level for 320 MHz chan width
Change-Id: Iced6d58ac356bc85864ff4a240ca6f3ee35df94d
CRs-Fixed: 3478174
Add the following fixes to get Async TID to link map info:
1. Add APIs to register and unregister the T2LM callback.
2. Add HDD callbacks.
3. Send T2LM info, when receiving TID-to-link mapping response
from the associated AP MLD.
Change-Id: Ia98605b3244b24cc3cac41d2decf22ff6aa82f88
CRs-Fixed: 3431518
There is implicit declaration of function wlan_mlo_get_tdls_link_vdev
issue when compiling Fillmore devSP. To resolve it, add the
corresponding header file.
Change-Id: I6bc4dc01b82f3a0805e79fb7e25c4c4c7642c4e6
CRs-Fixed: 3477725
The macro definition for struct mlo_adapter_info in wlan_hdd_main.h
is #if (defined(WLAN_FEATURE_11BE_MLO) && defined(CFG80211_11BE_BASIC)),
but in wlan_hdd_main.c defined as #if (defined(WLAN_FEATURE_11BE_MLO).
Actually, "defined(CFG80211_11BE_BASIC)" can't be satisfied here, so we
change it in wlan_hdd_main.c to keep it consistent with the head file.
Change-Id: Ic8e49f541459c6712d15a1d55f361dd22042235a
CRs-Fixed: 3474597
Currently ol rx thread code is under QCA_CONFIG_SMP macro, which is
enabled for all the targets. But LI, BE and RH family targets don't
use this ol rx thread implementation. Hence, compile out ol rx thread
code for LI, BE and RH targets.
Change-Id: I1a1dfd09f5364ddb519c846e6c456d10f81e369c
CRs-Fixed: 3468499
In peach defconfig file, the CONFIG_FEATURE_WLAN_PRE_CAC
feature flag is not enabled for mobile router profile.
But it is need by all profiles. So, enable the flag by default.
Change-Id: I0281481d0ad227a716000b52447e77c6db5eb168
CRs-Fixed: 3472782
Order 7 allocation is coming from hal_soc allocation.
This is caused by debug change.
Regression cause is:: Ib98e48e1d32defb0d8b30b854b5b0c23691cca59
With above change struct hal_srng size increased from 320B to 1376B
In turn this increased the struct hal_soc size from 71648B to 310232B
Disable the debug feature from enabling it by default
Change-Id: I3e2fde17defc677401343c158ec40698b1dcb603
CRs-Fixed: 3469599
Currently when DWARFv5 is enabled, wlan driver compilation fails
with error, INT DW_ATE_unsigned_1024 Error emitting BTF type.
To unblock this compilation issue, temporarily switch
back to DWARFv4.
Change-Id: I2e37aff054e8a6161a80e97a227153eb2df68a74
CRs-Fixed: 3475979
Currently in defconfig files, the naming convention of
config flags BUILD_DIAG_VERSION and BUILD_DEBUG_VERSION
is not aligning with rest of them. So, rename the flags
to CONFIG_WLAN_DIAG_VERSION and CONFIG_WLAN_DEBUG_VERSION
Change-Id: Ia9357588cdbfc09199d7d44bd024beb0f92b9755
CRs-Fixed: 3472570
The return of hdd_adapter_get_mac_handle() API can be NULL.
Check the NULL pointer before accessing.
Change-Id: Iad0c6be8932323442bc0080ea311092207bf32e6
CRs-Fixed: 3463354
Breakdown wlan_hdd_get_sta_stats function into individual
functions to improve code readability.
Change-Id: I4b2745d3b65e4a779ca22445650add0504d68acc
CRs-Fixed: 3468138
An AP MLD advertises Medium Synchronization Delay support
and parameters to ML STA in assoc response frame. Host
extracts these values and sends it to FW via peer assoc
command. If the MSD support is absent in assoc response,
Host sends zeroes for MSD subfields. Change this to
configure specific default values as defined in 802.11BE
draft 3.0.
Change-Id: Idd044b23d350634d96b010176b0d8922e793290a
CRs-Fixed: 3416241
Add new cfg80211 command to get TID to link map info.
Below command can be used to get the T2LM info:
"DRIVER GET_ML_TID_MAPPING_STATUS"
Change-Id: I2a06cd615f89dec240a48a25d820c28f9dfdd7d1
CRs-Fixed: 3431486
In current design, each supported channel is packed
individually with range count as 1. This bloats the
size of the supported channel IE.
Instead as an optimization, break the supported channel
list into contiguous range of channels and encode only
the start frequency of the range and count of channels
in that range.
Change-Id: Ic5ba530ee6a8422ffc0c67acb621e76826775fa7
CRs-Fixed: 3467712
Prevent RTPM during vdev destroy as part of the
stop adapter. RTPM during vdev destroy leads to
unnecessary wait times for suspend/resume operations.
This delay becomes huge when the overall CPU performance
is bad and leads to PEER DELETE TIMEOUT/VDEV DELETE TIMEOUT.
Change-Id: I5de1b5459fb03a0799d869077c7d30a9043bf3f7
CRs-Fixed: 3463758
Need to add support for rTWT feature in host. Host needs to define rTWT
ini, and set rTWT bit in EHT Cap. rTWT ini will allow users to
enable/disable rTWT feature. We define rTWT ini and function to get ini
value. EHT Cap will advertise rTWT support to peer. To populate EHT Cap
we must validate rTWT is supported in driver. To do this, we check rTWT
and bTWT params.
Changes are as follows.
1) Define rTWT ini
2) Get rTWT ini value
3) Get rTWT support
4) Set rTWT bit in EHT Cap
Change-Id: Id5676c6b7c3d4f48a0010f2e9ae369d9dfa710e9
CRs-Fixed: 3446652
To process get_cu_for_each_subbw request from upper layer,
host needs to trigger scan for initial connection ch width
on every get_cu request.
Change-Id: I2bbf20c9207f46983b14dcd95bf81f32cfd7c060
CRs-Fixed: 3466958
For easier debugging, dump the 5 GHz and 2.4 GHz HE
CAPS extracted from the target.
Change-Id: Iafea2cb9186ad4d52ae2808e4f4b7a98cf8d4b77
CRs-Fixed: 3471653
Some AP doesn't honor CCK rate for auth/assoc.
this ini is added to detect specified AP and
send auth/assoc/reassoc(non-offload) with 6 Mbps
rate on 2.4 GHz, then AP will ack to STA.
Change-Id: I8a164471198842368add40ca726420569dd82430
CRs-Fixed: 3412381
Variable meta_data does not initialize properly in
function lim_handle_frame_genby_mbssid().
Change-Id: Ia842a1e12d9340a6f35bb06eb7e3cbaa8c273c50
CRs-Fixed: 3463362