コミットグラフ

27196 コミット

作成者 SHA1 メッセージ 日付
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
Sheenam Monga
c4c40f5217 qcacld-3.0: Handle VENDOR_SUBCMD_SR and operation
Add support to parse VENDOR_SUBCMD_SR and to parse
nested attributes OPERATION and PARAMS and to handle
ENABLE operation, Disable operation and prohibit
operation. Enable opeartion may have PD threshold
or in case vendor command doesn't provide PD threshold
host will send PD threshold advertised by AP.

Change-Id: Ie98a1b8681f41f3a63523ac40b5cfb688a7b0cb0
CRs-Fixed: 3299042
2022-10-17 06:47:00 -07:00
Madan Koyyalamudi
e29354e1a1 Release 5.2.1.41U
Release 5.2.1.41U

Change-Id: Iff8869da462758efb43c3fcaf132f316e929c036
CRs-Fixed: 774533
2022-10-17 04:52:03 -07:00
Surya Prakash Sivaraj
38061a4dfa qcacld-3.0: Reset SPMK cache before every connection
SPMK global cache in the vdev private is persistent
across connections. Therefore, in cross-ssid roaming
cases with different AKMs, SPMK in the global cache
will always be sent to the firmware in RSO start, even
for non-SAE connections. This causes roam failure.

Reset the spmk global cache for every new connection.

Change-Id: I03deefe16242ef79d0985a8c05881914e6f7af01
CRs-Fixed: 3310182
2022-10-17 04:52:03 -07:00
Surya Prakash Sivaraj
2517893ac1 qcacld-3.0: Enhance the debugs in RSO path
Add changes to enhance the debugs in the RSO path,
to identify the current pmk stored in the rso config.

Also, restrict the PMK dumps to a minimum size of 2.

Change-Id: I6e89afed45f5d43b45508ae43b59400a6e24e5ef
CRs-Fixed: 3312677
2022-10-17 04:51:57 -07:00
Madan Koyyalamudi
0fd1880428 Release 5.2.1.41T
Release 5.2.1.41T

Change-Id: Ib8b20c97b65a62123c156ddba8d5c3e9f8b8316c
CRs-Fixed: 774533
2022-10-17 03:02:15 -07:00
Nirav Shah
2e86058c4a qcacld-3.0: Handle twt renegotiation failure scenario
Handle twt renegotiation failure scenario when there is
error reported by firmware as part of
wmi_twt_ack_complete_event_id event.

Change-Id: I91e4bfd8f08ae81b474354c90ab8c770dcdfe19b
CRs-Fixed: 3297783
2022-10-17 03:02:15 -07:00
Madan Koyyalamudi
b4bfb77621 Release 5.2.1.41S
Release 5.2.1.41S

Change-Id: Ib23f7954e8805c3f6a68b8cf591bc5de85e93cc1
CRs-Fixed: 774533
2022-10-16 06:14:57 -07:00
Vishal Miskin
b1ca831353 qcacld-3.0: Restart TSF sync timer post wlan resume
TSF sync routine stopped due to host suspend and post wlan resume the TSF
sync peridic timer resumes. Old host to TSF mapping data being used for
use cases which may be invalid as it was captured long back. Hence Restart
the TSF sync soon afer wlan resume to synchronize at the earliest.

Change-Id: I141755e23fe288fb31925c8d87f37cfccced0203
CRs-Fixed: 3303130
2022-10-16 06:14:56 -07:00
Madan Koyyalamudi
ccde934bfb Release 5.2.1.41R
Release 5.2.1.41R

Change-Id: I797db950344af3bfa422d358752c2f6fd8bd940f
CRs-Fixed: 774533
2022-10-15 12:12:22 -07:00
Ashish Kumar Dhanotiya
a897a6e3ea qcacld-3.0: Update phy mode correctly in link adapter as well
Currently host driver does not update phy mode in link adapter.
When host driver gets country update or set fcc constraint
command it tries to check if there is any change in phy mode
for all the connected adapters. Since link adapter is connected
adapter and at the time of connect success driver does not update
phy mode in link adapter, this check fails for link adapter
and host driver issues disconnect.

To fix this issue, update the phy mode correctly in link
adapter as well at the time of connect success.

Change-Id: Ia208fa183c8d1fa7f902cb614bf9ca704bc30ed6
CRs-Fixed: 3313529
2022-10-15 12:12:21 -07:00
Madan Koyyalamudi
37a7e25ce1 Release 5.2.1.41Q
Release 5.2.1.41Q

Change-Id: I1de0f502654b3492cd0411dc749dd13fae5b492c
CRs-Fixed: 774533
2022-10-14 13:42:48 -07:00
Ashish Kumar Dhanotiya
013edc14e3 qcacld-3.0: Update vendor1 requirement1 version for feature set
With change update vendor1 requirement1 version to the latest
version 3.3.

Change-Id: I5079c47c65487a9dc97e3f0fe3b38f696a3753bc
CRs-Fixed: 3309523
2022-10-14 13:42:48 -07:00
Madan Koyyalamudi
0aa2e6a938 Release 5.2.1.41P
Release 5.2.1.41P

Change-Id: I6067d9d8cd29dfeb58313048d8b17daefd00d8c2
CRs-Fixed: 774533
2022-10-14 11:52:41 -07:00
Vinod Kumar Myadam
58830e2f7b qcacld-3.0: Fix to OEM sync and async event handle
Presently host don't know whether event is rsp to the command
or async event from FW.

Handling req and async events with new enum
wmi_oem_data_evt_cause added in FW to represent event causes,
WMI_OEM_DATA_EVT_CAUSE_UNSPECIFIED,
WMI_OEM_DATA_EVT_CAUSE_CMD_REQ,
WMI_OEM_DATA_EVT_CAUSE_ASYNC.

Change-Id: I31a3f415fed64dc6231ca0eb29de5b80c94493f3
CRs-Fixed: 3305281
2022-10-14 11:52:41 -07:00