커밋 그래프

29269 커밋

작성자 SHA1 메시지 날짜
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
Vinod Kumar Pirla
4371ee48f4 qcacld-3.0: Use link info pointer to cleanup prev bcn info
To cleanup the beacon information of previous beacon per
each link, change the function argument of following API.
hdd_cleanup_prev_ap_bcn_ie().

Existing references are changed to deflink.

Change-Id: I1cfb1562dd45696093417e2e2b8a018090810a18
CRs-Fixed: 3462479
2023-06-09 13:48:46 -07:00
Vinod Kumar Pirla
d46e086cc6 qcacld-3.0: Remove wlan_hdd_check_remain_on_channel() API
The wlan_hdd_check_remain_on_channel() is a wrapper API around
wlan_hdd_cancel_existing_remain_on_channel() with an additional
opmode check. Perform this opmode check to caller.

The wlan_hdd_cancel_existing_remain_on_channel() reimplements
wlan_hdd_cleanup_remain_on_channel_ctx(), so remove this API
and move existing callers to wlan_hdd_cleanup_remain_on_channel_ctx().

Change-Id: Ia23f4f22d6fb8ed5009ad973fd63012b259d308f
CRs-Fixed: 3462426
2023-06-09 13:48:40 -07:00
Rahul Choudhary
a1e6ae1e71 Release 5.2.1.70F
Release 5.2.1.70F

Change-Id: I3ea8a52c27ccd0d3a044aee3cfbeb96fad55f0e0
CRs-Fixed: 774533
2023-06-09 05:21:11 -07:00
Gururaj Pandurangi
119dbedef1 qcacld-3.0: Disable BSS color collision detection for EMLSR
Disable BSS color collision detection for the following-
- Testbed STA for all modes
- STAUT if EHT mode is EMLSR.
As part of BSS color collision detection, scan is invoked in
FW after the defined detection period and as part of this,
EMLSR exit happens in the middle of tx/rx. Thus, disable the
capability for EMLSR mode.

Change-Id: I6417f7c081c1408372924b20d8985a597a536e27
CRs-Fixed: 3507796
2023-06-09 05:21:11 -07:00
Aravind Kishore Sukla
1c75c9760e qcacld-3.0: Add support for T2LM vendor interface implementation
Add support for T2LM vendor interface implementation

Change-Id: I2150bdb90369b3ed57b0fbbbd67604b068b01aa7
CRs-Fixed: 3505252
2023-06-09 05:21:05 -07:00
Rahul Choudhary
9cbd6f91e7 Release 5.2.1.70E
Release 5.2.1.70E

Change-Id: I0ac623d0fd6900c9e954632611df49fc0a2191b0
CRs-Fixed: 774533
2023-06-08 20:46:28 -07:00
Rahul Gusain
bcb01fb787 qcacld-3.0: release the NDP end all command
Currently, driver post NDP end all command on the scheduler but
never release it. This casues timeout in the scheduler and driver
releases the vdev which is never referenced. This causes crash in
driver.

To resolve this issue, release the NDP end all command when NDP
Host Update event received from the firmware.

Change-Id: Iffe4f79b7c131c48cbf2b085d8bbc6e1fb0b5f0a
CRs-Fixed: 3521989
2023-06-08 20:46:27 -07:00
Rahul Gusain
bb7e163983 Revert "qcacld-3.0: Block NDP_END_ALL req till last NDP_END is received"
This reverts commit 54c2fe240a.

Change-Id: Ic0028674e4728b951215bf7b4d9a7535b8b49efe
CRs-Fixed: 3523826
2023-06-08 20:46:22 -07:00
Surya Prakash Sivaraj
c1d792ec75 Revert "qcacld-3.0: Enable netdev queues before sending ROAM_SYNC_COMPLETE"
This reverts commit Ib05ca01892b6d8b62badcafb64bb8c16270ee9f8.

Change-Id: I2a464e1e321328ae01fa816164ca4c523d6e07d6
CRs-Fixed: 3520779
2023-06-08 20:46:17 -07:00
Jianmin Zhu
f1e4373c2e qcacld-3.0: Fix roam abort for 2nd sta connect
During wlan0 vdev0 roaming, before roam sync received,  2nd sta wlan1
vdev2 connect req came, disabled RSO of vdev0, so vdev0 roam aborted, and
disconnected.

To fix it, serialize roaming disable during connect too, don’t disable
roaming of other connected sta until serialization allowed in
wlan_serialization_activate_cmd ->cm_connect_active

Change-Id: I64eca8bc4de27e0b0afd0af2af3e83f3874fcecd
CRs-Fixed: 3515381
2023-06-08 20:46:11 -07:00