Commit Graph

17845 Commits

Author SHA1 Message Date
Rakesh Pillai
197e33420a qcacld-3.0: Add vendor cmd attribute to upgrade UDP QoS
Add the vendor command attribute to upgrade the QoS
for all UDP packets having priority less than the
current setting.

Change-Id: I1269018396e163c1a2b02a7ab1cfb3fabfd0af94
CRs-Fixed: 2724041
2020-07-06 05:35:17 -07:00
Rakesh Pillai
f5f6cb8ed9 qcacld-3.0: Upgrade UDP qos based on user setting
Provide the support to upgrade the priority of
UDP packets based on user setting. The user will
set a particular QoS and for any UDP packets, which
has priority lesser than the current setting, the
QoS will be upgrade to the user set value.

The default value for this setting will be Best Effort.

Change-Id: I64207797e9c000d1d6fb757e22b02ee4f96a36f1
CRs-Fixed: 2724041
2020-07-06 05:35:12 -07:00
nshrivas
d862549578 Release 5.2.0.192O
Release 5.2.0.192O

Change-Id: I0f8e661a0ce3343b139932bcc179e0f7cb506540
CRs-Fixed: 774533
2020-07-05 23:13:08 -07:00
Liangwei Dong
cb26ab4de6 qcacld-3.0: Fix ACS invalid defalut channel selected
If the ACS SCAN failed, the API sap_select_default_oper_chan
will select a default channel from ACS scan channel list.
At present sap_select_default_oper_chan doesn't validate the
channel with regulatory. It may select an invalid channel and
report to hostapd. This will happen when driver is doing ACS
scan, the upper layer set different country code and result to
some channels in the acs freq_list become invalid.
Fix by checking the channel supported by regulatory before select
it.

Change-Id: I438b2947ba1fd5388a2472d5122e55edc89229db
CRs-Fixed: 2723689
2020-07-05 23:13:08 -07:00
nshrivas
9994c947c1 Release 5.2.0.192N
Release 5.2.0.192N

Change-Id: I6344570c33b99d111c565a003797863696cc81ec
CRs-Fixed: 774533
2020-07-04 05:00:08 -07:00
Abhishek Ambure
a4d014cdbe qcacld-3.0: Set supported chan width in ht cap of assoc req
For STA in 2.4Ghz band, host adds self HT supported channel width
capability in HT capability field of assoc request.

For WFA certification, expectation is to add self HT supported chan
width capability in HT capability field of assoc request.

Change-Id: I630423de03636e6c4ca07638dce6966c3ca381f9
CRs-Fixed: 2720908
2020-07-04 05:00:08 -07:00
nshrivas
5dfaeb2e22 Release 5.2.0.192M
Release 5.2.0.192M

Change-Id: Idc5dfcfbbbdb4334622c838946efcb7dd63008c6
CRs-Fixed: 774533
2020-07-03 10:51:51 -07:00
Pankaj Singh
b5b8ab03e4 qcacld-3.0: Tdls sta BA session doesn't happen
TDLS Sta not initiating Add BA request or responding to Add BA
request from peer. For TDLS connection, legacy rate is
set to zero even though the peer capabilities supports OFDM rates.
The set of available rates from supplicant is compared with config
and rates is populated, which causes the issue.

Fix is to apply the correct rates provided from supplicant

