Commit gráf

29279 Commit-ok

Szerző SHA1 Üzenet Dátum
Ashish Kumar Dhanotiya
08ca873aa4 qcacld-3.0: Add helper APIs in policy mgr
With this change add two helper APIs to check if the input
concurrency mode is SAP mode and to check if the input mode
concurrency mode represents beaconing mode.

Change-Id: Iccc82fccf20e43f600efbb4a83c00d51f1d2cd14
CRs-Fixed: 3521665
2023-06-14 03:12:18 -07:00
Rahul Choudhary
1de49a421f Release 5.2.1.70R
Release 5.2.1.70R

Change-Id: If5516f9c5880e17a35312877d2453471ff0a1234
CRs-Fixed: 774533
2023-06-13 15:36:19 -07:00
David Oladunjoye
c6147ddde4 qcacld-3.0: Populate twt eht cap in mlo during assoc req
Currently, there is no logic to update restricted_twt cap in mlo
ie for assoc req. Fix is to add twt eht cap check in mlo assoc req.

Change-Id: Ia83d2076f4dc974e1de7f087dd89bc515f6c13cb
CRs-Fixed: 3516980
2023-06-13 15:36:18 -07:00
Rahul Choudhary
e0010f035e Release 5.2.1.70Q
Release 5.2.1.70Q

Change-Id: I33456361c649413ec4918f5ccfceea9b5cff36c2
CRs-Fixed: 774533
2023-06-13 09:42:14 -07:00
Arun Kumar Khandavalli
6cc83bab0a qcacld-3.0: Set max group key only when firmware supports multipass
In api wma_rx_service_ready_ext2_event(),Set max group key
to firmware only if supports multipass sap.

Change-Id: I58ba5c53e81209e9a95878dca9bc5a5668b0edb0
CRs-Fixed: 3521352
2023-06-13 09:42:13 -07:00
Rahul Choudhary
19b5df9c82 Release 5.2.1.70P
Release 5.2.1.70P

Change-Id: I294595e9c525aa98c4ffa835a27ea2da8bf147f1
CRs-Fixed: 774533
2023-06-12 23:35:48 -07:00
Will Huang
2150c9edd1 qcacld-3.0: Add AFC osif vendor command support
Add HDD osif AFC vendor command support and PLD send AFC response
data to target support. Call AFC common API to init/deinit AFC
component.

CRs-Fixed: 3375786
Change-Id: I84342b6ea3b2f14c75eba8745cb17070f404b8d1
2023-06-12 23:35:47 -07:00
Rahul Choudhary
4b055fd0bb Release 5.2.1.70O
Release 5.2.1.70O

Change-Id: I49d58edc6a05849490d04f17c4762d513b3e7802
CRs-Fixed: 774533
2023-06-12 20:35:15 -07:00
Aravind Kishore Sukla
3182d06137 qcacld-3.0: Pass net_device as arg for hdd_tid_to_link_map
Pass net_device as arg for hdd_tid_to_link_map API

Change-Id: I73964ef93b0e6c5ad7ae8305de9d81cfff0f730f
CRs-Fixed: 3526810
2023-06-12 20:35:14 -07:00
Rahul Choudhary
f1e03d2f3d Release 5.2.1.70N
Release 5.2.1.70N

Change-Id: Ibe7c763300d316d8ff6e196a1a2bf974ae0e1183
CRs-Fixed: 774533
2023-06-12 16:26:23 -07:00
Ashish Kumar Dhanotiya
ccb4fda527 qcacld-3.0: Update policy manager pcl tables for PM_LL_LT_SAP
Based on requirement a new concurrency mode PM_LL_LT_SAP is
added, add corresponding pcl table entries for LL_LT_SAP.

Change-Id: I12bf51547984c714499f7f0f35581251306e1a84
CRs-Fixed: 3514184
2023-06-12 16:26:22 -07:00
Arun Kumar Khandavalli
1ee580eabf qcacld-3.0: use the correct sta_ctx to retrieve the peer phy mode
Because of recent changes channel bandwidth and operating freq
are retrieved with two different sta_ctx.

update the sta_ctx for link properly to retrieve the proper information.

Change-Id: If7a045d4b9b41ccd50cb9200f38902847b014571
CRs-Fixed: 3524324
2023-06-12 16:26:15 -07:00
Gururaj Pandurangi
84eaa43844 qcacld-3.0: Add support to send 512 BA buffer size
Add support to send user-configured BA buffer size to FW.
Also, update the AMSDU support flag based on user
configuration.

