提交線圖

25450 次程式碼提交

作者 SHA1 備註 日期
Liangwei Dong
36accba316 qcacld-3.0: Add files for MCC Quota event feature
Add files of MCC Quota event functions when WLAN_FEATURE_MCC_QUOTA
feature is enabled.

Change-Id: If8ab364223f7f3236230fc0fbbc953f184c02528
CRs-Fixed: 3101880
2022-04-06 21:26:46 -07:00
Liangwei Dong
beb17bb95f qcacld-3.0: Indicate mcc quota vendor event
Register os if callback to get MCC quota event
indication and send to upper layer by vendor event.

Change-Id: I232343210343091fc18e4c6ef2c3a8844fddf2c5
CRs-Fixed: 3101876
2022-04-06 21:26:41 -07:00
Madan Koyyalamudi
4bf22524bb Release 5.2.1.16L
Release 5.2.1.16L

Change-Id: Id8cd2db02a7d500f79413a2cb280d833f2fbe4a3
CRs-Fixed: 774533
2022-04-06 16:14:27 -07:00
Sheenam Monga
2b706b3284 qcacld-3.0: Update copyright
Add both creation and updation year in file copyright.

Change-Id: I3a8c785f257a801139e4eb3369d8bc1cd2935e24
CRs-Fixed: 3164501
2022-04-06 16:14:27 -07:00
Madan Koyyalamudi
ff731d85b2 Release 5.2.1.16K
Release 5.2.1.16K