change-ID: I66ce1b0ee4e5f96f9bb755a40ff7d8c46176087c
CRs-Fixed: 2719391
2020-07-03 10:51:51 -07:00
CNSS_WLAN Service
685594d7ea Merge "Release 5.2.0.192L" into wlan-cld3.driver.lnx.2.0 2020-07-03 09:57:30 -07:00
CNSS_WLAN Service
b4bc49ee69 Merge "qcacld-3.0: Access vdev by reference" into wlan-cld3.driver.lnx.2.0 2020-07-03 09:57:29 -07:00
CNSS_WLAN Service
76589117aa Merge "qcacld-3.0: Restore ps params after current modules being stopped" into wlan-cld3.driver.lnx.2.0 2020-07-03 03:02:22 -07:00
CNSS_WLAN Service
f6fa6c6442 Merge "qcacld-3.0: Add change to check DRV support" into wlan-cld3.driver.lnx.2.0 2020-07-03 03:02:20 -07:00
CNSS_WLAN Service
a5d19b15c1 Merge "qcacld-3.0: Avoid deleting peer on other vdev in case of duplicate MAC" into wlan-cld3.driver.lnx.2.0 2020-07-03 03:02:20 -07:00
CNSS_WLAN Service
24db0e64d5 Merge "qcacld-3.0: cleanup NAN state upon NAN enable/disable timeout" into wlan-cld3.driver.lnx.2.0 2020-07-03 03:02:19 -07:00
nshrivas
153dc305d3 Release 5.2.0.192L
Release 5.2.0.192L

Change-Id: I3f4768b198e93c93d796ccca30d9534543133eac
CRs-Fixed: 774533
2020-07-02 22:32:21 -07:00
Jingxiang Ge
d462a88e53 qcacld-3.0: Access vdev by reference
adapter->vdev should never be referenced directly,
Using hdd_objmgr_get_vdev() and hdd_objmgr_put_vdev()
so that proper reference counting is enforced.

Change-Id: I3b9f82631659af8d27377308a14a6f1a83fc3a6d
CRs-Fixed: 2715220
2020-07-02 22:32:21 -07:00
Bapiraju Alla
8526c047b2 qcacld-3.0: Restore ps params after current modules being stopped
Currently for monitor mode, PS params are disabled during the start
modules and restored at the beginning of stop modules. This will
cause an issue when hdd_wlan_unregister_pm_qos_notifier is called
from stop modules with restored configuration.

To resolve this, restore ps configuration at the end of stop modules.

Change-Id: Ib9db4adf489a8e92cd95cdc547e3c91cc953f1b5
CRs-Fixed: 2720016
2020-07-02 18:23:26 -07:00
nshrivas
8e7ae6e06e Release 5.2.0.192K
Release 5.2.0.192K

Change-Id: Ia29fa4204e81ac1e977476233f7affe9d3600d6a
CRs-Fixed: 774533
2020-07-02 18:23:26 -07:00
Wu Gao
aa07f31e41 qcacld-3.0: Add change to check DRV support
Add change to check check DRV support by platform capability.

Change-Id: Ib0f245672fbba9655ce923dcaef8c4ae28bceff2
CRs-Fixed: 2722648
2020-07-02 18:23:22 -07:00
Abhishek Singh
97a9343767 qcacld-3.0: Avoid deleting peer on other vdev in case of duplicate MAC
In STA+SAP case if AP1 and STA1 have same MAC, and DUT's STA is
connected to AP1. Now when the STA1 tries to connect with DUT's SAP
peer with same mac is already present the add peer fails, but during
delete peer the DUT STA peer (AP1) is deleted instead of STA1 of
DUT's SAP. This leads to SAP deleting peer of a STA interface and
thus the SAP peer count is out of sync.

Fix is to reject any association req from STA1 if AP1 is connected
to DUT's STA. Also ad vdev check while deleting the peer in wma.

Change-Id: I448226497c7aa3c11cb9097be9c7d57eb4239900
CRs-Fixed: 2723814
2020-07-02 18:23:19 -07:00
Srinivas Dasari
2586d8f598 qcacld-3.0: cleanup NAN state upon NAN enable/disable timeout
Currently, driver sends NAN enable/disable request to firmware
and waits for the response. NAN state is cleaned up when NAN
disable indication is received. But if firmware doesn't respond to
NAN enable or disable request, a timeout happens and NAN state is
not cleaned up.
Cleanup the NAN state upon timeout for NAN enable/disable request.

