커밋 그래프

25387 커밋

작성자 SHA1 메시지 날짜
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
Amruta Kulkarni
08bcbf1eca qcacld-3.0: Change file names to cfg_*.h
Change file names from wlan_cfg_*.h to cfg_*.h

Change-Id: If0d12efdea21513826553b8bcee88d7161482591
CRs-Fixed: 2856357
2022-03-28 10:47:43 -07:00
Madan Koyyalamudi
a4dbb049d5 Release 5.2.1.15Q
Release 5.2.1.15Q

Change-Id: Ib0a98850b75fdd68dda95a576fffc86cfbc92ae4
CRs-Fixed: 774533
2022-03-28 09:26:02 -07:00
Ananya Gupta
3b5eb6874f qcacld-3.0: check vdev del event when processing rx thread
If many packets are queued into rx thread, processing
the packets can delay the vdev del event processing.
To fix this, check for vdev_del_event when processing
packets and if vdev del event is set, do gro flush
and continue packet processing.

Change-Id: I589e53f55f11c7ad8d71c532c47ae2584e5db2a7
CRs-Fixed: 3152037
2022-03-28 09:26:02 -07:00
Madan Koyyalamudi
e0214435a5 Release 5.2.1.15P
Release 5.2.1.15P

Change-Id: I2f26dbe26757c7d3a0862efddbca181d1aa9d951
CRs-Fixed: 774533
2022-03-28 04:27:51 -07:00
Vijay Patil
bdb2ed60ca qcacld-3.0: Add PLD API to check if ipa offload is disabled
Add PLD API to check if ipa offload is disabled or not in PLD
layer.

Change-Id: If2ef19cdc16a399cf5abfa495e01bab6da799c8d
CRs-Fixed: 3148041
2022-03-28 04:27:51 -07:00
Madan Koyyalamudi
f26f5b99f4 Release 5.2.1.15O
Release 5.2.1.15O

Change-Id: I45dac4f4ef9abb193e2e4e48d87f1b08053ba231
CRs-Fixed: 774533
2022-03-25 17:04:27 -07:00
Surya Prakash Sivaraj
4ebb87035a qcacld-3.0: Enable SAP_CP_CLEANUP flag
Activate the new SAP flow for start bss,
stop bss and channel change request.

Change-Id: If6971438af803bd0e9d2b9f3bd162b7096f1fb88
CRs-Fixed: 3157399
2022-03-25 17:04:27 -07:00
Surya Prakash Sivaraj
93aac5b7c6 qcacld-3.0: Remove camelcase in csr_roamstart_bssparams struct
Remove the usage camelcase in bssparams structure, use the
snake case instead.

Change-Id: I56a99b69b08db62aef842e40ad358b3d3dc15b40
CRs-Fixed: 3148876
2022-03-25 17:04:21 -07:00
Madan Koyyalamudi
961344d2d3 Release 5.2.1.15N
Release 5.2.1.15N

Change-Id: I3c6e865daa1a3aea6a608999674109887293ddf2
CRs-Fixed: 774533
2022-03-25 15:44:31 -07:00
Surya Prakash Sivaraj
cd92b53903 qcacld-3.0: Redesign the Stop BSS request/response flow
Remove the redundant structures and operations in CSR module
for the stop bss request/response processing to/from SAP/NDI
modules.

Change-Id: I0db36caa509699fe5e0e9709d3e3689e551aad4f
CRs-Fixed: 3148791
2022-03-25 15:44:30 -07:00
Surya Prakash Sivaraj
8bd8150c7c qcacld-3.0: Redesign the channel change request flow
Remove the usage of redundant legacy structures in CSR/SAP
modules and simplify the channel change request flow from
the SAP module to LIM.

Similarly change the channel change flow for monitor mode.

Change-Id: Ib91f65307d456919f68892f45f3aa9b4fed0f0d3
CRs-Fixed: 3148761
2022-03-25 15:44:25 -07:00
Surya Prakash Sivaraj
15bfaa49b3 qcacld-3.0: Cleanup start bss response flow for SAP
Remove redundant structures and APIs in the start bss response
flow for SAP and simplify the processing.

Change-Id: Ic346484200baec59d154c2c24d01fab0279647ed
CRs-Fixed: 3142915
2022-03-25 15:44:19 -07:00
Surya Prakash Sivaraj
3d8ad3801b qcacld-3.0: Cleanup the start bss request flow
Remove redundant structures and operations in SME/CSR.

Currently, start bss request is prepared in CSR module using
csr_roam_profile, which is built from sap context.

To remove redundencies, prepare the start bss request in SAP
module and serialize the start bss request.

Change-Id: Icd468fe2a48d5324c1485d83b05e27400c9dbd9a
CRs-Fixed: 3142912
2022-03-25 15:44:13 -07:00