コミットグラフ

698 コミット

作成者 SHA1 メッセージ 日付
Shreedhar Parande
e6b1ed7180 qcacmn: Read EML and MLD Cap from target
Extract EML and MLD Capabilities from Target via
wmi_service_ready_ext2_event. These values can be
used while advertising EML and MLD Capabilities.

Add helper function to get EML related delays in
Micro Secs from values got from EML and MLD advertisments.

Send EML Capabilities received from node to Target
via WMI_PEER_ASSOC.

CRs-Fixed: 3225495
Change-Id: Ibfa2ff8dbf11d4293125331376a7986e611d5f63
2022-07-23 19:14:48 -07:00
Shiva Krishna Pittala
3567bb3b57 qcacmn: Add support to process Spectral capabilities event
WMI_SPECTRAL_CAPABILITIES_EVENTID event will be sent by the target SW to
indicate the different capabilities of the Spectral HW.
Add support to process this event and extract the capabilities.

Change-Id: I03b3236b6def98d24e77b2a9ea51ee866e62e6fe
CRs-Fixed: 3238450
2022-07-22 07:00:18 -07:00
Aditya Kodukula
ec13c2ea39 qcacmn: Add infra to support DBAM feature
Add infra to support Dedicated Bluetooth Antenna Mode (DBAM)
feature. It is used to switch between dedicated antenna for
BT and shared antenna for WLAN and BT.

Change-Id: I21688093674ef9b63ee811df9168a31bd71c56b5
CRs-Fixed: 3239895
2022-07-17 23:12:37 -07:00
Shashikala Prabhu
79b3391de9 qcacmn: Replace WLAN_FEATURE_T2LM flag with WLAN_FEATURE_11BE
Replace WLAN_FEATURE_T2LM compile-time flag with WLAN_FEATURE_11BE.

Change-Id: If3253bf3aae04f434252bfc92d00b8649f831bfe
CRs-Fixed: 3238444
2022-07-12 08:57:02 -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
Utkarsh Bhatnagar
9ce3625921 qcacmn: Add TDLS wideband FW service capability
Add TDLS wideband FW service capability

Change-Id: I92a3a60d2e8b4c05888e2d9a717dc12265e2e90c
CRs-Fixed: 3223771
2022-06-30 10:54:27 -07:00
Utkarsh Bhatnagar
3031faee57 qcacmn: Add TDLS 6 GHz FW service capability
Add TDLS 6 GHz FW service capability

Change-Id: I8bf7b9b4fe2d57e5bd96018483c7eb128800ee68
CRs-Fixed: 3223678
2022-06-25 03:03:50 -07:00
abhinav kumar
edd1669c23 qcacmn: Handle vendor control command and event
WMI_ROAM_GET_VENDOR_CONTROL_PARAM_CMDID: Add support
for a new roam command to get vendor control parameters
from FW. Host needs to send proper param ID in command
(from enum WMI_ROAM_GET_VENDOR_CONTROL_PARAM_ID)
to get corresponding INI value from FW.

WMI_ROAM_GET_VENDOR_CONTROL_PARAM_EVENTID:
Add support for a new roam event to get param value
from FW. FW sends this event upon receiving
WMI_ROAM_GET_VENDOR_CONTROL_PARAM_CMDID command.

Change-Id: Ic7b3badb14daff183dd36927b4dae6bbc036e6cd
CRs-Fixed: 3225166
2022-06-25 01:08:55 -07:00
Pragaspathi Thilagaraj
87136b1636 qcacmn: Add bt_coex active field in roam scan done info
Add bt_coex active field in roam scan done info as
part of roam stats event handler.

Change-Id: Ief31efe491bede5ae4571bf0f5ace284aa6ea0fe
CRs-Fixed: 3226707
2022-06-24 18:21:28 -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
Jianmin Zhu
65161e36f3 qcacmn: Allow eht in WMI_SCAN_CHAN_LIST_CMDID
Set WMI_CHAN_FLAG_ALLOW_EHT in WMI_SCAN_CHAN_LIST_CMDID to FW.