Change-Id: Ie82285635f58753ae4b8a24015b81a18fdfd9db6
CRs-Fixed: 3524623
2023-06-12 16:26:08 -07:00
Gururaj Pandurangi
0a7681d655 qcacld-3.0: Add support to send Manual BA mode on each vdev
FW has BA Auto mode as default configuration and expects
Host to update if it is Manual trigger mode. Currently, Host
sends Manual mode trigger on assoc vdev as the partner vdev
is not yet created while setting this value. Modify the
logic to support to set Manual mode on each vdev post the
vdev start.

Change-Id: I3f1e806d2a1e9a28f3f380a0c087da494a7af27e
CRs-Fixed: 3401604
2023-06-12 16:26:01 -07:00
Vinod Kumar Pirla
6c4913dc46 qcacld-3.0: Use link info to get VDEV's roaming status
Modify hdd_cm_is_vdev_roaming() API to take link_info
as functional argument to retrieve whether the
corresponding VDEV is in roaming state or not.
Existing callers moved to deflink.

Change-Id: I0efee888a1d886e04817c9870db95be2a95d8e54
CRs-Fixed: 3464349
2023-06-12 16:25:54 -07:00
Vinod Kumar Pirla
a5c84cda1a qcacld-3.0: Use link info to get VDEV's disconnect status
Modify hdd_cm_is_disconnected() API to take link_info
as functional argument to retrieve whether the
corresponding VDEV is in disconnected state or not.
Existing callers moved to deflink.

Change-Id: I4520230b2a59cbac550f196acf9c48e6abe45d1b
CRs-Fixed: 3464327
2023-06-12 16:25:46 -07:00
Paul Zhang
3050ccd014 qcacld-3.0: Create API for TDLS configure link id
Create API to set link id and used in
wlan_hdd_cfg80211_tdls_mgmt function for MLO TDLS.

Change-Id: I39814db1646362585cb9c3258d7e71c3cabe4204
CRs-Fixed: 3491950
2023-06-12 16:25:39 -07:00
Vinod Kumar Pirla
581d7afc7c qcacld-3.0: Use link info to get if VDEV is connecting state
Modify hdd_cm_is_connecting() API to take link_info
as functional argument to retrieve whether the
corresponding VDEV is in connecting state or not.
Existing callers moved to deflink.

Change-Id: If24273873b2b20e9dc63ce4b912c95a873ec7675
CRs-Fixed: 3464297
2023-06-12 16:25:33 -07:00
Vinod Kumar Pirla
28ee4a6ed5 qcacld-3.0: Use link info to get VDEV connected status
Modify hdd_cm_is_vdev_connected() API to take link_info
as functional argument to retrieve the corresponding VDEV's
connected status.
Existing callers moved to deflink.

Change-Id: I438269e683c6931f8509c62a77939c0f1b15fadd
CRs-Fixed: 3464281
2023-06-12 16:25:25 -07:00
Vinod Kumar Pirla
071b080f83 qcacld-3.0: Get each link FCS and MPDU stats
To fill and send each link FCS and MPDU stats, change
the function argument of hdd_fill_fcs_and_mpdu_count()
to link info pointer instead of adapter.
Existing references are changed to deflink.

Change-Id: I208dd3a8fa5e6e9ddeb413d0bbc37341319b1582
CRs-Fixed: 3464269
2023-06-12 16:25:18 -07:00
Vinod Kumar Pirla
9057dd1ea8 qcacld-3.0: Use link info to get VDEV CCA stats
To get the congestion stats per each VDEV, change
the function argument of hdd_get_sta_congestion() API
to link info pointer from adapter.
Existing callers moved to deflink.

Change-Id: I199513ef23ea304ce682fddff5ce7d31a424dd22
CRs-Fixed: 3463952
2023-06-12 16:25:11 -07:00
Vinod Kumar Pirla
6558724b01 qcacld-3.0: Refactor NS/ARP/ICMP FW offload configure APIs
Optimize the recurrent VDEV reference hold in following
FW offload APIs as the VDEV reference is already taken
in the caller.
Existing callers moved to deflink.

1) hdd_enable_ns_offload()
2) hdd_disable_ns_offload()
3) hdd_enable_arp_offload()
4) hdd_disable_arp_offload()
5) hdd_enable_icmp_offload()

