Revīziju grafs

1337 Revīzijas

Autors SHA1 Ziņojums Datums
abhinav kumar
93eb9ca13a qcacmn: For Adaptive 11R connection , choose the first AKM in RSNIE
Supplicant compares AKM(s) in RSN IE of Beacon/Probe response and
AKM on third EAPOL frame received by AP. In the case of multi AKM,
previously Host converts all adaptive 11r AKM(s), if any, present
in RSN IE of Beacon/Probe response to corresponding FT AKM but the
AP(s) which support adaptive 11r (ADAPTIVE_11R_OUI: 0x964000) only
converts first AKM to corresponding FT AKM and sends third EAPOL
frame to DUT. This results in failure in a 4-way handshake in
supplicant due to RSN IE miss-match between RSNIE sent by host
and RSNIE present in third EAPOL frame. Now like AP, the host is
converting only the first AKM to corresponding FT AKM to avoid
RSNIE mismatch in supplicant.

Change-Id: I522c6e313df50c1ef2952ec2e464a107ae739dad
CRs-Fixed: 3230622
2022-07-07 14:24:35 -07:00
Pragaspathi Thilagaraj
b7fa703306 qcacmn: Add support to send PASN commands
Add support to send below PASN commands:
WMI_RTT_PASN_AUTH_STATUS_CMD
WMI_RTT_PASN_DEAUTH_CMD
WMI_VDEV_SET_LTF_KEY_SEED_CMDID

Change-Id: I5a50a634317d0a692feee5be5a36da22b4c5d713
CRs-Fixed: 3154530
2022-07-06 23:07:52 -07:00
Amruta Kulkarni
e54d79df94 qcacmn: Define EHT caps fixed fields
Add definition for EHT caps fixed fields.

Change-Id: I5e19381f22dcf9a394404796e70f724d0b52a03d
CRs-Fixed: 3231478
2022-07-05 12:40:51 -07:00
Aakanksha Doda
af7b3ad2cd qcacmn: Add QCN IE to the scan entry IEs list
Add QCN IE to the scan entry IEs list to support
240 MHz on 5 GHz radio.

Change-Id: I7fafae518baf6b8633729f65810fbba663744ec6
CRs-Fixed: 3230190
2022-06-30 10:54:33 -07:00
Edayilliam Jayadev
5cc707a17c qcacmn: Invalidate mgmt Rx REO snapshots
Invalidate management Rx REO snapshots which are stale.

CRs-Fixed: 3229249
Change-Id: I8a1b534af0b8371bbc6809cf7eeb8655b6028773
2022-06-29 11:24:40 -07:00
Edayilliam Jayadev
fa05fbddfd qcacmn: Drop management frames with invalid REO params
Drop the management frames with invalid REO parameters.

CRs-Fixed: 3229247
Change-Id: I61f7c4590dac6d9e2662828c0d9d6a256fccfbf5
2022-06-29 06:00:57 -07:00
Edayilliam Jayadev
da6a5a5b56 qcacmn: Add mgmt Rx inactivity timer
Add management Rx inactivity timer to track the scenario
of no management Rx across MLDs.

CRs-Fixed: 3229245
Change-Id: Ic01782e4cf0eed1a1f87c2b88bcdcdeb2ba3df3f
2022-06-29 06:00:50 -07:00
Edayilliam Jayadev
23ab68e55c qcacmn: Add TSF offset field in per-STA profile subelement
As per draft 2.0, add TSF offset field in per-STA profile
sub element.

CRs-Fixed: 3221744
Change-Id: I4c38012054decb5366b1e280c671f254fe5dffdf
2022-06-29 01:09:28 -07:00
Deeksha Gupta
b52e67679a qcacmn: Update ML IE handling as per draft 2.0 new definitions
Update multi link IE definition as per 11BE draft 2.0 spec.

Change-Id: I120f1a99ef683f6bf0b9fb0ba3b5d157625639ca
CRs-Fixed: 3220212
2022-06-29 01:09:22 -07:00
Paul Zhang
9cd1e26ce6 qcacmn: Update EHT OP/CAP IE per draft 2.0
Update EHT OP/CAP IE per draft 2.0

Change-Id: I5fed019f3a1d5817123084a475e0940a653fe419
CRs-Fixed: 3221670
2022-06-27 12:17:33 -07:00
Venkateswara Swamy Bandaru
b9dedfd780 qcacmn: Add 11be Draft 2.0 support
Add EHT capability and EHT Operation changes to
support 11be Draft 2.0.

