Commit graph

22,186 commits

Author SHA1 Message Date
Madan Koyyalamudi
cb63b408fd Release 2.0.8.18U
Release 2.0.8.18U

Change-Id: I9c933051755dacf408f3c12c4cedee42533419f9
CRs-Fixed: 774533
2021-06-03 16:09:26 -07:00
Pragaspathi Thilagaraj
91262aa092 qcacld-3.0: Update WTC params only if the WTC attribute is present
Currently driver updates the WTC global parameters irrespective
of the WTC attributes present in the vendor command.
This causes the WTC parameters to be reset and WTC roam
trigger doesn't happen.
For example, with below sequence of commands:
wpa_cli DRIVER setwtcmode 0 1 -40 -95 -90 -85
wpa_cli DRIVER ADDROAMSCANFREQUENCIES_LEGACY 19 2412 2417 2422
The WTC parameters TLV is not included in the RSO
update command.

Update the WTC params only if the WTC attribute is present.

Change-Id: I53e5d934368169069dbf059335859936d320aa4e
CRs-Fixed: 2954458
2021-06-03 16:09:26 -07:00
Pragaspathi Thilagaraj
41f8b208f4 qcacld-3.0: Add support for candidate AP RSSI in different bands
Currently in WTC mode the candidate AP RSSI threshold
configuration is applied for candidates on all band.

Add support to configure the candidate AP RSSI threshold for
different bands.

Change-Id: I94442c0f1bd3ea20dc2f5ebe893a9ead7fb8d890
CRs-Fixed: 2951610
2021-06-03 16:09:22 -07:00
Madan Koyyalamudi
ac3d7f75f6 Release 2.0.8.18T
Release 2.0.8.18T

Change-Id: I52f10b5d09f6383c1196361c4a74c93cdbf362b0
CRs-Fixed: 774533
2021-06-03 12:21:47 -07:00
Ananya Gupta
24dbcc0108 qcacld-3.0: Increase timeout for vdev_del_event
Race condition occurred as rx_thread did not get scheduled
before timeout and gro flush happened in vdev context. At
the same time, rx thread got scheduled and add skb to the
napi queue resulting in crash.
To fix this, Increase the timeout value so rx_thread gets
time to wake up, do gro flush and reset the vdev_del_event.

Change-Id: I2075eda91b1568cce3083869f510fc212dd721f8
CRs-Fixed: 2949803
2021-06-03 12:21:47 -07:00
Madan Koyyalamudi
0d55a68ce2 Release 2.0.8.18S
Release 2.0.8.18S

Change-Id: I7009b051948f2ac0add203c3a116accea06eea11
CRs-Fixed: 774533
2021-06-03 10:28:19 -07:00
Naman Padhiar
2bf15384a2 qcacld-3.0: Add support for new uevent from ICNSS2
Add support in PLD layer to handle uevent ICNSS_SMMU_FAULT.

Change-Id: Idf89467f9041281f824ad4c9b2386cbfcee27105
2021-06-03 10:28:19 -07:00
Madan Koyyalamudi
e3548349a1 Release 2.0.8.18R
Release 2.0.8.18R

Change-Id: I34e4846e243aca9241e2d3d7283a387571009f74
CRs-Fixed: 774533
2021-06-02 16:51:02 -07:00
Karthik Kantamneni
92cb9fa130 qcacld-3.0: Fix use after free during RX thread enqueue
Currently nbuf is being used to get gso segments after enqueue
to DP RX thread, this will lead to use after free issue because
RX thread may process and even free the buffer by the time nbuf
is accessed for getting gso segments in enqueue/softirq context.

Fix this by updating gso segments before nbuf enqueue to DP RX thread.

Change-Id: I2cc93bf9a44e2d487c1a6d474349cf5c0c5db76a
CRs-Fixed: 2958132
2021-06-02 16:51:02 -07:00
Madan Koyyalamudi
1f90252fae Release 2.0.8.18Q
Release 2.0.8.18Q

