Gráfico de commits

28151 Commits

Autor SHA1 Mensaje Fecha
Liangwei Dong
5fbce73ad3 qcacld-3.0: Fix SAP start failure on CN country code
In CN country code, 5180 is indoor channel with channel
state DFS, but not DFS channel flags.
wlan_hdd_handle_zero_acs_list try to find preferred channel
for SAP to start, but it selected 5180 because
wlan_reg_is_dfs_for_freq check DFS by DFS channel flags
and return false for indoor channel 5180. The other
concurrency code use channel state to check DFS channel.
Fix the mismatch to use wlan_reg_get_channel_state_for_pwrmode
API to check DFS channel state. and make the DFS channel as
last choice.

Change-Id: I39b81ea256ab9b944a284862afe9d50ee5fc2a8d
CRs-Fixed: 3404069
2023-02-17 06:36:38 -08:00
Madan Koyyalamudi
bff270918c Release 5.2.1.55T
Release 5.2.1.55T

Change-Id: Id04dd3bdab7bee720ade932e213871b0cdad67f4
CRs-Fixed: 774533
2023-02-17 05:08:29 -08:00
Deeksha Gupta
8135c218d9 qcacld-3.0: Use QDF_MAC_ADDR_FMT to print the mac_address
In send frames APIs, Use QDF_MAC_ADDR_FMT macro to print
the mac_address instead of using lim_print_mac_addr() API.

Change-Id: I435e89300ca4cee44aed317527a79eb08c71c369
CRs-Fixed: 3401405
2023-02-17 05:08:28 -08:00
Deeksha Gupta
acc243c3de qcacld-3.0: Instead of lim_print_mac_addr() use QDF_MAC_ADDR_FMT
Instead of calling lim_print_mac_addr() API to print the mac_addr
in lim, directly use the QDF_MAC_ADDR_FMT macro.

Change-Id: Ib3eab515ef0a3716f7c3257280239e3975c6b601
CRs-Fixed: 3401402
2023-02-17 05:08:22 -08:00
Wu Gao
733bdf147b qcacld-3.0: Correct config for ARCH_SDXBAAGHA
This is requirement change to correct config for ARCH_SDXBAAGHA.

Change-Id: Ie3da775b16b66dbf2ca82bebfe337c3c00e7d366
CRs-Fixed: 3406871
2023-02-17 05:08:16 -08:00
Madan Koyyalamudi
5841044905 Release 5.2.1.55S
Release 5.2.1.55S

Change-Id: I7787933a4c009d078e4e899ad7b30ec352e461b9
CRs-Fixed: 774533
2023-02-16 21:30:12 -08:00
Gururaj Pandurangi
06bec08823 qcacld-3.0: Handle concurrency with new EMLSR connection
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
2023-02-16 21:30:12 -08:00
Amruta Kulkarni
c73843f146 qcacld-3.0: Fix to free copied reassoc response
During OWE roaming if north bound disconnect is received or
link vdev connection fails copied reassoc response is not freed.

Fix is to free the copied reassoc response in the disconnect path.

Change-Id: I19d839b63c774b29ee449635722fae744c7e461d
CRs-Fixed: 3404843
2023-02-16 21:30:06 -08:00
Madan Koyyalamudi
ebd797850b Release 5.2.1.55R
Release 5.2.1.55R

Change-Id: I3a78f0140679b32af9e29ad2083c8cc74d547124
CRs-Fixed: 774533
2023-02-16 18:19:28 -08:00
Surabhi Vishnoi
b8adb54ef5 qcacld-3.0: Send TDLS notify sta disconnect on roam
Currently, TDLS STA disconnect notification is not sent during
roam, so WMI_TDLS_SET_STATE_CMDID with disable command is not sent
to firmware. This leads to unexpected behavior in firmware when STA
have migrated to different mac based on new band (2 GHz to 5/6 GHz or
vice-versa) due to roaming, but TDLS STA remain on previous mac.
Firmware expects host to send WMI_TDLS_SET_STATE_CMDID on roam also
so that it can destroy and create new TDLS STA instance and map TDLS
STA to new mac.

To fix above issue, send WMI_TDLS_SET_STATE_CMDID with disable TDLS
state to firmware after driver receives roam sync indication which
leads to destruction of TDLS STA instance in firmware.
Host driver would later send WMI_TDLS_SET_STATE_CMDID with enable TDLS
state(not part of this commit) after successful STA roaming so that
firmware maps TDLS STA with new mac.

This change also removes unused ucfg_tdls_notify_sta_connect() and
ucfg_tdls_notify_sta_disconnect() APIs.

Change-Id: Id680d0f6193740b24e78115ac7dc7be26e28acff
CRs-Fixed: 3388507
2023-02-16 18:19:28 -08:00
Madan Koyyalamudi
f2c863571c Release 5.2.1.55Q
Release 5.2.1.55Q

