Wykres commitów

28876 Commity

Autor SHA1 Wiadomość Data
Rahul Gusain
bba075a057 qcacld-3.0: Set secure NAN feature to kernel
Currently, there is no provision to identify that the driver supports
NAN pairing protocol. So, new kernel will start exchanging PASN frames
without realization that old driver is loaded and thus, frames will be
drops in driver.

So, to resolve the backward compatibility issue, kernel introduces new
feature flag "NL80211_EXT_FEATURE_SECURE_NAN".
Firmware send "max_pairing_session" parameter in NAN capabilities and
host driver extracts the parameter and set the feature flag to kernel
when max pairing session has non-zero value.

Change-Id: I3b83a771c99bf2e91a4ed1a14acafe584d6e17ec
CRs-Fixed: 3493345
2023-05-12 05:02:56 -07:00
Srinivas Dasari
48328ed929 qcacld-3.0: Don't skip RSO enable when single link roaming happens
when STA roams from multi link AP to single link AP,
the non-assoc link gets cleaned up(through disconnect path) and
RSO gets disabled as part of this. But RSO doesn't get re-enabled
when link cleanup is completed. So, STA can't roam further.

Remove the check which skips RSO enable if the current
disconnecting vdev is of type MLO link. Next API
policy_mgr_get_roam_enabled_sta_session_id() can fetch the
right valid vdev to enable RSO. Don't update PCL to
firmware as there is no need to update again as part of link
cleanup. Firmware has already got the PCL as part of assoc
vdev RSO enable.
cm_roam_switch_to_init() takes care of not allowing RSO enable
in disconnect case as the assoc vdev CM is in
WLAN_CM_S_DISCONNECTING state.

Change-Id: I155bb93868653d5575f81559c48b86b40cf5d59c
CRs-Fixed: 3487290
2023-05-12 05:02:51 -07:00
Madan Koyyalamudi
d6a5c59008 Release 5.2.1.65W
Release 5.2.1.65W

Change-Id: Ibea0a8483314b673f4d1cce993bc825d57c4a3b3
CRs-Fixed: 774533
2023-05-11 15:36:35 -07:00
Gururaj Pandurangi
df73ec02e0 qcacld-3.0: Drop EMLSR entry request if concurrency exists
Drop any vendor command request to enter EMLSR mode if there
are any concurrent connections existing with MLSR STA as
this combination is not supported.

Change-Id: I3b1f2bbe714c83628a8394068f7483d3913ce421
CRs-Fixed: 3478257
2023-05-11 15:36:35 -07:00
Chunquan Luo
e86c473360 qcacld-3.0: Fix roam Unit test command fail
Since fw update the logic of roam stats, the data of
wmi_roam_trigger_reason maybe null when fw send event
of WMI_ROAM_STATS_EVENTID to host driver, and at that
time, the num_roam_trigger_reason is zero, we don't
need reduce the length when extract roam stats event.

Change-Id: I332de7ba2d2efeba722e2194af4b9c97ef310a73
CRs-Fixed: 3475501
2023-05-11 15:36:30 -07:00
Madan Koyyalamudi
cdd1f42100 Release 5.2.1.65V
Release 5.2.1.65V

Change-Id: I89bf035b991532bad212fe7f4fe2930d5da809d6
CRs-Fixed: 774533
2023-05-11 09:00:22 -07:00
abhinav kumar
6f8d32955c qcacld-3.0: Update roam scan freq list on connection failure
Host sends roam scan offload channel list via WMI_ROAM_CHAN_LIST
to FW after a successful connection.

