Commit-Graf

27210 Incheckningar

Upphovsman SHA1 Meddelande Datum
Madan Koyyalamudi
c6ff700c6f Release 5.2.1.42I
Release 5.2.1.42I

Change-Id: I451328a89278d90a4862777c66772acda7a6be61
CRs-Fixed: 774533
2022-10-20 03:00:00 -07:00
Jeff Johnson
e4696ca9d3 qcacld-3.0: Fix misspelling of "possibility"
Fix misspelling of "possibility" in sap_ch_select.c.

Change-Id: Ibc1bfdb4697f2a8e74d792fefece2010b04b44cd
CRs-Fixed: 3313903
2022-10-20 03:00:00 -07:00
Liangwei Dong
60add48b86 qcacld-3.0: Check potential SAP MCC during disable link
SAP MCC with ML STA link is not preferred since SAP is only
allowed off channel for max 32 ms.
If All ML STA are 5/6 GHz band, force SCC will not happen
for 2 GHz only SAP. Inactive one link if both ML STA are on non
2 GHz band.

Change-Id: I3450a0e66e583320cb91cd549317a197e5d1e039
CRs-Fixed: 3307863
2022-10-20 02:59:55 -07:00
Jeff Johnson
acbcd46c30 qcacld-3.0: Fix misspellings of "nonce"
In lim_process_fils.c there are multiple functions which use a
misspelled term for "nonce" so replace them with the correct spelling.

Change-Id: I9bdbf136f9d4587bb7e68ff7b807c77095bc2b67
CRs-Fixed: 3313800
2022-10-20 02:59:49 -07:00
Madan Koyyalamudi
e3219fa06e Release 5.2.1.42H
Release 5.2.1.42H

Change-Id: I79d6c93279eb5f2475c91bc05b066ff6f66af2a7
CRs-Fixed: 774533
2022-10-20 01:11:20 -07:00
Yu Wang
3ead0539e3 qcacld-3.0: remove improper concurrency combination dump
In hw mode change offload case, frequency of the connections
in table pm_conc_connection_list may be updated later than the
mac frequency info which is updated when processing hw mode
transition event, then the current concurrency combination
dump here which is inferred from mac frequency info and
pm_conc_connection_list may be wrong.
To avoid confusion, replace concurrency combination dump with
current connection status dump when processing hw mode
transition event.

Change-Id: I0d8db410b3db3aa4b35c27f227bc68f5852a86d3
CRs-Fixed: 3315452
2022-10-20 01:11:20 -07:00
Madan Koyyalamudi
b9bc76c7f8 Release 5.2.1.42G
Release 5.2.1.42G

Change-Id: I2e121d4acfbe51044f156409c340c59fc7a3e8ed
CRs-Fixed: 774533
2022-10-19 22:30:25 -07:00
vijaraj
53b00c93a3 qcacld-3.0: Add diag logging support for EAPOL start
Add new entry in the enum qca_conn_diag_log_event_type in
order to support EAPOL start packet.

Change-Id: I540ef257ee9425eef016302648844ebf01647372
CRs-Fixed: 3314689
2022-10-19 22:30:25 -07:00
Jyoti Kumari
a142d2edde qcacld-3.0: Support Low Latency SAP + SAP/GO concurrency
Add a support to check if low latency SAP is present on 5 GHz
channel then do not allow SAP/GO to come up on 5 GHz for
both gaming and lossless audio profile.

Change-Id: Ibb9e3365522beec541f70c6c45b8cb68405fd3bc
CRs-Fixed: 3294748
2022-10-19 22:30:20 -07:00
Jyoti Kumari
8a1899b457 qcacld-3.0: Support Low Latency SAP + STA/GC concurrency
Add a support to check if low latency SAP is present on 5 GHz
channel then do not allow STA/GC to connect on 5 GHz for
both gaming and lossless audio profile.

Change-Id: I8e1c62dfea3c27306e338392448f5cc6eed912aa
CRs-Fixed: 3302763
2022-10-19 22:30:14 -07:00
Jyoti Kumari
50245e6aa7 qcacld-3.0: Get low latency SAP frequency
Low latency SAP is supported on DBS and SBS hw and it can come
up on below two profile
a. Gaming
b. Lossless Audio

DBS: Allow only 2.4 GHz channel for both gaming and lossless
audio profile
SBS: Allow non low latency SAP 5 GHz channel which are mutually
exclusive for both gaming and lossless audio profile.