Change-Id: Iadfff2b4d010407f04b529ff81b1ce1f11064695
CRs-Fixed: 2723094
2020-07-02 18:23:16 -07:00
nshrivas
6a0dabf3f8 Release 5.2.0.192K
Release 5.2.0.192K

Change-Id: I34a9c00d0cf4d9d86f7fcccb99bc251e57eda3dd
CRs-Fixed: 774533
2020-07-02 08:48:05 -07:00
Yue Ma
7554af3936 qcacld-3.0: Export if DRV is supported through platform capability
Add PLD_HAS_DRV_SUPPORT to platform capability to indicate if PCIe
DRV is supported or not.

Change-Id: I25dcba18b795988c4cdecd3f0c355de6786e0f3f
CRs-fixed: 2722430
2020-07-02 08:48:01 -07:00
nshrivas
834ea0b828 Release 5.2.0.192J
Release 5.2.0.192J

Change-Id: Id5639371445e91ed1ae7f8fdf4fe6b7e6a6a7570
CRs-Fixed: 774533
2020-07-02 05:55:35 -07:00
Utkarsh Bhatnagar
4537efa54b qcacld-3.0: Print tx_complete in assoc and auth complete cnf
print “tx_complete" values in lim_auth_tx_complete_cnf and
lim_assoc_tx_complete_cnf along with success/fail as well

Change-Id: I0fe60da725df0b90d2e0957877c53bc793826dc6
CRs-Fixed: 2722114
2020-07-02 05:55:34 -07:00
Manjunathappa Prakash
d269df54b3 qcacld-3.0: Reduce FSE cache invalidation messages
Current flow learning algorithm invalidates the cache for every time
flow is learnt. This results in multiple invalidation when there
multiple flows in quick succession of single NAPI soft IRQ processing.
FW has restriction on number simultaneous message processing.
Delay cache invalidation message so that single message serves multiple
flow learning.

Change-Id: Iee8cb5f12546890f2da32195dc3c4878e7a39ffd
CRs-Fixed: 2718968
2020-07-02 05:55:31 -07:00
nshrivas
9dae6a54c3 Release 5.2.0.192I
Release 5.2.0.192I

Change-Id: Ib1db6f13f5492bda1d753883af346b3b619668b8
CRs-Fixed: 774533
2020-07-01 18:06:13 -07:00
Abhishek Ambure
f9dc5f972f qcacld-3.0: Add basic rates if probe rsp don't have supported rates
Some IOT APs set supported rates to zero in probe response. Host uses
probe response/beacon to update scan cache. Host uses supported rates
from scan cache to update in assoc request.

As the supported rates in probe response are zeros, host doesn't
add supported rate IE in assoc request which leads to association
failure. Hence add BSS basic rates in assoc request if supported
rates in scan cache is not present.

Change-Id: Ie2d75a980f5aede0b7985ddf385516a6b15c7560
CRs-Fixed: 2706797
2020-07-01 18:06:13 -07:00
nshrivas
53f5280466 Release 5.2.0.192H
Release 5.2.0.192H

Change-Id: Idd2f5ea56743f7d0c3d2f9bd2b5a7ab52f45c2fa
CRs-Fixed: 774533
2020-07-01 07:50:45 -07:00
Srinivas Girigowda
1fa6dbbc37 qcacld-3.0: Replace obsolete WMA_LOGI() with wma_info()
Replace obsolete WMA_LOGI() macro with wma_info().

Change-Id: I537751027559f09792b61131b13566c058d03a91
CRs-Fixed: 2722291
2020-07-01 07:50:45 -07:00
Lincoln Tran
d8a2fcc25d qcacld-3.0: Fix set band cases failed
Recent changes to hdd_regulatory_dyn_cbk broke WWAN n79 and
WIFI 5 GHz co-existence, failure:
1. AGO won't switch channel to 2G even 5G channel disabled.
2. SAP can switch to 2G if 5G disabled, but won't restore back
to 5G when 5G re-enable.