Change-Id: I3ab259be8a78c7504d22d3d1210f90f0dcb658d8
CRs-Fixed: 3220063
2022-06-27 12:17:27 -07:00
Edayilliam Jayadev
9f75a857b7 qcacmn: Do book keeping for frames which doesn't require REO
Management frames originating from links which doesn't require
reordering are not passed through mgmt Rx REO module. This may result in
delayed delivery of frames in the reorder list. Fix this by allowing
such frames to enter mgmt Rx REO module.

CRs-Fixed: 3224128
Change-Id: I94f7bc902acaac959b6bed475413925c266d5557
2022-06-27 08:26:33 -07:00
Vinay Adella
0e54add2cb qcacmn: Utility functions to parse Probe Request Variant of Multi-Link IE
These utility functions help to parse the Probe Request Variant of
Multi-Link IE.
It implements 11BE draft 2.0 spec

Change-Id: I09dcf47ef481278f5c74082002f83d9c8e2155a4
CRs-Fixed: 3213367
2022-06-27 02:10:23 -07:00
abhinav kumar
f55ec57e32 qcacmn: Support vendor handoff service bit info from FW
Add change to fetch and save the WMI service capability
bit of FW to support vendor handoff control feature
using service bit.

Change-Id: I6bc85f2807032bf84d391f34c814c91de906ab42
CRs-Fixed: 3225147
2022-06-23 08:51:02 -07:00
Gururaj Pandurangi
83d3a9032e qcacmn: Add set/get APIs to update eMLSR capability
Add set/get APIs to update the eMLSR capability bit.
This flag is used to determine if the current MLO
connection is eMLSR.

Change-Id: Ib72131e4740387918addca551dc11b349cd79bba
CRs-Fixed: 3220952
2022-06-22 22:00:36 -07:00
Shreedhar Parande
7c2d02ecf3 qcacmn: Update definitions for MLD capability subfield
Update definition for MLD capabilities subfield present in
the Common Info field of Basic Multi-Link element as per
IEEE802.11be D1.5.

Store parsed MLD capability in node to send these to Target.
Add endianness handling for MLD Capability.

Add a check if the value in the common info length tallies
with the length as determined from the presence bitmap for
MLD capabilities.

CRs-Fixed: 3206837
Change-Id: I3d03afbd60171b2cf5e81c9a8dbb51d7673c9163
2022-06-16 09:15:33 -07:00
Krishna Rao
ef094153e4 qcacmn: MLO D1.5 - Add definition for RNR 'All Updates Included'
As part of a transition of basic MLO functionality to IEEE802.11be
D1.5, add definition for 'All Updates Included' in MLD Parameters
subfield in TBTT Information field present as part of TBTT Information
Set in Neighbor AP Information field of Reduced Neighbor Report
element.

Change-Id: I2e8b08e5d23ac51168455116d1772d484682815d
CRs-Fixed: 3197190
2022-06-13 10:51:45 -07:00
Krishna Rao
4ce7d8f466 qcacmn: MLO D1.5 - Process BSS param change count presence in STA Info
As part of a transition of basic MLO functionality to IEEE802.11be
D1.5, add definitions and receive processing for the signaling of the
presence of BSS Parameters Change Count subfield in STA Info field in
Per-STA Profile subelement in Basic Multi-Link element Link Info
field. This presence is signaled by a new bit in the STA Control
field of the corresponding Per-STA Profile subelement. Rename the
definition for BSS Parameters Change Count (sub)field size to make it
generic since it may occur in various protocol signaling areas
related to MLO.

Change-Id: Ieb17f65547b7106442369b51cd6bc303046a224a
CRs-Fixed: 3197012
2022-06-13 10:51:39 -07:00
Chaoli Zhou
6cd686dc0e qcacmn: Support setting wapi crypto for SAP mode
Support setting crypto prarameters from WAPI IE.

Change-Id: Iee0e42e692dd2d9c2c6d645defd858c3c29eb322
CRs-Fixed: 3213432
2022-06-10 18:58:35 -07:00
Jyoti Kumari
4afef82b70 qcacmn: Handle TWT renegotiation failure case
Generally below process should happen in renegotiation failure
case.
1. TWT setup (successful)
2. TWT setup (renegotiation failure)
3. TWT teardown
4. TWT GET STATUS - 0(dialog ID) 0 0 0
5. TWT setup - successful

