提交图

29468 次代码提交

作者 SHA1 备注 提交日期
Rahul Choudhary
7a3ffd67f8 Release 5.2.1.72O
Release 5.2.1.72O

Change-Id: I0a7f6cdc857b68894fef639c7be0adcb22282f1f
CRs-Fixed: 774533
2023-07-01 06:48:03 -07:00
Gururaj Pandurangi
1cb1169f5e qcacld-3.0: Disable OCV for 11BE mode connection with EHT AP
Disable Operating Channel Validation (OCV) by default for
connections with Wi-Fi 7 APs in 11BE mode as per WFA
recommendation to avoid IOT issues with Wi-Fi 7 APs in the
future.

Change-Id: Iecdabdda1f645300fd9d8c2821a985771e60ce2e
CRs-Fixed: 3534392
2023-07-01 06:48:03 -07:00
Abhinav Kumar
745eadeca0 qcacld-3.0: Issue disconnect on STA while start/stop SAP
For STA+SAP/GO concurrency support from GUI, In case if
START/STOP AP/GO request comes just before the SAE
authentication completion on STA, SAE AUTH REQ waits for
START/STOP AP RSP and START/STOP AP RSP waits to complete
SAE AUTH REQ.

Driver completes START/STOP AP RSP only upon SAE AUTH REQ
timeout(5 sec) as start/stop ap will be in serialization
pending queue, and SAE auth sequence cannot complete as
hostap thread is blocked in start/stop ap cfg80211 ops.

To avoid above deadlock until SAE timeout, abort the SAE
connection immediately and complete START/STOP AP/GO asap
so that the upper layer can trigger a fresh connection
after START/STOP AP/GO completion.

Change-Id: I96de1bb27dfc669ccf920a90cf86a3cb54e68354
CRs-Fixed: 3452943
2023-07-01 06:47:57 -07:00
Asutosh Mohapatra
8b5d4a4cc4 qcacld-3.0: Add enhancements to support SET_FCC_CHANNEL 2
Currently in host support is there for SET_FCC_CHANNEL
command for values 0, -1, 1.
Add changes to support SET_FCC_CHANNEL command for value 2.

Change-Id: Ia67eceb5dffc6f806995bb03755008b19e98178a
CRs-Fixed: 3537394
2023-07-01 06:47:51 -07:00
Rahul Choudhary
36ec34e1f7 Release 5.2.1.72N
Release 5.2.1.72N

Change-Id: I5dcefa1cf1b7dace5dd681bcc9a9e0b7fecba777
CRs-Fixed: 774533
2023-06-30 23:48:33 -07:00
Paul Zhang
472d30e365 qcacld-3.0: Revert "Tune TDLS code for discovery response"
The issue has been addressed in the supplicant.
So revert change: I89b501fc4da8615ddb8973e5edce73294793558f

Change-Id: I02b74a512c97803c597942c1ea00e3a02fbf4599
CRs-Fixed: 3544617
2023-06-30 23:48:33 -07:00
Jia Ding
6d5db78bf8 qcacld-3.0: Cleanup multiple include compiler options
Multiple include directories only contains .c source files
without any .h header files. Hence remove those include
compiler options.

Add monitor include path under feature flag
CONFIG_WIFI_MONITOR_SUPPORT.

Change-Id: Iec59a592c60b27cb22bf712e883dd5895044874a
CRs-Fixed: 3543857
2023-06-30 23:48:28 -07:00
Rahul Choudhary
4f176713a6 Release 5.2.1.72M
Release 5.2.1.72M

Change-Id: I16011056e6bddb74ba3c63147adc52325d114152
CRs-Fixed: 774533
2023-06-30 20:28:18 -07:00
Paul Zhang
ac2beaa8f5 qcacld-3.0: Remove TDLS 11be MLO CAP checking
TDLS off channel will be supported by FR 80104, so remove the
checking when setting flag ENA_TDLS_OFFCHAN.

Change-Id: Iae135e835bd74e32a3f712083263192ae7cb635f
CRs-Fixed: 3545087
2023-06-30 20:28:18 -07:00
Surya Prakash Sivaraj
cfd8da1768 qcacld-3.0: Keep "p2p_go_on_5ghz_indoor_chan" ini disabled
Keep the ini "p2p_go_on_5ghz_indoor_chan" disabled by default.

