提交图

25574 次代码提交

作者 SHA1 备注 提交日期
Aditya Kodukula
c4ca02df28 qcacld-3.0: Add infra to disable/enable wifi
As part of protected dynamic interface control feature, add
infra to disable/enable wifi, when invoked from user space.

Change-Id: I3f6c2abcef1ef89cbd0a735820de9b54d37bfa29
CRs-Fixed: 3166467
2022-04-26 14:59:18 -07:00
Madan Koyyalamudi
372e1ff370 Release 5.2.1.19D
Release 5.2.1.19D

Change-Id: Ifc89986e44ecb569c01d8b3fec728b5ae01dee1d
CRs-Fixed: 774533
2022-04-26 12:18:06 -07:00
Deeksha Gupta
59122a1e30 qcacld-3.0: Add support to decode EHT cap IE
Currently parser code doesn't have support to decode optional
fields in EHT capability IE which are dependent on HE cap IE.

To achive this, add API to decode EHT cap IE in assoc request or
response frames.

Change-Id: Ie1781de079ecc6c4860fdcb4a2abb3ffeff10fc0
CRs-Fixed: 3135825
2022-04-26 12:18:06 -07:00
Deeksha Gupta
eed6967a51 qcacld-3.0: Add support to encode EHT capabilities IE
Currently parser code doesn't have support for packing of optional fields
in EHT capability IE which are dependent on HE cap IE.

To achive this, add API to encode EHT cap IE and include the generated EHT
capability IE bytes in assoc request or response frames.

Change-Id: Iec975e3f11450673c682eb85422dc5436c35089e
CRs-Fixed: 3127621
2022-04-26 12:17:59 -07:00
Ashish
955fdc0d79 qcacld-3.0: Add support to cache peer nss in sap mode
Currently driver does not caches peer nss and it needs this info
for big data stats. When driver receives big data stats command
it always returns nss as 0 which is not correct.

To address above issue, add support to cache peer nss in SAP
mode.

Change-Id: I5152581d7d66b5bf20f6102dcb9edaa4e23b35bc
CRs-Fixed: 3174420
2022-04-26 12:17:53 -07:00
Vinod Kumar Myadam
94da0db1a5 qcacld-3.0: Get mgmt frame info from frame buffer for logging
Issue scenario, 1st Addba response tx and set is_mgmt_data_valid false.
2nd TX frame happens for valid frame that needs to be logged and set
wma_handle->is_mgmt_data_valid to true. Then the 1st frame TX completion
tried to access wma_handle->mgmt._data. It may access invalid context if
race condition happened.

Move management frames handling from lim_send API to tx_complete_cnf API

Change-Id: Ib5090dcd274160b3a9d7b9975d0839ec06616b86
CRs-Fixed: 3154710
2022-04-26 12:17:47 -07:00
Madan Koyyalamudi
8200002a6c Release 5.2.1.19C
Release 5.2.1.19C

Change-Id: Ib54dab694887197efe4cc6d2322038b4fe292b2f
CRs-Fixed: 774533
2022-04-26 10:00:18 -07:00
bings
5c9765db81 qcacld-3.0: Check cbs->vdev after getting g_cbs_lock lock
Currently there is a corner case wlan_cbs_timer_handler is called
with cbs->vdev being NULL.

In wlan_cbs_iterate, cbs->vdev is checked before getting g_cbs_lock
lock, then wlan_son_cbs_disable is called which sets cbs->vdev as
NULL and sets cbs state as CBS_INIT, then in wlan_cbs_iterate, it
gets g_cbs_lock lock and set cbs state as CBS_WAIT and start timer.
Finally in timer callback, cbs->vdev is NULL and cbs state is CBS_WAIT.

Check cbs->vdev after getting g_cbs_lock lock in wlan_cbs_iterate.
g_cbs_lock should protect all fields in struct son_cbs.

Change-Id: I393db09ac29e19fd29e546035c37062c04da7f7d
CRs-Fixed: 3179382
2022-04-26 10:00:18 -07:00
Madan Koyyalamudi
45148112e6 Release 5.2.1.19B
Release 5.2.1.19B

Change-Id: Ia83beeefaf4fbcf9f517417c34477642055c5948
CRs-Fixed: 774533
2022-04-26 08:27:10 -07:00
Bing Sun
5078eb797e qcacld-3.0: Add puncture support
Make puncture information can be populated and parsed.
Pass the puncture bitmap to FW in peer assoc wmi command.

