Graf commitů

23177 Commity

Autor SHA1 Zpráva Datum
Vulupala Shashank Reddy
e2e99c1424 qcacld-3.0: Allow qos null frames in packet capture mode
Do not drop qos null frames in packet capture. so remove
check for qos null frames in packet capture mode.

Change-Id: Ie3a700cbc5a7e582ea7cfc39ebd62880265f8f7d
CRs-Fixed: 2973279
2021-06-22 23:04:16 -07:00
Madan Koyyalamudi
2be21be8c4 Release 5.2.0.237P
Release 5.2.0.237P

Change-Id: Ic71c5875cfaacaa478bdde8df533795f381fd7aa
CRs-Fixed: 774533
2021-06-22 16:17:58 -07:00
Ashish Kumar Dhanotiya
547da56e2f qcacld-3.0: Reset channel switch in progress on deinit ap
Currently if channel switch is in progress and if deinit
ap comes, channel switch does not gets complete and driver
does not reset channel switch in progress in adapter. Now
if driver receives channel change cb in hdd from regulatory,
it tries to restart the sap according to updated channel list,
but it waits for channels switch in progress to be completed
by taking the netdev reference for SAP adapter and this wait is
of 2 seconds, in this time if del virtual interface comes for
SAP adapter comes in that case it will detect the net dev ref
leak as one net dev ref is taken by country change work.

To address above issue, complete the channel change on deinit
ap mode and also check if SAP is started in country change
work before starting to wait for channel switch in progress.

Change-Id: I349e217a94093b3751310d4f7378fb6585f77743
CRs-Fixed: 2969343
2021-06-22 16:17:57 -07:00
Kiran Kumar Lokere
73061c8eff qcacld-3.0: Config support for STA bss color collision detection
Add INI configuration support to enable/disable BSS color collision
detection offload in STA mode.

Change-Id: I9d8f096813d74242566ccae5f92e872bcaca6295
CRs-Fixed: 2965133
2021-06-22 16:17:50 -07:00
Madan Koyyalamudi
9cd5928878 Release 5.2.0.237O
Release 5.2.0.237O

Change-Id: I427d0a6d87ec74139bf71d1d71290a83830f30ce
CRs-Fixed: 774533
2021-06-22 13:14:11 -07:00
Utkarsh Bhatnagar
8248ed45ca qcacld-3.0: Change timeout for TDLS mgmt frames
Reduce the timeout to wait for TDLS mgmt to
complete from 11 seconds to 3 seconds.

Also, Allow Tx data frame if no ack/nack is
received even after 2 seconds for last data
frame.

If last data frame is sent and no ack/nack
is received within 2 seconds, then drop the
new data frame.

Change-Id: If3294908cb1399c3b4c8931b80663671400bf610
CRs-Fixed: 2966308
2021-06-22 13:14:10 -07:00
Tiger Yu
33c1df645b qcacld-3.0: Enable the wlan IPA events for P2P GO/CLI mode for qca6390
Enable the wlan IPA events for P2P GO/CLI mode for qca6390 to avoid RX
packets get dropped due to IPA interface context is not created.

Change-Id: I1e2c5e4085874280779d8d8d07efdb1f33e6d90b
CRs-Fixed: 2853271
2021-06-22 13:14:06 -07:00
Madan Koyyalamudi
babab1900a Release 5.2.0.237N
Release 5.2.0.237N

Change-Id: I14c02a53cc28d3fc9ae267058c56caa6566922fc
CRs-Fixed: 774533
2021-06-22 07:54:56 -07:00
Utkarsh Bhatnagar
d86ace0aea qcacld-3.0: Vendor cmd to set SW retry threshold value
The following vendor cmd can be used to set the
sw retry threshold per vdev for all AC:

Aggresive:     QCA_WLAN_VENDOR_ATTR_CONFIG_AGG_RETRY
Non-Aggresive: QCA_WLAN_VENDOR_ATTR_CONFIG_NON_AGG_RETRY