Since all WMI TWT events gets executed in WMI thread. So when
renegotiation failure case hits, driver sends TWT
teardown to firmware and waits for twt ack in worker thread.
In same worker thread TWT event needs to be processed.
TWT ack event will not process as it's waiting in same worker
thread and it will get timedout.

As part of fix, break the context in renegotiation and
send the teardown in the new worker context.

Change-Id: Id12cb906b780d3013562c1772e276639a056c8f7
CRs-Fixed: 3207537
2022-06-10 18:58:29 -07:00
Deeksha Gupta
f666bb4d71 qcacmn: Update EHT op/caps as per draft 1.5
Update EHT Operation and Capabilities as per 11be draft 1.5
specification.

Change-Id: I6feb644c09db2c7f0578665733c29957be049408
CRs-Fixed: 3197384
2022-06-09 11:43:23 -07:00
Shreedhar Parande
5f96fd74c9 qcacmn: Parse EML capability subfield in Common info for non-AP MLD
Parse EML capability sub field present in Common Info field of Basic
Multi-Link element from Association request send by non-AP MLD.

Add new API to get EML capabilities from the ML IE.
Update definitions for EML as per IEEE802.11be D1.5.
Store parsed EML capability in node to send these to Target.

CRs-Fixed: 3203322
Change-Id: Ib208ba2d8e86df7360656c1c844e4835a93cedc4
2022-06-03 11:39:20 -07:00
Vikram Kandukuri
8969fe6019 qcacmn: Adding telemery agent component
Adding telemery agent component.
CRs-Fixed: 3211061
Change-Id: I48efdf8a612162e02512819f8e0d242dfac7da3c
2022-06-02 05:22:12 -07:00
Aakanksha Doda
f420dce004 qcacmn: Add wmi changes to extract addba window size from mgmt tlv
Add wmi changes to extract addba window size from mgmt tlv

CRs-Fixed: 3156291
Change-Id: I09891ef15942d3a7d594dfa839b758a9d4a5ba78
2022-05-30 06:45:12 -07:00
Venkateswara Swamy Bandaru
3ff07fe59d qcacmn: Add 11be D1.5 support
Update EHT Operating IE as per 11be D1.5 draft.

Change-Id: I3c0e0af765f4a05729b505b83508cee2149ed2f2
CRs-Fixed: 3187001
2022-05-27 10:56:25 -07:00
abhinav kumar
be6648764a qcacmn: Check first unused bit for multi client feature support
Currently host check 3rd bit of the extended feature flag to
know whether FW supports below two features:
1. Roam Frame info stats - per candidate frames support
2. multi-client feature flags support

The host should check different bits for different features.

Fix is to allow the host to check the first unused bit
(here 4th bit) of extended feature, flag to check whether FW
supports multi-client feature flags support.

Change-Id: I485aeab6a90e900a52e88cd013645203457c1adb
CRs-Fixed: 3184410
2022-05-26 09:32:57 -07:00
Shashikala Prabhu
42be98cc24 qcacmn: Define Multi-Link Traffic Indication element
Add structure to define Multi-Link Traffic Indication element.
Add a variable in vdev AID manager to keep track of the number of T2LM
clients connected.

Change-Id: Iaba49ac93180f702e23cf9844e19f46a15afb129
CRs-Fixed: 3201075
2022-05-25 04:55:58 -07:00
Edayilliam Jayadev
0130242aed qcacmn: Set/Get mgmt Rx REO feature capability
Set/Get the management Rx REO feature capability to psoc
using the correct APIs.

CRs-Fixed: 3201829
Change-Id: Id925be4a6930a1a3ec05bfdd67ef6518a5cb2cea
2022-05-24 16:01:21 -07:00
Edayilliam Jayadev
bec69b91fe qcacmn: Get link id from pdev only if mgmt Rx REO is enabled
Get link id from pdev only if management Rx REO feature is enabled in
FW and INI.

CRs-Fixed: 3199557
Change-Id: I8732cbb9c24059268f67d6c00447acbe99ef5ccc
2022-05-24 16:01:08 -07:00
Srinivas Pitla
d5f73ed96a qcacmn: MBSSID support for MLO AID manager
This change adds MBSSID support for MLO AID manager.
It handles AID allocation and AID free for MLO and Non-MLO peers
associated to MLO/Non-MLO VDEVs

