Commit Graph

24301 次程式碼提交

作者 SHA1 備註 提交日期
Madan Koyyalamudi
d75ff70513 Release 5.2.0.253L
Release 5.2.0.253L

Change-Id: I04a4922d1b6c395c100e8993d48d6e0d5e781b99
CRs-Fixed: 774533
2021-10-27 22:24:47 -07:00
bings
557a23985d qcacld-3.0: API to get chan utilization
Implement API to get chan utilization for EasyMesh.

Change-Id: I5002fb7b6f8472353bb3fc3b8d8bbd05a1294aa6
CRs-Fixed: 3044699
2021-10-27 22:24:47 -07:00
Gururaj Pandurangi
4a51304a82 qcacld-3.0: Avoid OOB read in dot11f_unpack_assoc_response
Avoid OOB read in dot11f_unpack_assoc_response API. Add check
for when nBuf == len to read another byte of pBufRemaining.

Change-Id: Iccdb0b268d16f4169b8b701ade6085d47897f785
CRs-Fixed: 3042293
2021-10-27 22:24:42 -07:00
Liangwei Dong
3695cd3f8e qcacld-3.0: Fix driver logging stop in dual STA SSR
In STA+STA case, if SSR happens, driver will clear the
no_of_active_sessions = 0 at the beginning of wlan shutdown
by policy_mgr_clear_concurrent_session_count.
In the shutdown process, one STA will be disconnected and
in the setting PCL of second STA, the no_of_active_sessions
will be decreased to 255 from 0
in policy_mgr_store_and_del_conn_info.
Fix by move the policy_mgr_clear_concurrent_session_count
to policy mgr enable/disable.

Change-Id: I70bcc60fe3030db71376a626d6f9625fe299417d
CRs-Fixed: 3063772
2021-10-27 22:24:37 -07:00
bings
11469a4df6 qcacld-3.0: Add API to get/set chan width for EasyMesh
Add API to get/set chan width for EasyMesh.

Change-Id: I118baf627dc926dc0f4f1e354090521b5959535a
CRs-Fixed: 3034717
2021-10-27 22:24:33 -07:00
bings
6921a0560c qcacld-3.0: Indicate assoc req to son
Indicate assoc req frame to son

Change-Id: Ic5779011cc248ad6fc8b341170b64ac45a1d5a9c
CRs-Fixed: 3043011
2021-10-27 22:24:28 -07:00
Madan Koyyalamudi
db6b10f50f Release 5.2.0.253K
Release 5.2.0.253K

Change-Id: Iae248c097e3a82b3390b8fac3f6a039b51b9e3ad
CRs-Fixed: 774533
2021-10-27 20:53:09 -07:00
bings
b6c09cbaf4 qcacld-3.0: Do not kickout sta if it is in band steering
When a sta is being steered, sending a deauth may interrupt the
association/EAPOL handshake on the new BSS.

Do not kickout sta if it is being steered.

Change-Id: I15dd26bca27699087cdb790de8cb95281dade385
CRs-Fixed: 3042990
2021-10-27 20:53:09 -07:00
bings
9aad58a07d qcacld-3.0: Implement ACL API for EasyMesh
Add API to set/get ACL policy. Add API to add/delete ACL MAC.
Add API to kickout sta according to MAC.

Change-Id: I329501d4f0c929b6e7933a8e484b5d8493dbbabe
CRs-Fixed: 3042927
2021-10-27 20:53:04 -07:00
Madan Koyyalamudi
7b2459228e Release 5.2.0.253J
Release 5.2.0.253J

Change-Id: I6d923f005124a9692297d2d933536ae40c38a3c6
CRs-Fixed: 774533
2021-10-27 04:10:19 -07:00
Bapiraju Alla
a75ce7c6aa qcacld-3.0: Send EAPOL packet over NL for non ML connection
Currently, Driver is registering control port over NL feature. But
EAPOL packets are not sent over NL only incase of non-ML connection.
Because of this EAPOL packets are being dropped.

To avoid this, Send EAPOL packets over NL for non ML connection
in the above scenario.

