Commit Graph

24277 Commits

Author SHA1 Message Date
Madan Koyyalamudi
68e7213b47 Release 5.2.0.253X
Release 5.2.0.253X

Change-Id: I8b4c6410613cf34690551342afc1fc05c8608227
CRs-Fixed: 774533
2021-11-01 01:42:17 -07:00
Deeksha Gupta
8ca26ac642 qcacld-3.0: Update channel_before_switch_band in passive chan switch case
In current scenario, SAP is unable to switch from 2.4GHz to
5Ghz if previous CSA happens with reason CSA_REASON_CHAN_PASSIVE.

For instance, SAP starts on 5Ghz with Country US, and later it
changes to country 00 after MCC. Since in country 00, all 5Ghz
channels are passive, so SAP switches to 2.4Ghz with reason
CSA_REASON_CHAN_PASSIVE. Again if MCC happens to country US then
SAP is unable to switch from 2.4Ghz to 5Ghz. This is because
chan_freq_before_switch_band and chan_width_before_switch_band
are not filled in CSA_REASON_CHAN_PASSIVE case.

As part of fix, in wlansap_get_chan_band_restrict(), update the
chan_freq_before_switch_band and chan_width_before_switch_band
incase channel switch reason is CSA_REASON_CHAN_PASSIVE.

Change-Id: I9610b17cff3f6e0e5257270d2fccd5586c9913f9
CRs-Fixed: 3055017
2021-11-01 01:42:17 -07:00
Madan Koyyalamudi
7bbcbb8c3e Release 5.2.0.253W
Release 5.2.0.253W

Change-Id: Ie1b1b5cf8efbc9be45d80819bcc5594f07a23543
CRs-Fixed: 774533
2021-11-01 00:04:55 -07:00
Amruta Kulkarni
90a5a30c3b qcacld-3.0: Fix check for SAE frame length
For SAE preauth and auth frame api fix
frame length checks.

Change-Id: I573ec898d810c4f5f81d4d1bbda5681b9edacc5c
CRs-Fixed: 3064386
2021-11-01 00:04:55 -07:00
Madan Koyyalamudi
bc3462e8fc Release 5.2.0.253V
Release 5.2.0.253V

Change-Id: Icf5efec2a9debcc648c5a499d66bdc84ca5a2ee1
CRs-Fixed: 774533
2021-10-30 02:19:25 -07:00
Alan Chen
53eb6ff8dd qcacld-3.0: Change PAGE_FAULT log string to PF
As requested by OEM, change PAGE_FAULT log string to PF so as
not to confuse it for a critical problem for OEM.

Change-Id: I4057513670b348dd772b42777b5623722eeafc45
CRs-Fixed: 3064527
2021-10-30 02:19:25 -07:00
Madan Koyyalamudi
23dd95581a Release 5.2.0.253U
Release 5.2.0.253U

Change-Id: Iea7f0bca0bbc01437fabb1ecbf17364e3c666b27
CRs-Fixed: 774533
2021-10-29 16:22:53 -07:00
Bapiraju Alla
0a4b4b7792 qcacld-3.0: Reduce error logging for non-fils connection
Withe latest changes, fils APIs are invoked for non-fils connection
as well. To avoid unnecessary logging, remove error logs when fils
IE is not present.

Change-Id: I8a5a03f4df4bc25b9b89f43fe0ab135b1bdd58a7
CRs-Fixed: 3063130
2021-10-29 16:22:53 -07:00
Madan Koyyalamudi
2930c4ea83 Release 5.2.0.253T
Release 5.2.0.253T

Change-Id: Ibe360d010a064c728226efc42176b0740eea32ee
CRs-Fixed: 774533
2021-10-29 12:03:35 -07:00
sandhu
df7838416c qcacld-3.0: Add fisa lru deletion support
Add fisa support to least recently used flow when adding a
new flow. if no empty entry in skid length window is found.
Delete and replace least recently used flow with new flow.

Change-Id: I3808d9b4570c8af698bb1ecafa19cbb2000bcae6
CRs-Fixed: 2954064
2021-10-29 12:03:35 -07:00
Madan Koyyalamudi
d7932c18ec Release 5.2.0.253S
Release 5.2.0.253S

Change-Id: Id3ac2673771b8e01ddca73b513e4b33b128a0eb0
CRs-Fixed: 774533
2021-10-29 10:23:01 -07:00
Jyoti Kumari
7459b0b368 qcacld-3.0: Send proper return val to supplicant if twt ack fails
Host sends twt command to fw and waits for ack event from fw. If
host receives the ack event as failure then it should send proper
return value to supplicant instead of success.

As part of fix, host should send proper return value to
supplicant.

Change-Id: I32fd1a688dc22d4c5221fea375e22e8a8c701e7c
CRs-Fixed: 3064089
2021-10-29 10:23:01 -07:00
Amit Mehta
eba64c70d7 qcacld-3.0: Update tx Failed Count
Currently, we are updating tx failed based upon
MPDU tx fail count received from FW.