The host creates a ROAM_SCAN_CHAN list with BSSID entries present
in the scan database. If the connection to an AP fails due to
Auth/Join/Assoc timeout, Host removes the AP entry from the Scan
database, assuming it’s not reachable (to avoid reconnecting to the
AP as it's not responding). Due to this, FW does not include the
frequency(s), for which the connection failed, in roam scan.

Fix is to store the frequency(s) of all the candidates to which the
driver tried connection in the rso config during connect resp failure
and use the same list to update the roam channel list on the top of
entries present in scan db.

Change-Id: I7a4bb3961a64fcf987cb6f2be87b6475363d500a
CRs-Fixed: 3486154
2023-05-11 09:00:22 -07:00
Madan Koyyalamudi
1ab07f238e Release 5.2.1.65U
Release 5.2.1.65U

Change-Id: Idb6b1bea4618acfd98f2c287ff8e731381cdc75f
CRs-Fixed: 774533
2023-05-11 06:31:08 -07:00
Srikanth Marepalli
59bf42fbdb qcacld-3.0: Notify TDLS disable to FW only after deleting the peers
With the commit(Ic425cc065a29bbc444531f523eaccb14014ae47a) driver
enqueues the TDLS peer deletion as part of roam sync indication
and then enqueues the TDLS disable notify to firmware. But before
this driver is processing the TDLS enable notify which is part of
add_sta and then the TDLS disable is getting processed and
notified to firmware, which results in disabling the TDLS after
roam.
The correct sequence during roam should be delete the TDLS peers,
followed by TDLS disable notify to FW and then TDLS enable notify
to FW.
Driver already take care of deleting the TDLS peers as part roam
sync indication callback. This change calls the TDLS disable
notify API only after deleting the TDLS peers during roam.

Change-Id: I58ef78852290c95e6709e6aa1b0671916322625f
CRs-Fixed: 3486585
2023-05-11 06:31:07 -07:00
Madan Koyyalamudi
2d2736400f Release 5.2.1.65T
Release 5.2.1.65T

Change-Id: I41238f85e4dd883f758584b213de23fc85baf3d1
CRs-Fixed: 774533
2023-05-10 19:12:18 -07:00
Sheenam Monga
69d0edd123 qcacld-3.0: Add api to get freq for ll sap separately
Currently, single API is being used to get sap freq for
both HT and LT profile type sap which may cause issue in
future because one could be in MCC but other will be strictly SCC.

To avoid any issue different APIs are introduced for different
AP profile type.

Change-Id: I7108ef96896d3bec2116c6936884500d82b24fa0
CRs-Fixed: 3489049
2023-05-10 19:12:17 -07:00
Madan Koyyalamudi
2c1e5634ea Release 5.2.1.65S
Release 5.2.1.65S

Change-Id: Ic83a989523a50d5b7c9bc4443477f01759b0277d
CRs-Fixed: 774533
2023-05-10 17:08:39 -07:00
Jeff Johnson
59d58b682e qcacld-3.0: Kbuild: Remove duplicate -I[...]/lmac_if/inc
Currently, in Kbuild, the following switch is duplicated in the
ccflags: -Icmn/umac/global_umac_dispatcher/lmac_if/inc

One instance is populated here:
UMAC_DISP_DIR := umac/global_umac_dispatcher/lmac_if
UMAC_DISP_INC_DIR := $(UMAC_DISP_DIR)/inc
[...]
UMAC_DISP_INC := -I$(WLAN_COMMON_INC)/$(UMAC_DISP_INC_DIR)

The other instance is populated here:
[...]
UMAC_OBJMGR_INC := [...]
		-I$(WLAN_COMMON_INC)/umac/global_umac_dispatcher/lmac_if/inc

Remove the duplicate switch.

Change-Id: I46333836b427d047d8b5471c67b65698ca0b5417
CRs-Fixed: 3490071
2023-05-10 17:08:39 -07:00
Jeff Johnson
a1c61c1fee qcacld-3.0: Finish removing CONFIG_MCL_REGDB
Change I12af832d81815277ec6014ff5047bf960f01534a ("qcacld-3.0: Replace
CONFIG_MCL_REGDB with CONFIG_REG_CLIENT") replaced all usage of
CONFIG_MCL_REGDB.

Subsequently Change If2fb00bd2298aa6f43418b3e4694aa995887b4f3
("qcacld-3.0: Add qcs40x.snoc.perf_defconfig") added a new
instance. Since this instance is pointless, remove it.

Change-Id: If464eb9f510ded7fe9f2cfac3e16263f35fe3af6
CRs-Fixed: 3489450
2023-05-10 17:08:34 -07:00
Jeff Johnson
29f6779efc qcacld-3.0: Finish removing CONFIG_WLAN_FEATURE_NAN_DATAPATH
Change If98ecaace17f8724e9c28325ef61e721f42e1d8f ("qcacld-3.0: Combine
all NAN related flags with WLAN_FEATURE_NAN") removed all usage of
CONFIG_WLAN_FEATURE_NAN_DATAPATH, but did not remove the references
from the defconfig files, so do it now.

Change-Id: I1484a8917c1128637bd16009bd2237b6e99976f0
CRs-Fixed: 3489449
2023-05-10 17:08:28 -07:00
Madan Koyyalamudi
373bdf74a8 Release 5.2.1.65R
Release 5.2.1.65R

Change-Id: I39ec300018ba81aaa5f84986b1925d4405cbdc3e
CRs-Fixed: 774533
2023-05-10 14:45:26 -07:00
Yeshwanth Sriram Guntuka
f1620fb98b qcacld-3.0: Add prealloc pools for direct link consistent memory
Add multi page prealloc pools for TX buffers and CE
TX buffers for direct link datapath.

Change-Id: I8c8be42b0530de39293ad8e45f47e16f90ea7767
CRs-Fixed: 3490109
2023-05-10 14:45:25 -07:00
Madan Koyyalamudi
d807118e9c Release 5.2.1.65Q
Release 5.2.1.65Q

Change-Id: If701180d763d5e56a3487b461524ac11ec2b8de0
CRs-Fixed: 774533
2023-05-10 11:47:55 -07:00
Srinivas Girigowda
8189869ef9 qcacld-3.0: Enable local pkt capture feature
Enable local pkt capture feature.

Change-Id: Ib674027f84d30ed20b28187e83deb5b420c5c91c
CRs-Fixed: 3415890
2023-05-10 11:47:55 -07:00
Srinivas Girigowda
ad537fb8e7 qcacld-3.0: Enable WLAN_PKT_CAPTURE_TX_2_0
Enable WLAN_PKT_CAPTURE_TX_2_0.

Change-Id: I33f225f08140fbcdd86057b148cedcc04505ed39
CRs-Fixed: 3415889
2023-05-10 11:47:48 -07:00
Srinivas Girigowda
99eb4ce97a qcacld-3.0: Provide ucfg_fwol_set_ilp_config() api
Provide ucfg_fwol_set_ilp_config() api.

Change-Id: Id003eb8605c513bb1209e5a3b5073b9ad972b2fe
CRs-Fixed: 3415887
2023-05-10 11:47:42 -07:00
Srinivas Girigowda
69d21b22e9 qcacld-3.0: Add Tx Mon to prealloc
Add Tx Mon to prealloc.

Change-Id: I09d5558d0115ba148469047d03f33a029c43a287
CRs-Fixed: 3415885
2023-05-10 11:47:36 -07:00
Srinivas Girigowda
1a6bd34a09 qcacld-3.0: Add support to query local packet capture status
Add support to query local packet capture status.

Change-Id: I8582b8af89b0582cc94ba04ea3e875916617505b
CRs-Fixed: 3415881
2023-05-10 11:47:16 -07:00
Srinivas Girigowda
e41ef343b8 qcacld-3.0: Handle concurrency scenarios in local packet capture
Handle concurrency scenarios in local packet capture.

Change-Id: Ie464f4f2402e7f67f8eb16738dc107f09293a26b
CRs-Fixed: 3415879
2023-05-10 11:47:10 -07:00
Srinivas Girigowda
faa441c3eb qcacld-3.0: Add support for stop capture
Add support for stop capture.

Change-Id: I809163c033b09239adf79518a4baa40965a29f8f
CRs-Fixed: 3415876
2023-05-10 11:47:04 -07:00
Srinivas Girigowda
72b8810c2c qcacld-3.0: Add support for start capture
Add support for start capture.

Change-Id: I93a15b0bf8b9c26bd53d33378a7daefece448d68
CRs-Fixed: 3415870
2023-05-10 11:46:58 -07:00
Srinivas Girigowda
9af1145749 qcacld-3.0: Add config CONFIG_WLAN_DP_LOCAL_PKT_CAPTURE
Add config CONFIG_WLAN_DP_LOCAL_PKT_CAPTURE.

Change-Id: I221af4dda5e752c9e0775131b3d693aa8e9afdd1
CRs-Fixed: 3415866
2023-05-10 11:46:52 -07:00
Srinivas Girigowda
16c70081b9 qcacld-3.0: Add build flag for WLAN_PKT_CAPTURE_TX_2_0
Add build flag for WLAN_PKT_CAPTURE_TX_2_0.

Change-Id: Ia0a6f0161a029f71f976c76b67c7c2648ac41952
CRs-Fixed: 3415863
2023-05-10 11:46:47 -07:00
Srinivas Girigowda
f1552b1df0 qcacld-3.0: Add local packet capture to supported feature set
Add local packet capture to supported feature set.

Change-Id: I0c78473008c91e665d607a681e811efdfc8e08ee
CRs-Fixed: 3415859
2023-05-10 11:46:42 -07:00
Srinivas Girigowda
12352b5a73 qcacld-3.0: Introduce ucfg_dp_is_local_pkt_capture_enabled()
Introduce ucfg_dp_is_local_pkt_capture_enabled()

Change-Id: I0350452ff36b212bbee94da4cbe5adee37c50de2
CRs-Fixed: 3415854
2023-05-10 11:46:37 -07:00
Madan Koyyalamudi
e6fba8d5c8 Release 5.2.1.65P
Release 5.2.1.65P

Change-Id: I6a73fa49202019755c74c880fbdfb1a6972813aa
CRs-Fixed: 774533
2023-05-10 09:27:42 -07:00
Asutosh Mohapatra
c7a8607129 qcacld-3.0: Add new cfg item to disable SP AP connection to VLP STA
Add a new cfg item to drop connection request if
AP is operating in 6 GHz SP mode and STA doesn't
support SP mode but supports VLP mode.

Change-Id: I0f20d63f68b2424390ca424188f95f26971c9ada
CRs-Fixed: 3470602
2023-05-10 09:27:42 -07:00
Asutosh Mohapatra
275d59e9b4 qcacld-3.0: Remove relaxed_6ghz_conn_policy cfg item
relaxed_6ghz_conn_policy cfg item is no longer needed
with new regulatory policy as there is no dependency
on STA, AP country code to find 6 GHz power mode for
connection and also connect request should be rejected
if AP is advertising VLP and STA doesn't support VLP.

Hence remove this cfg item and the related APIs.

Change-Id: I3a48a3c6343e57f4f2386ebbab1f88d5052af505
CRs-Fixed: 3470571
2023-05-10 09:27:36 -07:00
Asutosh Mohapatra
06cee15c3f qcacld-3.0: Find best 6 GHz power type for connection
Find the best 6 GHz power type for connection
according to following regulatory policy:
1) SP power type is selected only if AP advertises
   SP and client supports SP.
2) LPI power type is selected only if AP advertises
   LPI and client supports LPI.
3) VLP power type is selected for the below cases,
   a) AP advertises VLP and client supports VLP
   b) AP advertises SP but client doesn't support
      SP but supports VLP.
   c) AP advertises LPI but client doesn't support
      LPI but supports VLP.

