Commit Graph

18004 Commits

Author SHA1 Message Date
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
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
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
Mohammed Siddiq
335ba9e938 qcacld-3.0: Add code to support modularizing ICNSS ICNSS2 and CNSS2
Add code to support modularizing ICNSS, ICNSS2 and CNSS2.

Change-Id: I696715592f6000f2a64f8940f324b699acd5fcf1
CRs-fixed: 2685412
2020-06-29 07:38:04 -07:00
nshrivas
b3188a8c78 Release 5.2.0.192
Release 5.2.0.192

Change-Id: I7280bfdd8279458b073a295b3f6f0cdfabc6b528
CRs-Fixed: 774533
2020-06-29 02:38:34 -07:00
Arun Kumar Khandavalli
793ac05021 qcacld-3.0: Add cfgops implementation for bitrate mask
Add the cfg80211 ops for the bitrate mask.

Previously the bitrate mask is added via the iwpriv

iwpriv wlan0 set11NRates 0x8f --> for MCS7

will be configured via below through iw

iw dev wlan0 set bitrates ht-mcs-2.4  7

Change-Id: I3415fa3f89e2af3fb3bae4c9b56c57af7da2382f
CRs-Fixed: 2699468
2020-06-29 02:38:34 -07:00
Arun Kumar Khandavalli
3d15529d3e qcacld-3.0: Defer recovery cleanup to shutdown
As part of the firmware down notification if the indication comes
in the non-interrupt context the driver flushes the idle timeout
work and purges the shutdown down notifier.

If the the idletimeout is already running, as part of the idletimeout
work the platform,mhi irq's will also be freed, if the firmware crashes
and enters the RDDM mode during this time, platform driver will notify
the host through the uevent. Since free_irq waits for all the pending
interrupts to be serviced resulting in the deadlock.

Dont flush the work for the pci bus so the interrupt could
be completed and free irq could also be unblocked.

Change-Id: I4e106ff774fa90544ba97737a87682f42f9288df
CRs-Fixed: 2720348
2020-06-28 14:15:05 +05:30
nshrivas
164a1c630f Release 5.2.0.191Z
Release 5.2.0.191Z

Change-Id: I1610190511c44a203373cb0c6e1c60c6fb0b33c0
CRs-Fixed: 774533
2020-06-27 22:45:34 -07:00
Amar Singhal
ea151c9219 qcacld-3.0: Change 6 ghz channel frequencies
Add orphan channel with center frequency 5935 to 6ghz channels. Also shift
center frequency of other channels by 10 mhz. Also change the maximum
possible frequency of 5 ghz channels.

Change-Id: Ic86fb8ded10b32871a9edf532bbc4e0889efb543
CRs-Fixed: 2686624
2020-06-27 22:45:34 -07:00
nshrivas
bb32e201b2 Release 5.2.0.191Y
Release 5.2.0.191Y

Change-Id: I1a7373b6cc28ee8736c43f20c1749e334efeeae4
CRs-Fixed: 774533
2020-06-27 15:16:28 -07:00
Srinivas Girigowda
f4fbeca7d7 qcacld-3.0: Remove get_/set_ prefix from sysfs attribute name
sysfs attribute name should not have get_/set_ prefit, it should
just be attribute name.
read operation is a get and a write operation is a set.

Change-Id: I3b87424d1c5cadd836e24f39c20a8bd9ed9ef45e
CRs-Fixed: 2720000
2020-06-27 15:16:28 -07:00
nshrivas
2e78940aef Release 5.2.0.191X
Release 5.2.0.191X

Change-Id: Ibe955261923eede4c1f8d564b2c0712531633aa3
CRs-Fixed: 774533
2020-06-27 11:25:44 -07:00
Srinivas Girigowda
1175d34eaf qcacld-3.0: Return the number of bytes placed in to the buffer
When the sysfs file 'gtx_bw_mask' is read, DEVICE_ATTR 'show' callback
function is called and currently its returning 'ret' which is 0 and hence
the content of sysfs file "/sys/class/net/wlanxx/gtx_bw_mask" is empty.

Hence the fix is 'show' callback function should return the number of
bytes placed in to the buffer.

Change-Id: I44b7eda40cd2963b4be52f97b513badc48244120
CRs-Fixed: 2720141
2020-06-27 11:25:44 -07:00
nshrivas
15e711ae37 Release 5.2.0.191W
Release 5.2.0.191W

Change-Id: I3578761ed3cedd585116e068f34de3053a39b562
CRs-Fixed: 774533
2020-06-27 06:18:14 -07:00
gaurank kathpalia
6ebfc3c01b qcacld-3.0: Add AP to BLM reject list
Currently the driver calls the BLM API
to add the BSSID to the reject list if
STA kickout event comes from the FW.
Now since the event comes in interrupt
context and BLM takes a mutex lock, it
is not allowed.

Fix is to change the context
and call the BLM API from lim del sta
which would execute in scheduler
thread.

Change-Id: I3c2726ea152eeeee6ae30d80388aedac631f6c39
CRs-Fixed: 2716192
2020-06-27 06:18:10 -07:00
Lincoln Tran
2d357482b9 qcacld-3.0: Update to match scheduler_msg callback
This change corresponds to the callback updates in scheduler_msg.
Changes include:
	1. Update hdd_data_stall_process_event and its caller
	2. Update umac_stop logic to allocate buffer for callback
	   and update its caller
	3. Register beacon reporting callback as a direct function
	   call without message posting.

Change-Id: Ic07a6102ea75d8bccb57a800e9670750e98356ce
CRs-fixed: 2718977
2020-06-27 06:18:07 -07:00
Pragaspathi Thilagaraj
3bbb4610b6 qcacld-3.0: Introduce new ini for dual sta roaming
Add new ini enable_dual_sta_roam_offload to enable/disable dual
sta romaing feature. Enabling this ini will allow firmware to
roam on both the vdev if firmware supports dual sta roaming and
the hw is dbs capable.

This ini will be checked in the dual sta roaming offload state
machine to enable roaming on both the STA or to fallback to the
current implementation where first connected sta will have rso
enabled.

Change-Id: I04f141ac31e0f168b6f19fe878bca219a36cfae7
CRs-Fixed: 2709036
2020-06-27 06:18:03 -07:00
nshrivas
1f299f5e53 Release 5.2.0.191V
Release 5.2.0.191V

Change-Id: I7c140911b0d4f9910cab45cd1136aa0f0bac6ec5
CRs-Fixed: 774533
2020-06-27 03:57:33 -07:00
Srinivas Girigowda
5e5cf5996f qcacld-3.0: Replace obsolete WMA_LOGA() with wma_alert()
Replace obsolete WMA_LOGA() macro with wma_alert().
In some error cases, usage of wma_alert() is incorrect and
hence use wma_err().

Change-Id: Ife02033c4f981c31f5e6b165d5e8961e2ce1f9d8
CRs-Fixed: 2716176
2020-06-27 03:57:33 -07:00
nshrivas
a97ff00ab9 Release 5.2.0.191U
Release 5.2.0.191U