Change-Id: I49d88ae1f3f6142d8a420fd92f6f40bf3aad03e6
CRs-Fixed: 2945913
2021-06-22 07:54:55 -07:00
Madan Koyyalamudi
277b7678bf Release 5.2.0.237M
Release 5.2.0.237M

Change-Id: Ie9590e495dd233ce4063f97a8ff19e816f3cf956
CRs-Fixed: 774533
2021-06-22 03:53:45 -07:00
Sai Pavan Akhil Remella
1522916450 qcacld-3.0: Fix connection issue in 11n-only mode when AP is in 11AC/AX
Currently when gDot11Mode=6 (11n only) is configured in ini and AP
is operating in 11n mode the STA is connecting in HT mode, but when
AP is operating in 11AC/11AX mode then STA is connecting in legacy
mode i.e 11b/g/a. This is due to check which compares phymode of
BSS is 11n or not but failed to check BSS phymode is 11ac/ax.
Due to this there is mismatch in phymode and mode is downgraded
to legacy.
These changes will perform the check and allow STA to connect in
11n.

Change-Id: I8196b44db5a12fbba39ffcf58202fa1863b1c4b4
CRs-Fixed: 2965287
2021-06-22 03:53:45 -07:00
Madan Koyyalamudi
0542782eb0 Release 5.2.0.237L
Release 5.2.0.237L

Change-Id: Id029e31780dabc0ac5ab24a9adcc822d489fc77c
CRs-Fixed: 774533
2021-06-22 01:38:18 -07:00
Bapiraju Alla
0f6688f115 qcacld-3.0: Allow set bitrates cmd irrespective of connection state
Currently set bitrates command is supported only when station is
connected state. But bit rates can be configured from user space
even if station is not connected. To support this, allow set bitrates
command even when STA is not connected.

Change-Id: I867083bc288f439f486181275e90cbf22dc49c81
CRs-Fixed: 2973203
2021-06-22 01:38:10 -07:00
Madan Koyyalamudi
8a9232feb9 Release 5.2.0.237K
Release 5.2.0.237K

Change-Id: I5b1b95c239711cb762d25945daefe882a39a36c7
CRs-Fixed: 774533
2021-06-21 23:13:59 -07:00
Yu Wang
6b08ef992a qcacld-3.0: wait till complete for north bound add key request
Set the newly added flag for wlan_cfg80211_crypto_add_key():
set to true if the request is from north bound, false otherwise.
Move processing of install key complete event into
crypto component.

Change-Id: I981e3722966c5b44255b3e29b7df3fbccfa087c8
CRs-Fixed: 2839454
2021-06-21 23:13:59 -07:00
Madan Koyyalamudi
eda839823c Release 5.2.0.237J
Release 5.2.0.237J

Change-Id: Id0fbd536b0c37fef0318341c6c11db2ab02b2271
CRs-Fixed: 774533
2021-06-21 19:20:19 -07:00
Balaji Pothunoori
5316fea63d qcacld-3.0: enable shortgi for assoc req based on ap capabilities
Currently shortgi 20/40 values are updated with ini configured
values irrespective of ap capabilities.

This change fills shortgi values based on ap capabilities if it is
enabled in ini.

Change-Id: I6a590e5c0981fab61dcbcf06cf22fda70d833fd7
CRs-Fixed: 2867232
2021-06-21 19:20:19 -07:00
Madan Koyyalamudi
29bcff2b6d Release 5.2.0.237I
Release 5.2.0.237I

Change-Id: Idf9ad5bf9dfebd3b920312abb541b8f686837d01
CRs-Fixed: 774533
2021-06-21 17:10:05 -07:00
Jinwei Chen
7fef8c3b3c qcacld-3.0: Add HW cookie conversion support
Add HW cookie conversion support for wcn7850 soc.