Change-Id: Iabe4e9cf5934ffd28753f99fbef9c5bbce7224e8
CRs-Fixed: 3061152
2021-10-27 04:10:19 -07:00
Madan Koyyalamudi
97ce1b4c19 Release 5.2.0.253I
Release 5.2.0.253I

Change-Id: Ia2fc7d2f302c27e252d938e7e54db3aaf8da05b2
CRs-Fixed: 774533
2021-10-27 01:11:21 -07:00
Rakesh Pillai
b716b9746c qcacld-3.0: Enable Reduced peer_id field width feature
Enable the below datapath MLO features in Kbuild
- DP_USE_REDUCED_PEER_ID_FIELD_WIDTH

The above feature reduces the width of peer_id from
peer_metadata, thereby reducing the size of the peer
object array.

Change-Id: I58533c241a40184129786f11a47f3722cf005a61
CRs-Fixed: 3059637
2021-10-27 01:11:21 -07:00
Madan Koyyalamudi
478b5d72d6 Release 5.2.0.253H
Release 5.2.0.253H

Change-Id: I5d815aa24c81b3e050fdcba6e385e1bbef9be381
CRs-Fixed: 774533
2021-10-26 12:29:54 -07:00
Jyoti Kumari
e394b0bb00 qcacld-3.0: Validate 3-port combo p2p+p2p+sta based on fw cap
Check the existing two connection are in below comibation or not
GO + GO
GO + GC
GC + GC
GO + STA
GC + STA
If the existing two connection are in above combination and third
connection comes as GO or GC or STA then check whether firmware
supports p2p-p2p concurrency or not.
if firmware supports p2p-p2p concurrency and third connection is
GO or GC or STA then only allow the third connection as GO or GC
or STA otherwise do not allow third connection as GO or GC or STA
with above combination.

Change-Id: I0c2408232e84438dc5dd8d104b75fdee126aa31f
CRs-Fixed: 3043845
2021-10-26 12:29:54 -07:00
Lincoln Tran
289154d1c8 qcacld-3.0: Release MLD sta info
Currently, sta_info is allocated for MLD address but never freed. Add
logic to free the station info for MLD address too.

Change-Id: If957bb5e77e83f2bf272f2d4d58bd3ab8d5e19e0
CRs-fixed: 3059099
2021-10-26 12:29:49 -07:00
Madan Koyyalamudi
ba278fcccd Release 5.2.0.253G
Release 5.2.0.253G

Change-Id: I105e801a3570703f77e486a49b7d657bab0bf1ba
CRs-Fixed: 774533
2021-10-26 08:18:40 -07:00
Utkarsh Bhatnagar
2da1148c26 qcacld-3.0: Use Policy Mgr Debug to print Freq info
Use Policy Mgr Debug to print Frequency Range info.

Change-Id: Ia54b8d99bc1f4c6141b83b1e7f5348ca791d8f6e
CRs-Fixed: 3062730
2021-10-26 08:18:40 -07:00
Madan Koyyalamudi
a09a2fe2f0 Release 5.2.0.253F
Release 5.2.0.253F

Change-Id: I1fa19241ca743c8dd4293f6feabd530f44b527b4
CRs-Fixed: 774533
2021-10-26 04:43:49 -07:00
Naman Padhiar
24053827cc qcacld-3.0: Add PLD API for devm_request_irq
Add PLD API for devm_request_irq in PLD layer.It can be used
by HIF layer when required.

Change-Id: I1bd08e3c3dc64c47b9792b428322100e12150b27
2021-10-26 04:43:49 -07:00
Jianmin Zhu
26e98c0815 qcacld-3.0: channel_switch_complete_evt need wake up all waiting threads
2 threads blocked to wait channel_switch_complete_evt for SAP channel
switch is already in progress,  qdf_event_set only woke up 1st thread
later,  2nd  thread still kept blocked with hold  net_dev for debug id
NET_DEV_HOLD_COUNTRY_CHANGE_UPDATE_SAP, leak happened.

Change-Id: Iad296f68aeaefe5a6b88ad6bea95cc377b2ae515
CRs-Fixed: 3061960
2021-10-26 04:43:44 -07:00
Madan Koyyalamudi
523cfd93ea Release 5.2.0.253E
Release 5.2.0.253E