Change-Id: I0b8e32d581fcaac51bce6136b3780134fa672c2e
CRs-Fixed: 774533
2020-06-26 22:48:26 -07:00
Srikanth Marepalli
89a9eb0370 qcacld-3.0: Fix Invalid EAPOL-Key MIC packet drop issue
After the roaming is offloaded to Firmware when the GTK rekey
happens in Host proper KCK should be used to verify MIC.
In WPA2 GTK rekey is offloaded to Firmware but not in WPA3 case.
In WPA3 SuiteB Firmware sends KCK in Key material extended TLV
instead of Key material TLV in Roam sync indication event, as the
Keys length is more in WPA3 SuiteB. And the Key material ext TLV
is parsed improperly in driver and the same is sent in roam+auth
event to wpa_supplicant. This wrong KCK was used to verify MIC
received in EAPOL.
This fix is to properly parse the KCK and KEK from Key buffer.

Change-Id: I57658b918bb41de2b5d2476d89b026d1f5982337
CRs-Fixed: 2713711
2020-06-26 22:48:26 -07:00
nshrivas
8cc18408f8 Release 5.2.0.191T
Release 5.2.0.191T

Change-Id: I09f817c4eedaab282fbd63e32f4906b165ae381e
CRs-Fixed: 774533
2020-06-26 20:18:32 -07:00
Alan Chen
dfcef91465 qcacld-3.0: Add handler for new optimized_power_management attribute
Add handler for the newly created optimized_power_management attribute.

Change-Id: I09d0a328f8685484e53e17329ffe40fbbcdd568a
CRs-Fixed: 2715055
2020-06-26 20:18:32 -07:00
nshrivas
9f0a752f83 Release 5.2.0.191S
Release 5.2.0.191S

Change-Id: Ia821b4f07f9b28b823d1b1d2d817db568a1a14c9
CRs-Fixed: 774533
2020-06-26 16:48:41 -07:00
nshrivas
e93eb35325 Release 5.2.0.191R
Release 5.2.0.191R

Change-Id: I849c0df14af0f8050536324cfb9d76b7f229cb17
CRs-Fixed: 774533
2020-06-26 11:08:47 -07:00
gaurank kathpalia
67b87cbde5 qcacld-3.0: Move BSS scoring logic to connection manager
Move bss scoring logic to connection manager.

Change-Id: Ie7639853dec303133705c3394bf0577670000c21
CRs-Fixed: 2707108
2020-06-26 11:08:47 -07:00
nshrivas
f2aed55e40 Release 5.2.0.191Q
Release 5.2.0.191Q

Change-Id: Iddb56403ffba636a6160a107d429cfa52a62f482
CRs-Fixed: 774533
2020-06-26 05:37:31 -07:00
Rachit Kankane
46554fb229 qcacld-3.0: Send only PCL to supplicant
For non-DBS and no Interband MCC supported targets, send only
PCL to supplicant when number of connections are more then 0.

Change-Id: I12b1d483de55cca2d70d17d7114bdbde72c59826
CRs-Fixed: 2711485
2020-06-26 05:37:30 -07:00
Rachit Kankane
24542c328e qcacld-3.0: Set default hw mode for ready ext
Update default HW mode after selecting default hw mode
while handling service ready ext event

Change-Id: I022644554df0824d760304fe99a86295b20660b1
CRs-Fixed: 2711482
2020-06-26 05:37:28 -07:00
Rachit Kankane
b8b4431052 qcacld-3.0: Check interband MCC for STA CSA
For single-MAC and no-interband MCC scenario, don't switch
channel for STA if the new channel is creating interband-MCC
concurrent combination.

Change-Id: I6886d58dfe8a8845bcded90ab3422b5f79abbe4a
CRs-Fixed: 2711469
2020-06-26 05:37:25 -07:00
nshrivas
a20d8c02af Release 5.2.0.191P
Release 5.2.0.191P

Change-Id: I299df2eba3686cf82dc26efca29f78ad998de2a7
CRs-Fixed: 774533
2020-06-25 21:27:07 -07:00
Srinivas Girigowda
589c525f8b qcacld-3.0: Send the function return status up the call stack
hdd_wlan_clear_stats() invokes the function cdp_clear_stats(),
hdd_wlan_clear_stats() always returns 0 instead of returning the
callee return status.

Fix is to return the callee function return status up the call stack.

Change-Id: I591fb743d000463ffebd4207450de82ab7463a9c
CRs-Fixed: 2719088
2020-06-25 21:27:03 -07:00
Srinivas Girigowda
68c954548f qcacld-3.0: Replace obsolete WMA_LOGW() with wma_warn()
Replace obsolete WMA_LOGW() macro with wma_warn().

Change-Id: I4257ccf22bfa45465ffbd44a7ef5b5712ebb754f
CRs-Fixed: 2718987
2020-06-25 21:26:58 -07:00
nshrivas
8141ec5e92 Release 5.2.0.191O
Release 5.2.0.191O

Change-Id: I21abdf176e19f6587b54cc2c2ccce062b1882eac
CRs-Fixed: 774533
2020-06-25 18:13:49 -07:00
nshrivas
14aa30650e Release 5.2.0.191N
Release 5.2.0.191N

Change-Id: Id25e9303b2513eb0c6bf06d07a7198b280d0e221
CRs-Fixed: 774533
2020-06-25 16:46:48 -07:00
Yeshwanth Sriram Guntuka
0c04652083 qcacld-3.0: Add sysfs entry to dynamically control GRO
Add dp_aggregation sysfs entry under the wifi sysfs
directory to dynamically control aggregation in the
rx direction.

Change-Id: Ic7b13806f5fbd19fe5c56cabdf71d032b730448c
CRs-Fixed: 2718131
2020-06-25 16:46:47 -07:00
Yeshwanth Sriram Guntuka
cec526afda qcacld-3.0: Add support to dynamically control fisa aggregation
Add support to dynamically control fisa aggregation in
the rx direction based on the dp_aggregation sysfs entry.

Change-Id: I677b8b5f05e6cd849671a058b5e6ef07fc14a969
CRs-Fixed: 2718132
2020-06-25 16:46:43 -07:00
nshrivas
fbd6d50ad2 Release 5.2.0.191M
Release 5.2.0.191M

Change-Id: If265eb2b6e9064a76caa59bbfa937de2257a7bb4
CRs-Fixed: 774533
2020-06-25 15:08:00 -07:00
Srikanth Marepalli
514a288ccd qcacld-3.0: Zero local struct memory
Zero local vairable memory before use.

Change-Id: I351239f56f81195268e892f8d3de2688d9ef01ec
CRs-Fixed: 2408599
2020-06-25 15:08:00 -07:00
nshrivas
8e270ded64 Release 5.2.0.191L
Release 5.2.0.191L