Change-Id: If6a4b1a62959299aa5fceb5342571912c5e72c9b
CRs-Fixed: 3540166
2023-06-30 20:28:13 -07:00
Rahul Choudhary
26618d84fa Release 5.2.1.72L
Release 5.2.1.72L

Change-Id: Idac570460b1996f3f9e02bdb7fac8cc60d6fa626
CRs-Fixed: 774533
2023-06-30 04:26:30 -07:00
Paul Zhang
fe32c542b7 qcacld-3.0: Add vendor command API for EPCS
Add vendor command API to set EPCS (Emergency Preparedness
Communications Service) capability and trigger EPCS
function enable or disable.

Change-Id: I2ffe4d268731c57dd6e3ddfe0586d4dcb77dc611
CRs-Fixed: 3511170
2023-06-30 04:26:30 -07:00
Rahul Choudhary
1c77981358 Release 5.2.1.72K
Release 5.2.1.72K

Change-Id: I932729cf13c54c54fe1e6917b237859a5d50d197
CRs-Fixed: 774533
2023-06-30 00:55:26 -07:00
Alan Chen
5fef728db3 qcacld-3.0: Fix bazel-related changes
With changes to bazel in upstream kernel, driver is currently not
building properly. Fix these bazel-related changes to be in line with
upstream kernel changes and resolve the build issues.

Change-Id: I99fb7b1aaa8cd70b4326a858d46de7c034b0549f
CRs-Fixed: 3539623
2023-06-30 00:55:26 -07:00
Jyoti Kumari
30ca608b32 qcacld-3.0: Handle eMLSR concurrency
In NAN+eMLSR concurrency, when NAN is already present
and if eMLSR comes. Host disables(by sending
MLO_LINK_FORCE_MODE_INACTIVE_NUM) one link only after
both vdev up. But there is a race condition where
firmware enters to emlsr mode just after link vdev up
and host sends the disable command after
WMI_VDEV_INSTALL_KEY_CMDID. This causes inconsistency
in firmware eMLSR state machine. Firmware asserts as
other mac is occupied by NAN and eMLSR module tries to
change the hw mode to eMLSR mode. Both mac's should be
free/available for eMLSR STA operation when firmware
tries to switch hw mode to eMLSR.

As part of fix, Host to send mlo_force_link_inactive=1
in peer assoc command of link vdev to indicate firmware
not to enter in eMLSR mode. Host shall disable one link
as part of concurrency evaluation post connection anyway.
Once the concurrency is gone, host to enable both links
to let firmware enter into eMLSR hw_mode.

Change-Id: I0ee141b51868a3c5c5d9ff6cf1bd3765bc450fa4
CRs-Fixed: 3527911
2023-06-30 00:55:21 -07:00
Rahul Choudhary
c7b86575c5 Release 5.2.1.72J
Release 5.2.1.72J

Change-Id: I8bb0c3cc9d8e7e3b77c27b5a432c30dd9f529f2b
CRs-Fixed: 774533
2023-06-29 18:14:20 -07:00
Abhinav Kumar
4704ced888 qcacld-3.0: Update assoc channel width as per mlo vdev
The issue is host always uses assoc link channel width
to calculate the list of the channel(s) to trigger
wide band scan for both links.

In the case of N link MLO connection, the associated
channel and associated channel width may be different
for assoc link and non-assoc link(s).

Fix is to choose the proper associated channel width
and prepare the channel list for each link(s).

Change-Id: I2fce5d1153d396f1bfc9575572d90d2cfec0ac8a
CRs-Fixed: 3539444
2023-06-29 18:14:20 -07:00
Vinod Kumar Myadam
73b5f14437 qcacld-3.0: Fix to accessing NULL pointer
From userspace __wlan_hdd_cfg80211_get_usable_channel got called
while WLAN is shutting down. HDD/OSIF should return failure but the
reg_get_band_channel_list API is trying to access the pdev context
from HDD which is NULL and leads to crash.

Add check in __wlan_hdd_cfg80211_get_usable_channel if the wlan
is shutdown with state DRIVER_MODULES_CLOSED and return.

Change-Id: I856075d00f3ee2ed84f4b63c33a2a8ffb85ae646
CRs-Fixed: 3541271
2023-06-29 18:14:14 -07:00
Rahul Choudhary
4559e94df3 Release 5.2.1.72I
Release 5.2.1.72I

