コミットグラフ

153 コミット

作成者 SHA1 メッセージ 日付
Vinay Adella
dd28763069 qcacmn: Fix issues when WLAN_MGMT_RX_REO_SUPPORT is disabled
Add APIs for cases when WLAN_MGMT_RX_REO_SUPPORT is disabled.

CRs-Fixed: 3454960
Change-Id: If7bb4757ab14b20ad14298b358962319f289a777
2023-04-10 03:08:21 -07:00
Edayilliam Jayadev
4855c6ef1a qcacmn: Enable management rx reo scheduler
Enable management Rx reorder scheduler.

CRs-Fixed: 3410648
Change-Id: I90fad2bb3c118f3d9021dc94ecdd1a300c9ab00c
2023-03-14 08:46:27 -07:00
Edayilliam Jayadev
d3f1f54f3f qcacmn: Add mgmt Rx REO scheduler debug support
Add support for mgmt Rx REO scheduler debug.

CRs-Fixed: 3409291
Change-Id: I5027fb4196d3d072fe4ade880eb217bcef47a6d3
2023-03-12 13:42:51 -07:00
Edayilliam Jayadev
a0d45f3ac7 qcacmn: Add tgt APIs to schedule/cancel delivery of frames
Add tgt APIs to schedule/cancel the delivery of management
frames.

Change-Id: Id9b78f8819270f2eba143e9b19dc245eb925612c
CRs-Fixed: 3408594
2023-02-21 22:04:08 -08:00
Edayilliam Jayadev
b3c257785e qcacmn: Add UMAC APIs to schedule/cancel delivery of frames
Add UMAC APIs to schedule/cancel the delivery of management
frames.

CRs-Fixed: 3408367
Change-Id: Iee7745b6e9e4e4269f9faede221f648a516fdc20
2023-02-21 22:03:46 -08:00
Edayilliam Jayadev
6301cfb1f6 qcacmn: Add per pdev/psoc init APIs
Add per pdev/psoc initialization APIs in management Rx reorder module.

Change-Id: Ic60a195bc62a4bc70e10bbb07133d1e3184f4685
CRs-Fixed: 3408290
2023-02-21 22:03:22 -08:00
Edayilliam Jayadev
060f2a7ebc qcacmn: Separate reorder list into ingress and egress lists
Reorder list holds incoming frames and frames to be delivered to
upper layers. Split the reorder list into two, ingress list and
egress list. Ingress list stores the incoming management frames
and egress list stores the management frames which are ready to
be delivered to upper layers.

CRs-Fixed: 3386123
Change-Id: I479f5d15bfab40649053b0ee2a0d8c13d80f8bba
2023-02-08 06:56:36 -08:00
Uraj Sasan
52f91b32b9 qcacmn: Reduce the value of macro due to memory Impact
In Multi-Chip MLO, FW is having memory constrain
while increasing the maximum supported MLO LINKS.

Reduce the values to avoid memory issue in FW

Change-Id: Id191f45f25de915e88ed1e12ae56d4a6e7b7095f
CRs-Fixed: 3391537
2023-02-02 22:01:06 -08:00
Jeff Johnson
de12add913 qcacmn: Fix umac/cmn_services/mgmt_txrx documentation
The kernel-doc script identified some documentation errors in the
umac/cmn_services/mgmt_txrx folder, so fix them.

Change-Id: I2315940874f6ae246582c81deb7c90b687b3489e
CRs-Fixed: 3387340
2023-01-26 06:07:21 -08:00
Uraj Sasan
f8dfbc3195 qcacmn: Add Support for 4 Link MLO
4-Link MLO support.

Change-Id: Ia9053e119d4938bf6b80dcd8c70037e7c2bb91d0
CRs-Fixed: 3359269
2023-01-17 01:41:37 -08:00
Edayilliam Jayadev
3a12fcc91e qcacmn: Fix compilation issues in management Rx REO simulation
Fix compilation issues in management Rx reorder simulation
framework.

