Grafico dei commit

1578 Commit

Autore SHA1 Messaggio Data
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
Rajeev Kumar
fd2ba9f34e qcacmn: Log qmi event id in hex for easier debugging
Log wmi event id received in QMI stats response in hex for
easier debugging.

Change-Id: I7812f6aa31ccaa8c186679cac49e7a0a192ac7f5
CRs-Fixed: 3199171
2022-05-18 23:01:53 -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
Shashikala Prabhu
e8e9381db1 qcacmn: Correct the TID-to-link mapping debug print
Correct the TID-to-link mapping debug print.

Change-Id: I625c646f0747583be6809180ca195c6ba154d9cd
CRs-Fixed: 3196565
2022-05-15 11:29:50 -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
Aravind Kishore Sukla
6932ea7f8a qcacmn: Replace kmsg logs to debug logs
Change kernel log level to debug level

Change-Id: Ib2736aff0f653d046d502d460f204bba2247246f
CRs-Fixed: 3182588
2022-05-10 09:11:47 -07:00
Himanshu Batra
826f250128 qcacmn: Add support for mlo peer delete params
Add support for mlo peer delete params

Change-Id: Ic6ef0786f73a7bb16c8a5de035b13a0a56862125
CRs-Fixed: 3188357
2022-05-09 04:08:28 -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
Shiva Krishna Pittala
80edcddb01 qcacmn: Spectral init path changes for QCN9224
Add the Spectral init path changes required for Waikiki.

Change-Id: I6c6bb826ff4ce02988560100b187fe1acffa3f7d
CRs-Fixed: 3160798
2022-05-05 01:21:04 -07:00
Venkateswara Swamy Bandaru
7d275c46f6 qcacmn: Add EHT PPET peer debug prints
Add EHT PPET peer debug prints on assoc path.

Change-Id: I6e2217bc3e4fb827243a8c718f4bd546f8d72c05
CRs-Fixed: 3186652
2022-05-04 10:48:40 -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
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
Kiran Venkatappa
ae6d816cbf qcacmn: Enable copy engine 14 for diag on qcn9224
Copy Engine(CE14) is used for diag events on qcn9224. Add changes to
configure this CE as dest ring and fix diag event handler to use
wmi_handle from first pdev similar to other WMI events.

Change-Id: I314939169f9be32cd277af68dcd3ef7a0eb06187
CRs-Fixed: 3177987
2022-04-28 06:50:18 -07:00
David Oladunjoye
52945c51a9 qcacmn: umac: Add mapping for WMI to Host TWT nudge status
Add mapping for WMI_NUDGE_TWT_STATUS_ALREADY_PAUSED on host side.

Change-Id: Ia7bcd78cfc709677b9b28a9fc2703e30f3cb2b7b
CRs-Fixed: 3181119
2022-04-27 13:01:48 -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
Kiran Venkatappa
25753f9cc8 qcacmn: Use correct macro to get pdev_id from mac_phy_caps
pdev_id and hw_link_id is included in same uint32. Lower 16 bits are for
pdev_id and higher 16 bits are for hw_link_id. Use proper macro to get
pdev id from mac_phy_caps.

Change-Id: I91806c0fba63767efa0105df5697dd685f38b819
CRs-Fixed: 3182651
2022-04-27 00:50:44 -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
chunquan
f9fa73c67e qcacmn: Remove WLAN_FEATURE_11BE_MLO from middle of function
Remove all WLAN_FEATURE_11BE_MLO from middle of function.

Change-Id: Icb826041416528bfe3c6e06d88116d3e359eb969
CRs-Fixed: 3175490
2022-04-25 08:58:22 -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
Bing Sun
142907bc9e qcacmn: Change puncture_pattern to puncture_bitmap
Change puncture_pattern to puncture_bitmap in mlme_channel_param.
As FW required, Do the bit inversion of puncture bitmap for vdev
start params, then send it to FW.

Change-Id: Ia0d95c014cf2c1dabc6c18b6b329b7a372bcb8ee
CRs-Fixed: 3124841
2022-04-19 13:21:42 -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
Divyajyothi Goparaju
33d1d87ee1 qcacmn: Add firmware_default mode support for elna_bypass
Previously elna_bypass is of type bool, which check for
elna_bypass enabled or disabled with en_dis variable