Change-Id: Id1f2129e3bdb7f910100a365925574219a04296b
CRs-Fixed: 774533
2023-06-29 08:22:04 -07:00
Vinod Kumar Pirla
cdd34ef67a qcacld-3.0: Refactor hdd_is_ndp_allowed() iterator
Iterate through all the active links in adapter to decide
whether to allow NDP or not.

Change-Id: I600e10592469ecdb1d21da9bde9ccdca33ae986f
CRs-Fixed: 3522931
2023-06-29 08:22:03 -07:00
Vinod Kumar Pirla
b8df0c2538 qcacld-3.0: Refactor lpass notify APIs
Modify the following APIs to take link info pointer
as function argument to notify LPASS on per link.
1) hdd_lpass_notify_disconnect()
2) hdd_lpass_notify_mode_change()
3) hdd_lpass_notify_start()
4) hdd_lpass_notify_connect()
5) wlan_hdd_send_status_pkg()
6) wlan_hdd_send_scan_intf_info()

Change-Id: I645fb35418aba31e32fc6d5ea2e409904b76db25
CRs-Fixed: 3522899
2023-06-29 08:21:58 -07:00
Vinod Kumar Pirla
9a6fdde548 qcacld-3.0: Refactor softap register STA APIs
Refactor the following APIs which are used to register STA for
SoftAP (both MC/BC and UC peers).
1) hdd_softap_register_bc_sta()
2) hdd_softap_register_sta()

Change-Id: Ibbc84e3c4c37c34d30d7d53ce39e3eab8fc42f47
CRs-Fixed: 3522878
2023-06-29 08:21:52 -07:00
Vinod Kumar Pirla
07cbf4ab6f qcacld-3.0: Refactor SAP start BSS and other related APIs
Modify the following APIs to pass link info pointer as function
argument to configure SAP on per link basis.
The existing callers moved to deflink.
1) hdd_restart_sap()
2) wlan_hdd_cfg80211_update_apies()
3) wlan_hdd_start_sap()
4) wlan_hdd_cfg80211_start_bss()
5) wlan_hdd_add_sap_obss_scan_ie()

Change-Id: I874650cbce512424c6ab2150817ab6e9e5401683
CRs-Fixed: 3522834
2023-06-29 08:21:47 -07:00
Rahul Choudhary
fcd3693835 Release 5.2.1.72H
Release 5.2.1.72H

Change-Id: I7513eb2ae98de76004d7d7dafc7443d9dd7a5c9b
CRs-Fixed: 774533
2023-06-29 05:00:07 -07:00
Vinod Kumar Pirla
8a308393a2 qcacld-3.0: Refactor wlan_hdd_cfg80211_acs_ch_select_evt() API
Refactor the do acs APIs below to take link info pointer as function
argument to configure ACS on per link.
Existing callers moved to deflink pointer.

1) wlan_hdd_cfg80211_acs_ch_select_evt()
2) hdd_update_acs_channel()

Change-Id: I2854d3ee6a85234d7d8200e8f15368c17323cf05
CRs-Fixed: 3522775
2023-06-29 05:00:07 -07:00
Vinod Kumar Pirla
52102cbc67 qcacld-3.0: Refactor wlan_hdd_cfg80211_start_acs() API
Modify the API to take link info pointer as function argument
to support start ACS on per link.

Change-Id: I2fa22aeb6a3062aa7ed8a4180470a61a76f13bf3
CRs-Fixed: 3522734
2023-06-29 05:00:02 -07:00
Karthik Kantamneni
0b79b57c13 qcacld-3.0: Enable DP profile support for QCA6750 target
Enable DP profile support for QCA6750 target

Change-Id: Id2cd8dc6c1a7b31f811a025c37e227d0165615d0
CRs-Fixed: 3542111
2023-06-29 04:59:57 -07:00
Karthik Kantamneni
b7cec37072 qcacld-3.0: Add pld support to get WLAN H.W capabilities
Add pld support support to get WLAN H.W capabilities
using pld_get_soc_info API.

Change-Id: Ia3c719d59f88c30cb78b6321f96a894c08e8c693
CRs-Fixed: 3502672
2023-06-29 04:59:51 -07:00
Rahul Choudhary
5f53dc0b7e Release 5.2.1.72G
Release 5.2.1.72G

Change-Id: I26f7c2deb32e8dd6825a7f4ad426897bef232279
CRs-Fixed: 774533
2023-06-28 18:44:51 -07:00
Vinod Kumar Pirla
dd32cfe207 qcacld-3.0: Refactor SAP and SCC concurrency APIs
Modify the following APIs to move deflink references to
link info pointer and use link info pointer where VDEV
is accessed to call the API for each eligible link info
pointer in adapter.
Existing callers moved to deflink pointer.