CRs-Fixed: 3364105
Change-Id: I74041e1d7b4fde289b5e09086d438af529255a8b
2023-01-06 07:45:26 -08:00
Surya Prakash Raajen
6ef9d4cb8e qcacmn: Add multi group support for MGMT Rx Reordering
Add multi group support for MGMT Rx Re-ordering.

Change-Id: I2b172d1f0db58afee06db3eefc06b618fcf9a627
CRs-Fixed: 3343170
2023-01-05 22:32:57 -08:00
Surya Prakash Raajen
0fdd53b791 qcacmn: Add support for mlo groups in mlo setup and teardown
Add support for mlo groups in mlo soc/link setup and teardown
sequence participating in mlo.

Change-Id: I2b431b0ee1e5816b92ad183b52ad2998eb5bb46c
CRs-Fixed: 3343170
2023-01-05 22:32:26 -08:00
Vulupala Shashank Reddy
faa15884e0 qcacmn: Fix FILS Discovery rx frames capture in packet capture mode
Currently the FILS Discovery rx frames are dropped in
tgt_mgmt_txrx_rx_frame_handler considering them as unspecified
packets as action category for FILS Discovery is not defined.

Define FILS Discovery action category so that the FILS Discovery
will not be considered as unspecified frames and dropped while
processing.

Change-Id: I72398caf3cbb1f7d53d5f97da9d1997af2b33595
CRs-Fixed: 3346195
2022-12-20 20:30:38 -08:00
Nidhi Jain
800dddec55 qcacmn: Registration function for link disablement
This change is to allow other modules to register for
link disablement.
It includes below functions:
1- Notify link update
2- Register to handler to get link update notification
3- Unregister T2LM handlers

Added the below changes as well,
- Move T2LM related data structures to wlan_mlo_t2lm.h file
- Host receives the expected duration from FW for multiple vdevs.
  Hence, add support to extract the expected duration for multiple vdevs.

Change-Id: Ie8e77d5d3b4351a8551ecd7da50786b58dad3b2e
CRs-Fixed: 3346432
2022-12-19 22:17:49 -08:00
Edayilliam Jayadev
d757a64784 qcacmn: Update fields of management Rx REO snapshot
Update the fields in management Rx reorder snapshot
structure.

CRs-Fixed: 3346508
Change-Id: I52e8245dfdfa40ea566756b6378a00e08993ab5c
2022-12-19 11:38:36 -08:00
Shiva Krishna Pittala
11fa724d8a qcacmn: Add support to extract link removal TLVs from MGMT Rx event
To assist the Host in ML reconfiguration element construction for probe
responses, FW sends MLO link removal information as part of the MGMT Rx
event containing the corresponding probe request. This information is an
array of TLVs, one TLV for each link that is undergoing link removal from
the MLD for which this probe request is intended. The TLV carries the link
removal TBTT countdown value maintained by the FW for that link.
Add support to extract the same.

CRs-Fixed: 3335361
Change-Id: I16c6791a443ddb166da596d404a52ff2a38da291
2022-12-11 23:52:12 -08:00
Basamma Yakkanahalli
c1bece57dd qcacmn: Handle CU and BPCC for probe and assoc response
Add changes to indicate ongoing critical update CU flags and
BPCC values in probe and assoc/reassoc response.

For beacon FW update the CU flags and BPCC values in impacted
and partner links and keeps the latest copy of BPCC for ML VDEV.
The similar CU indication needs to be considered for probe,
assoc/reassoc response.

FW indicate to host the ongoing CU flag within DTIM interval for
impacted, and latest BPCC values of AP MLDs in impacted
and partner link VDEVs as part of mgmt_rx_event.
Extract cu_vdev_bitmap and bpcc values CU information from
wmi_prb_tmpl_ml_info TLV for probe and assoc / reassoc request.

Pass these values to umac, mgmt and ol layer as part of rx status.
Refer these values to update CU flag in capability information,
and BPCC values to update BSS Parameter Change Count in RNR,
MLIE and per sta profile.