Change-Id: I45c413a9a732e3f6be090dca6559f594bd07eeaf
CRs-Fixed: 3221023
2022-06-18 12:59:55 -07:00
Mohit Khanna
0c558b779b qcacmn: Enable notify-frame feature in FW
Enable bits in WMI_INIT command to let the FW know about host's
capability to support notify frame feature. If the feature is enabled,
host can mark certain TX frames as "notify frames" for hardware and they
need not be sent to FW. FW depends on this capability exchange to decide
whether to install HW rules for frames to be sent to HW.

Change-Id: I7158e79ae0fbdc73a2f4096ae1577337e8291246
CRs-Fixed: 3209399
2022-06-14 01:37:19 -07:00
Madhvapathi Sriram
f4bfa6616b qcacmn: Add method to configure TID queues flush
This enables the option to configure when a peer's
TID queue needs to be flushed. This is required to
discard packets that are no longer useful to the application.

Change-Id: I558debff043fc0c8038e5f5f2c815b64c90e1561
CRs-Fixed: 3130422
2022-06-09 19:37:26 -07:00
Gururaj Pandurangi
00f755c0ce qcacmn: Add eMLSR support for ML STA
Add eMLSR support for ML STA. It consists of 2 changes-
1) Since POLICY_MGR_HW_MODE_EMLSR_MODE_BITPOS macro has value of 32, a new
SET BIT function has been implemented to accommodate the 64-bit operation.
2) Add eMLSR related params to peer assoc mlo param struct to update FW
via peer assoc request.

Change-Id: I6e54c632677eacabc57338b0f159d97023b100f2
CRs-Fixed: 3185010
2022-06-08 17:10:10 -07:00
abhinav kumar
8932989aaf qcacmn: Send connected links bitmap to FW
Send connected links bitmap to FW via a command:
WMI_REQUEST_STATS_EXT_CMDID in case of MLO connection.

Change-Id: I8ea88b0474769a56f5efa0cd006ba515e858accf
CRs-Fixed: 3149043
2022-05-24 09:39:14 -07:00
Himanshu Batra
61d0aa9de0 qcacmn: Add wmi support to get link airtime usage stats
Add wmi support to get link airtime usage stats

Change-Id: Ie23c980de1178a7293eca19b3576da86d6318d21
CRs-Fixed: 3199400
2022-05-19 08:06:42 -07:00
Ripan Deuri
b434bd1dc2 qcacmn: delta tsf calculation based on use_tqm_timer flag
Add WMI parameters to support delta tsf calculation based on the
use_tqm_timer flag.

Change-Id: I6346f0b661bdede56874f4589f4dcc4d8b95c439
CRs-Fixed: 3193329
2022-05-18 05:21:00 -07:00
Abhishek Singh
ba4e301f48 qcacmn: Handle mlo_force_link_inactive in ml peer assoc flags
Handle mlo_force_link_inactive in ml peer assoc flags.

Change-Id: Ic72c42401b03cfbd5b97fafec72d45d47ab787ea
CRs-Fixed: 3192730
2022-05-18 01:40:47 -07:00
Liangwei Dong
28ceb47c1d qcacmn: populate num_max_active_vdev in WMI init
Set num_max_active_vdevs to WMI init command and
extract it from WMI ready event.

Change-Id: I6d6377c03214fcab74c675839f136301ebf27834
CRs-Fixed: 3183010
2022-05-15 20:51:00 -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
Liangwei Dong
8b89b06a6a qcacmn: Add vdev parameter wmi_vdev_param_set_traffic_config
Add mapping of wmi_vdev_param_set_traffic_config
to WMI_VDEV_PARAM_VDEV_TRAFFIC_CONFIG.

Change-Id: I2147cad3fb5726551de64edcfc41bee2707150a6
CRs-Fixed: 3191504
2022-05-12 06:52:51 -07:00
Kai Chen
627746d6bb qcacmn: AFC device deployment type support
Add init sequence handling to support AFC device deployment type
Set AFC device deployment type to regulatory private obj

