Commit Graph

22995 Commitit

Tekijä SHA1 Viesti Päivämäärä
sheenam monga
89a0689407 qcacld-3.0: Send response of SUBCMD_USABLE_CHANNELS
Send response of SUBCMD_USABLE_CHANNELS to upper layer.

Change-Id: I3f7d0a9f28fcf60141fec86561524882ce4e3095
CRs-Fixed: 2946928
2021-05-31 05:35:37 -07:00
sheenam monga
e490d57556 qcacld-3.0: Handle command to get usable channels
Handle command to get usable channels for
provided mode, band and con filter.

Change-Id: I20133ea1a93c9153ec7252dcd34a0a160715d8a6
CRs-Fixed: 2946908
2021-05-31 05:35:30 -07:00
Madan Koyyalamudi
864a1f10a3 Release 5.2.0.235D
Release 5.2.0.235D

Change-Id: Ic68b254a3c56fa3dde53495d5fd6a2326d9acaad
CRs-Fixed: 774533
2021-05-30 23:52:00 -07:00
Pragaspathi Thilagaraj
3a05e3d10c 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-05-30 23:52:00 -07:00
Pragaspathi Thilagaraj
73b225f611 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-05-30 23:51:55 -07:00
Madan Koyyalamudi
3c2e750fd4 Release 5.2.0.235C
Release 5.2.0.235C

Change-Id: I2583a527e4fbb1a315daaf866e4cb60644e982d6
CRs-Fixed: 774533
2021-05-28 18:30:42 -07:00
Yu Wang
e0c2cd6326 qcacld-3.0: enhance oui based iot aggr size processing
Check the configured IOT OUIs in Beacon/Probe Response
IEs, but not in Associate Response IEs, because some APs
won't add its specific OUI in Associate Response frame.

Change-Id: I3aedeef0a5dbecd4bed41eb47a9374e654509746
CRs-Fixed: 2955964
2021-05-28 18:30:42 -07:00
Karthik Kantamneni
239913e04c 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-28 18:30:37 -07:00
Jianmin Zhu
b2c90c6638 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-28 18:30:32 -07:00
Madan Koyyalamudi
b8d50867b9 Release 5.2.0.235B
Release 5.2.0.235B

Change-Id: I2230faa1d36b1de06d75c9809c0a0f8a8e4ca3e5
CRs-Fixed: 774533
2021-05-28 08:19:38 -07:00
Lin Bai
39f31e9d96 qcacld-3.0: Report DIAG event if TX throttled completely
When thermal level higher than MITIGATION, TX will be
throttled completely.
Report DIAG event to notify user-space explicitly.

Change-Id: Ic2d8adfb6810ad03f3ec3b0847a176b694ace33a
CRs-Fixed: 2922102
2021-05-28 08:19:38 -07:00
Madan Koyyalamudi
e7425a79b3 Release 5.2.0.235A
Release 5.2.0.235A

Change-Id: I7f1d8d18a1379a869204ecea894e258b04afb4c0
CRs-Fixed: 774533
2021-05-28 01:46:57 -07:00
Huashan Qu
6a958dfc46 qcacld-3.0: Cleanup roc and notify tdls when user disconnects sta
Only do cleanup roc request and notify tdls sta disconnect
when sta disconnection operation is from osif or north bound.

Change-Id: I1d0aa4f1cd8a23baca890228485f22124eeabf78
CRs-Fixed: 2954772
2021-05-28 01:46:57 -07:00
Huashan Qu
1557129851 qcacld-3.0: Add host roam preauth handling code for connection manager
Add host roam preauth handling code for connection manager.

Change-Id: Id97d716a6c47ba08b2e8ef5e3ed675c5dcf88ed8
CRs-Fixed: 2954515
2021-05-28 01:46:52 -07:00
Madan Koyyalamudi
c55cae0628 Release 5.2.0.235
Release 5.2.0.235

Change-Id: Idac9e1b2ed0a9c4a5d40c9b4e6c90be8a8dea350
CRs-Fixed: 774533
2021-05-27 23:40:26 -07:00
Subrat Dash
7b3d485441 qcacld-3.0: Set target config for peer map v2
The peer map v2 set in the target resource config
is sent to FW via WMI INIT CMD.