Change-Id: I9d6f7ead90cfe2e2b366ffb37f74bfac8404c2b7
CRs-Fixed: 3145854
2022-04-26 08:27:10 -07:00
Deeksha Gupta
a5d975c874 qcacld-3.0: use cfg80211_register_sta_mlo_link()
Use cfg80211_register_sta_mlo_link() to register a MLO
link wdev.

Change-Id: I0cba8ed6d89e9eb00b81a4e867c035d094aafa16
CRs-Fixed: 3180514
2022-04-26 08:27:04 -07:00
Madan Koyyalamudi
d8db60f378 Release 5.2.1.19A
Release 5.2.1.19A

Change-Id: I116dd376c4d198f2059a0bd63011627ffc4cbc2c
CRs-Fixed: 774533
2022-04-26 07:03:33 -07:00
Bing Sun
4397d7dc97 qcacld-3.0: Add new API to get connected sta rssi and data rate
Add new API for SON to get connected sta rssi and data rate.

Change-Id: Icd8ed9b6e4462b4898b32d28d9fa3f4e2fbc230d
CRs-Fixed: 3180267
2022-04-26 07:03:32 -07:00
Vishal Miskin
d75a1c786c qcacld-3.0: Add support for QCA_WLAN_TWT_SET_PARAM command
Add support for QCA_WLAN_TWT_SET_PARAM command to configure
QCA_WLAN_VENDOR_ATTR_TWT_SET_PARAM_AP_AC_VALUE attribute.
This attribute provides access category value for
WMI_PDEV_PARAM_TWT_AC_CONFIG. This is used by firmware to
configure access category for TWT HW queue in TWT Responder
mode(SAP).

Change-Id: I5131967ff2061bf6afad7bc5f091a7eb5ee01b8a
CRs-Fixed: 3168197
2022-04-26 07:03:27 -07:00
Madan Koyyalamudi
ad770886cb Release 5.2.1.19
Release 5.2.1.19

Change-Id: I8cf53d5de1bf6e6688beef3d2f1f08bb3c9ea3ab
CRs-Fixed: 774533
2022-04-26 05:37:49 -07:00
Gururaj Pandurangi
572413e48f qcacld-3.0: Increase buffer size to 1024 for ADDBA for EHT
The current maximum buffer size for an ADDBA req/response action
frame is 256 bytes. This needs to be increased to 1024 in case of
EHT session.

Change-Id: I6579bfd0e0a535e8fb71bdd1e4d9932f30ace605
CRs-Fixed: 3182383
2022-04-26 05:37:48 -07:00
abhinav kumar
e65264f599 qcacld-3.0: Process latency level cmd and event
If the multi-client Low latency feature is enabled
in the driver, the host includes a multi-client id
bitmap and the corresponding latency level and sends
the WMI_WLM_CONFIG_CMDID command to set the latency
level in the firmware.

FW calculates a stringent latency level and as a
response to the WLM config command, Fw sends an event
WMI_LATENCY_LEVEL_EVENTID to the host to configure a
stringent latency value.

Change-Id: Ib7a474956f39ef26e1d957b7619ebb8ac87233a6
CRs-Fixed: 3180939
2022-04-26 05:37:43 -07:00
abhinav kumar
4a0777d862 qcacld-3.0: Configure FW flags for each latency level in FW
As per the new design, If the multi-client Low latency feature
enabled then the host should configure the below value to FW
at the time of driver init time via multiple SET_VDEV_PARAMS
commands:
1. Latency Level Flags for each latency level
2. Default latency level for all clients
3. INI configurations for multi-client Low latency Feature

If the multi-client Low latency feature is enabled, FW uses
these configurations while processing command
WMI_WLM_CONFIG_CMDID.

Change-Id: If46c253ab8b3b22a5c7723a278feb4daaed0ab2b
CRs-Fixed: 3180934
2022-04-26 05:37:37 -07:00
Madan Koyyalamudi
bc20e50328 Release 5.2.1.18Z
Release 5.2.1.18Z