In addition to the fail count received from FW
add MPDU tx retries done in case of successful
transmission to tx failed.

Change-Id: Ib993c71a99dd4d59df116a454336716352122a8e
CRs-Fixed: 3058364
2021-10-29 10:22:56 -07:00
Madan Koyyalamudi
e10833a985 Release 5.2.0.253R
Release 5.2.0.253R

Change-Id: I0be4937ddd155579a3a25774279446d9755ccc5e
CRs-Fixed: 774533
2021-10-28 21:21:41 -07:00
Lin Bai
9d7f4239f2 qcacld-3.0: Don't delete peer if assoc_req rejected
As ref-STA peer not created yet when handling assoc_req frame,
don't delete peer if DUT decide to reject the incoming
association request.

Change-Id: I3532545c9c6f498a2649bd943e3d45c49a1ce3e6
CRs-Fixed: 3064763
2021-10-28 21:21:41 -07:00
Pragaspathi Thilagaraj
4390b7510b qcacld-3.0: Flush the specific channels on ADDROAMSCANFREQUENCIES
When ADDROAMSCANFREQUENCIES is received, the specific channel
list is not flushed in the driver. This causes the static
channel list to be sent to firmware.

Flush the specific channel list when the ADDROAMSCANFREQUENCIES
command is received.

Change-Id: Id0422f9c5a4b10530fecc309a78cedf9adbc43af
CRs-Fixed: 3063734
2021-10-28 21:21:35 -07:00
Madan Koyyalamudi
9f4f2e43f0 Release 5.2.0.253Q
Release 5.2.0.253Q

Change-Id: I94fd1e1c3d19d99dfd49c84dbc1d75905298cf46
CRs-Fixed: 774533
2021-10-28 19:49:03 -07:00
Ashish Kumar Dhanotiya
18f91115b7 qcacld-3.0: Remove extra check to validate BW in set ap chan width
There is already a check to validate BW so remove extra BW
validation.

Change-Id: I104e08c2a3b202a84631993a356020d4de1c9de3
CRs-Fixed: 3064188
2021-10-28 19:49:02 -07:00
Madan Koyyalamudi
b8bc028078 Release 5.2.0.253P
Release 5.2.0.253P

Change-Id: I5037a0a3d50b7e794469a5da002e8583878f4d8a
CRs-Fixed: 774533
2021-10-28 18:18:43 -07:00
Utkarsh Bhatnagar
3cdd05d709 qcacld-3.0: Add Ini for SBS
Add Ini to Disable/Enable SBS.
Also, if INI is set then only set
the fw mode config bit corresponding
to SBS.

Change-Id: I839990dcd9bd2daf3df2c64abe5fa74a99c73051
CRs-Fixed: 3065084
2021-10-28 18:18:43 -07:00
Madan Koyyalamudi
c2f10811c9 Release 5.2.0.253O
Release 5.2.0.253O

Change-Id: I18b0c7b49e2586274e7cab912ecdc8d2f9146740
CRs-Fixed: 774533
2021-10-28 10:21:10 -07:00
Jinwei Chen
3cd06e5ecf qcacld-3.0: RX packet FW reinjection check for FISA
For beryllium, use sw_exception bit to indentify is it FW
reinjected frame or not, if sw_exception bit is marked, then
skip FISA for these kind of frame.

Change-Id: I6ca74c244c366641a7bcfddff2834550b1e5b472
CRs-Fixed: 3056157
2021-10-28 10:21:10 -07:00
Madan Koyyalamudi
f9e3032c3d Release 5.2.0.253N
Release 5.2.0.253N

Change-Id: I2bea47c1216ca41ef2a5b52abb0d1b3a5ddc45c6
CRs-Fixed: 774533
2021-10-28 01:33:31 -07:00
Gururaj Pandurangi
c4a39c5553 qcacld-3.0: Update EIDs for ML, EHT cap and EHT op IEs
Update element ID extensions for EHT op, ML, and EHT cap IEs
to 106, 107 and 108 respectively as per current ANA database.

Change-Id: Ifa2335f0b731a9f0a47ba1e2de3232c35a3493f9
CRs-Fixed: 3036101
2021-10-28 01:33:31 -07:00
Madan Koyyalamudi
3c8b1bc406 Release 5.2.0.253M
Release 5.2.0.253M

Change-Id: Iaf6924cb8067a783ee271aeab7688c2761dfb1a8
CRs-Fixed: 774533
2021-10-27 23:59:03 -07:00
Gururaj Pandurangi
6de563df2e qcacld-3.0: Avoid OOB read in sch_get_csa_ecsa_count_offset
Avoid OOB read in sch_get_csa_ecsa_count_offset API by
adding check for ie_len before subtracting element ID len
from it.

Change-Id: Id86e69b2c5abc37a4f33125dc5fd0bd1d92f64a7
CRs-Fixed: 3049251
2021-10-27 23:59:03 -07:00
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