Change en_dis to elna_mode of enum extlna_mode
to support extra mode of firmware_default

Change-Id: I99fba1e69c1b9a68024b266ec63b3d6be29f83e0
CRs-Fixed: 3169270
2022-04-15 05:11:47 -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
Qun Zhang
debe09f974 qcacmn: Let WMI op extract_roam_event enabled for LFR2/3
WMI op extract_roam_event is also needed to extract roam event
of LFR2, so let it enabled for LFR2/3 both.
Due to struct roam_offload_roam_event is only defined for MCC,
add MCC specific macro CONN_MGR_ADV_FEATURE to protect it.

Change-Id: Ie9724ee578feb60ada30fe75ed3f155a2bbe77a9
CRs-Fixed: 3167557
2022-04-08 14:12:44 -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
Jeevan Kukkalli
7f9da4ae12 qcacmn: Add lite monitor set/get functions
-Add lite monitor tx/rx filter config set/get fucntions
-Add lite monitor tx/rx peer config set/get functions

Change-Id: I47cc1085c64468b8a0fada871e2f5d3707ca7063
CRs-Fixed: 3078298
2022-04-05 10:11:03 -07:00
Manoj Ekbote
52cb1a0916 qcacmn: Change the return value for non-TLV targets
When non-TLV targets are used, the WMI event table is not populated.
So, it shouldn't be treated as fatal and WMI event register/unregister
functions can return NOSUPPORT instead of FAILURE.
Handle this value in TWT code.

Change-Id: I5bc8e7aae2e572c84ea0333c967cff527d5cbcc3
CRs-Fixed: 3145077
2022-03-29 12:22:35 -07:00
Shashikala Prabhu
09d9e4ed79 qcacmn: Set size of wmi_bcn_tmpl_ml_params tlv as zero
TLV wmi_bcn_tmpl_ml_params was used to send the CSA/Quiet related
information to FW for the partner links. This TLV is deprecated now as FW
internally derives this information for the partner vdevs. Hence, set the
size of this TLV as  0.

Change-Id: Ibd783f5eed93872a6953dc2231b019f27a41109d
CRs-Fixed: 3157298
2022-03-28 04:28:12 -07:00
Jianmin Zhu
59a0a0fe19 qcacmn: Revert change "Tag ps wmi cmd during RTPM suspend"
Avoid sending any new WMI command during RTPM WoW sequence.

Change-Id: I17613901ea825724ec1389de53b02e80fbe56b3e
CRs-Fixed: 3158970
2022-03-24 18:16:23 -07:00
Liangwei Dong
1f932c511b qcacmn: Include mcc quota header files
Include mcc quota header files to enable MCC QUOTA
feature.

Change-Id: I17aa9f4f1ba360245f6a7e0dfcc1ad204af7aaaf
CRs-Fixed: 3151008
2022-03-23 21:10:05 -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
Jianmin Zhu
142b7d1589 qcacmn: Tag ps wmi cmd during RTPM suspend
Tag ITO config wmi cmd sent during RTPM suspend, or immediate
RTPM resume will come, RTPM suspend will fail.

Change-Id: I43952b013fd37f15b44252ae5f19e0e2c06d6064
CRs-Fixed: 3150683
2022-03-17 11:19:57 -07:00
Vijay Krishnan
fbfdbb961d qcacmn: Extract reg chan priority from WMI event
Extract the regulatory channel priority value as part of the
wmi_regulatory_chan_priority_struct, sent by the target, through the
WMI_REG_CHAN_LIST_CC_EVENTID.

CRs-Fixed: 3143309
Change-Id: I3fe21c47fc0faa1b69525614bcf990f5ab1d5a79
2022-03-17 03:44:58 -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
Hariharan Basuthkar
9a986b327b qcacmn: Add debug prints in the AFC event handler
Add debug prints to display the AFC event parameters in the WMI layer.

Change-Id: If9d06ccfc9c155d216119276d0727546afb9173c
CRs-Fixed: 3130926
2022-03-16 12:26:13 -07:00
Yu Wang
53441b208a qcacmn: do not add MLO params if MLD is not set for vdev
If MLD is not set for a vdev, do not add MLO params
in vdev create command.

Change-Id: Ie726cd30165a541357422851848fb1da9790d64b
CRs-Fixed: 3138070
2022-03-15 05:02:57 -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