Commit graph

22,157 commits

Author SHA1 Message Date
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
Madan Koyyalamudi
ce0bebed81 Release 2.0.8.18
Release 2.0.8.18

Change-Id: If764b2c62dca28e7368dffbe2deae393afa65847
CRs-Fixed: 774533
2021-05-20 23:09:53 -07:00
Liangwei Dong
74ed6f8a6c qcacld-3.0: Fix disconnect event missing for kernel
For reassociate case, when disconnect is triggered by
wlan_hdd_try_disconnect, then disconnect event is not
indicated to kernel in disconnect handler -
hdd_dis_connect_handler.  And if the csr_roam_connect
get failure for some reason, the kernel will only get
error code from driver connect request interface and
the connected bss information in kernel will not get
cleared. Then kernel / driver will be out of sync.
To fix that, for such csr_roam_connect failure case,
let driver return successful status code from driver
connect interface and indicate connection result failure
event to kernel to clear kernel bss information.

Change-Id: I5367262751e63c04553deeb7607cbe13c70f8e15
CRs-Fixed: 2940994
2021-05-20 23:09:53 -07:00
Madan Koyyalamudi
7a8a190b9f Release 2.0.8.17Z
Release 2.0.8.17Z

Change-Id: I9b70bf1ddad4483be4b4e849a3886bf77c917770
CRs-Fixed: 774533
2021-05-20 10:41:29 -07:00
Srinivas Dasari
590802cbec qcacld-3.0: Don't set the hw_mode to SMM if connection is in progress
Currently, hdd_vdev_destroy checks if any vdev is actively using
DBS while cleaning up the vdev. It stops the timer and sends set
hw_mode command to firmware to set the hw_mode to SMM if no vdev
is using DBS.
This causes delay in p2p interface down in below scenario,
1. Bring up both sta and p2p vdevs.
2. Initiate connection on sta to an AP which has both 2GHz and
   5GHz candidates. hw_mode would be set to DBS as one of the
   candidate is 2GHz.
3. Connection would be attempted first on 5GHz candidate if the
   5GHz candidate score is good.
4. If p2p interface is disabled while sta connection is happening,
   it stops the opportunistic timer and sets the hw_mode to SMM.
   But the command would be waiting in serialization queue as
   connect command is active currently. This is a blocking call
   and userspace thread would be stuck till connection completion/
   connection timeout(5 seconds) happens.

The above wait results delay in p2p down which in turn results
delay in wifi turn-on(as p2p down+set random mac+p2p up happens
as part of wifi turn on) and turn-off.

Don't set the hw_mode to SMM in this case as the sta connection
is in progress.

Change-Id: If286fe9bd9906eba71686cf1d50880aa065cc100
CRs-Fixed: 2926272
2021-05-20 07:29:45 -07:00
Madan Koyyalamudi
be562937f9 Release 2.0.8.17Y
Release 2.0.8.17Y

Change-Id: I64e14302e517e566339892985f7516fd535eb5c2
CRs-Fixed: 774533
2021-05-20 05:00:14 -07:00
Vulupala Shashank Reddy
3db5158310 qcacld-3.0: Fill he and vht parameters for packet capture mode
Fill he and vht parameters in data tx and rx packets for packet
capture mode to update in radio tap header.

Change-Id: I229fc41657456b9ab5d8a2dfce1cdd039b624fcb
CRs-Fixed: 2942108
2021-05-20 05:00:14 -07:00
Vulupala Shashank Reddy
3592e1c973 qcacld-3.0: Fix Frequency for data rx packets in packet capture mode
Currently centre frequency filled in data rx packets for packet
capture mode. Need to fill base frequency so filling frequency
from connection policy manager.

Change-Id: I79abe4e8a27a853c156eff8618be2f280fc54e78
CRs-Fixed: 2942107
2021-05-20 05:00:10 -07:00
Abhishek Ambure
f56674e2b9 qcacld-3.0: Update OFDM rates only if oper freq is 5GHz
In PE session, host updates supported rates from beacon IE stored
in BSS descriptor. If OFDM rates are present in beacon while
operating frequency is not from 5GHz band, host copies them into
PE session's supported rated.
Hence add a check to avoid adding OFDM rates while operating
frequency is not 5GHz.

