Currently, if there is a legacy connection and a new STA
connection comes up with EMLSR capability, Host does not
advertise EML caps in assoc request. But there is no support
to enable EMLSR mode if the legacy connection goes away.
Thus, add support to handle this concurrency scenario as
follows
1) Host should advertise EML support capability in assoc
request.
2) After association is complete, force disable one of the
EMLSR links.
3) Once the legacy connection goes down, re-enable the
disabled link.
Change-Id: I5d9f37827e2a9f0571fa9733b4779668bd987f92
CRs-Fixed: 3363115
Don't allow ll SAP to turn on frequency that can be shared
with 2 GHz MAC. To avoid the scenario introduce a check to validate
whether MIN 2 GHz frequency is shared with selected frequency, if
yes then indicate to the caller that frequency is not suitable
for SAP start.
Change-Id: I9a72549cd8c565d15f550d27151a7a0f172b292a
CRs-Fixed: 3403457
Currently, For CH_WIDTH 20 first clean channel is selected
to start the SAP but logic was not applicable to other band
wdiths because FW can start scan in parallel and for bandwidth
> 20 MHz multiple continuous channels may require to scan and
data was not maintained in host that which channel is scanned
and which is pending.
To Extend logic for bandwidth > 20 MHz, introduce bool array
to maintain data which channel is scanned and found clean. For next
Channel scan same array can be used to check if previous channels
are clean and SAP can be started on current frequency or not.
Change-Id: I9993c0b26885210b4173946e780833dc87830daf
CRs-Fixed: 3403455
Currently, if ACS_LAST_SCAN_AGEOUT_TIME is not provided by user then
the last_scan_ageout_time is updated to 0 and full scan is triggered
to find channel instead of using previous scan results.
Fix is to consider last full scan results for provided time in ms
via last_scan_ageout_time ini.
Change-Id: I0a38133a89339598a5be4ce0e2aa9120e0135502
CRs-Fixed: 3404676
Currently in __wlan_hdd_cfg80211_get_txpower if modules are
not enabled or rate is limited host sends cached tx power
to userspace but there is no print in host to validate its
value.
To address this issue, add cached tx power print.
Change-Id: I2ddc88c4511101534513e76008fb4f1b78a8833a
CRs-Fixed: 3407171
In present scenario, STA disconnects with AP if it receives
invalid channel in CSA IE. In this case STA shouldn't
disconnect with AP as this request may come from a spoof AP.
Ignore this CSA request as it might be from spoof AP and
if it is from genuine AP heart beat failure happens and
results in disconnection. After disconnection DUT may
reconnect to same or other APs.
Change-Id: I840508dd27d8c313a3e8f74c4e1f5aa64eecf6f9
CRs-Fixed: 3390251
Currently host driver returns dot11 mode as UNKNOWN for
11BE connection to connect_info sysfs command as mapping
is not present for 11BE mode in hdd_dot11_mode_str.
To address this issue add mapping for 11BE mode in
hdd_dot11_mode_str.
Change-Id: Ia94abfdf4e967d1c0f8d49f9e4757a9a07dab410
CRs-Fixed: 3402629
Add support to configure EHT OM control. Also, configure
HE OM control within band specific HE cap structures.
Change-Id: I658281902699be27db536e2134dbd76c99aec41b
CRs-Fixed: 3377862
In all Wi-Fi 7 STA SW implementations, ignore the CCFS0
field in the EHT operation element when the channel BW
is 160 or 320 MHz as per spec, thus CCFS0 is set to an
invalid value e.g. 0 in EHT operation element. Hence,
skip center frequency check when bandwidth is 160 MHz
or 320 MHz and avoid dropping of bandwidth to 20 MHz.
Change-Id: Ic2fe8f74d8372f988b4fed8d926b5186678ce9d1
CRs-Fixed: 3338639
Set the dfs bit to true in csr update channel params struct
only if the channel state is DFS.
Change-Id: Ib36b1c0a0b16bc0b42462396e8871adcf7b5e16d
CRs-Fixed: 3392038
Add support to exclude sta profile subelement from MLO IE in
unicast probe request.
Change-Id: Ief4fd288649bbe915c2ef73afb24a21a56f238e8
CRs-Fixed: 3392034
Use QDF_MAC_ADDR_FMT macro to print the mac_address
instead of using lim_print_mac_addr() API.
Change-Id: I36b3f56fe3dbe3b06b554a47c0bd9b023caeb5e6
CRs-Fixed: 3401155
Fix HE and EHT MCS NSS rates for 160 MHz channel
bandwidth. Copy the MCS and NSS values for 160 MHz from
MLME cfg into per band HE and EHT capability structures
since the latter is used for sending the values to FW.
Change-Id: I958c5778497c6bc81eae7709e8d5f497056faaca
CRs-Fixed: 3392023
In the case of EHT, if the mode is MLO then set AMSDU/AMPDU
caps per vdev instead of setting it only on assoc vdev.
Change-Id: Iaf480ee6a42cea83e30f412f663f688c0330d246
CRs-Fixed: 3392015
Add a new SME API to update session EHT capabilities.
This includes Tx BFee support as well as Tx BF settings for
different bandwidths such as < 80 MHz, 160 MHz, and 320 MHz.
For future scope, more EHT caps can be updated within this
same API based on the inputs.
Change-Id: I16b0e8ec9a4c97f6475f871bda3a4627168d43d7
CRs-Fixed: 3277133
Add support to force enable/disable MLO links in MLSR mode
based on link mac address. The input will be an array of
active link mac addresses. Force enable the links associated
with all the mentioned link addresses and force disable the
links associated with mac addresses that are not given in
the input.
Change-Id: I14660f14ba6381da04460b641f971734c03aa9a7
CRs-Fixed: 3391992
When auth tx failure happens, lim_auth_tx_complete_cnf sets
stats for variable mac_ctx->auth_ack_status accordingly.
But lim_process_auth_retry_timer will reset that variable
to LIM_ACK_NOT_RCD. If auth retry has sent and tx complete
has not called back yet, then lim_process_auth_failure_timeout
happens, now since the variable auth_ack_status is not updated
again and driver reports wrong auth failure status to framework.
To resolve this issue, don't reset auth_ack_status when auth
retry sending.
Change-Id: I51c296cb6d8d7a145bba6b49d0b378cb9f6ff665
CRs-Fixed: 3400258
wlanphymode2ieeephymode is used to translate wlan phymode to phymode
defined for EasyMesh.
Remove duplicate item WLAN_PHYMODE_11AXA_HE80.
Refine value for WLAN_PHYMODE_11G_ONLY, WLAN_PHYMODE_11AC_VHT20_2G,
WLAN_PHYMODE_11AC_VHT40_2G, WLAN_PHYMODE_11AC_VHT80_2G items.
Change-Id: I046d5e5c3f8f27f1828d97c9f6798e849d969391
CRs-Fixed: 3402585
When AP interface of EasyMesh gets client's NSS, get it from NSS field
of client's sta info.
Change-Id: I41abed602e6db0171761b2ca55ede1f4ccef6568
CRs-Fixed: 3402208
Currently, while STA is connected to any channel other than 5 GHz
and SAP is coming up on 5 GHz channels, SAP will only check for
5 GHz concurrent channels.
In some cases when STA is on 2 GHz channel and SAP is coming up on
5 GHz channel, With current logic we will only check for concurrent
channel i.e 5 GHz and it will not consider already existing STA.
To fix this issue now SAP will even check for others channels and if
STA is present it will allow for MAX of 80 MHz channel width even
if the requested channel width is 160 MHz.
Change-Id: Ib5a917f9aa649517e8842a0bbad87981b61d6312
CRs-Fixed: 3392109
While handling mgmt frames, use QDF_MAC_ADDR_FMT macro
to print the mac_address instead of using
lim_print_mac_addr() API.
Change-Id: I5470ce5af156914fe385db63a879c71cbbf23531
CRs-Fixed: 3401121