Change-Id: I616cca6afeb9178a3b7f183c6bd986fe9b30a4fa
CRs-Fixed: 3200173
2022-05-24 11:00:26 -07:00
Basamma Yakkanahalli
a684d24bfe qcacmn: Critical update signaling for beacon
Critical update is the explicit signaling for STA to notify
any change in BSS param.

There are two categories of critical update params.
Category 1 elements:  CSA, ECSA, Quiet, Quiet channel,
            Max Ch Switch Time, that are directly included in
            the per-STA profile of partner AP.
Category 2 elements: Except category 1 all operational IEs
           HT/VHT/HE/EHT and WMM/EDCA/MUEDCA params.

Defined below vdev flags to track change in Category 1 and
Category 2 CU params per ML VDEV
WLAN_VDEV_OP_CU_CAT1: Change in category 1 param
WLAN_VDEV_OP_CU_CAT2: Change in category 2 param

Host notify to FW by updating current link CU param in
wmi_bcn_tmpl_ml_info TLV of BCN TMPL CMD.
Set the corresponding cu_vdev_map category 1 / category 2
based on change in critical update params of ML VDEV.

Change-Id: I8fe71309ab92a459524bdc5739f8b4a4a545562e
CRs-Fixed: 3199331
2022-05-19 01:57:30 -07:00
Edayilliam Jayadev
4ecc42ea2a qcacmn: Handle mgmt Rx REO packet counter delta
Under back pressure scenarios, FW may drop management Rx frame
WMI events. So holes in the management packet counter is
expected. Handle the packet counter holes at host.

CRs-Fixed: 3194294
Change-Id: Idf99f98701844fbb24f2114eb43130158676ca81
2022-05-18 10:32:45 -07:00
Edayilliam Jayadev
712e32dff0 qcacmn: Fix memory leak in management frame logging
Fix memory leak in ingress/egress management frame logging in
management Rx reorder module.

CRs-Fixed: 3194475
Change-Id: Ida19fe70dcfb456c8562753d490f6f53e26c68fe
2022-05-18 10:32:37 -07:00
Edayilliam Jayadev
b9b4ef40c2 qcacmn: Add management Rx REO debug APIs
Add debug APIs in management Rx REO module.

CRs-Fixed: 3194240
Change-Id: I022d47f4c3db276404f859cda57ce3640805ebdb
2022-05-17 10:43:23 -07:00
Edayilliam Jayadev
2da6d3df11 qcacmn: Bypass management Rx reorder if the number of MLO vdevs is zero
Bypass management Rx reorder if the number of MLO vdevs the
given pdev is zero.

CRs-Fixed: 3194267
Change-Id: Ia286999fdf99bb2b77008c31dfb3a52731cd5167
2022-05-16 03:50:15 -07:00
Edayilliam Jayadev
e2ceb89b48 qcacmn: Change the order of reading mgmt Rx REO snapshots
Change the order of reading management Rx REO snapshots.

CRs-Fixed: 3193845
Change-Id: I55b9d49f9a1693ae01d88430552d202f55d006f1
2022-05-16 03:50:09 -07:00
Aditya Kodukula
16c15a6499 qcacmn: Add support for MLO stats
As part of MLO stats feature, add support to send ll_stats
and get_station stats request to firmware for all the MLO vdevs.

Change-Id: Ic50a6294f868f0604d4cfc0d4b657b6085da2fb4
CRs-Fixed: 3181020
2022-05-14 03:35:17 -07:00
Edayilliam Jayadev
40dacfa471 qcacmn: Count MLO vdevs in a pdev
Count the MLO vdevs in a pdev. WLAN_VDEV_FEXT2_MLO feature
flag in vdev object is set for all MLO vdevs. Simple solution is
to increment/decrement the count on every set/clear of
WLAN_VDEV_FEXT2_MLO feature flag. Since this feature flag will be
set/clear at multiple places for a given vdev, this approach
will lead to wrong MLO vdev count. To fix this we need to
increment/decrement the count on first set/first clear of
WLAN_VDEV_FEXT2_MLO flag. Add a lock also to prevent the race
conditions.

CRs-Fixed: 3106235
Change-Id: Ice7edde04553088fbb7c9b769508d441ccd6e4bf
2022-05-11 05:53:18 -07:00
Amith Ajith
19f0a435c6 qcacmn: Add AFC location structure to AFC start request
Create data structure to store the deployment type(location) of AP for
AFC. Append this structure to the end of AFC start request.