Change-Id: Ib041d2010552412aaaa41395915d948aa2ea2bba
CRs-Fixed: 3190288
2022-05-10 22:12:35 -07:00
Srinivas Dasari
cc60bec109 qcacmn: Ignore H2E RSNXE support for test config
Userspace sends the vendor command WIFI_TEST_CONFIGURATION by
setting the attribute WIFI_TEST_CONFIG_IGNORE_H2E_RSNXE when
driver needs to ignore the SAE H2E mismatch for 6 GHz connection.
This is needed for certification test support

Change-Id: I5c1838598478ab74d72d57a765452d7fd989b701
CRs-Fixed: 3072578
2022-05-06 16:41:55 -07:00
Pragaspathi Thilagaraj
87ce989ee0 qcacmn: Add support for RTT PASN events
Add support in wmi to handle below new RTT PASN events:
WMI_RTT_PASN_PEER_DELETE_EVENTID
WMI_RTT_PASN_PEER_CREATE_REQ_EVENTID

Change-Id: Ib33c2def2d7ef66a6a2717e2a8e1756ab4318e4d
CRs-Fixed: 3150069
2022-04-30 22:49:49 -07:00
Deeksha Gupta
55b630d160 qcacmn: Increase the size of EHT PHY cap as per D1.4
Increase the size of EHT PHY cap as per D1.4

Change-Id: Ibe228e12a0277bd1015a3bf87a96b11410d51a77
CRs-Fixed: 3185926
2022-04-29 17:21:15 -07:00
Shashikala Prabhu
a12a2c47c8 qcacmn: Add WMI changes to send the T2LM command to FW
Add WMI changes to send TID-to-link mapping to FW as part of peer assoc
command and as part of WMI_PEER_TID_TO_LINK_MAP_CMDID.

Change-Id: Ia3a8fb10d49e1d54d6f4f418be3f684bc0147c5c
CRs-Fixed: 3183734
2022-04-29 13:50:00 -07:00
Kiran Venkatappa
a5e928212a qcacmn: Add extract API to get sw cal version
cal version is included in EXT2 svc ready message to indicate the bdf
and ftm version to host. Add API to extract this from ext2 message.

Change-Id: I83f4d6e83a3f78f993b40527aed7291c6496777c
CRs-Fixed: 3182634
2022-04-27 04:54:42 -07:00
abhinav kumar
ff760fe66c qcacmn: Add changes to process LATENCY_LEVEL_EVENT
If the multi-client Low latency feature enabled in driver,
FW sends WMI_VDEV_LATENCY_LEVEL_EVENTID to report latency
level honored by FW as a response to a request
command WMI_WLM_CONFIG_CMDID.

Change-Id: I06f7bbc2365e8b71e0ae6386ef42ef4238dafd35
CRs-Fixed: 3180940
2022-04-26 05:38:12 -07:00
abhinav kumar
4412aa9fcf qcacmn: Add wmi support for multi client vdev params
Add wmi support for below multi client latency level
vdev params:
1. Latency Level Flags
    WMI_VDEV_PARAM_NORMAL_LATENCY_FLAGS_CONFIGURATION
    WMI_VDEV_PARAM_XR_LATENCY_FLAGS_CONFIGURATION
    WMI_VDEV_PARAM_LOW_LATENCY_FLAGS_CONFIGURATION
    WMI_VDEV_PARAM_ULTRA_LOW_LATENCY_FLAGS_CONFIGURATION
2. Latency level UL/DL
    WMI_VDEV_PARAM_NORMAL_LATENCY_UL_DL_CONFIGURATION
    WMI_VDEV_PARAM_XR_LATENCY_UL_DL_CONFIGURATION
    WMI_VDEV_PARAM_LOW_LATENCY_UL_DL_CONFIGURATION
    WMI_VDEV_PARAM_ULTRA_LOW_LATENCY_UL_DL_CONFIGURATION
3. Ini to Configure default latency level for all clients
    WMI_VDEV_PARAM_DEFAULT_LATENCY_LEVEL_CONFIGURATION
4. Ini to Configure multi client Low latency Feature
    WMI_VDEV_PARAM_MULTI_CLIENT_LL_FEATURE_CONFIGURATION