Change-Id: Ibc7b6ee1f274c317a0ebc5d50bc194b023d80fa7
CRs-Fixed: 774533
2020-06-25 13:17:47 -07:00
Nisha Menon
caaec341cb qcacld-3.0: Check for null wlan kobject and return if true
Fix for null object dereference. Check for null wlan
kobject and return if true.

Change-Id: I90477335c81d44b9cc2762dd4060d9447a0bdb66
CRs-Fixed: 2717466
2020-06-25 13:17:43 -07:00
nshrivas
b33f164356 Release 5.2.0.191K
Release 5.2.0.191K

Change-Id: I1e19d9c9d7e7a49c159ce6dc733aa680ccc7de74
CRs-Fixed: 774533
2020-06-25 03:49:49 -07:00
Sandeep Singh
bab49091ef qcacld-3.0: Add ipci apis to send data over QMI
Add PLD layer ipci bus apis to send driver data
to wlan fw over QMI.

Change-Id: I55d4cb337749492cc767da4d024918bcbdd98301
CRs-Fixed: 2714312
2020-06-25 03:49:48 -07:00
nshrivas
4946096a89 Release 5.2.0.191J
Release 5.2.0.191J

Change-Id: I4b3d9ce20c14abb81b8c79e4af7987b45f94b1ce
CRs-Fixed: 774533
2020-06-24 11:42:55 -07:00
bings
27f2d2ede8 qcacld-3.0: Set correct wep key for sap mode
When wep_default_key is not set as 0 in hostapd.conf, wep key with
key id 0 should not be sent to FW when new station is connected.
Wep key with key id specified in hostapd.conf should be sent to FW.

To fix this issue, wep default key id should be saved for sap mode.
When reference station is connected, set default key id related key
to FW with TX_USAGE flag.

Change-Id: Ic13e311593154911ee21db5172188c7037f429a3
CRs-Fixed: 2700441
2020-06-24 11:42:55 -07:00
Yu Tian
8b371301f4 qcacld-3.0: refine pktlog enable logic in KPI test
PKTLOG can be enabled from both 802.11 and WEXT, customer
integrates pktlog ctrl in script and is toggled frequently.
This leads host pktlog status variable and FW status out of
sync. Host bus vote logic need disable pktlog when TPUT is
high, based on host status. At last, it will not take effect,
KPI continues dropped by PKTLOG.

Change-Id: Ifad7b53060b6046361621bf927c99b6b66e0c278
CRs-Fixed: 2715362
2020-06-24 11:42:51 -07:00
nshrivas
ee0a4c12c9 Release 5.2.0.191I
Release 5.2.0.191I

Change-Id: I46107d89fad0dd23bd63ceb4476a87d71b990dea
CRs-Fixed: 774533
2020-06-24 03:34:34 -07:00
nshrivas
4245b5a639 Release 5.2.0.191H
Release 5.2.0.191H

Change-Id: Ide5f6b9b86f44fbb85b8b842e4d53f0fb0a132ce
CRs-Fixed: 774533
2020-06-24 00:15:22 -07:00
Jinwei Chen
678c4d4648 qcacld-3.0: degrade log level for FISA debug
Currently when enable FISA debug, the default log level is
QDF_TRACE_LEVEL_ERROR which will output excessive logging
to kernel console, back pressure for RX might happen.

Degrade log level to QDF_TRACE_LEVEL_INFO_HIGH.

Change-Id: I5e910a6fc12d29179d3737f0c1d6c61b1383110b
CRs-Fixed: 2716688
2020-06-24 00:15:22 -07:00
nshrivas
f85259d999 Release 5.2.0.191G
Release 5.2.0.191G

Change-Id: I370b4827b552d714da6d47824fc163b356bf5232
CRs-Fixed: 774533
2020-06-23 20:03:22 -07:00
gaurank kathpalia
ce6aed0852 qcacld-3.0: Add ini to enable/disable dynamic cfg
Currently the driver supports the dynamic
configuration of nss and chain to FW for
VDEV if the FW advertises the capability
of supporting the same. However there is
no support to overide this.

Fix is to have an ini to enable/disable
this feature of configuring the dynamic
nss and chains to FW.

Change-Id: I0b84bb5aec53966a43a00c11d4aba3863414005c
CRs-Fixed: 2708303
2020-06-23 20:03:22 -07:00
nshrivas
b77fd72e3f Release 5.2.0.191F
Release 5.2.0.191F

Change-Id: Ibee5fb3afad8450a43f069348f2832229d4fba3b
CRs-Fixed: 774533
2020-06-23 15:44:10 -07:00
Srinivas Girigowda
9e0b3dbb70 qcacld-3.0: Replace obsolete WMA_LOGP() with wma_alert()
Replace obsolete WMA_LOGP() macro with wma_alert().

Change-Id: I7e9d8048789c8deee6c3bfab72d7f9b591fca9b9
CRs-Fixed: 2716176
2020-06-23 15:44:09 -07:00
Jianmin Zhu
e6c35ab600 qcacld-3.0: Replace channel with freq for 6G
Replace WLAN_REG_IS_24GHZ_CH with WLAN_REG_IS_24GHZ_CH_FREQ.
in TDLS.
Change-Id: I6c0ee6ec3a2d24cc0c826f93527d4655925cc6cd
CRs-Fixed: 2717000
2020-06-23 15:44:06 -07:00
nshrivas
511d6fac7e Release 5.2.0.191E
Release 5.2.0.191E

Change-Id: Iec94aecf6c781f67ea98a86345aa94d797a896dd
CRs-Fixed: 774533
2020-06-23 11:23:42 -07:00
Pragaspathi Thilagaraj
bbe3ab0934 qcacld-3.0: Set roam invoke in progress to false on HO failure
When roam invoke fails during handoff, firmware sends HO failure
indication to host. Here the roam_invoke_in_progress flag is not
cleared.

Clear the roam_invoke_in_progress flag when fastreassoc fails
due to handoff failure at firmware.

Change-Id: Ifc0ade939980138f64013299a9ea4e97468ce00f
CRs-Fixed: 2715281
2020-06-23 06:26:19 -07:00
nshrivas
fff75f60cc Release 5.2.0.191D
Release 5.2.0.191D

Change-Id: If48eae39185b2e4fb121b3ab7674d67fe436fac3
CRs-Fixed: 774533
2020-06-23 04:01:03 -07:00
Jianmin Zhu
faf92193d4 qcacld-3.0: Replace channel with frequency for 6G
Replace wlan_reg_is_24ghz_ch with wlan_reg_is_24ghz_ch_freq.
Replace channel with frequency in cds_get_vendor_reg_flags.

Change-Id: I72ffc5550e45be1edf460f9619fead8889cf2967
CRs-Fixed: 2714723
2020-06-23 04:01:03 -07:00
Ashish Kumar Dhanotiya
1130e58a67 qcacld-3.0: Remove validate context check in LL stats get NB ops
As a part of LL stats get NB operation, the driver sends the LL stats
req to the FW, waits for the response and sends back the stats in a
synchronous reply. All this happens as a part of one single NB
operation.