Change-Id: I27b5675c16749ee3b44b727170392f99d1a71f3b
CRs-Fixed: 3463936
2023-06-12 16:25:04 -07:00
Rahul Choudhary
05a2e19f53 Release 5.2.1.70M
Release 5.2.1.70M

Change-Id: I06f2b3433191ee9d28af0ee2b15b39ded94371ed
CRs-Fixed: 774533
2023-06-12 11:19:45 -07:00
Vinod Kumar Pirla
a902ef2601 qcacld-3.0: Refactor GKT/IGMP offload configure APIs
Optimize the recurrent VDEV reference hold in the
following APIs. The caller of these functions already
has the VDEV reference.

1) hdd_enable_gtk_offload()
2) hdd_disable_gtk_offload()
3) hdd_enable_igmp_offload()
4) hdd_disable_igmp_offload()
5) hdd_send_igmp_offload_params()

Change-Id: Id96533605fa033b2492b07d3dd0a38d239b4e1e3
CRs-Fixed: 3463904
2023-06-12 11:19:44 -07:00
Vinod Kumar Pirla
0b77b5352d qcacld-3.0: Refactor action frm and HW filter offload API
Optimize the recurrent VDEV reference accounting in following
APIs. The caller of these APIs already has VDEV reference.
1) hdd_enable_hw_filter()
2) hdd_disable_hw_filter()
3) hdd_enable_action_frame_patterns()
4) hdd_disable_action_frame_patterns()

Change-Id: I75b2dc3047458449712e897b08365ecc4ec45855
CRs-Fixed: 3463868
2023-06-12 11:19:39 -07:00
Liangwei Dong
5c49e57e75 qcacld-3.0: Fix AP AP start fail
2 SAP start ACS but different channel range at almost
same time. First SAP selected and started on DFS channel
5260, second SAP select and start on MCC channel of 5180,
policy_mgr_allow_concurrency in
__wlan_hdd_cfg80211_start_ap check fail and abort the second
SAP start because of MCC not allowed for DFS channel SAP.
Refine the logic in API policy_mgr_is_ap_ap_mcc_allow
to cover this case, try to override 2nd SAP channel
to avoid start failure.

Change-Id: Ie483e1fc68f73ce87d14f647ee6fe27b015b5a79
CRs-Fixed: 3512135
2023-06-12 11:19:33 -07:00
Rahul Choudhary
eadb65c5d6 Release 5.2.1.70L
Release 5.2.1.70L

Change-Id: Ia33f1e9d5e84e8b4c295cffdea87828fe26188a7
CRs-Fixed: 774533
2023-06-12 08:23:51 -07:00
Vinod Kumar Pirla
c65dc4f5f9 qcacld-3.0: Use link info pointer to reset MSCS params
To reset MSCS params reset on disconnection, change the
reset_mscs_params() API argument to link info pointer.
Existing callers moved to deflink.

Change-Id: Ibfaa5e0b88a9d818618cbe5187cf46227627d033
CRs-Fixed: 3463850
2023-06-12 08:23:51 -07:00
Rahul Choudhary
7abf71d9f8 Release 5.2.1.70K
Release 5.2.1.70K

Change-Id: I93b8eec16d09ed8df90868ddf38a279ac27c4dee
CRs-Fixed: 774533
2023-06-12 05:21:22 -07:00
Vinod Kumar Pirla
b7fcc00a10 qcacld-3.0: Refactor SAP/DCS channel change APIs
To manage the channel switch on each link of SAP,
change the following APIs to take link info pointer
instead of adapter.
Existing callers moved to deflink.

1) hdd_switch_sap_channel()
2) hdd_dcs_hostapd_set_chan()

Change-Id: I7607559a24ab98037ae71e48bc14e111add3db64
CRs-Fixed: 3463836
2023-06-12 05:21:22 -07:00
Vinod Kumar Pirla
37493425d9 qcacld-3.0: Configure DHCP server offload on per link VDEV
To configure DHCP server offload for each link in VDEV,
change the function argument of below APIs to take link info
pointer.
Existing callers changed to deflink.
1) wlan_hdd_dhcp_offload_enable()
2) wlan_hdd_set_dhcp_server_offload()

Change-Id: Ib6e16a172233354213f9ef03876248713197b1a0
CRs-Fixed: 3463796
2023-06-12 05:21:16 -07:00
Vinod Kumar Pirla
fb37066b22 qcacld-3.0: Refactor ACS and operating chan validation APIs
The SAP config in AP context is per link and to validate
the ACS and operating channels on each link, change the APIs
mentioned below to take link info as function argument.
Existing callers moved to deflink.

