Commit Graph

20134 Commits

Author SHA1 Message Date
nshrivas
ccbd35f3cd Release 5.2.0.192W
Release 5.2.0.192W

Change-Id: I5dbb8cefda94d586028f6f7c4a3f58b0f8d80d28
CRs-Fixed: 774533
2020-07-07 07:24:48 -07:00
Pragaspathi Thilagaraj
6b525a4f72 qcacld-3.0: Add support to compile connection manager STA+STA roam API
Enable compilation of the connection manager roam files with
Kbuild changes.
Add new API to store and retrieve the firmware scan channels at
mlme. Also add initial support to post SET_PCL command through
lim, so that it is not sent before ROAM init command.

Add changes to restrict connection of the 2nd STA to
channels on the other band of the 1st STA connected band.
This is done by filling only the allowed band channels in
the scan filters for the 2nd STA connection. If only
1 STA is active, it is allowed to connect on any band.

Add header gaurds for missed header files:
wlan_cm_tgt_if_tx_api.h
target_if_cm_roam_offload.h

Change-Id: Id2bce12b9663ed635ea46164169b088461aab870
CRs-Fixed: 2720341
2020-07-07 07:24:47 -07:00
Chaoli Zhou
275c200717 qcacld-3.0: Fix compile error if disable CONFIG_WDI_EVENT_ENABLE
Do not compile ol_txrx_event.c if set CONFIG_REMOVE_PKT_LOG=y
and CONFIG_WDI_EVENT_ENABLE=n with Hasting

Change-Id: I475e1d4bda818cdef66d961cb95d0193b27029f6
2020-07-07 07:24:43 -07:00
Lin Bai
299a322de1 qcacld-3.0: Use sync method to awake device
Use sync wake when trying to awake device for register
accessing.
This can avoid device re-enter low power mode after
device_wake asserted.

Change-Id: I9ce421be0ecdf05a26388732cc8e15154c57a47a
CRs-Fixed: 2703608
2020-07-07 07:24:39 -07:00
nshrivas
3951d21516 Release 5.2.0.192V
Release 5.2.0.192V

Change-Id: If4a425fdee359d90c58f18134502c1d0dcf7ee81
CRs-Fixed: 774533
2020-07-07 02:53:24 -07:00
Jingxiang Ge
99728132d7 qcacld-3.0: Fix set max power fail issue
it will always return here if find vdev in wma_find_vdev_id_by_addr,
as default value of ret is failure.

Separate lookup vdev for sap/sta mode and check return value.

Change-Id: Ic94c6b25d2a02f9e66ed469bec4cf297d696e2a8
CRs-Fixed: 2721825
2020-07-07 02:53:24 -07:00
nshrivas
46c3208db3 Release 5.2.0.192U
Release 5.2.0.192U

Change-Id: I33b3996c1ff030f2c2ed13cf0dc234c796e030d1
CRs-Fixed: 774533
2020-07-07 00:46:00 -07:00
Ashish Kumar Dhanotiya
a90de0b7b0 qcacld-3.0: Use channel freq apis instead of channel num apis
Currently for get channel list command host driver is using
channel number based APIs to get the channels state which may
result in incorrect state for some of the channels of 4.9GHz
channels as 4.9GHz channels are overlapping with the 2.4 GHz
channels.

To address above issue use the frequency based apis to get the
channel state.

Change-Id: I3d36c5aa73e42f6a6e4d82e1b7f35412b0c600c2
CRs-Fixed: 2721078
2020-07-07 00:46:00 -07:00
nshrivas
ab3f514432 Release 5.2.0.192T
Release 5.2.0.192T

Change-Id: Ic7fafbe58517deebe1338fcc89b090d6e9d7451b
CRs-Fixed: 774533
2020-07-06 19:30:30 -07:00
Sandeep Puligilla
c6d0cb6ece qcacld-3.0: Incorrect phymode sent as part of peer_assoc
Incorrect phy mode sent to firmware as part of the
TDLS connection peer assoc command.

VHT phymode representation for 2G and 5G is different
and host is sending 5G VHT phymode as part of the 2G
TDLS connection peer_assoc command to firmware.

Modified phymode generation logic at WMA for TDLS
connection to populate 'WLAN_PHYMODE_11AC_VHT20_2G'
phymode.

Change-Id: I7867df7f013bc05a182e33495181a099332d1fd5
CRs-Fixed: 2719278
2020-07-06 19:30:30 -07:00
nshrivas
767d39503d Release 5.2.0.192S
Release 5.2.0.192S

Change-Id: I2df0f3049658640144e245d12135cc7499205f7c
CRs-Fixed: 774533
2020-07-06 14:13:55 -07:00
Vevek Venkatesan
7d7f50849d qcacld-3.0: add Runtime PM support and its PLD callbacks
Add PLD functions for Runtime suspend and resume callbacks,
and enable Runtime PM support for Moselle.