1) wlan_hdd_is_ap_ap_force_scc_override()
2) hdd_handle_p2p_go_for_3rd_ap_conc()
3) __wlan_hdd_cfg80211_start_ap()

Change-Id: Ifb305a38f00525c20c438fee30dceff4f491f85d
CRs-Fixed: 3522636
2023-06-28 18:44:51 -07:00
Vinod Kumar Pirla
5fad6552ef qcacld-3.0: Refactor radar indicate and chan switch APIs
Iterate through all the active links on each adapter in the
following APIs.
1) hdd_dfs_indicate_radar()
2) hdd_is_chan_switch_in_progress()

Change-Id: Ic01a6ffc1069c519535ae489e07c582a31c25bed
CRs-Fixed: 3522569
2023-06-28 18:44:46 -07:00
Vinod Kumar Pirla
cc6a92cc80 qcacld-3.0: Refactor hdd_hostapd_sap_event_cb() API
In the API change the deflink references to a local variable
to reuse the variable.

Change-Id: I446d26f11a22c1bd5ae042a7d455fab2cfde6af4
CRs-Fixed: 3522523
2023-06-28 18:44:30 -07:00
Rahul Choudhary
03d477f6f7 Release 5.2.1.72F
Release 5.2.1.72F

Change-Id: I1371ab2f7119a3679cf3bf79ad4a6114ed289a48
CRs-Fixed: 774533
2023-06-28 15:24:50 -07:00
Vinod Kumar Pirla
86ae5134b7 qcacld-3.0: Iterate all link for invalid STA channel discon
Iterate through all the active links in STA adapter to check
if the VDEV is on invalid channel. If it is on invalid channel,
disconnect the STA.

Change-Id: Iabaadb116861e40e79fa04398854bed7dc4e029e
CRs-Fixed: 3522506
2023-06-28 15:24:49 -07:00
Vinod Kumar Pirla
a2c9825368 qcacld-3.0: Refactor hdd_is_any_sta_connecting() iterator API
Iterate through all the active links in adapter to search
if any VDEV is in connecting state or not.

Change-Id: Iafb96720bfab04045a9535d35d5f95fc71251e03
CRs-Fixed: 3522490
2023-06-28 15:24:45 -07:00
Vinod Kumar Pirla
2542beeb62 qcacld-3.0: Refactor send_oem_reg_rsp_nlink_msg() Iterator
Iterate through all the active links in the API to account
for VDEVs in the non-deflink indices.

Change-Id: Iace7b51d484d907999ada01f74353ba917868986
CRs-Fixed: 3522476
2023-06-28 15:24:40 -07:00
Vinod Kumar Pirla
7cf7a70155 qcacld-3.0: Refactor BW check on CC change and SAP restart
Refactor the following APIs which take link info pointer to
check the BW change on country code change and whether SAP
restart needed on phymode change.
1) hdd_country_change_bw_check()
2) hdd_restart_sap_with_new_phymode()

Change-Id: I7cd3f21bd60b1867c6ce78a33dd5fbd5b4961b14
CRs-Fixed: 3522466
2023-06-28 15:24:35 -07:00
Jia Ding
3ff2407562 qcacld-3.0: Properly define ENABLE_HAL_REG_WR_HISTORY
With CONFIG_ENABLE_HAL_REG_WR_HISTORY=y, feature flag
ENABLE_HAL_REG_WR_HISTORY should be defined instead of
CONFIG_ENABLE_HAL_REG_WR_HISTORY.

Change-Id: Iad04b2036ae4fd47b05ee2d87ab3c8b0697f7a5a
CRs-Fixed: 3536167
2023-06-28 15:24:30 -07:00
Rahul Choudhary
17b2ea81ef Release 5.2.1.72E
Release 5.2.1.72E

Change-Id: Ib369b9c70eb05ef277d4a421d1dc9cb9e13544db
CRs-Fixed: 774533
2023-06-28 05:04:51 -07:00
Rakesh Pillai
4566e7ff03 qcacld-3.0: Enable feature to defer freeing of REO queue desc
Enable the feature to defer freeing of REO queue desc.