Change-Id: I582fb582e1e11b731a1c6cda01f4fc366f166143
CRs-Fixed: 3456192
2023-05-10 09:27:30 -07:00
Madan Koyyalamudi
6efca23ee1 Release 5.2.1.65O
Release 5.2.1.65O

Change-Id: Idcdbc5c81f8a0d5edbdf67d67d85f7833a23af8c
CRs-Fixed: 774533
2023-05-09 19:27:00 -07:00
Jianmin Zhu
389013d79b qcacld-3.0: Update peer puncture along with bw
For CSA of eht connection, when update peer bandwidth, need update
puncture bitmap at same time.

Change-Id: I388dfcbe862a55e99894ce97e4ce551eede5e816
CRs-Fixed: 3488977
2023-05-09 19:27:00 -07:00
chunquan luo
cae0b75f8b qcacld-3.0: Change roam background scan abort log
Roam background scan abort, driver print roam result
failed, but current ap is still connected.
Change roam abort background scan log instead of fail.

Change-Id: Ia10f010e8c353b12bdbbe0407c8e3d30b1ea45c2
CRs-Fixed: 3469290
2023-05-09 19:26:55 -07:00
Madan Koyyalamudi
d6d5c17d35 Release 5.2.1.65N
Release 5.2.1.65N