1) wlan_hdd_validate_acs_channel()
2) wlan_hdd_validate_operation_channel()

Change-Id: I3936f24965bef5a7a3839b517d4c2eb9db81004b
CRs-Fixed: 3463784
2023-06-12 05:21:10 -07:00
Rahul Choudhary
982c94afab Release 5.2.1.70J
Release 5.2.1.70J

Change-Id: I9fa3137baaa09a42356e5ebffae0f280bbf12f20
CRs-Fixed: 774533
2023-06-11 14:18:11 -07:00
Pragaspathi Thilagaraj
a598c36737 qcacld-3.0: Cleanup redundant error logs
Change few repeating error logs to debug level.

Change-Id: Ie64d4a99e70dae6dd9548bfa90914075c73feb77
CRs-Fixed: 3509900
2023-06-11 14:18:11 -07:00
Rahul Choudhary
1909880879 Release 5.2.1.70I
Release 5.2.1.70I

Change-Id: Ide0ffe4973fd1464789b154a8aed76d936872187
CRs-Fixed: 774533
2023-06-10 15:52:49 -07:00
Gururaj Pandurangi
cebcec1646 qcacld-3.0: Add link switch stub API for legacy code
Add a stub API for link switch for non-11BE legacy code.

Change-Id: I39a4252155c9182ca4e1e0ec8ea2fff5596c14fc
CRs-Fixed: 3436120
2023-06-10 15:52:49 -07:00
Rahul Choudhary
43c56dbc94 Release 5.2.1.70H
Release 5.2.1.70H

Change-Id: I80e7e2669f01d7699d11622ce8c059dc2ddcb5fe
CRs-Fixed: 774533
2023-06-09 23:58:47 -07:00
Surya Prakash Sivaraj
aaae25f8ab qcacld-3.0: Make ssid whitelisting per vdev
Whitelist SSIDs are configured per netdev.

Therefore, move the ssid white list configurations
from psoc level to per vdev level.

Change-Id: Ia555f0c15362099afaae562a2779f7c26c1f4fe5
CRs-Fixed: 3510816
2023-06-09 23:58:47 -07:00
Gururaj Pandurangi
ce6aedc04b qcacld-3.0: Add EHT OMI control field support
Add EHT OMI control field support with BW, RX NSS, and TX
NSTS extension subfields. These fields are combined with
the corresponding HE OMI control subfields to support the
transmission and reception of PPDUs for bandwidths greater
than 80 MHz.

Change-Id: I09603b3b7dcd7bc84fe2075c9ec48b0b6da3b265
CRs-Fixed: 3469763
2023-06-09 23:58:42 -07:00
Gururaj Pandurangi
2caef49d8c qcacld-3.0: Add vendor command support for MLO configuration
Add vendor command support to configure MLO and EMLSR mode
capability configuration for EHT testbed and DUT STA. It
includes EHT OM control support, EMLSR padding delay
configuration, enabling STR MLMR mode, forcing power save
on active MLO links for a defined number of beacon periods,
forcing active MLO links, and invoking EMLSR mode entry or
exit.

Change-Id: If4fb2c576b789aa2e28d6742a02ebdc01eb6e994
CRs-Fixed: 3507770
2023-06-09 23:58:37 -07:00
Pragaspathi Thilagaraj
98481d3bd6 qcacld-3.0: Populate assoc link id in join request
Populate assoc link id in join request from scan entry self
link id

Also check if vdev is MLO vdev before copying partner info
to join req from connect request

Change-Id: I0ddff6e4b0b312e94e42977ea472ee94ac6e919e
CRs-Fixed: 3523640
2023-06-09 23:58:31 -07:00
Gururaj Pandurangi
1deaec1954 qcacld-3.0: Add support to force power save on active MLO links
Add support to force power save on all the active MLO links
for a defined number of beacon periods. Force power save
allows the firmware to suspend STA links for X beacon
periods and remain asleep even if the AP advertises TIM as
opposed to regular power save mode where STA links wake up
if the AP indicates that it has buffered data to send.

Change-Id: I98251f84edeebc462703cb2ad7d9ef3f73b460a4
CRs-Fixed: 3507781
2023-06-09 23:58:26 -07:00
Rahul Choudhary
d04985c5fa Release 5.2.1.70G
Release 5.2.1.70G