This configuration will enable index based AST
search in WDS mode.

CRs-Fixed: 2951231
Change-Id: If1c47c710832ddd46d99bffc66fc09e4fe76eab1
2021-05-27 23:40:25 -07:00
Madan Koyyalamudi
8d4b31fc19 Release 5.2.0.234Z
Release 5.2.0.234Z

Change-Id: Ieb56a57967edd3286c4a3fc0c2209abe5254f977
CRs-Fixed: 774533
2021-05-27 13:41:22 -07:00
Pragaspathi Thilagaraj
3073bb1391 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-27 13:41:21 -07:00
Madan Koyyalamudi
0ee4dfc2e2 Release 5.2.0.234Y
Release 5.2.0.234Y

Change-Id: Idda7126354c095d4f7631178c94ec9556cdf1b50
CRs-Fixed: 774533
2021-05-27 06:03:17 -07:00
Lin Bai
35d67da380 qcacld-3.0: Enable CONFIG_FEATURE_GPIO_CFG
Enable CONFIG_FEATURE_GPIO_CFG by default, which is exposing vendor
cmd interface for GPIO configuration.

Change-Id: Ib05025b26c03573920d5241150fab925beed425e
CRs-Fixed: 2953325
2021-05-27 06:03:17 -07:00
Madan Koyyalamudi
acc4bf12bd Release 5.2.0.234X
Release 5.2.0.234X

Change-Id: I42979fe303f899908b10803728fce8fe59924816
CRs-Fixed: 774533
2021-05-27 03:46:51 -07:00
Jyoti Kumari
b5e2a330bc 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-27 03:46:51 -07:00
Srinivas Girigowda
bd0961f3db 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-27 03:46:45 -07:00
Yeshwanth Sriram Guntuka
875c46c092 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-27 03:46:40 -07:00
Utkarsh Bhatnagar
3a4fb68722 qcacld-3.0: Move unused params of struct hdd_station_ctx to CM flag
Move unused params of struct hdd_station_ctx to CM flag.

Change-Id: Ibcdc47df23937e74ff6558955c9a179371c4d5ae
CRs-Fixed: 2953953
2021-05-27 03:46:35 -07:00
Utkarsh Bhatnagar
045ed44dee qcacld-3.0: Move unused Lfr3 specific item under FEATURE_CM_ENABLE
Move unused Lfr3 specific item under ifndef FEATURE_CM_ENABLE.

Change-Id: I94d5f9d48f5cb853dc3ac9039f6140f23ab620cd
CRs-Fixed: 2953719
2021-05-27 03:46:29 -07:00
Madan Koyyalamudi
7a7ac10ff7 Release 5.2.0.234W
Release 5.2.0.234W

Change-Id: I851f5d3527c1b3b1667d6642c92e30ff8fc28c64
CRs-Fixed: 774533
2021-05-26 23:13:10 -07:00
Liangwei Dong
a2a1425d04 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-05-26 23:13:10 -07:00
Madan Koyyalamudi
ad952e7749 Release 5.2.0.234V
Release 5.2.0.234V

Change-Id: I856a70c27914b8589680a92d92921dc6acd72c63
CRs-Fixed: 774533
2021-05-26 21:09:02 -07:00
Srinivas Girigowda
5a04deba8b qcacld-3.0: Add support for SAP TWT teardown
Add support for SAP TWT teardown.

Change-Id: I108ea425e69e07ee8a3657ca5afcb436420b2626
CRs-Fixed: 2944872
2021-05-26 21:09:02 -07:00
Madan Koyyalamudi
30037b525d Release 5.2.0.234U
Release 5.2.0.234U

Change-Id: Id83f0cde7a955500ba2ffcec08d7b1b6dc5deaa7
CRs-Fixed: 774533
2021-05-26 09:20:42 -07:00
Ashish Kumar Dhanotiya
cc3c67977d 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-26 09:20:42 -07:00
Madan Koyyalamudi
9eb4979aac Release 5.2.0.234T
Release 5.2.0.234T