Check whether low latency sap is present or not. If it's present
then get the frequency to validate the concurrency with other
interface.

Change-Id: I39715a01e63de612448d4d0f230e6ccb71b76b15
CRs-Fixed: 3294596
2022-10-19 22:30:09 -07:00
Jyoti Kumari
f0ddb3ec45 qcacld-3.0: Convert ap policy config vendor cmd to host enum
Userspace provide below vendor attribute for low latency sap
concurrency
a. QCA_WLAN_VENDOR_ATTR_CONCURRENT_POLICY_AP_CONFIG

This userspace uses the below value defined in enum
qca_wlan_concurrent_ap_policy_config to specify concurrency
policy
a. QCA_WLAN_CONCURRENT_AP_POLICY_UNSPECIFIED = 0,
b. QCA_WLAN_CONCURRENT_AP_POLICY_GAMING_AUDIO = 1,
c. QCA_WLAN_CONCURRENT_AP_POLICY_LOSSLESS_AUDIO_STREAMING = 2,

Convert this above enum value in host to use in concurrency
scenario.

Change-Id: Ibab06f528fd99d8c421376bd02e4c748e9556b70
CRs-Fixed: 3302418
2022-10-19 22:30:04 -07:00
Madan Koyyalamudi
0a948adea9 Release 5.2.1.42F
Release 5.2.1.42F