Change-Id: I1f14d032855f8b7418e0cb0df09d013e49b05481
CRs-Fixed: 3180937
2022-04-26 05:38:07 -07:00
abhinav kumar
5cb3946000 qcacmn: Support multi-client service bit info from FW
Add change to fetch and save the WMI service capability
bit of FW to support multi-client low latency feature
using service bit.

Change-Id: Ifce82c06fc913668949ed06634da1eebcea80397
CRs-Fixed: 3180932
2022-04-25 05:38:28 -07:00
Pragaspathi Thilagaraj
4abe857789 qcacmn: Add support for per candidate roam frame capability
Firmware advertises per candidate roam frame capability to
indicate:
1. Firmware sends auth/assoc frames for each candidate to
which roaming was attempted.
2. Fill the frame info TLV with authentication algo = 3
for authentication frames.

Add support for the roam per candidate frame info capability

Change-Id: I95c23031ab0fbc21fb9d8db3bd54004e4d1ac234
CRs-Fixed: 3172311
2022-04-22 08:39:58 -07:00
Bing Sun
5c5059b399 qcacmn: Change puncture_pattern to puncture_bitmap
Change puncture_pattern to puncture_bitmap in peer_assoc_params.
As FW required, do the bit inversion for puncture bitmap in peer assoc,
then pass it to FW.

Change-Id: If96358aa9cc639555835ca1a1412d7893b16dbd7
CRs-Fixed: 3124854
2022-04-19 13:21:48 -07:00
Shreedhar Parande
f812869581 qcacmn: Add support for new event WMI event
Add support for new WMI event
WMI_PDEV_RSSI_DBM_CONVERSION_PARAMS_INFO_EVENTID

Change-Id: I3c76863f3b356bd976eb2e31f3ec68fc86b467ab
CRs-Fixed: 3156381
2022-04-19 08:38:36 -07:00
chunquan
c505123a57 qcacmn: Replace slave for target
Replace slave for target, and replace
master for initiator which pair of slave.

Change-Id: I51ee0ce1ce0d0dc30281388a270bda1edfac2903
CRs-Fixed: 3169180
2022-04-14 02:34:47 -07:00
sumedh baikady
52181cceb1 qcacmn: Fix Reo qref issues
1. Since peer id is reused for reconnection in MLO case,
old entries for queue desc addr is cleared. Clear the reo
internal storage and reset it back on client connection.

2. Send Qref feature WMI cmd to FW to enable the feature.

Change-Id: I6705ce121c8c25d9a2ace039dab21312fa5ea4b1
CRs-Fixed: 3156642
2022-04-12 06:31:36 -07:00
Adwait Nayak
8ccd0d1792 qcacmn: Add pktlog decode info WMI handler
Copy software image version, chip information,
pktlog json version and pdev id from the event received
from firmware.

Change-Id: I53c2fceee129fa69126ae8214fb652a744bfcbfa
CRs-Fixed: 3165004
2022-04-07 15:13:11 -07:00
Pragaspathi Thilagaraj
aa27094cab qcacmn: Add support to set 11az ext feature flags
Add support to set 11az ext feature flags
Read the firmware capability for 11az features and
advertise the corresponding wiphy flags.

Change-Id: I85f6cc2f65a5d9892830f66a726cffc823093bca
CRs-Fixed: 3150584
2022-03-23 19:42:26 -07:00
Shreedhar Parande
1758b401e1 qcacmn: Add support to RSSI DBm conversion API
Add WMI PSOC rssi Dbm conversion support service id.

Change-Id: I0fe9e7519926b26372a222529d66345e1a3c5655
CRs-Fixed: 3152182
2022-03-21 05:35:53 -07:00
chunquan
37d7d4bed0 qcacmn: Replace blacklist abbreviation bl for dl
Replace blacklist abbreviation bl for denylist dl.

Change-Id: Ifdb65060ec65fa65a0804c040734e2563c064b1b
CRs-Fixed: 3153293
2022-03-21 03:17:13 -07:00
Pooventhiran G
d0f0047cdd qcacmn: Add support for PN Rx Filter WMI
Add WMI support to set PN Rx Filter which is used to forward
frames to host upon PN failure.