CRs-Fixed: 3301916
Change-Id: I92ededb6598f85f3ea21b9d5e69d182c6180e30d
2022-11-18 00:31:48 -08:00
Jeff Johnson
e12273c5cd qcacmn: Fix misspellings of "forwarded"
The RX REO functionality has numerous misspellings of "forwarded",
including multiple identifiers. Fix these to use the correct spelling.

Change-Id: Idc4e66e7356b978742fea30ae7ef0c9498c4f938
CRs-Fixed: 3313839
2022-10-20 03:00:21 -07:00
Jeff Johnson
ed240b1daf qcacmn: umac: cmn_services: Fix misspellings
Fix misspellings in umac/cmn_services/...

Change-Id: I74c006b3e585e3d4f6ec8c025ef313133c9e3068
CRs-Fixed: 3304695
2022-10-11 00:47:41 -07:00
Edayilliam Jayadev
de3d501003 qcacmn: Allocate memory dynamically in mgmt Rx REO module
Allocate memory dynamically for management Rx reorder data structures.

CRs-Fixed: 3260284
Change-Id: I5aee3c5a3c861f5fc99bf8ad41bcbbe3305ef172
2022-10-04 10:30:41 -07:00
Vulupala Shashank Reddy
899d504312 qcacmn: Fix FTM rx frames capture in packet capture mode
Currently the FTM rx frames are dropped in
tgt_mgmt_txrx_rx_frame_handler considering them as unspecified
packets as action category for FTM is not defined.

Define FTM action category so that the FTM frames will not be
considered as unspecified frames and dropped while processing.

Change-Id: Ieb3980978e38b3f826f42380e29798767c8f1fe2
CRs-Fixed: 3254409
2022-08-08 05:47:25 -07:00
Edayilliam Jayadev
dc98426f33 qcacmn: Reorder the structure members to avoid padding
Reorder the structure members to avoid overhead due to padding.

CRs-Fixed: 3248064
Change-Id: If26877df21dc061a81e079aca59adcf693e5a1ae
2022-07-26 06:00:50 -07:00
Edayilliam Jayadev
ac49d3b35a qcacmn: Rate limit error prints in mgmt Rx REO module
Rate limit error prints in management Rx reorder module.

Change-Id: I2f88554885568378082abd0bc41914118bb1269c
CRs-Fixed: 3249638
2022-07-24 01:01:55 -07:00
Edayilliam Jayadev
62e885aa1b qcacmn: Log raw snapshot values
Log raw values of management Rx REO snapshots for debug purposes.

CRs-Fixed: 3242558
Change-Id: Idf30985691226e835190bd3305f29e2d43e654b5
2022-07-18 02:51:36 -07:00
Kani M
c9f08ae24b qcacmn: Add beacon ratelimiting
Rate-limiting will be based on number of beacons received.
When the beacon is not from connected AP, the beacons
are dropped on a percentage of received beacons and
rate limit, which is configured by the user.

CRs-Fixed: 3230508
Change-Id: Iac591c37129fda6923ef254c2950cb0bdbb44ce9
2022-07-08 11:57:54 -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
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
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
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
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
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
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
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
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
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
Edayilliam Jayadev
1c9f82f0ec qcacmn: Use PPDU duration to find end time stamp
Use the PPDU duration given by FW to find the end time
stamp of management frames.

CRs-Fixed: 3181500
Change-Id: Ibabe82c8e2d3cd7e494e764a9a2baeded89a7300
2022-04-28 10:40:59 -07:00
Edayilliam Jayadev
94d603ee9b qcacmn: Add support for multiple snapshot versions
Add support for multiple version of management Rx reorder
shared snapshots.

CRs-Fixed: 3171325
Change-Id: Idae8d3f8179dc4a60730033e55d5744324133839
2022-04-26 10:00:35 -07:00
Edayilliam Jayadev
3d17fd1925 qcacmn: Update bitmap of valid MLO links
Update the bitmap of valid MLO links.