Change-Id: Ia3b39b31269b79e6d1f96d3a0bddb185597c0303
CRs-Fixed: 2948058
2021-05-20 05:00:06 -07:00
Madan Koyyalamudi
db109bfa2f Release 2.0.8.17X
Release 2.0.8.17X

Change-Id: I68c27bcf9a9249705d363a04d8b9affb85aed98d
CRs-Fixed: 774533
2021-05-20 00:52:47 -07:00
Manikanta Pubbisetty
770ae51159 qcacld-3.0: consider aggregated packets for packet drop
Currently, in the DP RX thread packet drop logic, the aggregated
packet as a whole is considered as one single packet. An aggregated
packet can hold anywhere between 2-16 packets, considering it as
a single packet will make the entire drop logic incorrect.

Consider all packets in the aggregate while computing the number of
enqueues & dequeues to fix the problem.

Change-Id: I70e65bcdfdbaf7821b36606ac6eeae61eaca7406
CRs-Fixed: 2948104
2021-05-20 00:52:47 -07:00
Madan Koyyalamudi
4baa4feae8 Release 2.0.8.17W
Release 2.0.8.17W

Change-Id: I41618663ecc99f2a5d4737e5843496704e2cc648
CRs-Fixed: 774533
2021-05-19 22:40:44 -07:00
Arun Kumar Khandavalli
6c1722233f qcacld-3.0: Remove obselete wma_needShutdown code
wma_needShutdown related code is now obselete, during the cds_preenable
failure, this is obselete code is being invoked which is setting
wma->needShutdown. If the same is set the wma_close will not be
inokved resulting in the reference leak of of pdev object.

Remove obselete wma_needShutdown code.

Change-Id: Ia1463c9197593165eb5844e154f78fe3fe278fbd
CRs-Fixed: 2947133
2021-05-19 22:40:44 -07:00
Madan Koyyalamudi
fa1d4504de Release 2.0.8.17V
Release 2.0.8.17V

Change-Id: Ia6bee4c8fd0c50de44456a1f2aa030b812e84444
CRs-Fixed: 774533
2021-05-19 13:31:08 -07:00
Surya Prakash Sivaraj
f0507110ba qcacld-3.0: Validate the duration and interval for P2P_SET_NOA
The following are the firmware expectations for the parameters
through p2p_set_noa:
If count > 1 , the duration should be smaller than interval.
If count = 1, the duration can be same or smaller as interval.
Hence, set the duration as interval if it is configured
greater than interval.
This commit adds the checks accordingly.
Fails the command if the above conditions do not pass.

Change-Id: Ic273b0167c3551cd4b21d4c6dc7f31ba5329bebc
CRs-Fixed: 2941170
2021-05-19 13:31:08 -07:00
Madan Koyyalamudi
627fd98956 Release 2.0.8.17U
Release 2.0.8.17U

Change-Id: I158e4cc72ad5050656821d95c6dd631a32204461
CRs-Fixed: 774533
2021-05-19 02:54:36 -07:00
Srinivas Dasari
2ca16b15d9 qcacld-3.0: Remove third-party vendor name from comments
Vendor name is mentioned in the below fix to address an
interoperability issue with the specified make and model,
commit:I0d205e0833b2638aab15401bacdef7a0696d40c2

But specifying the vendor name is not allowed as nothing from
this fix/feature is authorized by the vendor.
So, remove the vendor name from the comment section.

Change-Id: Ib5839667dc1809a57ab54169e5506080b977da63
CRs-Fixed: 2948503
2021-05-18 23:25:30 -07:00
Madan Koyyalamudi
8a10574c2a Release 2.0.8.17T
Release 2.0.8.17T

Change-Id: Idc4ee6fc473bdc6e994f90ba6fd01248adb04ee7
CRs-Fixed: 774533
2021-05-18 22:40:26 -07:00
Deeksha Gupta
792df64982 qcacld-3.0: Support for TWT SAP get_status query command
Add support for TWT get_status command in SAP

