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
Refine target_if_ext_twt_evt.c to remove duplicate conditional
checks.
Also fix some code style errors by adding a blank line return to
last return in the API
Change-Id: I759becd864293b8bec35cb54763bdf4b047537c2
CRs-Fixed: 3402852
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
For low latency SAP, scan is not allowed on same MAC on which
SAP is up. So, consider HOST_CONCURRENT_AP_POLICY_XR when scan
list is required to be updated for low latency ap profile.
Change-Id: I6e25cd67298c16dee211edf6526be101054bd787
CRs-Fixed: 3404641
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
In multilink ML STA, if one link is removed by AP, and no other
active link, trigger roam by roaming invoke command.
Change-Id: I61d9413e2102315b258f946af2193f7cfb7b91aa
CRs-Fixed: 3352870
Currently smart tx module is not included in gFwDebugModuleLoglevel
ini as default.
Add the smart tx module with log level 1 in gFwDebugModuleLoglevel
ini as default.
CRs-Fixed: 3396120
Change-Id: I09e49745dfc17926d1f59b6bbe7a99ae09e36a16
The kernel-doc script detected a single documentation error in the
uapi folder, in uapi/linux/pktlog_ac_fmt.h, so fix it.
Change-Id: Ia1b1f2f7c7d84844cb36b980982d07d76e0d1015
CRs-Fixed: 3403505
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
Limit num_chan to be less than WLAN_MAX_LOGGING_FREQ
and NUM_CHANNELS to fix potential out of memory access.
Change-Id: I5e0bcd449a738fa416daeaebaeafbd2ec11913ba
CRs-Fixed: 3405136
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