Within this operation, if an rmmod comes, there can be a possiblity
of a memory leak. In function hdd_link_layer_process_radio_stats, there
is a check to validate the hdd_context and return if the driver is
undergoing load/unload. As a part of the premature return, some stats
are not returned to user space..

To resolve this, remove the validity check from the NB operation. The
operation itself comes with DSC synchronization and ensures that the
hdd_context remains valid atleast until the operation is complete. Thus
there is no need for the redundant check of validity of hdd_context.

Change-Id: I20cc85b715330a28bc077ca47a1721343bba7214
CRs-Fixed: 2714136
2020-06-23 04:01:00 -07:00
nshrivas
f911f58d87 Release 5.2.0.191C
Release 5.2.0.191C

Change-Id: Ie73d9254c5ddb06881fa5f82d14477bc0bf2c120
CRs-Fixed: 774533
2020-06-23 00:27:55 -07:00
Yu Wang
7bb505608d qcacld-3.0: fix a potential assignment truncation issue
Truncation will happen when assining an association id over 256
to the u8 'aid' of struct wma_txrx_node.
To avoid such issue, change the type of 'aid' in struct wma_txrx_node,
from u8 to u16.

CRs-Fixed: 2713427
Change-Id: If360c017700aadaf9f2d3216601a011704f68180
2020-06-23 00:27:54 -07:00
nshrivas
77e6603717 Release 5.2.0.191B
Release 5.2.0.191B

Change-Id: Ic94216da8a04018f7eac86a7a104a28fad6b2fea
CRs-Fixed: 774533
2020-06-22 22:06:12 -07:00
Jianmin Zhu
477cb83408 qcacld-3.0: Fix LFR2 failed for roam scan mode 0
Regression of Change-Id:
I1de3f71ca96de9f464d5d33b0271f99c55cff535
make LFR2 roam scan mode config
WMI_ROAM_SCAN_MODE_RSSI_CHANGE depend on roam_force_rssi_trigger
which is uninitialzed when LFR3 disabled, so roam scan mode 0
is sent to F/W wrongly in WMI_ROAM_SCAN_MODE when LFR2 enabled.

Fix: Initialize roam_force_rssi_trigger in roam offload scan
request with ini config for LFR2 too.

Change-Id: Ifd65119a87a6a348a952a4eec70a336015192d43
CRs-Fixed: 2704513
2020-06-22 22:06:12 -07:00
nshrivas
24ff03400c Release 5.2.0.191A
Release 5.2.0.191A

Change-Id: Ib6e23bb510febcc07b4e1e0f0e976dc239218a93
CRs-Fixed: 774533
2020-06-22 15:55:17 -07:00
nshrivas
0c0f59b895 Release 5.2.0.191
Release 5.2.0.191

Change-Id: I66aac93cea64e05f337f4b0241988ebf190613f0
CRs-Fixed: 774533
2020-06-22 12:37:30 -07:00
Arun Kumar Khandavalli
b6404b1bbb qcacld-3-0: Have bus specific recovery ini checks to get imp info
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.

Change-Id: I0d0e322610abd9f8ceaba4fe9688cdd099c381e5
CRs-Fixed: 2715603
2020-06-22 12:37:30 -07:00
nshrivas
a2fcc4110b Release 5.2.0.190Z
Release 5.2.0.190Z

Change-Id: Ic984abb5c9f334c4130c688f114516f7f9968db5
CRs-Fixed: 774533
2020-06-22 06:14:42 -07:00
Surabhi Vishnoi
07fd1a8fe9 qcacld-3.0: Add support to handle CFR vendor command for adrastea
Adrastea target expects different attributes in vendor command
QCA_NL80211_VENDOR_SUBCMD_PEER_CFR_CAPTURE_CFG. So add an api to parse
the vendor command  QCA_NL80211_VENDOR_SUBCMD_PEER_CFR_CAPTURE_CFG
which will be called based on CFR version type.

Change-Id: I965b3cd6b93a288f1074ea0c09306cfff9f6ced0
CRs-Fixed: 2687075
2020-06-22 06:14:42 -07:00
nshrivas
361476e01b Release 5.2.0.190Y
Release 5.2.0.190Y

Change-Id: Idaf53412cb1163a3587a6a92e2e3bb90101a58dd
CRs-Fixed: 774533
2020-06-22 01:37:05 -07:00
Ashish Kumar Dhanotiya
a747d4cdb8 qcacld-3.0: Handle multiple oem data events for single command
FW can send multiple events for a single oem data command
based on the size of the data to be send and the available
buffer size.
Currenlty sme callback in the oem data event handler
wma_oem_event_handler is set to null after it process the
event because of which next events for the same command
are not processed.

To address this issue do not make the sme callback as null
in the wma oem event handler.

CRs-Fixed: 2714680
Change-Id: Ia435a5bee7ed4d2e16313698052033f8b45a5873
2020-06-22 01:37:05 -07:00
nshrivas
7bce548cae Release 5.2.0.190X
Release 5.2.0.190X

Change-Id: I2ff5e2296b6f70081affb03526732e35eec4b26b
CRs-Fixed: 774533
2020-06-21 23:36:52 -07:00
bings
3a251813a2 qcacld-3.0: Set group key to FW when sap starts
If any group key is gotten before sap bss starts, it should be sent to FW
when sap bss starts. There should be no valid unicast key before sap bss
starts, so no need to set the key to FW as unicast key again.

All the saved group key should be set to FW when sap starts.

Change-Id: I8a36415b896881b2e7c0ab72b9679eb1daa86e80
CRs-Fixed: 2705593
2020-06-21 17:15:55 -07:00
nshrivas
a84c07924b Release 5.2.0.190W
Release 5.2.0.190W

Change-Id: Id62105d04372abf2bbc067ce607821a040b40741
CRs-Fixed: 774533
2020-06-20 17:53:15 -07:00
Utkarsh Bhatnagar
38744f2fa8 qcacld-3.0: Check LDPC based on peer capabilities
Set LDPC if AP sets it in either assoc response or beacon
along with one of the following conditions:

1) nss should be greater than 4
2) channel width should be more than 20 Mhz
3) MCS 10 and 11 bit must be set

Change-Id: If23b119b3bf2d07282e9fc9a3bfbb6baa0887737
CRs-Fixed: 2708333
2020-06-20 17:53:14 -07:00
nshrivas
d9acbe021a Release 5.2.0.190V
Release 5.2.0.190V

Change-Id: Ibc41d456112a212f179ac9d02120f62b7e46424f
CRs-Fixed: 774533
2020-06-19 19:45:11 -07:00
Bapiraju Alla
1e8daa1ec3 qcacld-3.0: Set 40MHz capability in HE 2G PHY
Set IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_40MHZ_IN_2G flag in wiphy
2.4GHz capabilities

Change-Id: Ia142c4c307ea2f7edb9fac018d5be62ca93a3a11
CRs-Fixed: 2693444
2020-06-19 19:45:11 -07:00
Alok Kumar
0cbee2ed1f qcacld-3.0: Register hdd_gro_rx_dp_thread cb for GRO on QCA6750
For Lithium target, hdd_gro_rx_dp_thread callback is registered
to handle GRO.
Currently this callback is not registered for target qca6750.