As part of this change, TWT get_status command is supported
if
1. If particular dialog_id and particular mac_addr are
   present
2. If dialog_id = 0 and particular mac_addr are present
3. If no parameter present

Change-Id: I5ce1719da7f9a3988ba6e1f04455a06faf9687c6
CRs-Fixed: 2937999
2021-05-18 22:40:26 -07:00
Deeksha Gupta
82952e3651 qcacld-3.0: Add new parameter in add_dialog_policy
Add support for mac_addr parameter in add_dialog_policy

Change-Id: I085a0003a66a5497018674edaf4ef71ed001583b
CRs-Fixed: 2947832
2021-05-18 22:40:21 -07:00
Madan Koyyalamudi
b5f9256abe Release 2.0.8.17S
Release 2.0.8.17S

Change-Id: I8c3f768c7c01a93b22a89d7301e09f41186f464a
CRs-Fixed: 774533
2021-05-18 18:41:32 -07:00
Aditya Kodukula
aadbf5a316 qcacld-3.0: Add check to validate the Tx chainmask value
Add a sanity check to validate the Tx chainmask value
sent from the user space for each HW mode.

Change-Id: I2705efe20fcb13bf8343088ceecb4207e2562789
CRs-Fixed: 2943363
2021-05-18 18:41:32 -07:00
Madan Koyyalamudi
88ac0ecfc6 Release 2.0.8.17R
Release 2.0.8.17R

Change-Id: I63daea5872611e2f0dc18fe08e25668ab5fa2dac
CRs-Fixed: 774533
2021-05-18 16:45:01 -07:00
Manikanta Pubbisetty
0a138d0177 qcacld-3.0: add TX packet threshold for DP SWLM
Add TX packet threshold while considering for TX write
coalescing. This helps improve low throughput TCP DL &
UL cases.

Change-Id: I9503a0b28a58dcaddbb08f3a98479bb31cd95285
CRs-Fixed: 2931051
2021-05-18 16:45:01 -07:00
Madan Koyyalamudi
8ac9fdb220 Release 2.0.8.17Q
Release 2.0.8.17Q

Change-Id: I594dd01a1022cf579df9262f636aff462916bc5a
CRs-Fixed: 774533
2021-05-18 14:30:57 -07:00
Abhishek Ambure
bca68f99e4 qcacld-3.0: Add OCI IE in SA Query request
Add OCI IE in SA Query request, if host and the peer both OCV capable.
If both host and peer are OCV capable and host doesn't add OCI IE SA
Query request, peer fails to send SA query response that leads to
disconnection.

Change-Id: I734a4bea04dbe2126082e4e514b9865d33575fd0
CRs-Fixed: 2946244
2021-05-18 14:30:57 -07:00
Madan Koyyalamudi
6362daf2bd Release 2.0.8.17P
Release 2.0.8.17P

Change-Id: Ibc4c82741717df4755da2a22d6d9f3d0a93be87f
CRs-Fixed: 774533
2021-05-18 06:37:44 -07:00
Manikanta Pubbisetty
9b6e04c5ce qcacld-3.0: config changes to enable deferred reo qdesc free
Config changes to enable deferred freeing of REO Queue
descriptors feature on WCN6750.

Change-Id: Id7524a8f7de8943b11530e70a842c138cc80bb71
CRs-Fixed: 2940347
2021-05-18 06:37:44 -07:00
Madan Koyyalamudi
980f6e1508 Release 2.0.8.17O
Release 2.0.8.17O

Change-Id: I5676c2ef82e58a6ba7242d040bcba8d956e42f15
CRs-Fixed: 774533
2021-05-18 02:49:27 -07:00
Surabhi Vishnoi
039090c264 qcacld-3.0: Set retry flag in frame ctrl in tx data pkts
If the retry count is more than zero then set the retry flag in
frame control of tx data packets in packet capture mode.

Change-Id: Ie1ecfc30c30946d97c92ee2612c825f8d3539f25
CRs-Fixed: 2932130
2021-05-18 02:49:27 -07:00