Change-Id: Ib32abc681e17e1a6189a295314a497fc0c21b15a
CRs-Fixed: 3150832
2022-03-16 19:34:20 -07:00
Pooventhiran G
f5e2da429b qcacmn: Add Get RxPN WMI to obtain Rx PN
Add WMI support to obtain Rx packet number of a non-bss peer.

Change-Id: I841c1869299ebf5eeb21ee6406426a964d2d7112
CRs-Fixed: 3150832
2022-03-16 19:34:14 -07:00
Neelansh Mittal
c903ec29a1 qcacmn: ADD WMI unified param and APIs for PPEDS
Add WMI unified param and APIs to enable PPE based
routing.

Change-Id: I32e475dc684938180c837e3c6a4980a9b5a14a21
CRs-Fixed: 3147720
2022-03-15 00:11:00 -07:00
Priyadarshnee Srinivasan
d4faaf9d6b qcacmn: Add wmi service-id for radar found cfreq
Add WMI service-id for radar found center freq
and populate_tlv_service for WMI_IS_RADAR_FOUND_CHAN_FREQ_IS_CENTER_FREQ

CRs-Fixed: 3135120
Change-Id: I2f25bc0c9629a0bddf79b7f52eb5fcb82206cdc8
2022-03-14 22:31:17 -07:00
Madhvapathi Sriram
4cbd31b6b4 qcacmn: User MCC quota setting
Make MCC quota limits configurable

Change-Id: I61a0b8124ab193f8d2c05ec36f0e97c85a1df774
CRs-Fixed: 3106155
2022-03-09 02:45:46 -08:00
chunquan
19cc13911c qcacmn: Replace blacklist/whitelist with denylist/allowlist
Replace blacklist/whitelist with denylist/allowlist
in qca-wifi-host-cmn.

Change-Id: I1a27d025ccb9d5fcc3c573d47a84f9667a229c9b
CRs-Fixed: 3098934
2022-03-05 07:11:01 -08:00
Jhalak Naik
24174b7be8 qcacmn: Add support for Spectral FFT recapture config
Add support to handle the FFT recapture config and
pass this to FW. The recapture feature must be
enabled only for spectral scan period > 52 us and
Normal Spectral scan.

Change-Id: I6b92fcd674ae95bcd0a23892ef9ccc6ba487d6ad
CRs-Fixed: 3140890
2022-03-04 13:45:00 -08:00
Liangwei Dong
29ffc29223 qcacmn: Add MCC Quota event handler
Handle WMI event WMI_RESMGR_CHAN_TIME_QUOTA_CHANGED_EVENTID
and indicate to protocol layer.

Change-Id: Ie842998ed50a52351dd24857c0565c535a2edca1
CRs-Fixed: 3101765
2022-03-04 09:08:54 -08:00
Vivek
3cf850fbf1 qcacmn: Handle all params of TSF action cmd
Extract all the parameter provided as a response from the firmware
for the TSF action command.

This could be used to calculate the difference between the TSF
and TQM clocks

CRs-Fixed: 3136492
Change-Id: I8377bd177f5ea246c9b7939315509ab0b6f2051c
2022-02-25 00:00:48 -08:00
Venkateswara Swamy Bandaru
804b9e2382 qcacmn: Add EHT PPE threshold support
Add support for EHT PPE threshold's. Store 2G and 5G thresholds received
in service ready. Fill peer PPE thresholds for EHT peer.

Change-Id: Id5c8310cbf34c59a3d88072b37ce3f871354ed17
CRs-Fixed: 3128586
2022-02-21 22:41:33 -08:00
Santosh Anbu
9a6e313fed qcacmn: Support Multi AST delete service bit info from FW
Add change to fetch and save the WMI service capability of FW to
support multi AST delete using service bit.

Change-Id: I038073085dca1370bafe691b6b0ba8c4476be7a2
CRs-Fixed: 3118892
2022-02-12 03:16:12 -08:00