提交線圖

29255 次程式碼提交

作者 SHA1 備註 日期
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
Vijay Raj
cb03ca8b08 qcacld-3.0: Add FW capability check for Multipass SAP
Add check to determine whether FW support multipass
SAP before enabling multipass support

Change-Id: I7db5a7bad6b9ac89c8c4e7c4c177695671402657
CRs-Fixed: 3515310
2023-06-08 20:46:06 -07:00
Gururaj Pandurangi
e89ec3ebc6 qcacld-3.0: Send AP HTC HE support to FW in peer assoc
Currently, Host intersects STA and AP capability of HTC
HE support before sending to FW via peer assoc. Since
testbed default for HTC HE support is 0 on assoc link,
Host sends 0 on assoc link and 1 on partner link in
peer assoc command whereas FW expects Host to send just
the AP's capability on both links in peer assoc command
and the current behavior is causing low UL throughput.
Thus, change peer HTC HE support to only AP support.

Change-Id: I44a8ecb3b10226daba079dd855e5f35cfb6d2608
CRs-Fixed: 3435836
2023-06-08 20:46:01 -07:00
Rahul Choudhary
bb9417b61b Release 5.2.1.70D
Release 5.2.1.70D

Change-Id: I7b6059500b64cf640a543ce2f8d6e04b77dd95e5
CRs-Fixed: 774533
2023-06-08 07:50:44 -07:00
jinbao liu
224a50a0c7 qcacld-3.0: Fix the RX rate report issue in some old chips
Driver obtains RX rates info from data frames and reports them to
kernel in chips which the MACRO FEATURE_RX_LINKSPEED_ROAM_TRIGGER
is enabled. However, in some old chips that the MACRO is disabled,
no rates info will be reported. To address this issue, this change
adds the RX rate reporting func(using rate_flags and FW raw_rate).

Change-Id: I75235137ba82d325d8af0664f616bd99ac3140dc
CRs-Fixed: 3449897
2023-06-08 07:50:44 -07:00
Rahul Choudhary
843fcd9529 Release 5.2.1.70C
Release 5.2.1.70C

Change-Id: I44988a80994f320cbb9429916f5311338d543369
CRs-Fixed: 774533
2023-06-08 05:08:51 -07:00
Pragaspathi Thilagaraj
15bc1d6db6 qcacld-3.0: Fill join request from cm vdev connect request
Currently driver fills join request from cm_vdev_connect request
and cm_vdev_connect request is filled from connect request.

Fill join request directly from cm vdev connect
request and update the vdev connect request from scan entry for
assoc vdev and for link vdev copy populate the connect request
directly from cm_connect request.

Change-Id: I408eb8044e96437558666a1948233a0df30bfd22
CRs-Fixed: 3516716
2023-06-08 05:08:50 -07:00
Rakesh Pillai
c8540b10f6 qcacld-3.0: Enable feature to disable vdev self peer creation
Kbuild change to disable vdev self peer creation.

Change-Id: Id436cc9ca96aa22ff21d810c078bc16572cc98de
CRs-Fixed: 3517849
2023-06-08 05:08:46 -07:00
Rahul Choudhary
374ab3a9d7 Release 5.2.1.70B
Release 5.2.1.70B

Change-Id: I4ff12594b996860b02bc4d836cbce919a263fa38
CRs-Fixed: 774533
2023-06-08 02:11:48 -07:00
Jyoti Kumari
e218dceb43 qcacld-3.0: Filter out passive/dfs channel during get pcl
Filter out passive/dfs channel during get pcl for LL_LT_SAP.

Change-Id: Ica11ca7d085369286a47b73af1a259bb17329ba8
CRs-Fixed: 3493007
2023-06-08 02:11:48 -07:00
Rahul Choudhary
e4f1a92986 Release 5.2.1.70A
Release 5.2.1.70A

Change-Id: I1c18e206b4ff8f12fcde61dc2db118cbc6f6bbb1
CRs-Fixed: 774533
2023-06-07 13:58:22 -07:00
Chunquan Luo
77e76b3584 qcacld-3.0: Refine host driver get mac_id when etract tx power
Refine host driver get mac_id to avoid mutex release fail.

Change-Id: I70910eedea0710e99416442bed6b5c72436f960d
CRs-Fixed: 3521377
2023-06-07 13:58:22 -07:00
Vijay Patil
882f3a6e57 qcacld-3.0: Update INI and cfg HE caps for user BW configuration
Update Preamble Puncturing INI parameter "he_rx_pream_punc" to
default which gets from FW.

Also update the cfg HE 2 GHz and 5 GHz capabilities parameters
instead of memcpy.

Change-Id: If424ce4a4fe771a2817677a50a472a2c77529d90
CRs-Fixed: 3515585
2023-06-07 13:58:17 -07:00
Aditya Kodukula
744adf0e1c qcacld-3.0: Fix typos in cld
Fix typos spanned over multiple files in cld.

Change-Id: I88def5a2898c9e3e5cf32d123521faa53ef42e70
CRs-Fixed: 3521886
2023-06-07 13:58:12 -07:00
Rahul Choudhary
6253c6fe17 Release 5.2.1.70
Release 5.2.1.70

Change-Id: Ie686c910176f358fba75265c2e91f0ea3416ca0d
CRs-Fixed: 774533
2023-06-07 07:00:35 -07:00