Change-Id: I19756fd3ca7a77f11b673d2bf3b0382f29732847
CRs-Fixed: 3177624
2022-05-09 22:18:45 -07:00
Amith Ajith
ecd51a1f66 qcacmn: Add AFC Deployment type enum and deployment type to pdev_priv_obj
Declare the AFC deployment type enum and add deployment type member to
pdev_priv_obj.

Change-Id: Id11a0aac4fcc1b655436d9dbd876607178f27bd4
CRs-Fixed: 3186216
2022-05-09 20:45:31 -07:00
Edayilliam Jayadev
d58c71c6ff qcacmn: Enhance mgmt Rx reorder debug framework
Enhance management Rx reorder debug framework.

CRs-Fixed: 3183165
Change-Id: I968b9cc3f9eef4f1e8c76dd5b2eb01df27fbabbd
2022-05-09 01:40:49 -07:00
Deeksha Gupta
598c7f9c07 qcacmn: Update ML IE handling as per D1.4 new definitions
Update multi link IE definition as per 11BE draft 1.4 spec.

Change-Id: I560d63019d10e22672dc95e9426fa6e8aca5a105
CRs-Fixed: 3156980
2022-05-06 16:42:10 -07:00
Edayilliam Jayadev
cecf753cac qcacmn: Fix compilation issues in mgmt Rx REO
Fix compilation issues in mgmt Rx REO feature.

CRs-Fixed: 3179407
Change-Id: I19e475b9f4eb5615d9ae63a85af3daf3ea1434ba
2022-05-03 12:41:07 -07:00
Edayilliam Jayadev
97e2f4b060 qcacmn: Check the sanity of mgmt Rx REO snapshots
Ensure the sanity of management Rx reorder snapshots of each valid
link.

CRs-Fixed: 3182800
Change-Id: I5949c8a7f8b15cb6a3eac874694daebb39423624
2022-05-03 12:41:01 -07:00
Edayilliam Jayadev
f9969cdc06 qcacmn: Initialize/clear mgmt Rx reorder data structures
Initialize/clear mgmt Rx reorder data structures on init/deinit.

Change-Id: Idf634fded0dadf2e13cea90f4819788b08ed4a12
CRs-Fixed: 3183181
2022-05-03 12:40:55 -07:00
Pragaspathi Thilagaraj
7738bad9e9 qcacmn: Add support to manage Wifi pos vdev private object
Add support to manage Wifi pos vdev private object. Add new peer
type in enum wlan_peer_type. Add rx_ops and register the rx_ops
for PASN peer create/peer delete request.
Register 11az PASN related WMI events in target if.

Change-Id: I2a5e4d8d7c9b9562d9ab02b287957e93ee6f4758
CRs-Fixed: 3154521
2022-04-30 22:49:55 -07:00
Venkateswara Swamy Bandaru
964ba5e0a6 qcacmn: Update EHT capabilities as per draft 1.4
Update EHT Capabilities as per 11be draft 1.4 specification.

Change-Id: Ibce3df4ec1aed07102f01d201409ef4e120fa94f
CRs-Fixed: 3176802
2022-04-29 09:01:23 -07:00
Deeksha Gupta
7310b12d12 qcacmn: Update EHT capabilities as per draft 1.4
Update EHT Capabilities as per 11be draft 1.4 specification.

Change-Id: I1300f0a1ece4ccd11c230097b57d9f6f5da8d6af
CRs-Fixed: 3160719
2022-04-29 09:01:15 -07:00
Edayilliam Jayadev
167f6c146a qcacmn: Exclude parallel Rx from stale frames
Frames which are received in parallel across links should not be
discarded as stale frames. Exclude frames received in parallel from
stale frames.

CRs-Fixed: 3183145
Change-Id: I218f24658307244b3d5fbad09c6ccf2e42221138
2022-04-29 06:32:16 -07:00
Shashikala Prabhu
6f0d0248f0 qcacmn: Define T2LM structure in wlan_mlo_peer_context structure
T2LM negotiation happens per MLD level. Hence, define the T2LM related
structure in wlan_mlo_peer_context.

Add API to get the protected EHT action frame subtype.

Change-Id: Ia3870fbb38b8d673f96954af18078c96d20365f3
CRs-Fixed: 3167178
2022-04-29 02:10:57 -07:00