Update callback to call the proper function so that band for
SAP or P2P GO is updated accordingly.

Change-Id: I4087466c9a05250921159d5daff077a8ea7ea495
CRs-fixed: 2718339
2020-07-01 07:50:40 -07:00
nshrivas
99151af73b Release 5.2.0.192G
Release 5.2.0.192G

Change-Id: I55592150f8024c18d9560e8b92311842370d7bcc
CRs-Fixed: 774533
2020-07-01 05:42:40 -07:00
Abhishek Ambure
07204a8ccb qcacld-3.0: Update STA nss in OMN ie of assoc req for WFA CERT
For WFA certification testing, host updates station's max nss support
value in the omn ie of association request.

Change-Id: I0b001e0a0953aff0ff8ba614fab3e67c23eb2cfa
CRs-Fixed: 2690460
2020-07-01 05:42:40 -07:00
Abhinav Kumar
2147196fd8 qcacld-3.0: Update opclass and others param in pilot frame
Update opclass, randomizationInterval and DialogToken in
pilot frame as a response of beacon report request.

Change-Id: Ibf6a6b4d5dea1c87826d7755778c8f559a1a0fa3
Crs-Fixed: 2717259
2020-07-01 05:42:36 -07:00
nshrivas
f1141afdc6 Release 5.2.0.192F
Release 5.2.0.192F

Change-Id: Ia2635ccbbaa93e99e055dc13acf6ec66ac0f3936
CRs-Fixed: 774533
2020-07-01 00:26:07 -07:00
sheenam monga
f63c83abc1 qcacld-3.0: Consider phy mode sent by fw to get dot11 mode
Currently, after roaming only vht ie is used to get dot11 mode
which may casue issue whenever vendor vht ie is present but vht
ie is not present in beacon. Host updates dot11 mode to
11N based on missing vht ie and does not consider vendor vht but
fw considers vendor vht ie which causes different dot11 modes in
fw and host.

Consider phy mode sent by fw in roam sync event to get dot11
mode to maintain compatibility between host and fw.

Change-Id: Ie9e4cbadd84d239c6f386f296c77677b15ce0500
CRs-Fixed: 2714566
2020-07-01 00:26:07 -07:00
gaurank kathpalia
06ecb758cd qcacld-3.0: Remove unused scan filter
Remove unused scan filter params.

Change-Id: I2b34f78616a13e99483792c83ac3df63b1c94d03
CRs-Fixed: 2722138
2020-07-01 00:26:02 -07:00
Abhishek Singh
fb4325a69d qcacld-3.0: Replace different struct of ssid with struct wlan_ssid
There are different version of SSID structure used in driver, replace
them with struct wlan_ssid.

Change-Id: I8a5bfdafbdc4365afccc11980633272be9c75a81
CRs-Fixed: 2721873
2020-07-01 00:25:57 -07:00
nshrivas
704f1a056f Release 5.2.0.192E
Release 5.2.0.192E

Change-Id: I0684af125f7ea641dedfc597840d5598e553477d
CRs-Fixed: 774533
2020-06-30 14:58:17 -07:00
nshrivas
c4ec8d5b9f Release 5.2.0.192D
Release 5.2.0.192D

Change-Id: I549b3c5ba0e398fb0bba90c7fd769c497ae02d55
CRs-Fixed: 774533
2020-06-30 12:30:03 -07:00
Sourav Mohapatra
584440c8d1 qcacld-3.0: Assert early on to enable dump info collection
Presently, in the host initiated recovery the handler checks whether
the support for recovery is enabled via the ini or triggers the panic.
Whenever the panic is triggered the irq's will be disabled,
this results in some targets not able to collect the important
MHI, PCI information on what caused the issue to root cause the issue.

So, for different targets check the ini at different places. In this
case, move PCI based check to the start.