Change-Id: Ie990334c0c60892ec0f0ad6fac3253b3d326a919
CRs-Fixed: 2720832
2020-07-06 14:13:55 -07:00
Abhishek Ambure
8500973b30 qcacld-3.0: Don't free sae auth retry frame for invalid auth rsp
In the noisy environment observation is, host sends SAE commit req to
AP and gets SAE commit response from AP, then host sends SAE confirm
req to AP but due to noisy environment AP miss the ack for SAE commit
response and keep sending SAE commit response even host send SAE
confirm. As host cleans SAE auth retry frames on reception of SAE auth
rx from AP, host cleanups SAE auth confirm req and disable SAE auth
retry timer. This leads to SAE auth failure. To avoid this host matches
auth frame's "sae algo sequence number" with last sent auth frame's "sae
algo sequence number", if it matches then only free sae auth retry frame
and deactivate sae auth retry timer.

Change-Id: Ia9ae2e5d82c696efdc0aaf4e04b6760b9829c510
CRs-Fixed: 2720436
2020-07-06 14:13:51 -07:00
nshrivas
8ae1be9cfe Release 5.2.0.192R
Release 5.2.0.192R

Change-Id: I13b9fa5c6fcd297e07a77e734ece5647aa6791d6
CRs-Fixed: 774533
2020-07-06 11:23:04 -07:00
Bapiraju Alla
d42aa6376f qcacld-3.0: Check channel bonding mode to HE 40MHz capability in 2g
Add check to verify channel bonding mode before setting 40MHz
capability in HE 2.4GHz.

Change-Id: I22ca48c984cc833835d22d8b7ecfe8a3e194d406
CRs-Fixed: 2723207
2020-07-06 11:23:04 -07:00
gaurank kathpalia
542723afbe qcacld-3.0: Update proper auth mode in crypto
Update proper authmode in crypto as for WPA/WPA2/WPA3 also
the auth type from connect request can be OPEN.

So check the wpa_ver and other params from the connect
request to determine proper authmode. Also set authmode and
cipher for WAPI mode.

Change-Id: If1b1cb403afdd42277b9cab2f3c931848f49ab25
CRs-Fixed: 2725312
2020-07-06 11:23:00 -07:00
nshrivas
8f786b5d44 Release 5.2.0.192Q
Release 5.2.0.192Q

Change-Id: Ib722cbf29610b9981a6886d5f4e6a1e263246034
CRs-Fixed: 774533
2020-07-06 08:33:56 -07:00
Abhishek Ambure
c21971a90c qcacld-3.0: Do not reset auth retry timer on sae auth tx ack
For SAE auth frames, host configures auth retry timer to 1 second,
if host doesn't get ack for previously sent SAE auth frame then host
retransmit queued SAE auth frame once the periodic auth timer
triggers.
Due to noisy environment host may miss the SAE auth response, in this
case host needs to send queued SAE auth frame. Hence don't reset auth
retry timer on SAE auth TX ack reception.

Change-Id: I96456ce5cbe5fb2acc7005ff1d19c6e9eecc1764
CRs-Fixed: 2725359
2020-07-06 08:33:56 -07:00
Arun Kumar Khandavalli
288bc9d412 qcacld-3.0: Disable the panic on the self-recovery ini disable
Currently once the gEnableSelfRecovery is disabled it is decided to panic
once the firmware complete firmware dump is collected, this has a 
side-effect when the normal SSR is triggered for testing purposes.
This reverts commit Ia184a265d0f76e43d1d5edc4bcc0849a05726dac.

Change-Id: Icec14a2afb902a275ffe0bf202ec75d8e58d9f58
CRs-Fixed: 2725430
2020-07-06 08:33:52 -07:00
Mahesh Kumar Kalikot Veetil
9cc4111452 qcacld-3.0: Add an option to pass build options
Top layer makefile can pass chip specific build options incase of
unified driver build.

Change-Id: I76a9830e56cfefdb3c99ac05fe43071cf5ebccab
CRs-Fixed: 2724605
2020-07-06 08:33:48 -07:00
nshrivas
24f9cd5b9f Release 5.2.0.192P
Release 5.2.0.192P

Change-Id: Iaba7e740635b4b0ae77b1094e63768485a6d8342
CRs-Fixed: 774533
2020-07-06 05:35:17 -07:00
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
6b79618573 Merge "Release 5.2.0.192K" into wlan-cld3.driver.lnx.2.0 2020-07-03 03:02:23 -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
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
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
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
Ashish Kumar Dhanotiya
f2ff802b63 qcacld-3.0: Add new scan type SCAN_FOR_SSID for conn_manager infra
Add new scan type SCAN_FOR_SSID to support connection manager
infrastructure.

CRs-Fixed: 2713775
Change-Id: I399f2c5cac0a09b78b6c13786105a9f098922c72
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