CRs-Fixed: 3166124
Change-Id: I295531325e7e1d787323b4bfff34e3cd1f9001ef
2022-04-20 07:52:02 -07:00
Edayilliam Jayadev
7685147fb3 qcacmn: Skip management Rx reorder for CTRL frames
Skip management Rx reorder for all the frame types
other than management.

CRs-Fixed: 3166120
Change-Id: I4b056cf89ee1e1cf3e7d18a51fbe2c09a40d0b66
2022-04-20 07:51:51 -07:00
Edayilliam Jayadev
4ccecd0b01 qcacmn: Initialize link id in reo params
Initialize link id value in the reo params structure.
Link id is derived from the pdev object.

CRs-Fixed: 3166104
Change-Id: I444f5881690c3d48729f7232d6464bc9d1c4c892
2022-04-18 22:39:47 -07:00
Edayilliam Jayadev
b8afe3b775 qcacmn: Fix compilation issues in mgmt Rx REO
Fix compilation issues in management Rx reorder module.

CRs-Fixed: 3166051
Change-Id: I34d77ebaa964181cb43e31f85f4c6288b782be61
2022-04-12 02:59:21 -07:00
Shubham Pawar
ee9cd039b3 qcacmn: Added support to get the status of mgmt rx reo sim feature
Add support to get the status mgmt rx reo sim feature

cfg80211tool wifiX g_mgmt_rx_reo_simulation

Change-Id: Ia60cd25c0b044484b3e6a44ebc536ac1cf0c3804
CRs-Fixed: 3154130
2022-04-11 23:23:27 -07:00
Shubham Pawar
78a2fe5f48 qcacmn: Call wlan_mgmt_reo_sim_stop to stop the simulation
In ucfg_wlan_mgmt_rx_reo_sim_stop() when mgmt rx reo simulation
is in progress, wlan_mgmt_rx_reo_sim_start() is called
incorrectly instead of calling ucfg_wlan_mgmt_rx_reo_sim_stop().

Fix this by calling ucfg_wlan_mgmt_rx_reo_sim_stop() instead of
wlan_mgmt_rx_reo_sim_start() in ucfg_wlan_mgmt_rx_reo_sim_stop().

Change-Id: I906618fc87448cefae54bdcdf00c7f64217362fd
CRs-Fixed: 3154187
2022-04-01 10:50:20 -07:00
Edayilliam Jayadev
0481f4ea66 qcacmn: Fix mgmt Rx REO enabled check
Fix the API which checks whether management Rx reorder
feature is enabled.

CRs-Fixed: 3111715
Change-Id: I6def92eb464b9d256160129b38b1bc189459ecc4
2022-03-30 09:43:20 -07:00
Edayilliam Jayadev
f533a06345 qcacmn: Get pdev from link id and vice versa
Add infrastructure to get pdev object from MLO HW
link id and vice versa.

CRs-Fixed: 3111712
Change-Id: I581cf871e25359b914956e86b7e541fd451277d0
2022-03-30 09:43:14 -07:00
Edayilliam Jayadev
4fb043fdff qcacmn: Add pdev open handler for mgmt Rx REO
Add pdev open handler for management Rx reorder module.
This handler stores all the snapshot addresses to the pdev
private object of mgmt Rx REO module.

CRs-Fixed: 3111704
Change-Id: Iaf12b4edb568b2a32ff901ad5d0f0717b190906b
2022-03-30 09:43:08 -07:00
Edayilliam Jayadev
f67a6e56e9 qcacmn: Expose APIs to print mgmt Rx REO stats
Expose APIs to print management Rx reorder related stats.

CRs-Fixed: 3111702
Change-Id: I5577d52f686662d2aa86550f245520ca1516b8a8
2022-03-30 08:23:56 -07:00
Edayilliam Jayadev
b4d1204cad qcacmn: Validate the MLO HW link info from global shmem
Validate the MLO HW link related info obtained from the global shared
memory arena of management Rx reorder feature.

CRs-Fixed: 3111549
Change-Id: I6fd7812dc49bfa8428b2ffbf66ae978592734bc0
2022-03-30 08:23:38 -07:00