Change-Id: I85fa09e99e0203ddf102e6352114c3a2a8bd1de8
CRs-Fixed: 774533
2022-04-06 07:06:42 -07:00
Will Huang
1135c6caf9 qcacld-3.0: Save disconnected sta chan freq and check when sap restart
If AP1 on 2G unsafe channel (no valid 2g channel so can't move),
STA+AP2 on 5G unsafe channel doing SCC, when STA disconnect, 5G AP2
is expected to restart to another 5G safe channel, but 2G AP1 will
also be selected to restart to another 2g safe channel (not in acs
range), which is not supported to switch to different channel at same
time.

To fix this issue, save last disconnected sta channel frequency in
policy manager context, and find the AP which is doing SCC with this
sta, and restart this SAP to safe channel.
To avoid possible OOB write warning, enlarge the input array buffer
of policy_mgr_get_mode_specific_conn_info().

Change-Id: If6ddd889cc0fd8b00796d42e6aa4d1a98b6b1070
CRs-Fixed: 3145226
2022-04-06 07:06:41 -07:00
Madan Koyyalamudi
80fda4c7b7 Release 5.2.1.16J
Release 5.2.1.16J

Change-Id: Ib4e7bf6403483b3aedd79ef7dcf473c1ae7338ba
CRs-Fixed: 774533
2022-04-06 04:39:30 -07:00
Chaoli Zhou
c31221728b qcacld-3.0: Fix undeclared identifier 'STA_ENTRY_TDLS_PEER'
Fix the compile failure issue when TDLS disabled.

Change-Id: I4bd4d494e4518dd50cf27c72d9e0dce91bcd86d8
CRs-Fixed: 3162856
2022-04-06 04:39:30 -07:00
Madan Koyyalamudi
b6b2542f32 Release 5.2.1.16I
Release 5.2.1.16I

Change-Id: I5f4066f0520b8d1043bab603f610a5b78e72738c
CRs-Fixed: 774533
2022-04-06 03:25:15 -07:00
nakul kachhwaha
91468b4a79 qcacld-3.0: Add ucfg API to set 6ghz relaxed conn policy flag
Add ucfg API to set 6ghz relaxed connection policy flag.

change-Id: I659bf86c4308691d5adc9f2a4d2ed3c38bbc63f0
CRs-Fixed: 3166847
2022-04-06 03:25:15 -07:00
Madan Koyyalamudi
8de281b1ae Release 5.2.1.16H
Release 5.2.1.16H

Change-Id: I43aa8aca2d41a24a3a04d8010cf13988d94ff2f9
CRs-Fixed: 774533
2022-04-05 15:24:17 -07:00
Jianmin Zhu
54740f84b5 qcacld-3.0: Fix assert when handle wakeup event during SSR
In special case, tasklet(ksoftirqd/0) that handle WMI event was stuck
for 4 sec, SSR was triggered for timeout waiting for resume
event from FW during RTPM resume.

During SSR, cp_stats_tx_ops->inc_wake_lock_stats callback was cleared,
later WOW_WAKEUP_HOST_EVENTID was received, callback was executed, assert
happened.

Change-Id: Ib9ae7d61d1b415e9857657725ffd2ae1efd4795c
CRs-Fixed: 3165730
2022-04-05 15:24:16 -07:00
Madan Koyyalamudi
d2e98505b6 Release 5.2.1.16G
Release 5.2.1.16G

Change-Id: I9da566f8941b82b24d214297191a7bf860816145
CRs-Fixed: 774533
2022-04-05 01:24:59 -07:00
Liangwei Dong
641ff5696e qcacld-3.0: Avoid SAP channel change if target freq and bw same
Move the channel frequency and bandwidth check after
wlansap_get_csa_chanwidth_from_phymode API call. The API
may change the target channel bw if SAP works in concurrency
with STA on same channel.

Change-Id: I717c58e4a9e7eb6ea66b0eb56933b5508d4d83c0
CRs-Fixed: 3161386
2022-04-05 01:24:59 -07:00
Madan Koyyalamudi
2832b27d06 Release 5.2.1.16F
Release 5.2.1.16F

Change-Id: Ib2be043af5d276ce261359029249a0d948b51b6e
CRs-Fixed: 774533
2022-04-04 21:00:14 -07:00
Pragaspathi Thilagaraj
03337a051c qcacld-3.0: Send connectivity logs only for STA mode
Connectivity management frame logs are sent for SAP mode also but
should be sent for STA mode only.

Send connectivity/roaming logs only for station mode.

Change-Id: Ib9ae7824f7eca61fdce4c2c163a24554e7b2eb36
CRs-Fixed: 3165658
2022-04-04 21:00:13 -07:00
Srinivas Girigowda
e5bb379ee3 qcacld-3.0: Return -EAGAIN if TWT setup is issued and PS disabled
As per the requirement, if TWT setup request is issued when
power save is disabled, expectation from driver is to return -EAGAIN.

Change-Id: I7a519d15787f912338afabf7e83b561cb3a2ebc0
CRs-Fixed: 3163880
2022-04-04 21:00:06 -07:00
Madan Koyyalamudi
b7bf811b55 Release 5.2.1.16E
Release 5.2.1.16E

Change-Id: Ic5d971c94b22548d93c498706330366a57661376
CRs-Fixed: 774533
2022-04-04 09:04:49 -07:00
Madhvapathi Sriram
1b1d1d0470 qcacld-3.0: Avoid uninitialized variable errors
Strict checking of uninitialized usage of variables.

Change-Id: I8645924a298b3dc34c07eda7b70d1d9935807239
CRs-Fixed: 3162631
2022-04-04 09:04:49 -07:00
Madan Koyyalamudi
0ed073a3ce Release 5.2.1.16D
Release 5.2.1.16D

Change-Id: I2eb52b41ea049cd43b8633fe59d5f12dcb7753c9
CRs-Fixed: 774533
2022-04-03 17:56:01 -07:00
Ashish
4e33f10a0c qcacld-3.0: Do not allow NAN on passive channels
Current NAN is allowed on passive channels which is not
expected as passive channels does not allow initial
trnsmission.

To address above issue, do not allow NAN on passive
channels.

Change-Id: Ied7ba8eb38feb528209cafa6793aed93456989d6
CRs-Fixed: 3157369
2022-04-03 17:56:00 -07:00
abhinav kumar
8104687665 qcacld-3.0: Allow roaming to configured roaming band only
Here upper layer configures roam band via the SETROAMBAND
NCHO command. This means DUT should be restricted to roam
to the configured band only but as per current PCL filtration
logic, DUT is allowed to roam beyond the configured band AP
also. Roam Band definition is:
0: auto (all supported bands)
1: 2.4 only
2: 5 only
3: 2.4 + 5
4: 6 only
5: 2.4 + 6
6: 5 + 6
7: 2.4 + 5 + 6

Fix is to update the PCL filtration logic in wma_send_set_pcl_cmd
and make sure DUT doesn't roam beyond the configured band AP.

Change-Id: Ia2353e8ff982609a4ab5a35715886648f140cd22
CRs-Fixed: 3158456
2022-04-03 17:55:55 -07:00
Surya Prakash Sivaraj
edc56c445f qcacld-3.0: Remove the old SAP/CSR flow
Remove the old SAP-CSR flow for start bss, stop bss and
channel change req processing which is disabled currently
under the SAP_CP_CLEANUP macro.

Cleanup the redundant checks in the deauth, disassoc
response processing in CSR.

Change-Id: I5a360fc267688b51ca645551108b65646a3c8c1a
CRs-Fixed: 3164259
2022-04-03 17:55:50 -07:00
Madan Koyyalamudi
66069ecbf4 Release 5.2.1.16C
Release 5.2.1.16C

Change-Id: I8f6e364b5b4ee305fe8a76f3972fbd90dc4c5965
CRs-Fixed: 774533
2022-04-01 09:17:37 -07:00
Jyoti Kumari
930f8637fb qcacld-3.0: Remove peer disconnect command from serialization
Consider a case when CSA happens and south bound disconnect
command(WLAN_SER_CMD_WM_STATUS_CHANGE) got queue in serialization
at same time. Later peer tries to connect and south bound
diconnect command becomes active for same peer.

As part of CSA, peer gets deleted directly without going through
serializtion. So when south bound disconnection command becomes
active, it may lead to race where peer tries to connect and
driver tries to disconnect the same peer which may cause
deauth/disconnect(WLAN_SER_CMD_WM_STATUS_CHANGE) active command
timeout.

As part of fix, flush all peer disconnect/deauth pending commands
from serialization during CSA.

Change-Id: I9b0af7deb7f2123850f3535f2d3258440af381f1
CRs-Fixed: 3148874
2022-04-01 09:17:37 -07:00
Madan Koyyalamudi
273c9d43b2 Release 5.2.1.16B
Release 5.2.1.16B

Change-Id: I2e895e677d78839a8f5a6ef66f6d06347a152496
CRs-Fixed: 774533
2022-04-01 01:11:12 -07:00
Surya Prakash Sivaraj
d3334169ee qcacld-3.0: Drop duplicate auth/assoc frames
Currently duplicate authentication frames are dropped if the
sequence number is same previously processed auth frame and retry
bit is set. To stop the flooding of auth frames with same sequence
number, check the previous seq number stored on the preauth node
and drop if the frame is a duplicate.

Currently, for PMF-capable peers the duplicate assoc request
frames are getting processed before the key is plumbed because
the is_key_installed flag is not reset properly before assigning
the dp hash node to a new sta. Therefore, reset the is_key_installed
flag for every new dp hash node addition.

Change-Id: Id035a5ba5ffe9b745361956d05496f9905bf2526
CRs-Fixed: 3155517
2022-04-01 01:11:11 -07:00
Madan Koyyalamudi
e7954e4083 Release 5.2.1.16A
Release 5.2.1.16A

Change-Id: I56d73f9c26880d39be66de7d7c934a0b7433e44a
CRs-Fixed: 774533
2022-03-31 20:52:42 -07:00
Bing Sun
d9e9a15baf qcacld-3.0: Consider puncture when check chan parameters during SAP start
11BE SAP is allowned to start even some channels in the channel bandwidth
are disabled.

Change-Id: I0f6df9a8b06af952f4433ca5f89bba83fcf2ecb2
CRs-Fixed: 3159169
2022-03-31 20:52:41 -07:00
Madan Koyyalamudi
db7e902fe8 Release 5.2.1.16
Release 5.2.1.16

Change-Id: Icffdfdb261a31f50faaafb3b01ddc95e2b08f6a0
CRs-Fixed: 774533
2022-03-31 14:05:35 -07:00
Arun Kumar Khandavalli
39d69c49ba qcacld-3.0: Remove the incorrect mlo ie log
whenever a probe response is parsed the driver looks for ml ie
capability, in the legacy ap's the ml ie will not be present for
which driver is logging an error message which as such is not an error.

Remove the incorrect mlo ie error log.

Change-Id: I00995c949b1ef22569ff62e0962d5e803885fa38
CRs-Fixed: 3161556
2022-03-31 14:05:34 -07:00
Madan Koyyalamudi
dd3633e187 Release 5.2.1.15Z
Release 5.2.1.15Z

Change-Id: Ie190e59a1f1028a4c184a5ecc837a1a9f131fbb7
CRs-Fixed: 774533
2022-03-31 05:46:23 -07:00
Bing Sun
0413c79b44 qcacld-3.0: Only check primary channel in NOL or not for 11be AP
There is no need to check channel state based on AP bandwidth because
even subchannel is invalid, it is OK for 11be AP to start.
Check channel bandwidth with puncture in lim_pre_vdev_start.

Change-Id: Idad8f96164e979c5139b2ffa7d2be9c1764fbb0f
CRs-Fixed: 3159137
2022-03-31 05:46:22 -07:00
Madan Koyyalamudi
ca7341d632 Release 5.2.1.15Y
Release 5.2.1.15Y

Change-Id: Iae69fcdb98f6e4eff64e6b02875a37689820bb0d
CRs-Fixed: 774533
2022-03-30 23:18:54 -07:00
Bing Sun
b7b003f34f qcacld-3.0: Set ru_punct_supp_bw of wiphy
Set ru_punct_supp_bw of wiphy to indicate puncturing support.

Change-Id: I8df09e36172fe064d2192423b51e8b73d1bad5c2
CRs-Fixed: 3155064
2022-03-30 23:18:54 -07:00
Madhvapathi Sriram
ca8b19870a qcacld-3.0: Support MCC user quota only for P2P-GO
Honor the MCC user quota setting for P2P-GO interface only.

Change-Id: If8421c2e1ce89347cf4d09f333cb9d0528f85326
CRs-Fixed: 3160553
2022-03-30 23:18:48 -07:00
Madan Koyyalamudi
d6603272f9 Release 5.2.1.15X
Release 5.2.1.15X

Change-Id: I753556a7c2a61300c7880563c324f61c9257fa1c
CRs-Fixed: 774533
2022-03-30 12:25:40 -07:00
Alan Chen
6bb4ffe1c9 qcacld-3.0: Create a new ndo callback function for netdev ops
For Kernel 5.15+, the ifr_data variable will no longer be included
in the ifreq struct and would need to be passed as a separate argument.
Thus, create a new ndo callback function ndo_siocdevprivate() that is
used for Kernel 5.15+.

Change-Id: Iccb5b5f5edd650b4a604e15b787d3b927eabc6b5
CRs-Fixed: 3157820
2022-03-30 12:25:40 -07:00
Madan Koyyalamudi
4be078788e Release 5.2.1.15W
Release 5.2.1.15W

Change-Id: I5289dcf1423479b5a63dbcf8f76d1b01d808e0b9
CRs-Fixed: 774533
2022-03-30 02:40:06 -07:00
Bing Sun
3b355c6cf4 qcacld-3.0: save eht_op in assoc response
There is eht_op in assoc response, save it.

Change-Id: If2765c68099f75374a7ec1c8a1660a4373ad8d11
CRs-Fixed: 3159104
2022-03-30 02:40:06 -07:00
Madan Koyyalamudi
8d78c8c6f5 Release 5.2.1.15V
Release 5.2.1.15V

Change-Id: I5dd218e49dbf5227a69183a8cc1762866b0b56b2
CRs-Fixed: 774533
2022-03-30 01:13:07 -07:00
Karthik Kantamneni
545b3b934e qcacld-3.0: Implement SWLM support for MULTI TX queue traffic
Currently SWLM is supported for single queue based traffic,
enhancing the SWLM to support multi queue based traffic.

Change-Id: If2d80e8122bbc972af0bba70e7a3f4c1da000c77
CRs-Fixed: 3161166
2022-03-30 01:13:07 -07:00
Karthik Kantamneni
4ceea0ebe4 qcacld-3.0: Fix REO ID mismatch issue in fisa flow aggregation
Currently during fisa flow aggregation REO ID check is done to
make sure all the flow packets are received in same REO and to avoid
out of order reception. But if RX packet matches CCE rules REO ID
is selected based on CCE rules since they have higher priority.
In this case ignore RX packet for FISA aggregation and do not panic.

Change-Id: I09b5c9fc4ecff7223d0034921e8923776ae4bf3b
CRs-Fixed: 3153104
2022-03-30 01:13:01 -07:00
Madan Koyyalamudi
89d222796a Release 5.2.1.15U
Release 5.2.1.15U

Change-Id: I4992e752fd11fff78d77ed260ee982d6e0b84046
CRs-Fixed: 774533
2022-03-29 21:56:19 -07:00
Alan Chen
34e8c569ca qcacld-3.0: Enable pci gen switch feature by default
Enable pci gen switch feature by default since the ini will not take
effect unless the feature flag is enabled in FW too.

Change-Id: I4170ddc84e994829e1f8144d3a90deddfe71f280
CRs-Fixed: 3162231
2022-03-29 21:56:18 -07:00
Madan Koyyalamudi
b62c5afb36 Release 5.2.1.15T
Release 5.2.1.15T

Change-Id: Iace9e4c31f1a8e35ed394bd9e704d5b80d2f0cc6
CRs-Fixed: 774533
2022-03-29 14:11:37 -07:00
Abhishek Singh
553e074021 qcacld-3.0: Remove SME global lock from the scan APIs
Remove SME global lock use from the scan APIs as scan has its
own lock and thus no need to hold global lock while accessing
scan database.

Also cleanup unused csr scan functions.

Change-Id: I7ad5a61e69c200f9dee6b9158c4d27708fdc98dc
CRs-Fixed: 3160360
2022-03-29 14:11:37 -07:00
Madan Koyyalamudi
e806e5e316 Release 5.2.1.15S
Release 5.2.1.15S

Change-Id: Ib0d206076a5c2b6533ec08b09620f7028aa23842
CRs-Fixed: 774533
2022-03-29 12:22:12 -07:00
Deeksha Gupta
a4fa8abd37 qcacld-3.0: Add support for max 5 number of AKMs in connect req
Currently, host supports max 2 AKMs based on
NL80211_MAX_NR_AKM_SUITES.

Add support for max 5 number of AKMs in connect req.

Change-Id: I65d54cc0c09d07ae1ac4b8669a64543d332b75e6
CRs-Fixed: 3151414
2022-03-29 12:22:11 -07:00
Madan Koyyalamudi
9ceb6b34d7 Release 5.2.1.15R
Release 5.2.1.15R

Change-Id: If97778f13004337ef9cd1590ab12059ac44c763f
CRs-Fixed: 774533
2022-03-28 10:47:43 -07:00