Change-Id: Ib838f7883a4e89d34cad570da9232dfe927228ab
CRs-Fixed: 774533
2021-06-02 14:38:49 -07:00
Liangwei Dong
bc82e1454d qcacld-3.0: Check channel bond mode for 2.4G ACS
If 2.4G 40MHz is disabled by channel bond mode ini -
gChannelBondingMode24GHz, override 2.4G ACS result
to 20Mhz channel width. Otherwise hostapd will
start ap failed on 40Mhz channel because the HE cap
has no 40Mhz bw supported.

Change-Id: I943621bf847491983f0654f7ae495fc970114575
CRs-Fixed: 2951620
2021-06-02 14:38:48 -07:00
Madan Koyyalamudi
fb014c56f7 Release 2.0.8.18P
Release 2.0.8.18P

Change-Id: Ic85f3f8566ae2d846b18e7dde9048f6e38a991be
CRs-Fixed: 774533
2021-06-02 02:50:24 -07:00
Srinivas Dasari
164404339b qcacld-3.0: Allocate NDP_END wait context before posting msg
Currently, osif_request_alloc is done and waiting for response
after posting the message NDP_END_REQ. But this may lead to
invalid memory access if message gets processed in scheduler
thread and response also comes before the request is allocated.

Allocate the request before sending message to avoid this.

Change-Id: I88b0a8be229e779526f0f3cf184b191e00872ee8
CRs-Fixed: 2782045
2021-06-02 02:50:23 -07:00
Madan Koyyalamudi
3f52765f38 Release 2.0.8.18O
Release 2.0.8.18O

Change-Id: I0e261748b68d389fe02bfac2dff0d2036cdabc54
CRs-Fixed: 774533
2021-06-02 00:44:59 -07:00
gaurank kathpalia
ed0edfaa6c qcacld-3.0: Inform userspace about stop ap
Currently the driver does not inform userspace when
there is no channel available for the SAP to restart.
This case can happen if all the channels in the spectrum
are unsafe, in NOL list, SRD etc. and the driver cannot
find a safe channel.

Fix is to inform userspace about this scenario of
driver stopping the SAP.

Change-Id: I77f7a5156c8f7b1da29023675d5a7a448be0fb92
CRs-Fixed: 2815265
2021-06-02 00:44:59 -07:00
Madan Koyyalamudi
07435288d5 Release 2.0.8.18N
Release 2.0.8.18N

Change-Id: I10af0d39dd06e4d496b9f3c0093db6c59afd4d91
CRs-Fixed: 774533
2021-06-01 23:00:59 -07:00
Karthik Kantamneni
8f4ead471f qcacld-3.0: Handle ipa pipes setup failure in wlan_ipa_uc_ol_init
When ipa setup pipes fails in wlan_ipa_uc_ol_init API,
tx buff mapping is not done but during deinit path
tx buff unmapping is called without mapping.

Fix this by resetting uc_loaded flag to false when ipa pipes
setup failure is encountered.

Change-Id: Ic34320e56cee9e60381d9203dd95e268d0ef392b
CRs-Fixed: 2957612
2021-06-01 23:00:59 -07:00
Madan Koyyalamudi
ebbb010d93 Release 2.0.8.18M
Release 2.0.8.18M

Change-Id: Ia25eab02559049ef885624daff5f85a6ec16cdbf
CRs-Fixed: 774533
2021-06-01 18:54:14 -07:00
Srikanth Marepalli
bb309c2681 qcacld-3.0: CCX roam fails due to invalid KRK and BTK Keys
Currently the KRK and BTK Keys are not copied from the supplicant
to the buffer in RSO command. Hence the NULL KRK and BTK keys are
generating invalid MIC key in Firmware for CCX roaming. And so
the CCX roam fails.
This fix copies the valid KRK and BTK keys from Session to the
ese structure in the RSO command.

Change-Id: I2f567f75dd74189becb40ec9a1f906ab0d870584
CRs-Fixed: 2958938
2021-06-01 18:54:13 -07:00
Ashish Kumar Dhanotiya
9a3263f9a9 qcacld-3.0: Add support to accept frequency for ch switch command
Currently channel switch command accepts only channel number as
parameter but with 6GHz changes channel switch can come for the
6GHz channel as well and to support 6GHz channel switch frequency
needs to be accepted as parameter.

To address above issue add support to accept frequency as
parameter for channel switch command.