Change-Id: Ia59d86b06b9d49fb07248e0904ed2f0683416dac
CRs-Fixed: 774533
2021-10-25 20:19:00 -07:00
Pragaspathi Thilagaraj
e18138c7fa qcacld-3.0: Allow ADDROAMSCANFREQUENCIES irrespective of roam scan control
Based on the new NCHO requirement, allow ADDROAMSCANFREQUENCIES to add
roam scan frequencies irrespective of the roam scan control value.

Change-Id: I5742f6d590e3ec51bfb294610ede05b1935a4790
CRs-Fixed: 3046763
2021-10-25 20:19:00 -07:00
Madan Koyyalamudi
fd4b24dd41 Release 5.2.0.253D
Release 5.2.0.253D

Change-Id: Icc458e93684571665c9626b89a412bcb041aa43c
CRs-Fixed: 774533
2021-10-25 18:31:07 -07:00
Yue Ma
df9def6927 qcacld-3.0: Use wlan_cfg80211_nla_strscpy instead of nla_strlcpy
From 5.11 kernel, nla_strlcpy() is renamed to nla_strscpy(), hence
handle it accordingly in WLAN driver by using newly created wrapper
API wlan_cfg80211_nla_strscpy().

Change-Id: I8303c107539ac0755f5403174cce4f65b79d591d
CRs-fixed: 3060053
2021-10-25 18:31:06 -07:00
Yue Ma
2dcbb51137 qcacld-3.0: Remove including subsystem_restart.h from wlan_hdd_main.c
In wlan_hdd_main.c file, there is no reference to any interface from
subsystem_restart.h, so remove it to avoid compilation errors since
subsystem_restart.h is no longer supported and the file is not present
latest msm-kalama kernel.

Change-Id: Id5858bf436a44f612bab15f341bf0dc8dafc90f2
CRs-fixed: 3060053
2021-10-25 18:31:02 -07:00
Madan Koyyalamudi
e295781fcc Release 5.2.0.253C
Release 5.2.0.253C

Change-Id: I6aafbd631752d1067fe12c9e1b67abadb50a6346
CRs-Fixed: 774533
2021-10-25 09:19:03 -07:00
Pragaspathi Thilagaraj
41ed5a4dfb qcacld-3.0: Fix log subtype for filling connect fail logs
The log subtype field is not filled for the connecting fail
subtype logs. This causes WLAN_CONNECTING event to be sent
in case of connection failure also.

Fill the log subtype as WLAN_CONNECTING_FAIL for connection
failures.

Change-Id: I36d5c756274d77f562f1acfc1d75a79fcda210d9
CRs-Fixed: 3060642
2021-10-25 09:19:03 -07:00
Pragaspathi Thilagaraj
56712e7646 qcacld-3.0: Cleanup lim set PCL unused code
Set PCL command was sent from CSR->LIM->WMA in
legacy implementation. With current flow set
pcl follows policy_mgr->WMA path.

So remove unused LIM set roam PCL code.

Change-Id: I300f901fbd62ebab14527f05d98528c108823cd0
CRs-Fixed: 3062176
2021-10-25 09:18:58 -07:00
Madan Koyyalamudi
aabeb133ed Release 5.2.0.253B
Release 5.2.0.253B

Change-Id: I7956ef0072b403371c01399287ba8f6d33b642e0
CRs-Fixed: 774533
2021-10-25 06:21:13 -07:00
Arun Kumar Khandavalli
49ee4819a7 qcacld-3.0: Avoid dsc wrapper in per-packet path
In OSIF every north bound entry is protected via dsc. DSC op start/stop
takes a spinlock for every call into the driver, the framework
also searches through a osif vdev list for every into driver call.

In per-packet path this is operation of taking/releasing the spinlocks
and traversal of the linked lists is costly. To avoid this and
protect the DP operations against SSR/load unload define a new
atomic variable. Before SSR/driver unload wait for the DP op
also to complete.

Change-Id: I4e9061b9e6b454b20789f9d7d3b7e3955a9bfaa5
CRs-Fixed: 3060552
2021-10-25 06:21:12 -07:00
Madan Koyyalamudi
2a5dcfac38 Release 5.2.0.253A
Release 5.2.0.253A