Change-Id: Ia583963b4fd5d8c3e5714dfeb0728dd9b00566c0
CRs-Fixed: 774533
2023-05-09 13:33:23 -07:00
Abhishek Singh
6d513e3e0d qcacld-3.0: Fix cm req accessed outside cm req or CM lock
Caller of wlan_cm_get_rnr, uses the cm request data without
lock.

Fix it by passing a local memory to wlan_cm_get_rnr to get
a copied data to use.

Change-Id: I574de5391dd02c1603e7c9c4b79b58d45e6e7739
CRs-Fixed: 3483870
2023-05-09 13:33:23 -07:00
Madan Koyyalamudi
8cb4e79599 Release 5.2.1.65M
Release 5.2.1.65M

Change-Id: I6f078ed37868b0d7a48312474bd8d218278ad5f1
CRs-Fixed: 774533
2023-05-09 04:06:34 -07:00
Aditya Kodukula
958cf718b6 qcacld-3.0: Use correct enum for QCA_WLAN_VENDOR_ATTR_LL_STATS_TYPE
Currently in driver, the vendor attribute QCA_WLAN_VENDOR_ATTR_LL_STATS_TYPE
uses values defined in the enum qca_wlan_vendor_attr_ll_stats_results_type,
which is defined internally but never upstreamed.