Change-Id: I38978348c0d70e3e860d4644b4664f8775ecb777
CRs-Fixed: 2931485
2021-06-01 18:54:08 -07:00
Ashish Kumar Dhanotiya
a3c8090395 qcacld-3.0: Consider secondary channel list for ACS
Currently driver does not consider secondary channel list
for ACS which needs to be used for SAP related operations and
because of that in sap get freq list driver is selecting some
frequencies which are not valid for SAP operation and from
frequencies driver selects ACS frequency and gives to upper
layer resulting in an invalid ACS frequency to user space.
Now when user space tries to start ap on this frequency, SAP
doesn't come up on this frequecy as this is invalid frequency
for SAP.

To address above issue consider secondary channel list for ACS
in sap get freq list so that only valid frequencies for SAP
are selected for ACS.

Change-Id: Ic7f1cb8134615a9195884d55bfb8111898ff74cb
CRs-Fixed: 2955162
2021-06-01 18:54:04 -07:00
Madan Koyyalamudi
a78086ec60 Release 2.0.8.18L
Release 2.0.8.18L

Change-Id: Ie2c5946ccf473f725c9f6fa3a507eaaab7ca292e
CRs-Fixed: 774533
2021-06-01 07:52:21 -07:00
Abhishek Singh
989cced6ab qcacld-3.0: Fix NULL vht_caps in lim_ft_prepare_add_bss_req
In lim_ft_prepare_add_bss_req due to change
Ic4a992acfce186f7248dcc99d0c7b44ce38f099b the action was removed
but if condition was not removed. This left over if condition is
causing the vht_caps to be NULL in VHT20 case.

Fix this by removing the left over if condition so that vht_caps
is filled all the time.

Change-Id: I196fd3cfb44fa3281b9843a61242520e0888d2c4
CRs-Fixed: 2958411
2021-06-01 07:52:21 -07:00
Madan Koyyalamudi
898f27c21c Release 2.0.8.18K
Release 2.0.8.18K

Change-Id: Iee46b3323911cd77b2b2afaa6fa05402e3b7206e
CRs-Fixed: 774533
2021-06-01 02:19:50 -07:00
Karthik Kantamneni
9d1a178e59 qcacld-3.0: Cleanup debug prints in refill thread
Cleanup debug prints in refill thread main loop API.

Change-Id: I9b8f7410562b2c90ad802eddca9a482014e91010
CRs-Fixed: 2950141
2021-06-01 02:19:50 -07:00
Karthik Kantamneni
dc0dda1024 qcacld-3.0: Handle Flow init ts and reo id mismatch info
When flow is added in CMEM path init time stamp is not
handled, so initialize flow init time stamp in CMEM path.

Add Fisa error print during reo id mismatch, print flow
and nbuf details which helps to debug the issue even if
local stack variables are not available in dump.

Change-Id: Ibcc44bd8558cc687279bb34267d60b9882d33a24
CRs-Fixed: 2946825
2021-06-01 02:19:46 -07:00
Madan Koyyalamudi
8945510261 Release 2.0.8.18J
Release 2.0.8.18J

Change-Id: Ic2f593cfc464a473b597b7771636fd89409facaf
CRs-Fixed: 774533
2021-05-31 22:30:51 -07:00
Srinivas Girigowda
b64f8c5d4f qcacld-3.0: Add support for SAP TWT teardown
Add support for SAP TWT teardown.

Change-Id: I108ea425e69e07ee8a3657ca5afcb436420b2626
CRs-Fixed: 2944872
2021-05-31 22:30:51 -07:00
Madan Koyyalamudi
5fb3e3dc65 Release 2.0.8.18I
Release 2.0.8.18I

Change-Id: I7e2b623e5e6607043851d3b6aa6f8ffb39672636
CRs-Fixed: 774533
2021-05-31 04:53:33 -07:00
Karthik Kantamneni
c0bf9bd9ff qcacld-3.0: Set intermediate EP vote access
Set intermediate EP vote access before host
wake up indication smp2p is sent to F.W,
this helps to avoid smp2p override.

Change-Id: I4b998ee5ea6b26921855bfbae434869fb93accf9
CRs-Fixed: 2953883
2021-05-31 04:53:33 -07:00
Madan Koyyalamudi
728582a965 Release 2.0.8.18H
Release 2.0.8.18H