Change-Id: Ia184a265d0f76e43d1d5edc4bcc0849a05726dac
CRs-Fixed: 2720999
2020-06-30 12:30:03 -07:00
Bapiraju Alla
9a61eedc9b qcacld-3.0: Override powersave configuration for monitor mode
Currently, powersave configuration is being overwritten before INIs
are initialized by mlme component. As a result INI configuration is
not being overwritten in case of monitor mode.

To resolve this issue, overwrite PS configuration during start
modules and restore it in stop modules.

Change-Id: I2707b431b81881c943104b211d55c6f48f348ba9
CRs-Fixed: 2682164
2020-06-30 12:29:59 -07:00
nshrivas
9858a65c74 Release 5.2.0.192C
Release 5.2.0.192C

Change-Id: Icbd630805982c1253a16c78326e285ef6fbdc94f
CRs-Fixed: 774533
2020-06-29 23:46:47 -07:00
Sourav Mohapatra
e25710a25c qcacld-3.0: Relocate fetching of hdd_ctx to avoid stale pointer
In the function hdd_driver_unload, the hdd_ctx is fetched at the
beginning before the dsc_wait_for_trans. In the scenario where this
wait_for_trans is active and in the other thread (for example when
wlan_pld_remove and rmmod run in parallel) the hdd_ctx is invalidated,
the local copy of the pointer becomes stale. Accessing this stale
pointer leads to page fault.

Do not fetch the hdd_ctx before waiting for dsc trans. Rather fetch it
just before where it is actually used.

Change-Id: Ia5524c7a2af8ff2e976a6f1d3e87f2f374fdc371
CRs-Fixed: 2720714
2020-06-29 23:46:47 -07:00
nshrivas
dbcaef0ec1 Release 5.2.0.192B
Release 5.2.0.192B

Change-Id: I406ad3e3d97052b78f2d86ef46582d50cd046656
CRs-Fixed: 774533
2020-06-29 19:15:48 -07:00
Abhinav Kumar
7d3c309952 qcacld-3.0: Allow the driver to process multiple measurement req
As per requirement, the driver should able to process up to
MAX_MEASUREMENT_REQUEST (5) measurement request in a single
beacon report request.

Update driver logic to process up to 5 measurement request and
make sure the driver should not issue rrm scan for the duplicate
channel.

Change-Id: Iea3be8a0efef605852ac6b6b54dd06774ac0adac
CRs-Fixed: 2712112
2020-06-29 19:15:48 -07:00
Abhinav Kumar
8ece9b14c2 qcacld-3.0: Change the size of Measurement Request IE
To process up to 5 Measurement Request in a single beacon
report request, modify the size of Measurement Request IE
to 5.

Change-Id: I87025ce12886cc3129b01de6eb48b45e85babe9a
CRs-Fixed: 2712109
2020-06-29 19:15:44 -07:00
Abhishek Ambure
e5b5a03aeb qcacld-3.0: Add support for sae auth retry
Host retransmits WPA3 SAE authentication frames after 1 second
if there is no response for previous auth frames from AP.
Host keep retransmitting SAE auth frames for max WLAN_SAE_AUTH_RETRY
times.

Change-Id: I1be0bd5354586518781876646b063592e667b0bb
CRs-Fixed: 2716719
2020-06-29 19:15:40 -07:00
Vevek Venkatesan
e28544d9ee qcacld-3.0: initialize peer hang_data in recovery_notifier_cb
Initialize peer_hang_data in  ol_peer_recovery_notifier_cb.

Change-Id: I04d819ba9048b1877dadd4d0678424f2e6fa5b1a
CRs-Fixed: 2719727
2020-06-29 19:15:36 -07:00
nshrivas
259db3057e Release 5.2.0.192A
Release 5.2.0.192A

Change-Id: I81c565e07aba9e4a43943df37f87611b80f31f2f
CRs-Fixed: 774533
2020-06-29 07:38:07 -07:00