So, for the attribute QCA_WLAN_VENDOR_ATTR_LL_STATS_TYPE, use values defined
in the correct enum qca_wlan_vendor_attr_ll_stats_type which is upstreamed.

Change-Id: I143f9c8f50ab2f7a7ede68625552f07f4c50f73d
CRs-Fixed: 3489547
2023-05-09 04:06:34 -07:00
Madan Koyyalamudi
95b75f58f4 Release 5.2.1.65L
Release 5.2.1.65L

Change-Id: I9fefaa2dc2b639fadd78268b02d9d71726e0af08
CRs-Fixed: 774533
2023-05-09 01:48:22 -07:00
Amruta Kulkarni
86e9bf96dd qcacld-3.0: Add support for t2lm send action req frame
Add support to handle mlo link disable event and
send t2lm action frame.

Change-Id: I0b620c17fbb89b89d4d03cd55b1a6f41d28d6c2b
CRs-Fixed: 3470960
2023-05-09 01:48:21 -07:00
Vijay Raj
a87e645752 qcacld-3.0: Remove reason code check in wlan_hdd_connectivity_fail_event
In api wlan_hdd_connectivity_fail_event(), the reason code
of connect response is checked.

Removing the reason code check as there is no reason code
that is zero and this check is redundant.

Change-Id: Ib516cdba75fa8af6df13805313233fe9c02a3983
CRs-Fixed: 3486387
2023-05-09 01:48:16 -07:00
abhinav kumar
6514574e96 qcacld-3.0: forward all public action frames with no session
DPP bootstrapping/provisioning/configuration can happen
with or without connection. So such types of action
frames host should forward to the supplicant
irrespective of connection mode.

The fix is to forward public action frames with no session
to supplicant.

Change-Id: I0c3405726c4d484deaeadb5a1f5917a969a16495
CRs-Fixed: 3481196
2023-05-09 01:48:11 -07:00
Madan Koyyalamudi
1363fdad3e Release 5.2.1.65K
Release 5.2.1.65K

Change-Id: I309e0cd93a7847cfbf06a23a6d6dfbd4b67f2716
CRs-Fixed: 774533
2023-05-08 14:25:16 -07:00
Surya Prakash Sivaraj
d6466e54c0 qcacld-3.0: Do not send PASN status if peer not found
PASN peer do not get deleted unless the peer is same
as roaming bss peer. Therefore, if peer is not found
during configuration of the ltf key seed, then either
the BSS peer is not yet created or the PASN peer got
deleted because of connection with that BSS.

Either way, PASN auth status need not be sent, therefore
return success if PASN peer is not found during ltf key
seed configuration.

Change-Id: Icb663dd32d3d109a4387dad2ea0c98faf23bebd7
CRs-Fixed: 3475648
2023-05-08 14:25:15 -07:00
Madan Koyyalamudi
9116ea9eab Release 5.2.1.65J
Release 5.2.1.65J

Change-Id: Ib70e3dcce7482643e0ac0db24b631a96017a0b16
CRs-Fixed: 774533
2023-05-08 09:56:14 -07:00
Amit Mehta
434b0fbabe qcacld-3.0: Add UCFG API to get per link peer stats
Add new UCFG API to get per link peer stats.

Change-Id: I343b9a96610f64df33f8cc56e7a08c3282043fac
CRs-Fixed: 3442905
2023-05-08 09:56:14 -07:00
Madan Koyyalamudi
11d73706a0 Release 5.2.1.65I
Release 5.2.1.65I

Change-Id: I4c01128d6f6a3c9b50b6b31019dbb8ae6c99e0f6
CRs-Fixed: 774533
2023-05-08 06:42:58 -07:00