Change-Id: I734a4bb4b6ce0857fcd28106c212e8b667856d18
CRs-Fixed: 774533
2023-06-09 13:49:29 -07:00
Jianmin Zhu
fb57957fe3 qcacld-3.0: Fix FW assert for RSO disabled before stopped
During roaming sync, disconnect happens from osif for some reason,
RSO_STOP is dropped for reason
RREASON_DRIVER_DISABLED/REASON_ROAM_STOP_ALL,  RSO_DISABLE is sent to
F/W for different reason REASON_DISCONNECTED. RSO_DISABLE happened
without RSO_STOP before,  so F/W assert.

To fix it, for disconnect from osif, set RSO_STOP reason as
REASON_DISCONNECTED, same as RSO_DISABLE REASON_DISCONNECTED, then it can
be sent to F/W during roam sync.

Change-Id: Ie0c63bd735a231e61cca1eb7bbc6d785f2860f53
CRs-Fixed: 3520269
2023-06-09 13:49:28 -07:00
Vinod Kumar Pirla
4b6f8b55ca qcacld-3.0: Refactor beacon create/modify APIs
The create/modify the beacon data buffer in each
AP context of the link, change the following function
argument to take link info pointer instead of adapter.
Existing callers moved to deflink.

1) hdd_update_beacon_rate()
2) __wlan_hdd_cfg80211_change_beacon()
3) wlan_hdd_cfg80211_alloc_new_beacon()

Change-Id: I0f556eb6774f747c8ec59102d629e58ffcbe1969
CRs-Fixed: 3463774
2023-06-09 13:49:22 -07:00
Vinod Kumar Pirla
c6c6fce5cd qcacld-3.0: Refactor ML AP config APIs
To store/load MLO SAP configuration on each link's AP context
in adapter, change the function argument of below APIs to take
link info pointer instead of adapter.
Existing callers moved to deflink.

1) wlan_hdd_mlo_reset()
2) wlan_hdd_mlo_update()
3) wlan_hdd_mlo_sap_reinit()

Change-Id: I35d1459b22d290dccfb8710586a8facd59425265
CRs-Fixed: 3463288
2023-06-09 13:49:16 -07:00
Vinod Kumar Pirla
c54d9ffdd0 qcacld-3.0: Refactor sap hw mode and he obss pd APIs
To modify the beacon and SAP config in AP context which is per
link data structure, efactor below APIs to take link_info as
function argument instead of adapter.
Existing callers moved to deflink pointer.
1) wlan_hdd_set_sap_hwmode()
2) hdd_update_he_obss_pd()

Change-Id: Ibd1152cc86244b859daf0e86275ac83ad1b6ef8f
CRs-Fixed: 3463264
2023-06-09 13:49:09 -07:00
Vinod Kumar Pirla
0fdf12717f qcacld-3.0: Refactor APIs handling IEs buffer in AP context
The below list of APIs are changed in function prototype
which are related to packing IEs in buffer in the AP context
which is per link. The per link data structure link info can
be passed to fill beacon IEs on each link.
Existing callers moved to deflink.

1) wlan_hdd_add_extra_ie()
2) wlan_hdd_add_extn_ie()
3) hdd_update_11ax_apies()
4) hdd_update_11be_apies()
5) wlan_hdd_add_hostapd_conf_vsie()
6) wlan_hdd_add_sap_obss_scan_ie()
7) wlan_hdd_get_sap_obss()
8) wlan_hdd_set_channel()

Change-Id: Ia34fc1017dfdeb83135c9fa38fcdbb51a9c613d4
CRs-Fixed: 3463226
2023-06-09 13:49:03 -07:00
Vinod Kumar Pirla
c4c6664685 qcacld-3.0: Refactor hdd_cleanup_conn_info() API
The cleanup of existing connection info is per link so
change the function argument to take link info pointer
to reset the info.
Existing references are changed to deflink.

Change-Id: Ic6e8e181faadcfb568a0580e368b665cb95f7b26
CRs-Fixed: 3462660
2023-06-09 13:48:57 -07:00
Vinod Kumar Pirla
99f839dada qcacld-3.0: Use link info pointer to cleanup 11ax conn info
To cleanup the HE connection info in station context of each link,
change the hdd_cleanup_he_operation_info() function argument
to link info pointer instead of adapter.
Existing references are changed to deflink.

Change-Id: I49a2e4b1b521bd435ba0ba26a3c7f421e7fed45c
CRs-Fixed: 3462494
2023-06-09 13:48:52 -07:00