Register hdd_gro_rx_dp_thread callback for target QCA6750 to
handle GRO.

Change-Id: I2991a6b2f6a2a614f4bb7f36bac6ec4909c4d251
CRs-Fixed: 2712504
2020-06-19 19:45:07 -07:00
Srinivas Girigowda
7678422000 qcacld-3.0: Replace obsolete WMA_LOGD() with wma_debug()
Replace obsolete WMA_LOGD() macro with wma_debug().

Change-Id: I41534dd1cc0321d0e5a77a8ba1f4fbe07ad7e6f3
CRs-Fixed: 2712788
2020-06-19 19:45:04 -07:00
Srinivas Girigowda
ba519cafa2 qcacld-3.0: Replace WMA_LOGD() with wma_debug() in wma_utils.c
Replace obsolete WMA_LOGD() macro with wma_debug() in wma_utils.c

Change-Id: I917b234c6fef83e93d4ef7f8a27b9b604c3045ad
CRs-Fixed: 2712788
2020-06-19 19:45:01 -07:00
Srinivas Girigowda
3fab023fe0 qcacld-3.0: Replace WMA_LOGD() with wma_debug() in wma_power.c
Replace obsolete WMA_LOGD() macro with wma_debug() in wma_power.c

Change-Id: I49c449af9cfba429a9709834b5b83db8a84a93fa
CRs-Fixed: 2712788
2020-06-19 19:44:57 -07:00
Srinivas Girigowda
2e20c75e42 qcacld-3.0: Replace WMA_LOGD() with wma_debug() in wma_main.c
Replace obsolete WMA_LOGD() macro with wma_debug() in wma_main.c

Change-Id: Ia144748a2b6fc9e82cf9896f81586cd9d7147e09
CRs-Fixed: 2712788
2020-06-19 19:44:53 -07:00
Srinivas Girigowda
13d07aa54b qcacld-3.0: Replace WMA_LOGD() with wma_debug() in wma_he.c
Replace obsolete WMA_LOGD() macro with wma_debug() in wma_he.c

Change-Id: Ia448ade9d191ee5fc3db9a9c9a2cedd8f4f39757
CRs-Fixed: 2712788
2020-06-19 19:44:50 -07:00
Srinivas Girigowda
3827655105 qcacld-3.0: Replace WMA_LOGD() with wma_debug() in wma_features.c
Replace obsolete WMA_LOGD() macro with wma_debug() in wma_features.c

Change-Id: I4482617c1bd564357d90df60cc858b3c2d270ef4
CRs-Fixed: 2712788
2020-06-19 19:44:46 -07:00
Srinivas Girigowda
17baebfba4 qcacld-3.0: Replace WMA_LOGD() with wma_debug() in wma_dev_if.c
Replace obsolete WMA_LOGD() macro with wma_debug() in wma_dev_if.c

Change-Id: I3c7ac380e85e697d53f2196bb8a5d4da612fdae7
CRs-Fixed: 2712788
2020-06-19 19:44:43 -07:00
Srinivas Girigowda
45bb1adecf qcacld-3.0: Replace WMA_LOGD() with wma_debug() in wma_data.c
Replace obsolete WMA_LOGD() macro with wma_debug() in wma_data.c

Change-Id: Ia54e16b313dddae76d313b6abe0d579f9912bd11
CRs-Fixed: 2712788
2020-06-19 19:44:39 -07:00
Srinivas Girigowda
490a4e8704 qcacld-3.0: Replace WMA_LOGD() with wma_debug() in wma_scan_roam.c
Replace obsolete WMA_LOGD() macro with wma_debug() in wma_scan_roam.c

Change-Id: I243ebfa3941738ebc251858123e90687b9a77c86
CRs-Fixed: 2712788
2020-06-19 19:44:34 -07:00
nshrivas
e409dc39ed Release 5.2.0.190U
Release 5.2.0.190U

Change-Id: I4974544d44874c95daaba6fd6156374b6a6aa00b
CRs-Fixed: 774533
2020-06-18 23:21:56 -07:00
gaurank kathpalia
015b76d0c7 qcacld-3.0: Reset crypto params on open mode connect request
In case of open mode the crypto params are not updated and thus
older params values are maintained. This can lead to failure
in open mode connect.

Thus Reset crypto params on open mode connect request

Change-Id: Ia986f1b0d7b29410d32090be3e9bfb9db96c6c11
CRs-Fixed: 2713346
2020-06-18 23:21:56 -07:00
Jianmin Zhu
61409803d7 qcacld-3.0: Avoid Rome mgmt nbuf double unmap during SSR
Rome supports mgmt Tx via HTT interface, not via WMI.

When mgmt frame is sent, 2 tx desc is allocated:
mgmt_txrx_desc is allocated in wlan_mgmt_txrx_mgmt_frame_tx,
ol_tx_desc is allocated in ol_txrx_mgmt_send_ext.
They point to same net buffer.
net buffer is mapped in htt_tx_desc_init.

When SSR during Rome STA connected, deauth frame is sent,
but no tx complete since firmware hung already.
Pending mgmt frames are unmapped and freed when destroy vdev.

hdd_reset_all_adapters->hdd_stop_adapter->hdd_vdev_destroy
->wma_handle_vdev_detach->wlan_mgmt_txrx_vdev_drain
->wma_mgmt_frame_fill_peer_cb
->mgmt_txrx_tx_completion_handler.

Don't need unmap and free net buffer of mgmt frames again during
data path clean up, just free ol_tx_desc.
hdd_wlan_stop_modules->cds_post_disable->cdp_pdev_pre_detach
->ol_txrx_pdev_pre_detach->ol_tx_free_descs_inuse.

Change-Id: I2fc658e833cf013bf7048c6bec90d9b247566444
CRs-Fixed: 2694854
2020-06-18 23:21:52 -07:00
nshrivas
883685660d Release 5.2.0.190T
Release 5.2.0.190T

Change-Id: I1470cf5b1c7be1e58e240235caf5c8ee0d1341af
CRs-Fixed: 774533
2020-06-18 21:19:14 -07:00
nshrivas
9dfbc354db Release 5.2.0.190S
Release 5.2.0.190S

Change-Id: I0683a51c8345afc9096110291bec2f2ef4bcba70
CRs-Fixed: 774533
2020-06-18 17:21:50 -07:00
Aditya Kodukula
007291fb8d qcacld-3.0: Add Kernel Version check for cfg80211_update_owe_info_event
As part of GKI kernel whitelisting effort, add kernel version check
for cfg80211_update_owe_info_event.

Change-Id: I06e4f42bbe6d032a816c61eea2e4cc415ebbdff4
CRs-Fixed: 2700291
2020-06-18 17:21:35 -07:00
nshrivas
c1444197eb Release 5.2.0.190R
Release 5.2.0.190R