Change-Id: I651fc7bd441f10863097410cd984d7fd583b231a
CRs-Fixed: 774533
2021-10-24 23:17:55 -07:00
Surya Prakash Sivaraj
f1299c10f6 qcacld-3.0: Save ext cap IE from join request
Host sends the EXT CAP IE based on the capability
coming from the supplicant in join request. But, after
roaming the cached join request will be freed. Therefore,
after roaming few capabilities sent by the userspace are
not saved and therefore lost in reassoc request.

Save the EXT CAP IE from the join request in the VDEV
and use the cached capability for sending Ext cap IE.

Change-Id: I71947388b4c6e9e56a5832557416d9b462de70e2
CRs-Fixed: 3038496
2021-10-24 23:17:55 -07:00
Madan Koyyalamudi
d001f38fdb Release 5.2.0.253
Release 5.2.0.253

Change-Id: I729013dad16894db3835e6d1a371cb8626fa66cb
CRs-Fixed: 774533
2021-10-23 00:48:38 -07:00
Srinivas Girigowda
8bbebbca6a qcacld-3.0: Fix error handling order in hdd_component_psoc_open()
During components psoc open, if the Nth component psoc open fails,
then previous (N-1)th psoc's must be closed in reverse order as
part of error handling.

Change-Id: Id12a6c667b74b0ac17e45c2aa2451add18fbdae1
CRs-Fixed: 3061676
2021-10-23 00:48:38 -07:00
Madan Koyyalamudi
5e4212b1c2 Release 5.2.0.252Z
Release 5.2.0.252Z

Change-Id: I07b94e0f83b24cf8697e81c9d15ca2d98105dd75
CRs-Fixed: 774533
2021-10-22 22:18:47 -07:00
Will Huang
0f6729354f qcacld-3.0: Clear dfs_use_nol flag by check chan/bw DFS attribute
If ini gDisableDFSChSwitch=1 is set to setup dfs test mode,
should disable dfs nol function regardless sap operation
channel dfs or not, because sap's bonded channels may have
dfs channels if bandwidth is 160M.

Fix it by invoke wlan_mlme_check_chan_param_has_dfs().

Change-Id: If42c85a3dd1b83e495d7e6a556a6769c3e9e28b6
CRs-Fixed: 3038252
2021-10-22 22:18:47 -07:00
Madan Koyyalamudi
ae792658b8 Release 5.2.0.252Y
Release 5.2.0.252Y

Change-Id: I425eb2b1bd5a917d136c1e443ea14a64286aef0d
CRs-Fixed: 774533
2021-10-22 20:49:18 -07:00
Wu Gao
a0b8df549b qcacld-3.0: Reduce log level when get unexpected action frame
There is frequent output when get unexpected vendor specific action
frame. So, add this change and reduce the log level.

Change-Id: I9d832546a4436bdf7dd25cb00a7de5cce1295b31
CRs-Fixed: 3060750
2021-10-22 20:49:17 -07:00
Madan Koyyalamudi
aae12f23d7 Release 5.2.0.252X
Release 5.2.0.252X

Change-Id: Ifc1b22e4f07e1a203bb151a756bba89b56d34547
CRs-Fixed: 774533
2021-10-22 18:19:15 -07:00
Srinivas Dasari
b0b8c6afb5 qcacld-3.0: Drop the blacklist event if no APs are present
Currently, target_if forwards the blacklist event to upper layers
even if there is no AP info present. This event can be dropped in
target_if to avoid accessing unallocated memory.

Change-Id: Icfaabb0a8e3304882979ffde7f5cd27fd4c8a067
CRs-Fixed: 3057424
2021-10-22 18:19:15 -07:00
Madan Koyyalamudi
a3828df476 Release 5.2.0.252W
Release 5.2.0.252W

Change-Id: I5ea718c6065ca11772abb3b79e0c1604f543ae43
CRs-Fixed: 774533
2021-10-22 12:40:58 -07:00
Amruta Kulkarni
4931766cd1 qcacld-3.0: Fix connectivity logging for SAE Auth Tx/Rx
In WPA3 SAE TX case, auth_algo, auth_type and auth_seq_num
are not filled to the connectivity logging.
In SAE RX case, the auth frames are not getting logged.