Change-Id: I0d1262f34fd4c3643a25640c99c0740cca98a1c4
CRs-Fixed: 774533
2021-05-29 14:38:55 -07:00
Jianmin Zhu
7361739483 qcacld-3.0: Tx rate show as 80M after roamed to 160M AP
When roaming to 160M AP by LFR3, host will update BSS info after
received roam sync event from firmware, but 160M isn't considered
when calculate channel width.
Actually vht_op->chanWidth alone cannot decide the actual BW, we need to
check difference of center_freq0 and center_freq1 to decide 160/80+80 or
80 if vht_op->chanWidth is 1.
Fix it by copying ft_session->ch_width to BSS info which covered 160M
channel width.

Change-Id: Ic4a992acfce186f7248dcc99d0c7b44ce38f099b
CRs-Fixed: 2954900
2021-05-29 14:38:55 -07:00
Madan Koyyalamudi
ce6b757426 Release 2.0.8.18G
Release 2.0.8.18G

Change-Id: I92768452114adf482288e41a1407133956e8fcc5
CRs-Fixed: 774533
2021-05-28 14:14:49 -07:00
Jyoti Kumari
fcb3e606e5 qcacld-3.0: Send separate TWT disable cmd based on req/res role
Currently, the same twt disable api hdd_send_twt_disable_cmd()
sends to firmware for both requestor and responder role.

As part of this change, decouple disable api based on requestor
and responder role as per below:
for requestor: hdd_send_twt_requestor_disable_cmd()
for responder: hdd_send_twt_responder_disable_cmd()

Change-Id: Ib92b0fa46dde78dec0d5b7ca914d018c7c0970e5
CRs-Fixed: 2937591
2021-05-28 14:14:48 -07:00
Srinivas Girigowda
1b548ad89d qcacld-3.0: Separate TWT enable command wrt req/res role
1. Currently, the same twt enable api hdd_send_twt_enable_cmd()
sends to firmware for both requestor and responder role.

2. When firmware receives enable command, it will be busy to
handle that command. If any back to back enable command, it can
lead to some issues.

As part of this change, decouple enable api based on requestor
and responder role as per below:
for requestor: hdd_send_twt_requestor_enable_cmd()
for responder: hdd_send_twt_responder_enable_cmd()

Synchronize twt enable command to avoid back to back command
issue.

Change-Id: I3d3840740fee7413d6123ece919c42558e9b35d1
CRs-Fixed: 2937540
2021-05-28 14:14:44 -07:00
Yeshwanth Sriram Guntuka
2970e56e14 qcacld-3.0: Dynamically control rx aggregation based on ingress filter
Add support to dynamically control rx aggregation based
on clsact ingress filter addition or deletion. Disable
GRO/FISA when the filter is configured and enable GRO/FISA
back when there is no filter configured.

Change-Id: I462f62edf0acd191b57f40800118567edb2ac82d
CRs-Fixed: 2952276
2021-05-28 14:14:40 -07:00
Madan Koyyalamudi
065c9e17a4 Release 2.0.8.18F
Release 2.0.8.18F

Change-Id: I1ba52c4a97da44a28cfa2e8bb0ff371fb9e91b92
CRs-Fixed: 774533
2021-05-28 04:51:47 -07:00
Pragaspathi Thilagaraj
1167f84877 qcacld-3.0: Don't send roam init for P2P vdev
Roam offload init command should be sent to firmware only
for STA mode. For P2P vdev, if roam init command is sent,
it causes abnormal target behavior.

Don't send roam init command if the vdev opmode is not
Station.

Change-Id: I0bfc3c6b4bc2eef7459b092101bc4d72c68761e5
CRs-Fixed: 2924563
2021-05-28 00:09:09 -07:00
Madan Koyyalamudi
8ffe71f64e Release 2.0.8.18E
Release 2.0.8.18E

Change-Id: Idac9edcfacbc418124cee1c13be279dfd79f7190
CRs-Fixed: 774533
2021-05-27 19:59:32 -07:00
Ashish Kumar Dhanotiya
f61fd3c4c5 qcacld-3.0: Add ini support to enable NAN on indoor channels
Currently there is no  support to enable NAN on indoor channels,
as per the new requirement add an ini support to enable NAN on
indoor channels.