Change-Id: I21eeafeeed77bbb72f1b8e9f09593a756d567ebe
CRs-Fixed: 774533
2022-04-25 19:55:21 -07:00
Aditya Kodukula
b1e0b17591 qcacld-3.0: Mem zero dynamic fields only in dp_prealloc_deinit
As per current driver implementation, whenever we load the wlan
driver, we initialize the dp_prealloc structs with default values,
which are used by dp_prealloc_init to allocate memory and during
driver unload, in the function dp_prealloc_deinit, after freeing
the allocated memory, we mem_zero the dp_prealloc structures.
Unfortunately, this zeros both the static and dynamic content.

In case of soft driver unload/load, where we internally
de-init/init the wlan driver, dp_prealloc_init fails because
we now don't know size of memory to be allocated. That info
was part of the static memory that had been zeroed during
deinit.

To address this issue, only zero the dynamic fields of
dp_prealloc structs in dp_prealloc_deinit.

Change-Id: If450d426ee655f6c2b32febdd001ab6d5489b51e
CRs-Fixed: 3174685
2022-04-25 19:55:21 -07:00
Madan Koyyalamudi
177c9f46c1 Release 5.2.1.18Y
Release 5.2.1.18Y

Change-Id: Ia0637ac18d30567715abd64b3c34efbe84be64d1
CRs-Fixed: 774533
2022-04-25 18:41:56 -07:00
David Oladunjoye
377dfe07b5 qcacld-3.0: Update error code for TWT setup for STA disconnected state
Expected error code is not returned for TWT setup with no
associated AP. Error code has been updated to correct value.

Change-Id: I5234026410a1bcfaf1151c6b7da272a1784d3fe3
CRs-Fixed: 3181078
2022-04-25 18:41:56 -07:00
Madan Koyyalamudi
0769185b56 Release 5.2.1.18X
Release 5.2.1.18X

Change-Id: Ida9bf176367bcca1e974b3b65c3f05b68581ed8c
CRs-Fixed: 774533
2022-04-25 16:35:09 -07:00
Pragaspathi Thilagaraj
2bbd4b2892 qcacld-3.0: Log SAE authentication frames as part of roam logs
SAE authentication logging events are sent from host
driver during connection as well as during roaming.
But the other roaming frame related stats are printed
as part of the WMI_ROAM_STATS_EVENTID handling.
Since this roam stats event is received after preauth
frame related logs are queued to userspace, the order
of the logs are not correct.

Cache the SAE preauth logs in mlme and print them
upon receiving ROAM stats event. Read the firmware
service capability to decide if new caching needs
to be used or legacy behavior needs to be followed

Change-Id: I76381b9deef222f1481325974e2b5d9730eb2b67
CRs-Fixed: 3154147
2022-04-25 16:35:09 -07:00
Madan Koyyalamudi
bdb2216a0f Release 5.2.1.18W
Release 5.2.1.18W

Change-Id: Iae1bb83915164f624b5f0bbd55424e0a47d07c4d
CRs-Fixed: 774533
2022-04-25 14:08:07 -07:00
nakul kachhwaha
df9500aef0 qcacld-3.0: Fix compilation issue due to missing braces
Compiler with option -Werror=missing-braces enabled wants
extra pair of braces while initializing variables during
declaration. Add extra pair of braces to fix compilation
issue.

Change-Id: I4ffd2711985cb01a9f6800800165280bddf00590
CRs-Fixed: 3180670
2022-04-25 14:08:07 -07:00
Madan Koyyalamudi
d8ffcc4d87 Release 5.2.1.18V
Release 5.2.1.18V

Change-Id: Ia272e1982a3cab1a2b74f94acf8c0f6fed5ed03d
CRs-Fixed: 774533
2022-04-25 12:47:16 -07:00
Deeksha Gupta
c2fd20f11a qcacld-3.0: Update EHT IEs handling as per new definitions
EHT capabilities and EHT operation IE definitions are updated as per
new draft version D1.3. Update corresponding IE handling as per new
definitions.

Change-Id: I33edb03e99fd122e70ecd55b880a3e928884515b
CRs-Fixed: 3108224
2022-04-25 12:47:16 -07:00
Deeksha Gupta
6c27033b50 qcacld-3.0: update EHT capabilities IE as per draft 1.3
Update dot11f EHT capabilities IE definitions as per 11be draft 1.3
specification.