Change-Id: Id0716de6bf0fadb7b1888a20c69b43c2d324755a
CRs-Fixed: 774533
2022-10-19 13:48:19 -07:00
Rajesh Chauhan
a3541b0ff8 qcacld-3.0: update prototype of wlan_hdd_cfg80211_tx_control_port
In kernel 6.0, function prototype of tx_control_port is changed.
commit 67207bab9341 ("wifi: cfg80211/mac80211: Support control port
TX from specific link") introduced a new argument link_id. Make matching
change in prototype of function wlan_hdd_cfg80211_tx_control_port. Also
change existing argument proto to const to match with tx_control_port.

Change-Id: I8973514f3871fc495b552bcf7fc12904438c0847
CRs-Fixed: 3315161
2022-10-19 13:48:18 -07:00
Madan Koyyalamudi
79a8dc0442 Release 5.2.1.42E
Release 5.2.1.42E

Change-Id: I7b7b7830de885a0ba0f4d3cb073170055d1905bd
CRs-Fixed: 774533
2022-10-18 16:30:28 -07:00
Yu Wang
4d9dfe08fd qcacld-3.0: Introduce CONFIG_WLAN_TRACE_HIDE_SSID
Introduce the feature to hide SSID in the logs.
To enable this feature, set CONFIG_WLAN_TRACE_HIDE_SSID to y.
If this feature is enabled, SSID 'my_ssid' will be printed as
'*' in the logs.

Change-Id: I97ef84ecdcbfd1b36b7874cfc30760f5fda5df14
CRs-Fixed: 3294520
2022-10-18 16:30:28 -07:00
Madan Koyyalamudi
27206bce23 Release 5.2.1.42D
Release 5.2.1.42D

Change-Id: I6dfdada0a0dac21a1dd0ef6ed6f8d997e61ff372
CRs-Fixed: 774533
2022-10-18 11:56:59 -07:00
Amruta Kulkarni
2fe6f6adb9 qcacld-3.0: Update link id after roaming
Update the link id in vdev mlme after roam sync is processed.

Change-Id: I4f7a80ad91235ebafd2bab10c1de22ac8798a816
CRs-Fixed: 3314935
2022-10-18 11:56:58 -07:00
Madan Koyyalamudi
2a23843522 Release 5.2.1.42C
Release 5.2.1.42C

Change-Id: If75aab45cc2701949bd35ba7e25d3fed67669555
CRs-Fixed: 774533
2022-10-18 10:07:57 -07:00
Asutosh Mohapatra
215ebfec3c qcacld-3.0: Add support to convert SAR_V3
Currently host converts SAR_V1 to SAR_V2 if fw supports
SAR_V2 and userspace has given SAR_V1 and host does not check
if fw supports SAR_V3 but userspace has given SAR_V1.

To address this issue add modify code to check if fw supports
SAR_V2 or SAR_V3 but userspace has given SAR_V1. Convert SAR_V1
to SAR_V2 in both the cases.

CRs-Fixed: 3313783
Change-Id: I37efa41ec65684a9bb362c894878525bd71704a5
2022-10-18 10:07:57 -07:00
Asutosh Mohapatra
ec4c798f68 qcacld-3.0: Add support to advertise SAR_V2 DBS to userspace
Currently host only advertises SAR_V1 and SAR_V2 to userspace as
there is no mapping present for SAR_V2 DBS.

To address this issue add support to store and advertise SAR_V2 DBS.

Change-Id: Ic5d68361c4ce7275056117685100e8338466220c
CRs-Fixed: 3312593
2022-10-18 10:07:52 -07:00
Madan Koyyalamudi
e44c896307 Release 5.2.1.42B
Release 5.2.1.42B

Change-Id: I31e1afcb2cb1a37737cdde5b778288abcb18bcba
CRs-Fixed: 774533
2022-10-18 07:13:31 -07:00
Mohammed Ahmed
00fba42e78 qcacld-3.0: move wlan_coex_public_structs.h to qcacmn
Current code has wlan_coex_public_structs.h in qcacld, when it should
be in qcacmn due to convergence of the COEX feature.
Fix this by moving the header file to qcacmn.

Change-Id: Id45c85e0ff492d149cac71c8c0ca5443b879ef15
CRs-Fixed: 3289250
2022-10-18 07:13:31 -07:00
Madan Koyyalamudi
6c156ca016 Release 5.2.1.42A
Release 5.2.1.42A

Change-Id: Id33f5316fdcd0e213c05149b4c551ae78de79bd0
CRs-Fixed: 774533
2022-10-18 05:22:11 -07:00
Jinwei Chen
71d2520f79 qcacld-3.0: fix dp memory pre-allocation failure
fix dp memory pre-allocation failure as below,
(1) add pre-allocated memory for extra contexts of
DP_RX_RING_HIST_TYPE on beryllium.
(2) add extra RXDMA_BUF type's memory for SW2RXDMA ring and size same
as RX refill ring size for now.
(3) add pre-allocated memory for REO_STATUS & RXDMA_MONITOR_STATUS ring.
(4) add pre-allocated memory for DP_MON_PDEV_TYPE.

Change-Id: I038d946cf1b8c9dc67c1539ea972bda8239def4d
CRs-Fixed: 3314198
2022-10-18 05:22:10 -07:00
Madan Koyyalamudi
c9c2bf5cfc Release 5.2.1.42
Release 5.2.1.42

Change-Id: I5631338951521ca433e8755c4707cf577a2ecf36
CRs-Fixed: 774533
2022-10-18 01:42:20 -07:00
Yu Wang
4a2942ac21 qcacld-3.0: reject CoAP offload request for non-STA roles
Firmware supports CoAP offload for STA mode only in
current stage, reject the request for non-STA roles
to align with that.

Change-Id: Ifa43295d0e800b87d29342038d0a690966a2c238
CRs-Fixed: 3310910
2022-10-18 01:42:19 -07:00
Ben Wang
dafdfb98ff qcacld-3.0: Support SAP fast BSS transition in driver
When driver receive auth request frame with FT algorithm,
offload it to hostapd.

When driver receive (re)assoc request whith FT-PSK in RSN IE.
offload it to hostapd.

Filter FT related IE from hostapd, and append it to the end
of the (re)assoc response frame

Change-Id: Id11cce6898615bb6b0cb361ea7b23ea2014f0bae
CRs-Fixed: 4202696
2022-10-18 01:42:14 -07:00
Madan Koyyalamudi
cd67bc5cfa Release 5.2.1.41Z
Release 5.2.1.41Z

Change-Id: Ic741f71d85accaff7207f4765bc2526e9a12ab33
CRs-Fixed: 774533
2022-10-17 19:59:22 -07:00
Vinod Kumar Pirla
8c5680c852 qcacld-3.0: Link params embedded in station param struct
In kernel 5.15 and above a new member is introduced in
station_parameters structure to move link specific variables.

This change will port the driver code to make it compatible.

Change-Id: I3a1a05961bb5e747d946ffa8314319f898ef7b97
CRs-Fixed: 3304240
2022-10-17 19:59:21 -07:00
Gururaj Pandurangi
03ac35eb11 qcacld-3.0: Recalculate TPC power during country change
Add support to invoke TPC power calculation API for
following cases.
1) If there is a country code change but the Host remains on
the same channel. There is a possibility of regulatory channel
power value to change causing overall TPC power change.
2) If set fcc constraint is set. In this case, the tx power of
channels 12 and 13 are updated and if the operating frequency
is one among the two, then TPC power needs to be determined
based on the new regulatory channel power.