Change-Id: I2adedb13bcaeebb1715b391f790b639d422e08f6
CRs-Fixed: 2929512
2021-06-21 17:10:05 -07:00
Madan Koyyalamudi
f49a5c64e9 Release 5.2.0.237H
Release 5.2.0.237H

Change-Id: Idd0ced67c7f907329c180ad05fe921b289017005
CRs-Fixed: 774533
2021-06-21 11:12:57 -07:00
sheenam monga
89fa5c4633 qcacld-3.0: Convert nl80211 band to reg band
Currently host is sending nl80211 band to get curr
chan list but enum values are different for 6G, so
reg_get_band_from_cur_chan_list may not consider 6G
band even userspace sends 6G band in vendor command.

Fix is to convert nl80211 band to reg band to get correct
usable channel list in case of 6G.

Change-Id: I51b86c5f4f83b764847756a20a911d9b8af75b56
CRs-Fixed: 2973283
2021-06-21 11:12:57 -07:00
Liangwei Dong
3ad4f9d78b qcacld-3.0: Handle DFS channel radar history get vendor command
Add support for QCA_NL80211_VENDOR_SUBCMD_GET_RADAR_HISTORY vendor
command. This command will return the current NOL list in driver
and the last Radar detection result in previous SAP active state
(includes CAC state).

Change-Id: I719630c39b89c1813ca05c4356dce627d72d82e2
CRs-Fixed: 2966501
2021-06-21 11:12:53 -07:00
Madan Koyyalamudi
ed537c76da Release 5.2.0.237G
Release 5.2.0.237G

Change-Id: Iba89e7fa780dc0b6f52e9aa29cc5d792688042f6
CRs-Fixed: 774533
2021-06-18 21:01:56 -07:00
Gururaj Pandurangi
e45b9f2cfd qcacld-3.0: Add non-inheritance IE for ML sta_profile
Add non-inheritance IE for ML sta_profile. It identifies
list of EIDs and Ext EIDs that are not inherited by the
reported STA from the reporting STA (primary link).

Change-Id: I796cee5a06bfd76b3428fc20e51493e1dab15493
CRs-Fixed: 2971815
2021-06-18 21:01:56 -07:00
Madan Koyyalamudi
849b664d55 Release 5.2.0.237F
Release 5.2.0.237F

Change-Id: Ia3ec3e80fc5b8d97c75e2ec6f0d7fa906050554d
CRs-Fixed: 774533
2021-06-18 03:22:26 -07:00
Alan Chen
caa920e2fb qcacld-3.0: Add correct vdev id check for unit test command
The correct vdev id check for the unit test command uses the vdev id
from adapter. Use the vdev id to check to do so correctly.

Change-Id: Ie36d01219b78dcb08cef0b792fe7eb9a7d4e7e55
CRs-Fixed: 2969464
2021-06-18 03:22:26 -07:00
Lincoln Tran
af6ec1d9ed qcacld-3.0: Change LIM error message to debug
When receiving management frames, there can be excessive error logs.
Change these to debug prints.

Change-Id: I78a281bdc32bee580ed3470406163a77b43fac9b
CRs-fixed: 2968877
2021-06-18 03:22:21 -07:00
Alan Chen
547911c026 qcacld-3.0: Add debug log for prevent suspend
Add debug log to find more details when PCIe link suspend is not allowed.

Change-Id: I0305f6aaabfcff630e863018a7e768531a9cb890
CRs-Fixed: 2963988
2021-06-18 03:22:16 -07:00
Madan Koyyalamudi
de0fc2b837 Release 5.2.0.237E
Release 5.2.0.237E

Change-Id: I57e69ef8e619ec985f744c71c51f5f9643012d52
CRs-Fixed: 774533
2021-06-18 01:01:40 -07:00
Srinivas Dasari
cbee8c2553 qcacld-3.0: Authenticate the mac address of registered peer only
hdd_roam_register_sta() picks the right mac address for
register peer. If it's called with peer mac address, it registers
that mac address and if it's called with broadcast mac address, it
picks adapter mac address which is self mac address.
In case of NDI, it's called with broadcast mac address. Peer
registration(cdp_peer_register) happens fine by picking adapter
mac address but tries to update peer state by picking broadcast
address. This fails and results in blocking/dropping the Tx data.