Change-Id: Ia60418923c32bcf5cd0b1270f9a4396dea857759
CRs-Fixed: 3107164
2022-04-25 12:47:09 -07:00
Deeksha Gupta
375f266783 qcacld-3.0: update EHT operation IE as per draft 1.3
Update dot11f EHT operation IE definitions as per 11be draft 1.3
specification.

Change-Id: I197333e7f949ecf83e18e1a375f0c7f5bfe5b512
CRs-Fixed: 3146350
2022-04-25 12:47:04 -07:00
Madan Koyyalamudi
3bc8da94f0 Release 5.2.1.18U
Release 5.2.1.18U

Change-Id: If201f473aa6c1607407a2780a5782bc1554d5d69
CRs-Fixed: 774533
2022-04-25 10:15:28 -07:00
Utkarsh Bhatnagar
658e6789d3 qcacld-3.0: Cleanup MPC_UT_FRAMEWORK Config
Cleanup MPC_UT_FRAMEWORK Config

Change-Id: Ifd05bdae81070c948e63d753bd671e7b41c0228c
CRs-Fixed: 3179082
2022-04-25 10:15:28 -07:00
Utkarsh Bhatnagar
7c666d30a8 qcacld-3.0: Cleanup MPC Unit Test Framework
Cleanup MPC Unit Test Framework.

Change-Id: I76aa0ad227069b68b9efedbbc7e87573e9a004c0
CRs-Fixed: 3178591
2022-04-25 10:15:22 -07:00
Madan Koyyalamudi
38c3c33d37 Release 5.2.1.18T
Release 5.2.1.18T

Change-Id: I3f1cb3424cc60f88986c25f9cfc44a8a9e63570c
CRs-Fixed: 774533
2022-04-25 08:57:57 -07:00
chunquan
2e87d35525 qcacld-3.0: Remove WLAN_FEATURE_11BE_MLO from middle of function
Remove all WLAN_FEATURE_11BE_MLO from middle of function.

Change-Id: I17cbaf90ae9b6f428c785413723a5dfb3619de0c
CRs-Fixed: 3175450
2022-04-25 08:57:56 -07:00
Ananya Gupta
2f50109251 qcacld-3.0: Enable detection of data stall events
Currently, data stall events are not detected individually.
Updated gEnableDataStallDetection ini provides control over
individual data stall events if bit 0 is not set.

Change-Id: Id4fd7f10f0806a39c5bdb7b8c097c26894dc5340
CRs-Fixed: 3159405
2022-04-25 08:57:51 -07:00
Madan Koyyalamudi
8b62f67023 Release 5.2.1.18S
Release 5.2.1.18S

Change-Id: I386b8dece2e49d932d8ef610125bf13cf7900b2c
CRs-Fixed: 774533
2022-04-25 05:38:05 -07:00
abhinav kumar
f95d76a857 qcacld-3.0: Add multi-client service bit caps and INI support
Add multi-client latency level service bit capability support,
WLAN_SOC_WLM_MULTI_CLIENT_LL_SUPPORT, to check whether the FW
supports multi-client latency level event or not.

Add INI "wlm_multi_client_ll feature" to enable/disable multi
client latency level feature from the host side.
 * @min: 0
 * @max: 1
 * @default: 0

If firmware sends multi-client latency level service
bit capability to host and host enables multi-client latency
level feature via INI, the host waits for an event
WMI_VDEV_LATENCY_LEVEL_EVENTID as a response to a request
command WMI_WLM_CONFIG_CMDID.

Change-Id: I5cbea89e67caabac5db70b7f0a91c18bdd512e9b
CRs-Fixed: 3180928
2022-04-25 05:38:05 -07:00
Madan Koyyalamudi
c6f0deeeaf Release 5.2.1.18R
Release 5.2.1.18R

Change-Id: I171f581e2becf4dfc1728c6781eef90759ffc2d2
CRs-Fixed: 774533
2022-04-25 01:47:56 -07:00
Prateek Patil
32afe61a53 qcacld-3.0: Enable FISA compilation for WHUNT for moselle
Enable FISA compilation for MSL WHUNT
Change-Id: I36e975096cb1bd982396b0cdcf4c4b84a72a5048
CRs-Fixed: 3177543
2022-04-25 01:37:20 +05:30
Madan Koyyalamudi
a9c8cf64f1 Release 5.2.1.18Q
Release 5.2.1.18Q