Change-Id: Ic8e0f2d9fa8a422b9c20fe5ded3d85e175343c86
CRs-Fixed: 774533
2020-06-18 11:54:48 -07:00
Bapiraju Alla
d97145c971 qcacld-3.0: Add support for cfg80211 op get_channel
Add support for get_channel callback in cfg80211_ops

Change-Id: I4d7f91bb1f6edf4a9f6d42e4efa470a012231186
CRs-Fixed: 2702329
2020-06-18 11:54:48 -07:00
Nirav Shah
10c77d2379 qcacld-3.0: Check for max allowed STA vdevs in change interface API
In FW CFG_TGT_DEFAULT_MAX_STA_VDEVS considers total no of
STA and P2P-CLI vdevs. Check CFG_TGT_DEFAULT_MAX_STA_VDEVS
in change interface APIs for P2P CLI case.

Change-Id: I195d1cdda2d66f3187698254accf4bc3646d78c2
CRs-Fixed: 2701798
2020-06-18 11:54:44 -07:00
Zhaoyang Liu
7d713f4ae4 qcacld-3.0: Fix CSA process WBW IE bandwidth issue
During channel switch, firmware reports CSA offload event,
driver will process wbw IE and set phy mode into firmware.
Now driver only processes case that frequency segment0 above
current primary channel. So device will use bandwidth which
is mismatched with AP after channel switch. It will cause data
transaction failure. Change to support frequency segment0 below
primary channel.

Change-Id: Ie879ceb8eadbe92f6519886dc30fb2c065ddbc40
CRs-Fixed: 2684883
2020-06-18 11:54:40 -07:00
nshrivas
48ed8adac5 Release 5.2.0.190Q
Release 5.2.0.190Q

Change-Id: Ib359b257a71b9be3ca6624c56a86d6fe1591c4cc
CRs-Fixed: 774533
2020-06-18 03:43:53 -07:00
nshrivas
6562ea587c Release 5.2.0.190P
Release 5.2.0.190P

Change-Id: I35e563cca6d3804c3005857bceb1e9246b50ee5a
CRs-Fixed: 774533
2020-06-17 19:37:59 -07:00
Utkarsh Bhatnagar
3402879c05 qcacld-3.0: Correct condition to skip DFS channels
Currently the driver skips the DFS channels if
g_sta_sap_scc_on_dfs_chan = 2 which should not
happen as master mode is supported if this ini
is 2. Driver should only skip the DFS channels
if the ini value is 1.
Fix is to correct the condition for the same.

Change-Id: I9d6c2f2c42f9d9f4f1b5bd080b9cdc5c13e031f2
CRs-Fixed: 2700201
2020-06-17 19:37:59 -07:00
Bapiraju Alla
746366c3ee qcacld-3.0: Validate APF memory offset in APF offload vendor command
Currently, APF memory offset is sent to the firmware without validation.
This may cause out of bound memory access in the firmware.

To avoid this, validate apf memory offset with MAX_APF_MEMORY_LEN in
the driver.

Change-Id: I5657f570a820b73b9e07a6fb1ce54807156def24
CRs-Fixed: 2711515
2020-06-17 19:37:56 -07:00
nshrivas
7570e758de Release 5.2.0.190O
Release 5.2.0.190O

Change-Id: I6a1d9cf30986475c69468f5e8d1222ac4bb66a12
CRs-Fixed: 774533
2020-06-17 16:20:05 -07:00
Yu Ouyang
fe30ea50e7 qcacld-3.0: Fix error handling of the vdev destroy timeout
When vdev destroy event timeout, function wait_for_completion_timeout()
will return zero. Zero means completion event timeout. But our code uses
last status to check timeout or not timeout. SME will not be clean at
this case.

So, correct code to ensure sme can be clean.

Change-Id: I4c0366a9d0f89d374f0e6aa50e0aa32f67fac03e
CRs-Fixed: 2705855
2020-06-17 16:20:05 -07:00
Utkarsh Bhatnagar
1d5015befb qcacld-3.0: Initialize roam result and status
Initialize roam result and status in
csr_roam_process_results and
csr_roam_process_start_bss_success to
prevent use of uninitiazed variables.

Change-Id: I06b3026db4bc70b3631c9348101cc8ca691a8b26
CRs-Fixed: 2702076
2020-06-17 16:20:02 -07:00
nshrivas
713edccefb Release 5.2.0.190N
Release 5.2.0.190N

Change-Id: Ia12f78a1deeba1d4eda73d6193b8b9131598ed3e
CRs-Fixed: 774533
2020-06-17 12:14:51 -07:00
Mohit Khanna
8c40bf010d qcacld-3.0: Null-check context in hdd_set_netdev_flags
Add null check for 'hdd_ctx' and 'soc' before accessing them in
hdd_set_netdev_flags function.

Change-Id: I0fc115170943c402b522989d76b278ea1fbd4862
CRs-Fixed: 2706429
2020-06-17 12:14:51 -07:00
Ben Wang
55bcf005c8 qcacld-3.0: Validate adapter before using it
Validate adapter before using it.

Change-Id: I424c87813b26749748ded1e06176950a954ed935
CRs-Fixed: 2708885
2020-06-17 12:14:47 -07:00
nshrivas
b0ee46f93c Release 5.2.0.190M
Release 5.2.0.190M

Change-Id: I765aa5b6e19019b34060926ffb32069c5305d635
CRs-Fixed: 774533
2020-06-17 06:15:02 -07:00
Jinwei Chen
5b86a68395 qcacld-3.0: Do not skip GRO flush when T-put is low
For kernel 5.4, skip GRO flush when T-put is low  will cause
11g TCP RX not stable.

Do not skip GRO flush if T-put is low for kernel >= 5.4.

Change-Id: I89c29b64b9801d2a3c917d88cc31cb18296fd4d7
CRs-Fixed: 2697893
2020-06-17 06:14:57 -07:00
nshrivas
dad15b90e3 Release 5.2.0.190L
Release 5.2.0.190L

Change-Id: I84f2f4764946140cde584ca92eadf9184b40c7c7
CRs-Fixed: 774533
2020-06-16 12:20:10 -07:00
Mohit Khanna
0bb3f018bf qcacld-3.0: Add NAN TX checksum offload INI entry
Currently there is a single INI item tcp_udp_checksumoffload to enable
or disable this feature for all the adapters. In some cases, we want to
be able to enable this feature selectively for NAN mode.

Add nan_tcp_udp_checksumoffload ini item to enable or disable checksum
offload feature specifically for NAN mode. If
nan_tcp_udp_checksumoffload is 'true' and tcp_udp_checksumoffload is
false, hardware checksum offload will be enabled only for the NAN
adapter and not for other adapters.

CRs-Fixed: 2698342
Change-Id: I56319095e6229d77ddb5c790d0af9c6ba0267611
2020-06-16 12:20:10 -07:00
nshrivas
cdd88ebae9 Release 5.2.0.190K
Release 5.2.0.190K