Fix connectivity logging to handle SAE RX and TX case
by adding the params mentiioned above.

Change-Id: I388dd154f9d80aaf51f45bb571139072c77bf782
CRs-Fixed: 3057861
2021-10-22 12:40:57 -07:00
Pragaspathi Thilagaraj
ac1c7266fd qcacld-3.0: Send beacon miss disconnection logging event
Add support to send beacon miss disconnection logging event.
Fix the diag attribute end marker in the event table.

Change-Id: I11fc8859af383b69bcba42654fb3a2bc597fef83
CRs-Fixed: 3056266
2021-10-22 12:40:53 -07:00
David Oladunjoye
f891260630 qcacld-3.0: Fix out-of-bounds access while copying SSID
Issue is, if the req->ssid_len is greater than 32 then 
record->conn_info.ssid_len is limited to 32, but while copying the ssid to
the destination array, req->ssid_len is used, which may cause out of 
bounds access.

Fix is to use destination array ssid length record->conn_info.ssid_len

Change-Id: I2a661b18fc1d27eec8b2f85877681fc1b782ad39
CRs-Fixed: 3059161
2021-10-22 12:40:48 -07:00
Surya Prakash Sivaraj
5efea8213d qcacld-3.0: Handle reset case for P2P_SET_NOA
For resetting NOA, "P2P_SET_NOA 0 0 0" command will be
used. Since duration and interval are same, currently the
set will be rejected.

Handle the count 0 case and bypass the existing validation
for periodic NOA.

Change-Id: I5294d7bcdd70d9280e50167c961d2e9c525fca4c
CRs-Fixed: 3054252
2021-10-22 12:40:42 -07:00
Paul Zhang
c375bc51a8 qcacld-3.0: store the wmm info in the pe session
Currently FASTREASSOC issues roam command to trigger fw process
LFR3 roaming. When roam event comes back, it deletes the old pe
session and creates a new one hence the bss desc info is lost.
Funtion lim_is_medium_time_valid could not get desc info and
cause addTS fail.

To resolve this issue, store the wmm info in the pe session if
it presents.

Change-Id: I6c7c79c96fed7384a686a1fa0f49069440096e90
CRs-Fixed: 3058801
2021-10-22 12:40:38 -07:00
Pragaspathi Thilagaraj
c304893863 qcacld-3.0: Enable time sync only on connection/roam
Currently WMI_DBGLOG_TIME_STAMP_SYNC_CMDID command sent
every 1 sec causes RTPM collapse and inturn has power
impact. So to avoid this enable time of the day synchronization
only after connection/roaming.

Send WMI_DBGLOG_TIME_STAMP_SYNC_CMDID as part of RSO
start command.

Change-Id: Iee3cefe1318a6e5507a43cefb9666cc2a439fe06
CRs-Fixed: 3060762
2021-10-22 12:40:33 -07:00
Madan Koyyalamudi
1747a03a5e Release 5.2.0.252V
Release 5.2.0.252V

Change-Id: Iabecdb08e8527102b346b8457caff19815ffa7c0
CRs-Fixed: 774533
2021-10-22 10:20:29 -07:00
Liangwei Dong
196f2b9062 qcacld-3.0: Revert "Fix channel width mismatch in ROAM SYNC"
This reverts commit I784e4b1735f4f217713f65c30092bac2ad6cb698.
Some AP reports HT20 in beacon frame but HT40 in assoc response
frame. FW roaming will decide BW HT40 based on assoc response.
In previous change host will decide BW based on assoc response
as FW does. But the issue is after roaming, the host will check
beacon for AP BW changing and then do vdev restart. But the vdev
restart may be rejected by FW if the FW roaming is still in
progress. To avoid the complication, revert the change.
The original issue will be fixed by validation the channel
segment by Ia41c51feca855cab54e908438c51a8d12075f864 to avoid
the kernel check channel failure and disconnect.

Change-Id: Ib170acb3588cf07bf666d446f5dde73de2d4705b
CRs-Fixed: 3061233
2021-10-22 10:20:29 -07:00