Change-Id: I2e9426ea177978cce3e20f2df8989293a4169f4c
CRs-Fixed: 774533
2023-02-16 12:39:16 -08:00
Surya Prakash Sivaraj
b3f730b5c6 qcacld-3.0: Use kek/kck lengths from firmware
For newer AKMs with key materials length greater than
16bytes, kek, kck lengths varies. Therefore, get the
lengths explicitly from firmware and use them for saving
kek and kek materials.

Change-Id: Ie7ae61744e101899f12addc1baf90aed542a367b
CRs-Fixed: 3371470
2023-02-16 12:39:15 -08:00
Paul Zhang
d7ffab2f50 qcacld-3.0: Enable WLAN_PRE_CAC for mobile router
Currently, for mobile router the DFS CAC feature is not working
because PRE_CAC_SUPPORT does not define.

Change-Id: I5eb335fe738de8438b8ec60f4d69875cb0a45d6e
CRs-Fixed: 3397747
2023-02-16 12:39:10 -08:00
Madan Koyyalamudi
247ff3c013 Release 5.2.1.55P
Release 5.2.1.55P

Change-Id: Ia02149c8cd5c8cddccc79b514a461ca3fbbe2037
CRs-Fixed: 774533
2023-02-16 11:10:22 -08:00
Sheenam Monga
b4697fabd2 qcacld-3.0: Restrict Low Latency SAP frequency list
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
2023-02-16 11:10:22 -08:00
Sheenam Monga
d8093c7ab4 qcacld-3.0: Select Best/Clean channel for SAP
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
2023-02-16 11:10:16 -08:00
Sheenam Monga
9583367ca5 qcacld-3.0: Consider last scan full scan results instead of new scan
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
2023-02-16 11:10:11 -08:00
Madan Koyyalamudi
d4f86454ae Release 5.2.1.55O
Release 5.2.1.55O

Change-Id: Ib973cf41208881edb14c81b5f3ded33a06de0dd1
CRs-Fixed: 774533
2023-02-16 01:42:46 -08:00
Pragaspathi Thilagaraj
26ab632e89 qcacld-3.0: Refine target_if_ext_twt_evt.c
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
2023-02-16 01:42:45 -08:00
Madan Koyyalamudi
38dbf0dd0c Release 5.2.1.55N
Release 5.2.1.55N

Change-Id: Iba01c944e3ebcc2be17ded9a813ccd295466375b
CRs-Fixed: 774533
2023-02-16 00:30:37 -08:00
Asutosh Mohapatra
522e74239e qcacld-3.0: Add cached tx power log
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
2023-02-16 00:30:37 -08:00
Madan Koyyalamudi
4e0d3a28c3 Release 5.2.1.55M
Release 5.2.1.55M

Change-Id: I570c2d8dc946db62e780b4ad46a5f9b0b3f82aea
CRs-Fixed: 774533
2023-02-15 19:18:32 -08:00
Aravind Kishore Sukla
dc8fca2d97 qcacld-3.0: Ignore CSA request for invalid channel
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
2023-02-15 19:18:32 -08:00
Madan Koyyalamudi
66fba12cc2 Release 5.2.1.55L
Release 5.2.1.55L

Change-Id: If916e102306b19cceddf8d29fc68d0910de7ffa0
CRs-Fixed: 774533
2023-02-15 15:46:35 -08:00
Asutosh Mohapatra
4f50759f9e qcacld-3.0: Add support to convert 11BE mode to string
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
2023-02-15 15:46:35 -08:00
Madan Koyyalamudi
6bdd21849d Release 5.2.1.55K
Release 5.2.1.55K

Change-Id: Ic86376f2502f4940a83021c42cd9f03273c38b42
CRs-Fixed: 774533
2023-02-15 03:43:58 -08:00
Sheenam Monga
f24422305a qcacld-3.0: Add support to consider XR profile for low latency sap
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
2023-02-15 03:43:58 -08:00
Madan Koyyalamudi
87365a626b Release 5.2.1.55J
Release 5.2.1.55J

Change-Id: Ic0e354e6849633fe9a79e060aba22e2e2b83743b
CRs-Fixed: 774533
2023-02-15 00:53:35 -08:00
Gururaj Pandurangi
13c8307266 qcacld-3.0: Add an API to configure EHT OM control
Add support to configure EHT OM control. Also, configure
HE OM control within band specific HE cap structures.