Change-Id: Ia3acbc133cab4865d8ad69992e893be91439f50f
CRs-Fixed: 2943668
2021-05-27 19:59:32 -07:00
Madan Koyyalamudi
24e6b3951a Release 2.0.8.18D
Release 2.0.8.18D

Change-Id: I9a82bea0ec69bb6935e22386bc33b0714fe77b91
CRs-Fixed: 774533
2021-05-24 19:32:49 -07:00
Pragaspathi Thilagaraj
ce0ba24dcb qcacld-3.0: Fix incorrect marking
Fix incorrect marking.

Change-Id: I2a1b1db91e5bb4efa516cf8a559ee78f4c38eed6
CRs-Fixed: 2949091
2021-05-24 19:32:49 -07:00
Madan Koyyalamudi
f2c0f32768 Release 2.0.8.18C
Release 2.0.8.18C

Change-Id: I1b953c74abfa6a85af76bc3d0889eea567d8c1e7
CRs-Fixed: 774533
2021-05-24 10:40:09 -07:00
Pragaspathi Thilagaraj
c946708a23 qcacld-3.0: Add new roam scan type string
Add new roam_scan type string to indicate all the 5G+6G
channels are scanned.

Change-Id: I8f77b9b28d5b544d586612e177c86a3b730b0bd9
CRs-Fixed: 2947645
2021-05-24 10:40:09 -07:00
Liangwei Dong
087d75e7c9 qcacld-3.0: Fix sap started on unsupported channel
In wlan_hdd_validate_operation_channel, "status" is override
to QDF_STATUS_SUCCESS after "ucfg_mlme_get_sap_allow_all_channels"
call. Reset "status" to QDF_STATUS_E_INVAL before checking
with supported channel list, otherwise QDF_STATUS_SUCCESS
will be returned for unsupported channel case.

Change-Id: Ibc3396eb89634b0efc77262e90427510d26e0f39
CRs-Fixed: 2946475
2021-05-24 10:40:03 -07:00
Madan Koyyalamudi
64b2096411 Release 2.0.8.18B
Release 2.0.8.18B

Change-Id: I2f6d15340d94ce3e5191b11ff256fe2c4e68d5c4
CRs-Fixed: 774533
2021-05-21 16:23:54 -07:00
Bapiraju Alla
9835ff5060 qcacld-3.0: Add panic when net dev ref leak is detected
Currently, there is no panic when there is a net dev reference
leak. To catch the reference leak at the early stage, trigger
panic immediately after reference leak is detected.

Change-Id: Icbdd090dab50c8f695b5354c405f0506adce119d
CRs-Fixed: 2911563
2021-05-21 16:23:54 -07:00
Madan Koyyalamudi
8d94116859 Release 2.0.8.18A
Release 2.0.8.18A

Change-Id: I76db55b9dc3f1e9e114380cacd91133e96620d77
CRs-Fixed: 774533
2021-05-21 11:09:34 -07:00
Bapiraju Alla
d0922e4b67 qcacld-3.0: Don't set SURVEY_INFO_NOISE_DBM when noise floor is zero
Currently host is sending noise floor as 0, even if channel info
event is not received from FW. This is stopping user space derive
noise floor information from other parameters like bandwidth.

To address this, do not set SURVEY_INFO_NOISE_DBM flag if the
noise floor is 0.

Change-Id: Icffdde6bce762c750200b4f1eefd17818780150e
CRs-Fixed: 2949905
2021-05-21 11:09:34 -07:00
Gururaj Pandurangi
d6ba775313 qcacld-3.0: Update Country IE to show correct number of 6G channels
Update Country IE population API so that SAP uses secondary current
channel list instead of primary, to advertise correct number of
6G channels.
One other change is in TPC power calculation API, to add STA role
check along with lim join req check, since the API was returning
without calculation for SAP.

Change-Id: I3fafe252b119a5b58f5382fcbff60eb4c19688c6
CRs-Fixed: 2946474
2021-05-21 11:09:30 -07:00