Change-Id: I7db368678127ae95709698202c96b72167a57f0d
CRs-Fixed: 3292444
2022-10-17 19:59:16 -07:00
Madan Koyyalamudi
b27ab7cf10 Release 5.2.1.41Y
Release 5.2.1.41Y

Change-Id: I80fe971c918af8633238bf664e71d8d84c0b9a00
CRs-Fixed: 774533
2022-10-17 18:16:38 -07:00
Pragaspathi Thilagaraj
fea5b025f4 qcacld-3.0: Fix the frame check in cm_handle_roam_reason_deauth
In cm_handle_roam_reason_deauth() API the deauth_disassoc_frame
is validated to avoid NULL pointer dereference and the roam
event is dropped if the frame is NULL. But the firmware can
send the event only with reason code and without including the
deauthentication/disassociation frame. So disconnect indication
event is not sent to framework upon receiving disassoc/deatuth.

Remove the frame check to validate the deauth/disassoc frame.
Update the logic in pe_disconnect_callback to check the deauth/
disassoc frame pointer if length is non-zero.

Change-Id: Ibc612e89d6edbbd40d7c79713197e4121cddc097
CRs-Fixed: 3313804
2022-10-17 18:16:37 -07:00
abhinav kumar
59426b95be qcacld-3.0: Control Pre Punc and UL MU-MIMO feature via INI
Control Preamble Puncturing feature via INI "he_rx_pream_punc"
and UL MU-MIMO feature via INI "enable_ul_mimo".

Change-Id: Ib4d6fd10c9e4f46c1baa5070f94d8dddd4978757
CRs-Fixed: 3305742
2022-10-17 18:16:32 -07:00
Madan Koyyalamudi
b5ed3450a2 Release 5.2.1.41X
Release 5.2.1.41X

Change-Id: I429bbc93d4bd3b81ecac0442fe45f2b94226dc4e
CRs-Fixed: 774533
2022-10-17 16:22:28 -07:00
Zhaoyang Liu
e8f4b54937 qcacld-3.0: fix creating proc directory issue for multiple chips
When using multiple chips, PREFIX is defined as '<chip_name>/',
proc_mkdir function can't create sub directory, fix the issue to
create directory with '/proc/<chip_name>_debugdriver'.

Change-Id: Id70077247401f5b92ff5c72c813c955e1cf5feb7
CRs-Fixed: 3305100
2022-10-17 16:22:27 -07:00
Gururaj Pandurangi
62f7de7e4f qcacld-3.0: Add ML link band check to enable EMLSR mode
Add check to ensure that the ML links are in 5 GHz + 6 GHz
band to enable EMLSR mode. If either of the links are in
2.4 GHz band, do not advertise EML caps in assoc req frame.

Change-Id: Ic3118ac9370931c0c524d68d90e9fc2ad3000ff6
CRs-Fixed: 3300127
2022-10-17 16:22:22 -07:00
Madan Koyyalamudi
23902b7c6b Release 5.2.1.41W
Release 5.2.1.41W

Change-Id: I5f93c1bc75ecf131fe137c4031a01b26d16d8a0f
CRs-Fixed: 774533
2022-10-17 12:57:46 -07:00
Liangwei Dong
74aa28da73 qcacld-3.0: Add 802.11be allowed AP OUI INI support
Add INI g11be_oui_allow_list to config 802.11be AP oui which
is allowed to get connected in 802.11be mode.
If the INI is empty, all the ap are allowed to get connected
in 802.11be mode. If INI is set to "ffffff 00 01", then STA
is not allowed to connect to any AP in 802.11be mode.

Change-Id: I98e545ba909c1746237a20c365f8297f16fe666f
CRs-Fixed: 3304021
2022-10-17 12:57:45 -07:00
Madan Koyyalamudi
c9265bb6f4 Release 5.2.1.41V
Release 5.2.1.41V

Change-Id: I64e80cff258cd47a44b1964b9013883639958cb8
CRs-Fixed: 774533
2022-10-17 06:47:55 -07:00
Sheenam Monga
93c62a8893 qcacld-3.0: Compile spatial reuse files based on flag
Currently, files related to spatial reuse are compiled
based on 11AX feature flag instead of SRP feature flag
and OBSS_PD feature is disabled always.