Change-Id: Ieb1c73d29968cc480635f95351cb980c1154e514
CRs-Fixed: 774533
2020-06-16 10:23:42 -07:00
Min Liu
0bf96737c8 qcacld-3.0: Set Wi-Fi configurations - NSS
Add attributes in SET_WIFI_CONFIGURATION to dynamically
configure capabilities - NSS.

Change-Id: Ib8174443d6737bc1f6c2737397bd915064715461
CRs-Fixed: 2709121
2020-06-16 10:23:42 -07:00
nshrivas
f710f5ef89 Release 5.2.0.190J
Release 5.2.0.190J

Change-Id: Iaf925d24d3b161d9edba51f950563453b5c3b339
CRs-Fixed: 774533
2020-06-16 06:15:45 -07:00
Subrat Dash
706377360e qcacld-3.0: Parse device info nl attribute in the oem vendor cmd
Userspace uses enum qca_vendor_oem_device_type to indicate
device type as vdev or pdev in the oem data vendor nl command.

This attribute is set to 1 to indicate that the oem data command
is meant for pdev and it is 0 for vdev. The default is vdev when
this nl attribute is not present.

The host driver should update the pdev_id of the vdev and fill
the pdev_vdev_flag to 1 for pdev commands.

Change-Id: I8bdf436759e0935c52bb09c2865fcb4a7a5ee4fc
CRs-Fixed: 2693892
2020-06-16 06:15:45 -07:00
nshrivas
caa2bd2e72 Release 5.2.0.190I
Release 5.2.0.190I

Change-Id: If300a5c4b5c80f64b4fb82f1fae1c5ac029c898d
CRs-Fixed: 774533
2020-06-16 01:52:52 -07:00
Srinivas Dasari
dc72fffd2b qcacld-3.0: Deprecate command support for QCA_NL80211_VENDOR_SUBCMD_NAN
QCA_NL80211_VENDOR_SUBCMD_NAN_EXT is introduced to carry NAN
command data along with channel info. This channel info is needed
to enable DBS on DBS supported platforms. The command data is sent
to firmware as it on non-DBS platforms.
Userspace is expected to send NAN commands through
QCA_NL80211_VENDOR_SUBCMD_NAN_EXT if it's supported. It can send
QCA_NL80211_VENDOR_SUBCMD_NAN if QCA_NL80211_VENDOR_SUBCMD_NAN_EXT
is not supported, which is expected to happen on older
platforms(non-DBS).
So legacy NAN command QCA_NL80211_VENDOR_SUBCMD_NAN is not allowed
on DBS platforms, as the command is sent to firmware without
enabling DBS.
Event part of QCA_NL80211_VENDOR_SUBCMD_NAN is still intact as it
carries NAN events from firmware to userspace.

Change-Id: Ie1aaf9f7ea051009125c972de4f0de13942448fb
CRs-Fixed: 2699605
2020-06-16 01:52:52 -07:00
nshrivas
515ea41025 Release 5.2.0.190H
Release 5.2.0.190H

Change-Id: Ic8103a08963900c99982422f58bef2e5aef44808
CRs-Fixed: 774533
2020-06-15 21:52:20 -07:00
hqu
e2e9ea6d37 qcacld-3.0: Add support for 64-clients
Add support for 64-clients.

Change-Id: Ic97ebb83190b5061734832f6dc6dcdb6d0bdac2b
CRs-Fixed: 2625495
2020-06-15 21:52:20 -07:00
hqu
03c1b12671 qcacld-3.0: Add maximum sta number limitation for each pe_session
Currently use maxStation to create dph_hash_table for each
pe_session, actually maxStation is total allowed maximum
sta for all pe_session that gets from ini gSoftApMaxPeers
and firmware capability.

SIR_SAP_MAX_NUM_PEERS is maximum sta number for each pe_session
and can be configured from config file, add max_sta_of_pe_session
to limit maximum sta number for each pe_session, set
max_sta_of_pe_session as minimum value between maxStation and
SIR_SAP_MAX_NUM_PEERS.

Change-Id: Iaa01c91cd164c470b3f76bffc826ca5abdd4d0d3
CRs-Fixed: 2676484
2020-06-15 21:52:12 -07:00
nshrivas
653f2d1dbb Release 5.2.0.190G
Release 5.2.0.190G

Change-Id: I2849fc97819d06de8e9a4516674f312cf816657c
CRs-Fixed: 774533
2020-06-14 22:14:05 -07:00
Jinwei Chen
3f4590be9a qcacld-3.0: flush batched GRO_NORMAL packets
Kernel 5.4 has applied batched GRO_NORMAL packets processing
for all napi_gro_receive() users. this requires NAPI users to
call napi_complete_done() or napi_complete() at the end of every
polling to flush batched GRO_NORMAL packets.
However, by current wlan driver design, napi_gro_recevie()
is not happened in same NAPI polling context and done in another
thread context, it likely packets which have not been flushed from
napi->rx_list will get stall until next RX cycle.

Fix this by adding a manual flushing of the list right after
napi_gro_flush() call to mimic napi_complete() logics.

Change-Id: Id8c1b9360c380c9631c85f5e048ae2cd2798f65b
CRs-Fixed: 2673959
2020-06-14 22:14:05 -07:00
nshrivas
fb6b07815b Release 5.2.0.190F
Release 5.2.0.190F

Change-Id: If4fa8ac1af4c5269aa91e19cd11f9173b1830f46
CRs-Fixed: 774533
2020-06-13 03:23:38 -07:00
Rakesh Pillai
f316ead4db qcacld-3.0: Vote for high DDR bandwidth in FTM mode
In FTM mode, we are not voting for any DDR frequency,
which leads to uneven TX/RX duty cycle, since the DDR
frequency will entirely depends on any other subsytem's
vote.

Vote for VERY HIGH BW in FTM mode.

Change-Id: I7f85fb9889d9119c7224c9bcd9688327e78f15ff
CRs-Fixed: 2706143
2020-06-13 03:23:38 -07:00
nshrivas
6fe1bde368 Release 5.2.0.190E
Release 5.2.0.190E

Change-Id: I9795b1dd4ce1543e903c2ab43ab21294b2c729f6
CRs-Fixed: 774533
2020-06-12 23:33:21 -07:00
nshrivas
1c029227d1 Release 5.2.0.190D
Release 5.2.0.190D

Change-Id: I458db3c7bc57dcdf2005d07a6d25f8665b95c94d
CRs-Fixed: 774533
2020-06-12 21:28:16 -07:00
Jianmin Zhu
d8097322f0 qcacld-3.0: Add reference when access vdev
adapter->vdev should never be referenced directly, and instead
must be accessed only via hdd_objmgr_get_vdev() and
hdd_objmgr_put_vdev() so that proper reference counting is
enforced.

Change-Id: Ib3efc05426105494f13ada7efed6175f88c5d141
CRs-Fixed: 2708758
2020-06-12 21:28:15 -07:00
nshrivas
dfad1b6031 Release 5.2.0.190C
Release 5.2.0.190C