Authenticate the mac address registered to avoid this.

Change-Id: I8413585ca9c585eabed8e58755fac49eb5d9788d
CRs-Fixed: 2966158
2021-06-18 01:01:40 -07:00
Srinivas Dasari
1663527e35 qcacld-3.0: Send NDI create rsp to userspace after NDI state is set
Currently, driver creates the NDI upon userspace request and sends
NDI-create-response to userspace. But internal NDI state is set
after sending this response. This leads to a race condition when
userspace sends NDI delete while driver is still setting driver
internal state for NDI create.
So, send NDI create response to userspace only after completion
of driver internal processing.

Change-Id: Ic651fd4f6dfab17c48c4f65b6e5d49c4d08cbe16
CRs-Fixed: 2966549
2021-06-18 01:01:35 -07:00
Madan Koyyalamudi
a0a87ef288 Release 5.2.0.237D
Release 5.2.0.237D

Change-Id: I106492fca736b9679bc842320adf226f0e636597
CRs-Fixed: 774533
2021-06-17 20:09:26 -07:00
Sachin Ahuja
b2a3da872d qcacld-3.0: Check band caps before initializing wiphy band
Currently driver initializes the wiphy 6ghz band without
checking the band capability. If FW does not support 6Ghz
then wiphy register is failed as wiphy 6ghz band is initialized
by driver.

To fix this, initialize the wiphy 6ghz band only when host
driver and FW both supports 6Ghz band.

CRs-Fixed: 2968968
Change-Id: I28d660f515d16d0eb4245311b42c69308576ac62
2021-06-17 20:09:26 -07:00
Madan Koyyalamudi
69ff3ae6b0 Release 5.2.0.237C
Release 5.2.0.237C

Change-Id: I6aeada5fcc4f185b66604f3c017bd38267c8df5b
CRs-Fixed: 774533
2021-06-17 13:51:35 -07:00
Manikanta Pubbisetty
ed4167e111 qcacld-3.0: compare FSE metadata when REO ID mismatches
When an existing flow is evicted, there is chance that the
REO ID of the newly added flow and the inflight packets of the
evicted flow mismatch. In such cases, check the FSE metadata of
the flow with that of the packet instead of triggering a BUG().

Change-Id: I7412055101fb72f7b28db615672e88837d79e8d3
CRs-Fixed: 2968500
2021-06-17 13:51:35 -07:00
Madan Koyyalamudi
c99171398c Release 5.2.0.237B
Release 5.2.0.237B

Change-Id: Ic12b4ad324ee2b737c7b29e472759fc5aa5f8bcc
CRs-Fixed: 774533
2021-06-17 11:14:03 -07:00
Yu Wang
af7b3788a6 qcacld-3.0: add sme interface for requesting channel switch
Add new api sme_switch_channel(), which posts eWNI_SME_CSA_REQ
with specified parameters; set lim_handle_csa_offload_msg as the
handler for this new message.

Change-Id: Id015ac5f9f3674ff06d110f7a0dccd85364b3d86
CRs-Fixed: 2960191
2021-06-17 11:14:03 -07:00
Yu Wang
572e454bb8 qcacld-3.0: enhance CSA offload event handler
Enhance CSA offload event handler to support host
initiated channel switch request.

Change-Id: I9aa76b495b0547bea6faa8d03b9c7fe99058fcf6
CRs-Fixed: 2960191
2021-06-17 11:13:57 -07:00
Madan Koyyalamudi
182cb3067c Release 5.2.0.237A
Release 5.2.0.237A