Change-Id: I33f52c820aeb9429ad9560120e1ada69c7bdc6fc
CRs-Fixed: 3540809
2023-06-28 05:04:51 -07:00
Liangwei Dong
2958ab1b39 qcacld-3.0: Handle link id bitmap from set link state response
Convert link id bitmap to vdev bitmap and update policy mgr
connection table.
Record the current force link command state to mlo context.

Change-Id: I0b28222de10a9493a153ee00189b87e4275a4231
CRs-Fixed: 3515467
2023-06-28 05:04:46 -07:00
Rahul Choudhary
33e49e8760 Release 5.2.1.72D
Release 5.2.1.72D

Change-Id: I81ae3be21f924dd4bd2fa83cd7be2f17653332ca
CRs-Fixed: 774533
2023-06-28 01:22:37 -07:00
Rakesh Pillai
466b34b3c2 qcacld-3.0: Change FISA cfg check APIs to static inline
Change the cfg enablement check APIs (currently FISA),
to static inline, in order to avoid function call
every time to check if the feature is enabled or not.

Change-Id: Ie541313c1b0a7512f71a6189a706871e57b3145e
CRs-Fixed: 3540739
2023-06-28 01:22:36 -07:00
Rahul Choudhary
d6c774e684 Release 5.2.1.72C
Release 5.2.1.72C

Change-Id: I481cd1e59b00e8f17ae13a7c1daf701c3b8f9b8d
CRs-Fixed: 774533
2023-06-27 21:48:37 -07:00
Asutosh Mohapatra
fcb88fbc66 qcacld-3.0: Handle invalid 6 GHz power type advertised by AP
If AP doesn't advertise 6 GHz power type or advertises
invalid 6 GHz power type, find the power type for connection
as per below logic.
a) Connect in VLP only if VLP power type is available for STA
   for the connection channel.
b) Otherwise connect in LPI only if LPI power type is available
   for STA for the connection channel for STA.
Don't connect if VLP or LPI power types are not available for
STA for the connection channel.

Change-Id: I3bcf1e8758042cc00f5f4be1a3fd0bbfe74d1677
CRs-Fixed: 3537387
2023-06-27 21:48:37 -07:00
Srinivas Dasari
6cce61196f qcacld-3.0: Avoid RSO stop and PCL update when roaming is in progress
Currently, RSO is stopped and PCL is updated to firmware when
SAP stop happens. But this causes inconsistency in roam sync
handling if roaming is in progress. As host driver RSO state moves
to STOPPED, host doesn't send ROAM_SYNC_COMPLETE though
ROAM_SYNC_IND is processed successfully. Firmware waits
for 6 seconds and asserts as it hasn't received either
ROAM_SYNC_COMPLETE or ROAM_ABORT(RSO_STOP).

So, don't stop RSO and avoid PCL updation when roaming is
in progress in SAP stop case. PCL gets updated to firmware
post roaming anyway. Same is applicable for SAP start also.

Change-Id: I9a6c4579d9cfab9041ee76739705d4db5a40192d
CRs-Fixed: 3518876
2023-06-27 21:48:32 -07:00
Rahul Choudhary
5f4cde5916 Release 5.2.1.72B
Release 5.2.1.72B

Change-Id: I4d109fd836537d378d802bf2dbfe2008aaf51aca
CRs-Fixed: 774533
2023-06-27 04:03:12 -07:00
Sai Kumar Kunchala
4dc6cafb4f qcacld-3.0: Fix NULL pointer dereference issues
"pe_find_session_by_vdev_id" API returns NULL in failure case.
Add NULL check before dereference "session" variable in below APIs
   - lim_send_epcs_action_req_frame.
   - lim_send_epcs_action_teardown_frame.
   - lim_send_t2lm_action_req_frame.

Change-Id: I5b8ce8c61b91f5a480b32a3a5883065faa247924
CRs-Fixed: 3528739
2023-06-27 04:03:12 -07:00
Rahul Choudhary
84262d844e Release 5.2.1.72A
Release 5.2.1.72A

Change-Id: Ib0bee4afe9fed41a5cb6b6513206db141d383f31
CRs-Fixed: 774533
2023-06-27 00:25:16 -07:00
Vinod Kumar Pirla
32502d8e0c qcacld-3.0: Refactor country change update APIs
Iterate through all the link info which are active in adapter
on country change update.
1) hdd_country_change_update_sap()
2) hdd_country_change_update_sta()

Change-Id: I199ca2cd87e114c4a8c64ee356388781b3a53097
CRs-Fixed: 3522443
2023-06-27 00:25:15 -07:00