Change-Id: I33d98f8c50f4b9428b251f8207a1b298ea159106
CRs-Fixed: 774533
2022-04-22 10:57:57 -07:00
Surya Prakash Sivaraj
cbf4312913 qcacld-3.0: Fix incorrect typecasting of ext ie
The extended cap IE from the hostapd is of variable
length, but it is always type casted to a fixed length
of 11 octets. This leads to OOB access of memory and
incorrect data gets read. In this case, beacon protection
is not enabled in the ext cap IE, but due to OOB access
beacon protection is read as 1.

Fix the OOB access by typecasting the IE to the length of
the IE.

Change-Id: Id9a54e3467fa9f7a49687da41411a421fd9c9d37
CRs-Fixed: 3178294
2022-04-22 10:57:57 -07:00
Surya Prakash Sivaraj
0c0fafc085 qcacld-3.0: Add support to dump frames on demand
Add support to dump the full management,eapol,
dhcp, arp frames based on the level of the
debug_packet_log configured through ini gEnableDebugLog.

The dump levels are as follows:
* 0x1  - Enable mgmt pkt logs (except probe req/rsp, beacons).
* 0x2  - Enable EAPOL pkt logs.
* 0x4  - Enable DHCP pkt logs.
* 0x8  - Enable mgmt action frames logs.
* 0x10 - Enable ARP pkt logs.
* 0x0  - Disable all the above connection related logs.

Change-Id: If572cccb327da785dd0d56cff6d37ba170b15cc8
CRs-Fixed: 3173604
2022-04-22 10:57:51 -07:00
Jia Ding
e19974e4a1 qcacld-3.0: Enable uplink delay feature for WCN6750
Enable uplink delay feature for WCN6750 chipset.

Change-Id: Ie37172a0b845529fc4b82c9812a84077d6d4a282
CRs-Fixed: 3180279
2022-04-22 10:57:46 -07:00
Madan Koyyalamudi
5de8655216 Release 5.2.1.18P
Release 5.2.1.18P

Change-Id: I7a57586a55b7143958e944da1fdfb7efdaada4d4
CRs-Fixed: 774533
2022-04-22 07:26:27 -07:00
Jia Ding
29f3bdd27b qcacld-3.0: Update support for 320MHz to wiphy
Update support for 320MHz to wiphy eht caps structure.

Change-Id: I1acaf5a51360a1c5085a980870e75035c0b536bf
CRs-Fixed: 3180232
2022-04-22 08:22:35 +08:00
Madan Koyyalamudi
e31e7b21f2 Release 5.2.1.18O
Release 5.2.1.18O

Change-Id: I1d257a6b23e85872391d3006dfe907ec6ff73457
CRs-Fixed: 774533
2022-04-21 08:53:55 -07:00
Abhishek Singh
2b79efb8d2 qcacld-3.0: Fix SBS PCL freq list to handle 3 SCC freqs
If there are 3 or more 5/6Ghz SCC freq, avoid filling SBS freq in
PCL as due to 3 home freq limitation, 3rd freq will always be
leading to SBS.

So add SBS freqs in PCL, only if number of SCC are 1 OR 2 with 5Ghz
MCC/SCC.

Change-Id: Ib97589df50bbacafa56766dd4b8af6d9f5d1419b
CRs-Fixed: 3178339
2022-04-21 08:53:54 -07:00
Madan Koyyalamudi
d51761c331 Release 5.2.1.18N
Release 5.2.1.18N

Change-Id: I3add89b2c92507a8fb4d982c92551f20b05d4724
CRs-Fixed: 774533
2022-04-21 07:24:32 -07:00
Srikanth Marepalli
e2e3e0326e qcacld-3.0: Use WLAN_WEAR_CHIPSET to modify INI path
On Wear HL based target with keystone kernel, it generates
WLAN driver with name "qca_cld3_wlan.ko" based on macro
definition WLAN_WEAR_CHIPSET. But the driver was not loading
because of the old INI path and /dev path.
This commit modifies the INI path and /dev path based on
macro defined i.e. WLAN_WEAR_CHIPSET.

Change-Id: I6d457a3bb708de3175c40b0f2b3ba0ebde915838
CRs-Fixed: 3168115
2022-04-21 07:24:32 -07:00