Change-Id: Ie5bb0272bb698391fa46e413378b251d5b0e5a8c
CRs-Fixed: 774533
2020-06-12 09:04:13 -07:00
Surabhi Vishnoi
040f58df32 qcacld-3.0: Compilation fixes when CONFIG_WLAN_CFR_ENABLE is set
For adrastea targets, enhanced CFR is not supported. When only
CONFIG_WLAN_CFR_ENABLE is set, some compilation errors are
observed as CONFIG_WLAN_ENH_CFR_ENABLE is not set true.

Fix these compilation errors when only CONFIG_WLAN_CFR_ENABLE
is set for targets which do not support enhanced CFR.

Change-Id: Ifafa3880757c5595e1cb2da45aae1c87d50a7aae
CRs-Fixed: 2706901
2020-06-12 09:04:11 -07:00
nshrivas
fd1cc0302e Release 5.2.0.190B
Release 5.2.0.190B

Change-Id: I9aaefb61ffdebe1ae1183385573ea18d67813932
CRs-Fixed: 774533
2020-06-12 01:04:08 -07:00
Sourav Mohapatra
8f28b9e42b qcacld-3.0: Check for invalid put_ref scenario for sta_info
Currently in the ref_count mechanism used for sta_info, the driver has
no checks to determine if there are any faulty ref counting instances.
In case multiple ref_put are done for a single take_ref, it can lead to
a memory corruption.

Add a sanity check in hdd_sta_info_put_ref that causes a device assert
in case the put_ref is called on a sta_info with already zero ref_count.

Change-Id: I0b502e1df4c37601b46cc727acc94a72a401e051
CRs-Fixed: 2707614
2020-06-12 01:04:08 -07:00
nshrivas
7066cf0560 Release 5.2.0.190A
Release 5.2.0.190A

Change-Id: I7903414ba20b1000f96c1455e2907efdc4eb85aa
CRs-Fixed: 774533
2020-06-11 05:30:53 -07:00
Min Liu
fde76d4e9c qcacld-3.0: Set Wi-Fi configurations - bandwidth configurations
Add attributes in SET(GET)_WIFI_CONFIGURATION to dynamically
configure capabilities - CHANNEL_WIDTH and DYNAMIC_BW.

Change-Id: I4d577f057e5d1b385ab7a6fadcb344dc30b85c4c
CRs-Fixed: 2694656
2020-06-11 05:30:53 -07:00
nshrivas
58347393f4 Release 5.2.0.190
Release 5.2.0.190

Change-Id: Ifa245908f2eee044dcea98323dac62d672a1c141
CRs-Fixed: 774533
2020-06-11 02:04:35 -07:00
Nisha Menon
46b0fb5f0c qcacld-3.0: Add node to sysfs to print wlan mem usage
The wlan_mem_stats node will print the DMA, SKB and heap
memory allocated in the wlan host driver. This is applicable
to perf and defconfig builds.
File path to new node is:
/sys/kernel/wifi/wlan/wlan_mem_stats

Change-Id: Ic05423d362de1ef07a3ecbdd6408a7226e2a3c2f
CRs-Fixed: 2680360
2020-06-11 02:04:35 -07:00
nshrivas
6d3dbec5df Release 5.2.0.189Z
Release 5.2.0.189Z

Change-Id: Ib875cdde7cdd1677d9d09900342a231d6ab5fa93
CRs-Fixed: 774533
2020-06-10 20:23:08 -07:00
Alan Chen
6ead5beaab qcacld-3.0: Add a wakelock and prevent suspend during idle shutdown
System suspend is occurring a few seconds before idle shutdown while
it was set to deinit state. Add a wakelock and prevent suspend during
idle shutdown.

Change-Id: I976bdece04857045e272c5c3e26db51fb63c51cf
CRs-Fixed: 2706275
2020-06-10 20:23:07 -07:00
Wu Gao
5e262a7c8b qcacld-3.0: Use min/max macro to update start/end range of 6ghz
Use MIN_6GHZ_CHANNEL to replace CHAN_ENUM_5945, MAX_6GHZ_CHANNEL to
replace CHAN_ENUM_7105, since min/max channel of 6ghz may be changed.

Change-Id: Ibb0aa4182162d956d632b271cbbfef5af07f918c
CRs-Fixed: 2706639
2020-06-10 20:23:04 -07:00
nshrivas
5d55b3cb4c Release 5.2.0.189Y
Release 5.2.0.189Y

Change-Id: I2e777b8ed05b708254285807b145408eb278089f
CRs-Fixed: 774533
2020-06-10 18:13:36 -07:00
Srinivas Dasari
662a62841c qcacld-3.0: Don't create wifi-aware0 interface if NAN is not supported
Currently, NAN discovery interface(wifi-aware0) is created if both
host and firmware support NAN separate vdev feature. But NAN
feature capability(gEnableNanSupport) is the master of these
capabilities. Don't create wifi-aware0 if gEnableNanSupport is
disabled.
Also, don't allow NAN iface creation for the kernels less
than 4.14 as NAN interface is allowed by kernel only from 4.14.

Change-Id: Iaf10974c373b2a77d2c24a78540910f78a3dc768
CRs-Fixed: 2706997
2020-06-10 18:13:36 -07:00
Saket Jha
160fab39e1 qcacld-3.0: Correct arguments for fisa rx flow setup
Due to recent changes, hal_rx_flow_setup_fse() should receive hal_soc as
argument during rx_flow setup.

Change-Id: Ic39f476b211417469e004d85cd03c6b868d97405
CRs-Fixed: 2706239
2020-06-10 18:13:33 -07:00
nshrivas
9f20215b52 Release 5.2.0.189X
Release 5.2.0.189X

Change-Id: I9a74974d324e17c1587eccdbaba9134fd3c842f5
CRs-Fixed: 774533
2020-06-10 11:53:25 -07:00
Abhinav Kumar
555d20fd3d qcacld-3.0: Fix invalid opclass error while processing BCN RPT
In case if AP's country code present as "US 0x4" in beacon report
request, it means AP wants us to use global opclass.

Fix is to allow driver to use global opclass AP's country code
present as "US 0x4" in beacon report.

Change-Id: I3f6c132803dc4c5a85aea95c5fc39ac7be670aee
CRs-fixed: 2706733
2020-06-10 11:53:25 -07:00
nshrivas
610272d619 Release 5.2.0.189W
Release 5.2.0.189W

Change-Id: I9d29b5a5a454b3d8c782ec51acfa858f505cce4b
CRs-Fixed: 774533
2020-06-10 07:26:02 -07:00
Mohammed Siddiq
c09b4e4631 qcacld-3.0: Add ipci apis for SOC wake and athdiag
Add PLD layer ipci bus apis for soc wake request,
wake release, athdiag read and athdiag write.

Change-Id: I966b4d47b6967615c11420d0b991ac175bf7c276
CRs-fixed: 2702459
2020-06-10 07:26:02 -07:00