Fix is to avoid dependency of spatial reuse compilation
on 11AX and conditionally compile spatial reuse based on
SRP feature flag and Enable OBSS_PD feature based on 11AX
feature flag.

Change-Id: Ia5a882f7c842c3c2979da9b73139c59af765d23c
CRs-Fixed: 3306965
2022-10-17 06:47:55 -07:00
Rachit Kankane
183358dc26 qcacld-3.0: Check for HESIGA_VAL15_ALLOWED
Check for HESIGA_VAL15_ALLOWED bit before enabling SR prohibit
in SR control field

Change-Id: Ie902941c7642d76901adbf5d685265c0552a814c
CRs-Fixed: 3308160
2022-10-17 06:47:49 -07:00
Rachit Kankane
14e356b81e qcacld-3.0: Add async event for Spatial Reuse
Add async event for Spatial Reuse and also send Spatial Reuse
enable / disable event to upper layer due to same MAC concurrency.

Change-Id: Idcb5b99e39f1810e63ae7ac1e8d2eab6028a163f
CRs-Fixed: 3307801
2022-10-17 06:47:43 -07:00
Rachit Kankane
45f42c90a8 qcacld-3.0: Add concurrency check with SR
Add check for concurrency with SR, if SR with concurrency
is not enabled then disable the SR on existing VDEV as soon as
new VDEV is up.
When this new VDEV is disconnected, then enable back the SR on
the previous VDEV.

Change-Id: Id6aee592b889bb7006efb44420e6d272212e13ba
CRs-Fixed: 3306181
2022-10-17 06:47:37 -07:00
Rachit Kankane
6cdc4ce277 qcacld-3.0: Send PDEV Param command for SR
Send WMI_PDEV_PARAM_SET_CMD_OBSS_PD_THRESHOLD during PDEV
init with disabled PD-Threshold value to initialize SR related
registers in HW.

Change-Id: I49e73c76974e098b6dfbf647a898b53abf8ea2ba
CRs-Fixed: 3306179
2022-10-17 06:47:31 -07:00
Rachit Kankane
983623c4b8 qcacld-3.0: Spatial Reuse enhancement for SAP
Add below two enhancements for SAP
1. Spatial Reuse enabled in single MAC concurrency
2. Set bit HESIGA_Spatial_reuse_value15_allowed in SRP IE

Change-Id: Id2d3d04ae1b3b9a2e6d84f30749b577bc7b79061
CRs-Fixed: 3305447
2022-10-17 06:47:26 -07:00
Sheenam Monga
13046aa4c1 qcacld-3.0: set and get SRG PD min/max offest
Currently while processing SRP IE, only pd offset
of NON-SRG is updated. Add SRG pd min and max offset
in vdev mlme, so that it can be fetched while sending
enable command and while updating SR params to userspace.

Change-Id: I5d6483b5e018b036539b981021b2f32eaf02ea74
CRs-Fixed: 3309161
2022-10-17 06:47:20 -07:00
Rachit Kankane
b3596058c7 qcacld-3.0: Parse Spatial Reuse Parameter IE
Set vdev spatial reuse variables based on SRP IE received as:
1. Part of association response frame when STA is connecting
2. Part of Probe-Response / Beacon frame once the STA is connected

Change-Id: Ib4f889e94d4951293dfa5bc93d2dcba61e5c89ff
CRs-Fixed: 3306201
2022-10-17 06:47:15 -07:00
Sheenam Monga
2570d35546 qcacld-3.0: Handle GET_PARAMS operations
Send NON-SRG and SRG PD offset,
HE_SIG_SR_Value_15_Disallow and
Non-SRG OBSS PD SR Disallowed from SRPIE
and SRP_CTRL attributes of the connected
AP.

Change-Id: Ic43876a4ee7c6ded8ad75937671790acb06e6647
CRs-Fixed: 3304744
2022-10-17 06:47:10 -07:00
Sheenam Monga
376e3f397a qcacld-3.0: Handle VENDOR_SUBCMD_SR for STATS
Add support to handle GET_STATS and CLEAR_STATS
operations of VENDOR_SUBCMD_SR.

Change-Id: I89cdcc3e7d8104c9da1c95f7b63cde799e11d117
CRs-Fixed: 3304742
2022-10-17 06:47:05 -07:00