Change-Id: I7addad8726de05e125534d925769ada0501d19fa
CRs-Fixed: 774533
2021-06-17 00:12:19 -07:00
Utkarsh Bhatnagar
cd07314543 qcacld-3.0: Flush pending start bss cmd command before stop bss
Flush pending start bss cmd command before stop bss.

Change-Id: I4fd88251301fd7e13ca3b59ce84bd9630285490a
CRs-Fixed: 2970068
2021-06-17 00:12:18 -07:00
Madan Koyyalamudi
7874e320fb Release 5.2.0.237
Release 5.2.0.237

Change-Id: I01624913d2027c8589b331f8e5b5a91759dbb3e8
CRs-Fixed: 774533
2021-06-16 21:30:55 -07:00
Gururaj Pandurangi
c627a01463 qcacld-3.0: Add Multi-link IE support
Add Multi-link IE support.

Change-Id: I0d4811c6dfb0758c284c299c90ab1832f95dff2b
CRs-Fixed: 2942499
2021-06-16 21:30:55 -07:00
Madan Koyyalamudi
bb779ee652 Release 5.2.0.236Z
Release 5.2.0.236Z

Change-Id: Iadb76192e1bc3bc1b1a85afff79cac5712230c2b
CRs-Fixed: 774533
2021-06-16 19:13:20 -07:00
Ashish Kumar Dhanotiya
c3690a1690 qcacld-3.0: Add and use vdev id from ll stats request
Currently host relies on fw for vdev id for ll_stats
response but FW does not send the vdev id in response
of radio stats and peer stats as response of the ll_stats
request. Host needs this vdev id to get the adapter on
which the ll_stats request is received so that is can process
and send the response back to user space.

To address above issue add vdev id in request private
structure and when receives response from the FW, extract
this vdev id from private structure.

Change-Id: I28c411aea852b36cd1a13174e87adfa7972fc077
CRs-Fixed: 2964782
2021-06-16 19:13:20 -07:00
Madan Koyyalamudi
dd0eda4312 Release 5.2.0.236Y
Release 5.2.0.236Y

Change-Id: I655e983ae6160ce0392ff5525452678d141f77b1
CRs-Fixed: 774533
2021-06-16 16:50:51 -07:00
Deeksha Gupta
785ab5431d qcacld-3.0: Fix status overwrite by disconnect req
Fix status overwrite by disconnect req if
WLAN_CM_SM_EV_ROAM_INVOKE_FAIL fail

Change-Id: I014965faf89c3bf8efc8b2036fc0f0466239fc19
CRs-Fixed: 2969763
2021-06-16 16:50:51 -07:00
abhinav kumar
1c4c73d081 qcacld-3.0: Dont allow SAP on indoor channel
In case of STA + SAP concurrency and STA is on indoor channel.
Dont allow SAP to turn on, irrespective of DBS, MCC or SCC mode
of concurrency, if STA + SAP concurrency not allowed
on indoor channel.

Change-Id: I79582f88e81cb2c95d2da2480d1e3d7a8b86906f
CRs-Fixed: 2967952
2021-06-16 16:50:46 -07:00
Madan Koyyalamudi
bb211cfdfe Release 5.2.0.236X
Release 5.2.0.236X

Change-Id: Ic4820ad3de0f0014d9f53108c8c4c383cb7e0c9b
CRs-Fixed: 774533
2021-06-15 15:09:58 -07:00
Amit Mehta
90acd43772 qcacld-3.0: Initialize HTC Pipe Ready message timeout
Init htcinfo structure variables to 0 to avoid issues
due to any newly added uninitialized variables in the future.

Change-Id: Ie4cf5c99c09f56ee1fc898397bcd3ccf4b678638
CRs-Fixed: 2962285
2021-06-15 15:09:58 -07:00
Madan Koyyalamudi
97eb7b11a3 Release 5.2.0.236W
Release 5.2.0.236W

Change-Id: I677a3d40e23a425b3d2b271ed88bce477f633651
CRs-Fixed: 774533
2021-06-15 12:22:10 -07:00