Change-Id: Ie5b399fb9ed4f89eaf461a1d8507655e9137b475
CRs-Fixed: 774533
2021-05-26 05:02:16 -07:00
Paul Zhang
6d8e6743e9 qcacld-3.0: fix congestion overflow issue
1\ Since (rx_clear_count_delta - tx_frame_count_delta) * 100 maybe
overflow if rx_clear_count_delta and tx_frame_count_delta are uint32.
To resolve this issue, change uint32 to uint64.
2\ Since the previous data does not reset, then enable the congestion
feature again. It uses the old data and causes overflow.

Change-Id: I1c7d5f5be901e14424a70dd2931acb2175598199
CRs-Fixed: 2943725
2021-05-24 17:21:29 +08:00
Madan Koyyalamudi
0dc2b79dc8 Release 5.2.0.234S
Release 5.2.0.234S

Change-Id: Ie3df2624e718aec61ab1473518df5d1b2302ccb3
CRs-Fixed: 774533
2021-05-20 12:51:56 -07:00
Pragaspathi Thilagaraj
754e1ce493 qcacld-3.0: Fix incorrect marking
Fix incorrect marking.

Change-Id: I2a1b1db91e5bb4efa516cf8a559ee78f4c38eed6
CRs-Fixed: 2949091
2021-05-20 12:51:55 -07:00
Madan Koyyalamudi
0dd49b6fd2 Release 5.2.0.234R
Release 5.2.0.234R

Change-Id: Ie6713963e09d0ec378743fdf5eb54f309a31f16f
CRs-Fixed: 774533
2021-05-20 10:02:16 -07:00
sheenam monga
3ea09842f6 qcacld-3.0: Avoid comparison of two different enums
Currently, reg_wifi_band enum is compared with
enum band_info. different values may lead to
invalid chan mode.

Fix is to compare reg_wifi_band with reg_wifi_band
enum value only.

Change-Id: Ibbe83ab5a8a428528bbeb28c941552a6f412a844
CRs-Fixed: 2949501
2021-05-20 10:02:16 -07:00
Bapiraju Alla
30ecff7940 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-20 10:02:11 -07:00
Madan Koyyalamudi
8141e4fa79 Release 5.2.0.234Q
Release 5.2.0.234Q

Change-Id: I71c42b1ee29f99a6705b6ef067c318470a2f6718
CRs-Fixed: 774533
2021-05-20 05:56:45 -07:00
Srinivas Dasari
60d8f5cc85 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 05:56:45 -07:00
Madan Koyyalamudi
9b53e0da74 Release 5.2.0.234P
Release 5.2.0.234P

Change-Id: I29a581e81aa0f74616df738ecfabda1cc49c4356
CRs-Fixed: 774533
2021-05-20 00:55:53 -07:00
Gururaj Pandurangi
3f71a3b72a 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-20 00:55:53 -07:00
Madan Koyyalamudi
f4044a1bc2 Release 5.2.0.234O
Release 5.2.0.234O

Change-Id: I1f5aa30ce5559f959f6d45c55604ee72b3fa96b8
CRs-Fixed: 774533
2021-05-19 14:37:50 -07:00
Arun Kumar Khandavalli
add1f46a2b 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 14:37:49 -07:00
Pragaspathi Thilagaraj
077006a020 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-19 14:37:43 -07:00
Madan Koyyalamudi
211537ee7c Release 5.2.0.234N
Release 5.2.0.234N

Change-Id: I7788f327f97dc2c875053ad7b3bbae2633dac842
CRs-Fixed: 774533
2021-05-19 12:25:58 -07:00
bings
c36a42ec1c qcacld-3.0: Add support for max channel switch time IE
Update the driver implementation to support generation and parsing of
information elements corresponding to max channel switch time.

Change-Id: Icaf3d1ceb17972da13e0cd0510fa952fac5c0f45
CRs-Fixed: 2941960
2021-05-19 12:25:58 -07:00
Manikanta Pubbisetty
cd716119a6 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-19 12:43:52 +05:30
Madan Koyyalamudi
3b4264a7c9 Release 5.2.0.234M
Release 5.2.0.234M

Change-Id: I9ec6e97fa5b9a1475dc29a5caea73972280bb3a2
CRs-Fixed: 774533
2021-05-18 18:51:42 -07:00