Change-Id: I658281902699be27db536e2134dbd76c99aec41b
CRs-Fixed: 3377862
2023-02-15 00:53:35 -08:00
Gururaj Pandurangi
89351198d5 qcacld-3.0: Skip center frequency check for 320 MHz BW
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
2023-02-15 00:53:29 -08:00
Gururaj Pandurangi
bd9a5ea405 qcacld-3.0: Set dfs bit in channel params if state is DFS
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
2023-02-15 00:53:23 -08:00
Gururaj Pandurangi
99fcc2fbd2 qcacld-3.0: Exclude sta profile from MLO IE in probe request
Add support to exclude sta profile subelement from MLO IE in
unicast probe request.

Change-Id: Ief4fd288649bbe915c2ef73afb24a21a56f238e8
CRs-Fixed: 3392034
2023-02-15 00:53:18 -08:00
Madan Koyyalamudi
981decad18 Release 5.2.1.55I
Release 5.2.1.55I

Change-Id: If6982d7f2e991509eb0d837ce221216d30a917f3
CRs-Fixed: 774533
2023-02-14 22:37:38 -08:00
Deeksha Gupta
c041b720c9 qcacld-3.0: Use QDF_MAC_ADDR_FMT to print the mac_address
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
2023-02-14 22:37:37 -08:00
Madan Koyyalamudi
fc7b65542b Release 5.2.1.55H
Release 5.2.1.55H

Change-Id: I6503df8696f63689800ca451eaf469dfb8ff9c13
CRs-Fixed: 774533
2023-02-14 21:22:14 -08:00
Gururaj Pandurangi
d2c6becf75 qcacld-3.0: Fix HE and EHT MCS NSS rates for 160 MHz
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
2023-02-14 21:22:13 -08:00
Gururaj Pandurangi
8bb46df0d8 qcacld-3.0: Set AMSDU/AMPDU caps per vdev from cli
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
2023-02-14 21:22:07 -08:00
Gururaj Pandurangi
d595b21680 qcacld-3.0: Add support for TB sounding feedback rate limit
Add support for TB sounding feedback rate limit in EHT
capabilities.

Change-Id: I72a240a737041e2fb0480b642c801bdbf9e5eb66
CRs-Fixed: 3346252
2023-02-14 21:22:02 -08:00
Gururaj Pandurangi
38c42e203e qcacld-3.0: Add new SME API to update EHT capabilities
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
2023-02-14 21:21:56 -08:00
Gururaj Pandurangi
fa4bb2dfbf qcacld-3.0: Force active ML links based on link mac address
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
2023-02-14 21:21:50 -08:00
Madan Koyyalamudi
2a2502e762 Release 5.2.1.55G
Release 5.2.1.55G

Change-Id: Iede074ca6759b4f394f95bfe82c7e6dd57f71392
CRs-Fixed: 774533
2023-02-14 19:49:20 -08:00
Liangwei Dong
ff974bc970 qcacld-3.0: Trigger roam if no active MLO link
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
2023-02-14 19:49:19 -08:00
Madan Koyyalamudi
7a18b22c41 Release 5.2.1.55F
Release 5.2.1.55F

Change-Id: Id72093082a7720b597ba66b80e2f8f7376dbc374
CRs-Fixed: 774533
2023-02-14 17:18:14 -08:00
Sheenam Monga
a3a9b59ba8 qcacld-3.0: Add Support for QCA_WLAN_CONCURRENT_AP_POLICY_XR
Add support to handle new AP policy AP_POLICY_XR to handle
XR AP requirement

Change-Id: I55299bd186b5c97c2571d100cfcc7b6736b8de98
CRs-Fixed: 3403458
2023-02-14 17:18:14 -08:00
Sachin Ahuja
508cfeab6e qcacld-3.0: Add smart TX module and its log level
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
2023-02-14 17:18:08 -08:00
Madan Koyyalamudi
914f0fca1a Release 5.2.1.55E
Release 5.2.1.55E

Change-Id: I75a26d225a4ba982ad7f6af8051b59a2b6869690
CRs-Fixed: 774533
2023-02-14 15:59:36 -08:00
Jeff Johnson
2933838e5c qcacld-3.0: Fix pktlog_ac_fmt.h documentation
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
2023-02-14 15:59:36 -08:00
Madan Koyyalamudi
41c6c64c30 Release 5.2.1.55D
Release 5.2.1.55D

Change-Id: If294b0de8430dc07d82df52fa3b9fc27b1f722db
CRs-Fixed: 774533
2023-02-14 13:33:43 -08:00
Paul Zhang
994f014c87 qcacld-3.0: Report right auth failure status
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
2023-02-14 13:33:42 -08:00
Madan Koyyalamudi
e171ae95ce Release 5.2.1.55C
Release 5.2.1.55C

Change-Id: I90dfc5e4542adbe575157fa84ba5e8fc4471a5a0
CRs-Fixed: 774533
2023-02-14 12:16:40 -08:00