Commit Graph

16412 Commits

Author SHA1 Message Date
nshrivas
fec092f4b2 Release 5.2.0.167X
Release 5.2.0.167X

Change-Id: I2a8d13344418fbbf54353b11b97c5d8778bea794
CRs-Fixed: 774533
2020-01-30 00:32:33 -08:00
Alan Chen
4ea561fa80 qcacld-3.0: Disable ARP_NS and GTK offload for NaN mode
arp_ns_offload and gtk offload command are being issued for NaN mode
vdev. NaN mode vdev does not support ARP_NS and GTK off load features,
so disable them when in NaN mode.

Change-Id: Iab11c92bb5da4004b62e642342a386f532832509
CRs-Fixed: 2608618
2020-01-30 00:32:33 -08:00
nshrivas
09aeb2cc35 Release 5.2.0.167W
Release 5.2.0.167W

Change-Id: Ica4715d7b2e65eabf11b443d39cf2687c42eb85c
CRs-Fixed: 774533
2020-01-29 19:30:26 -08:00
Tushnim Bhattacharyya
36b1a8a769 qcacld-3.0: Use exact values from PCL in GET_PREFERRED_FREQ_LIST
Instead of returning the whole valid channel list, just return the
PCL to QCA_WLAN_VENDOR_ATTR_GET_PREFERRED_FREQ_LIST.

Change-Id: I2be4357f1c25732b9d1098f3d16259217fa46b8e
CRs-Fixed: 2607890
2020-01-29 19:30:26 -08:00
nshrivas
a05a6cbe0a Release 5.2.0.167V
Release 5.2.0.167V

Change-Id: Iaa741a303f27e30fc0964a0ecdb5c4c2dccc02d0
CRs-Fixed: 774533
2020-01-29 12:56:32 -08:00
Abhishek Ambure
82302fc938 qcacld-3.0: Update result for GETROAMSCANCHANNELS command
User can configure roam scan channels using SETROAMSCANCHANNELS and
ADDROAMSCANCHANNELS command.

As the result of GETROAMSCANCHANNELS command, driver returns the list
of channels configured by user.

Change-Id: I847215c8319f819f8db60690842ef50037fe6aaf
CRs-Fixed: 2610136
2020-01-29 12:56:32 -08:00
nshrivas
29d46a3045 Release 5.2.0.167U
Release 5.2.0.167U

Change-Id: Iea9334d92ead529c0c3a51e1cf1812cb20aae8f0
CRs-Fixed: 774533
2020-01-29 06:01:15 -08:00
nshrivas
7eeea2e69f Release 5.2.0.167T
Release 5.2.0.167T

Change-Id: I4b5c00bbcd6a40f8ff800dd81bd5f44d7a0b6645
CRs-Fixed: 774533
2020-01-29 04:40:25 -08:00
Bapiraju Alla
779675f974 qcacld-3.0: Selectively reduce the wma logs
Reduce some of wma logs from info/error to debug.

Change-Id: I2f63adc4c521c59a63a3d792ce8cfef7cebaa7c0
CRs-Fixed: 2607146
2020-01-29 04:40:25 -08:00
nshrivas
8ae412a992 Release 5.2.0.167S
Release 5.2.0.167S

Change-Id: Iaf03d3f5bb6b9dd502ab4a2ee24db5d8b4de1e58
CRs-Fixed: 774533
2020-01-28 20:44:58 -08:00
Pragaspathi Thilagaraj
acdf340ee1 qcacld-3.0: Add beacon report related logging to kmsg
Below beacon report/NEIGH rpt related details needs to be logged into kmsg:
i. Beacon Report Request
	1. Token, Class, Channel list, Duration, Mode, BSSID wildcard, SSID
ii. Beacon Report Response
	1. Token, Scanned AP Number
	2. Reason – If Beacon Report could not proceed.
iii. Neighbor Report request
	1. Sent from Mobile
iv. Neighbor Report Response
	1. Channel list

Add the required details in beacon/neighbor report TX/RX path

Change-Id: I719863ecd4ac607d65dbbfde806921fe7214ce10
CRs-Fixed: 2610596
2020-01-28 20:44:58 -08:00
nshrivas
6255ee9de5 Release 5.2.0.167R
Release 5.2.0.167R

Change-Id: I4b826fcd5a18817348f93d306d4ec8662557e821
CRs-Fixed: 774533
2020-01-28 12:44:07 -08:00
Srinivas Dasari
20bc5c6a43 qcacld-3.0: Reduce excessive logging in NAN/NDP
Driver/firmware may not support NAN in some platforms. But when
framework tries to enable NAN/NDP, driver returns an error and
logs the failure with error level. This is causing excessive
logs in dmesg. Reduce the log level to debug in order to avoid
spamming dmesg.

Change-Id: Ied8f06fadc3b68a9fc3657e31679b71a3807737e
CRs-Fixed: 2608564
2020-01-28 12:44:07 -08:00
nshrivas
c15644c911 Release 5.2.0.167Q
Release 5.2.0.167Q

Change-Id: I48fea685997b9dbcd2a7ec5a0754106d4302f79a
CRs-Fixed: 774533
2020-01-28 11:01:58 -08:00
Abhishek Ambure
843ece96eb qcacld-3.0: Block ADDROAMSCANCHANNELS if specific channels configured
User configures specific channel using SETROAMSCANCHANNELS command
and preferred channels using ADDROAMSCANCHANNELS command.

For roam scanning, "specific channels list" is preferred over
"preferred channel list". Hence if user configured specific channels
then block ADDROAMSCANCHANNLES command.

Change-Id: Ib4e2c9ed7ca1e44c0c7e287e2ac350c3d4f3540e
CRs-Fixed: 2610133
2020-01-28 11:01:58 -08:00
Srikanth Marepalli
72213318bd qcacld-3.0: Make WMI_ROAM_PMKID_REQUEST_EVENTID event as wakable
Add support to make event WMI_ROAM_PMKID_REQUEST_EVENTID as
wakable in FIPS case.
In FIPS Enabled case, for roaming Firmware sends PMKID request
to host as firmware is not supposed to do crypto functionality
with FIPS enabled.

Change-Id: I09b6b68f77ba75f9e5519ff18017c95d16771f52
CRs-Fixed: 2513790
2020-01-28 11:01:38 -08:00
nshrivas
4eaa5d66ba Release 5.2.0.167P
Release 5.2.0.167P

Change-Id: I4e599e9337d1a3065b07207f454d4ced2d33e9c1
CRs-Fixed: 774533
2020-01-28 05:30:43 -08:00
nshrivas
50909490a5 Release 5.2.0.167O
Release 5.2.0.167O

Change-Id: I69527cfe59995cde3f9f99acc860d439a585448f
CRs-Fixed: 774533
2020-01-27 23:32:11 -08:00
Kiran Kumar Lokere
8bb8b28622 qcacld-3.0: Configure vdev HE Tx beamform settings to FW
Configure vdev HE Tx beamforming parameters to FW.

Change-Id: I990d9a9cb84300b07dd6acf67bbddf72abaf80b5
CRs-Fixed: 2609937
2020-01-27 23:32:11 -08:00
nshrivas
77ccdbfdf3 Release 5.2.0.167N
Release 5.2.0.167N

Change-Id: I3e3430f215d3792007011b5e1efe2bd1b93dab49
CRs-Fixed: 774533
2020-01-27 21:59:27 -08:00
Alan Chen
7890bebcbc qcacld-3.0: Add sta connection check in NUD stats
Add check for sta connection during NUD stats request because FW may
assert if NUD stats request is sent to FW when the station is disconnected.

Change-Id: I0521356f677154cd5f4f0ae08b5fcfec2e9cef56
CRs-Fixed: 2610267
2020-01-27 21:59:26 -08:00
nshrivas
6e5cce7b18 Release 5.2.0.167M
Release 5.2.0.167M

Change-Id: I469ee990f61cdf50a4075a6fcc0030b94cce45d1
CRs-Fixed: 774533
2020-01-27 19:05:28 -08:00
Alan Chen
876fa6f2f9 qcacld-3.0: Pass a double pointer to sta_info in hdd_sta_info_detach()
Data abort is happening while accessing unmapped sta_info in
hdd_softap_stop_bss(). When calling hdd_sta_info_detach() through
hdd_softap_deregister_sta(), sta_info is not being set to NULL since
a single value only passes a copy of sta_info, so the actual sta_info
is not actually being set to NULL. To fix this, pass a double pointer to
sta_info instead of a single pointer so that it can be set to NULL.

Change-Id: I96f4c7e1563e53498a86c95263dc62a8d3d68e21
CRs-Fixed: 2610763
2020-01-27 19:05:28 -08:00
nshrivas
d2ec73e26d Release 5.2.0.167L
Release 5.2.0.167L

Change-Id: I03336e29a58cc7604cd01d6bcb9622a44a36aba3
CRs-Fixed: 774533
2020-01-27 17:36:34 -08:00
Arun Kumar Khandavalli
afcb0553ff qcacld-3.0: Selectively reduce the hdd/osif logs
Reduce loglevel of some logs from info to debug.

Change-Id: Ie90515989a45bc41274bd79afe4c5e407561256b
CRs-Fixed: 2608793
2020-01-27 17:36:34 -08:00
nshrivas
d7df29402b Release 5.2.0.167K
Release 5.2.0.167K

Change-Id: I9a08dfcb59de0cbf8a9db87595679801f809a3a1
CRs-Fixed: 774533
2020-01-27 15:43:01 -08:00
gaurank kathpalia
3c996e687d qcacld-3.0: Add logs for deauth TX, RX
Add logs for deauth TX, RX, sta kickout,
beacon miss and deauth Tx status.

Change-Id: Ib2148d8019c3600e1ce8bc532f3226c68b3f48b8
CRs-Fixed: 2608966
2020-01-27 15:43:00 -08:00
Venkata Sharath Chandra Manchala
0d0ef55749 qcacld-3.0: Provide soc objmgr to hif
Pass soc objmgr from hdd context to hif context
to retrieve INI parameters to be used in hif
layer.

Change-Id: I0ad4573fecba0fc78968145394683057d09da312
CRs-Fixed: 2598759
2020-01-27 15:42:46 -08:00
nshrivas
f5ebb3645a Release 5.2.0.167J
Release 5.2.0.167J

Change-Id: I472f43f2d613a16925cf9585368217d268555817
CRs-Fixed: 774533
2020-01-27 14:19:51 -08:00
Arun Kumar Khandavalli
1ac5aaddb8 qcacld-3.0: Selectively reduce the sap logs
Selectively reduce the sap logs from info/err to debug.

Change-Id: Ie3bb8f63a62d93f239d8b27cd930af2755ccdbf5
CRs-Fixed: 2607161
2020-01-27 14:19:51 -08:00
nshrivas
be585a8f67 Release 5.2.0.167I
Release 5.2.0.167I

Change-Id: I18af2222b5a0ca3c5ceb6097b4fb84fe5990e070
CRs-Fixed: 774533
2020-01-27 12:44:09 -08:00
Arun Kumar Khandavalli
da60bb1412 qcacld-3.0: Selectively reduce the SME logs
Selectively reduce the sme logs loglevel from info to debug.

Change-Id: Ie571aa0438e673d34d045869473935816d4289e9
CRs-Fixed: 2607108
2020-01-27 12:44:09 -08:00
nshrivas
8065560eb8 Release 5.2.0.167H
Release 5.2.0.167H

Change-Id: I1f43d9d9d1d03d9acdc5ec1549067ce00819b30f
CRs-Fixed: 774533
2020-01-27 07:54:22 -08:00
Yeshwanth Sriram Guntuka
d0e884aedf qcacld-3.0: Add ini support for protocol data pkt diag logging
Add ini support to configure the protocol data packet types
for which diag log is sent to user-space.

Change-Id: I10c83aa4af7099feafa86e2b57dc5fd79d02114c
CRs-Fixed: 2595789
2020-01-27 07:54:21 -08:00
nshrivas
4fb0b1598f Release 5.2.0.167G
Release 5.2.0.167G

Change-Id: I7632715c8c386b27caf5a7a2958104bc724e50fa
CRs-Fixed: 774533
2020-01-27 05:17:00 -08:00
Arun Kumar Khandavalli
bc7ae34aa6 qcacld-3.0: Selectively reduce dp logs
Reduce the datapath logs from info to debug.

Change-Id: I89c6be34535ef75c0d5bf9b11d7f742f02322097
CRs-Fixed: 2607002
2020-01-27 05:17:00 -08:00
nshrivas
275bc1f049 Release 5.2.0.167F
Release 5.2.0.167F

Change-Id: I1112447fb1ffc2ab08bc682cd7bfa7b68deeb69b
CRs-Fixed: 774533
2020-01-27 03:57:30 -08:00
Srikanth Marepalli
6a87278fe7 qcacld-3.0: Add support for pmkid generation for FIPS
Add support to fallback the PMKID generation from firmware to
wpa_supplicant.
In FIPS Enabled case, for roaming Firmware sends PMKID
request to host as firmware is not supposed to do crypto
functionality with FIPS enabled. Once the roam candidate
selection is done in the firmware, it sends the
WMI_ROAM_PMKID_REQUEST_EVENTID. After receiving this event
the host driver triggers an event to wpa_supplicant using
NL80211_CMD_PMKSA_CANDIDATE for PMKID generation. Then
wpa_supplicant responds with PMKID to host using
NL80211_CMD_SET_PMKSA. And host updates the wmi pmk cache
and indicates the firmware via WMI_PDEV_UPDATE_PMK_CACHE_CMDID
wmi command.

Change-Id: I7d33a2b92f97260fa5a7e742b6f877adc7eced55
CRs-Fixed: 2512955
2020-01-27 03:57:30 -08:00
nshrivas
98184f2c85 Release 5.2.0.167E
Release 5.2.0.167E

Change-Id: I26ac838cff1d6d4d82530f868a94b6e8bdd871e4
CRs-Fixed: 774533
2020-01-24 21:29:11 -08:00
nshrivas
7ba4f08400 Release 5.2.0.167D
Release 5.2.0.167D

Change-Id: I165c61f153c3c27e443ab254ed058bca1cb687ff
CRs-Fixed: 774533
2020-01-24 18:43:39 -08:00
nshrivas
7c3e62ef9f Release 5.2.0.167C
Release 5.2.0.167C

Change-Id: I883f3e28fa0d7c99055bebdb681b7a6621551484
CRs-Fixed: 774533
2020-01-24 13:00:13 -08:00
Pragaspathi Thilagaraj
f186fb9bbb qcacld-3.0: Print roaming logs in kmsg
Currently the roam trigger, roam scan , candidates and
roam result related logs are printed at debug level and wouldnot
appear at kmsg. These logs are needed at kmsg for roaming
related debug requirement.

Change-Id: I0d407d04606462c88cf15f3693994f7cf11f6602
CRs-Fixed: 2607349
2020-01-24 13:00:13 -08:00
nshrivas
c01a1d7e32 Release 5.2.0.167B
Release 5.2.0.167B

Change-Id: I94304e870850c0e7faa30a94907dece84a2a85b0
CRs-Fixed: 774533
2020-01-24 07:01:41 -08:00
gaurank kathpalia
2652bca1f2 qcacld-3.0: Set peer params after vdev restart for SAP
Scenario:
1. Turn on SAP on channel 1 on 2.4ghz 20Mhz BW
2. Connect a STA to it.
3. Change the SAp channel to 36 80mhz BW

Observation:
STA changes the channel BW to 80 but SAP does not
send th packets in 80Mhz to the SAP.

Expectation: SAP should send the packets to STA on 80Mhz.

Issue:
SAP does not set the peer params to the FW for the peer
hence the FW keeps on sending the packets with 20Mhz
which was previously configured to it.

Fix:
Send peer params to FW for each peer so that the
packets can be sent by SAP on a max supported BW.

Change-Id: Ic9b310e67001d55b2b5427db0c2ab897ea36b6b0
CRs-Fixed: 2606872
2020-01-24 07:01:41 -08:00
nshrivas
0f74dd3b1f Release 5.2.0.167A
Release 5.2.0.167A

Change-Id: Ia508b1b67b81e376ac2f4861e95259c10cbe7022
CRs-Fixed: 774533
2020-01-24 05:09:34 -08:00
Abhishek Singh
30769a34c3 qcacld-3.0: Fix wait for disconnect during connect req
Even when vdev is in disconnected state, during connect it tries
to wait for disconnect which lead to 1 sec delay in connect.

So call wait for disconnect only if vdev is not already disconnected.

Change-Id: Ib7a9b4628b0e10f71bdebe4b74a70d648825d9d3
CRs-Fixed: 2609462
2020-01-24 05:09:34 -08:00
nshrivas
6514ed29c4 Release 5.2.0.167
Release 5.2.0.167

Change-Id: I1b7ad7f09d2ad1cd6a3f675862bab9e80aa30a5f
CRs-Fixed: 774533
2020-01-24 03:50:13 -08:00
nshrivas
a9b4b6bb28 Release 5.2.0.166Z
Release 5.2.0.166Z

Change-Id: Id6f1add998ace636e5f1634b02b32fa076eab567
CRs-Fixed: 774533
2020-01-24 02:30:20 -08:00
nshrivas
70dbf0eebe Release 5.2.0.166Y
Release 5.2.0.166Y

Change-Id: I4706e2e3e06d348dd90a6074cde3d9a0942317f0
CRs-Fixed: 774533
2020-01-24 00:55:52 -08:00
gaurank kathpalia
17b132d897 qcacld-3.0: Handle positive RSSI case in stats
The HW is capable to send the RSSI from the range
0-127, and when the driver normalizes it with the
noise margin of -96db, then it may happen that the
net RSSI is still positive if the reported RSSI is
greater than 96 db. If this happens then the GUI
shows 0 signal as it considers this RSSI positive
value to be invalid, though the RSSI was very strong.

Fix is to override the RSSI as 0 if the net RSSI
obtained after normalization is positive.

Change-Id: Id00a2ef3bafe77a033627931ae62cd11f3ba4f27
CRs-Fixed: 2606589
2020-01-24 00:55:52 -08:00
gaurank kathpalia
37151a5812 qcacld-3.0: Remove the check for 0 scan results
Currently the logic in ACS for 0 scan results is
to select default channel from the ACS channel list,
but the available channels may not always be capable
of the max BW sent by ACS, for example in HW MODE as
ANY then all the channels 2.4ghz and 5ghz would be
present in the ACS channel list, 2.4ghz channels at
the first followed by the 5ghz channels, and if the
scan results are 0 then 2.4ghz channel would be
selected as default which should not be the case.

Fix is to remove the check to select default channel
and let me ACS algorithm decide the best channel
accounting other factors such as noise floor
and max tx rx clear count, power also.

Change-Id: I21e5d73e12fffb00c4996c406d62361b74db629f
CRs-Fixed: 2601141
2020-01-24 00:55:40 -08:00
nshrivas
196bf2f5b7 Release 5.2.0.166X
Release 5.2.0.166X

Change-Id: I409336834af294459e405f987b481f6d5ee60bb4
CRs-Fixed: 774533
2020-01-23 22:16:44 -08:00
Rajeev Kumar
5bcbae4d46 qcacld-3.0: Free memory properly during wow pattern config command
In error case during wow pattern add and delete the allocated
memory for pattern string is not freed which is leading to memory
leak. Add the fix to free the allocated memory for wow pattern
properly for both error and success cases.

Change-Id: I5ecc2fb710bba85369a0bacbdd69a039d295e4d8
CRs-Fixed: 2609247
2020-01-23 22:16:44 -08:00
nshrivas
f3880940a0 Release 5.2.0.166W
Release 5.2.0.166W

Change-Id: I9073f414cfde63001ae863f707a02852b1dcf08a
CRs-Fixed: 774533
2020-01-23 19:21:09 -08:00
Abhinav Kumar
c0716d4f8a qcacld-3.0: Fix race between wpa_supplicant and scheduler_thread
Driver receives roam invoke command from supplicant, Host start
processing it in wpa_supplicant thread and sends ROAM_INVOKE
command to firmware. FW indicates roam invoke failure, so host
clean up the AP (Disconnect). But wpa_supplicant did not get
scheduled till disconnection completion. After disconnection,
wpa_supplicant thread gets resume and sets the roaming in progress
true. This results in roaming in progress remain set in a
disconnection state.

sme_fast_reassoc should be protected with sme lock to avoid
the race between SB disconnect and sme_fast_reassoc.

Fix is to protect sme_fast_reassoc with sme lock and
set roaming in progress flag before sending sme_fast_reassoc
command to FW and reset it again if sme_fast_reassoc fail to
initiate the roam invoke.

Change-Id: I05d92f8d5916decbd2c6f99eb67da0a29525ead5
CRs-Fixed: 2608398
2020-01-23 19:21:08 -08:00
Saket Jha
73e0acb2e2 qcacld-3.0: Set 6Ghz frequencies for monitor mode
Allow lim_update_session_he_capable_chan_switch for 6 Ghz frequencies in
monitor mode.

Change-Id: Ied8983b18f1ad36c70b66fd6fb4149b7b5b79e51
CRs-Fixed: 2608687
2020-01-23 19:20:55 -08:00
nshrivas
6ddff62b32 Release 5.2.0.166V
Release 5.2.0.166V

Change-Id: Ic0946f515805c71d578b24323e45add2631b62f9
CRs-Fixed: 774533
2020-01-23 14:27:29 -08:00
Rakesh Pillai
ed73605fe2 qcacld-3.0: Remove usage of datapath handles in outer layers
Currently many layers store the datapath handles i.e.
pdev and vdev handles and use them for passing as an
argument to the CDP APIs. This gives way to possible
race conditions, where the datapath handle provided by
the outer layer might be a stale pointer, which in turn
leads to unexpected results.

Remove the storage and usage of all the datapath handles
from the layers currently using them.
- cds_context
- vdev objmgr
- pdev objmgr

Change-Id: Icf24bd3792af203d1a06e153f0badd6e7405559f
CRs-Fixed: 2602199
2020-01-23 14:27:28 -08:00
nshrivas
10be1a6241 Release 5.2.0.166U
Release 5.2.0.166U

Change-Id: I8c8a6def8f2dc83f8c2c0be0439b8b3892ef11f6
CRs-Fixed: 774533
2020-01-23 10:57:04 -08:00
Arun Kumar Khandavalli
bdba410daa qcacld-3.0: Selectively reduce cds logs
Reduce the cds logs from info to debug.

Change-Id: I2b69dd1c03f6823254098b2ab22532b956001e1e
CRs-Fixed: 2607010
2020-01-23 10:57:03 -08:00
nshrivas
a1354a635f Release 5.2.0.166T
Release 5.2.0.166T

Change-Id: Ie0f108efe58262210ffb5f31b3de87b47f71b12a
CRs-Fixed: 774533
2020-01-23 09:39:59 -08:00
Abhishek Singh
f68ceb14a4 qcacld-3.0: Fix disconnect wait logic in wlan_hdd_try_disconnect
wlan_hdd_disconnect logic changed as part of
Ib490021775a39614646f8e518860c878cc0fdaae, but wlan_hdd_try_disconnect
was not taken care to avoid the disconnect timeout.

As both API use same code move the logic to separate API and call
the API from wlan_hdd_try_disconnect and wlan_hdd_disconnect.

Change-Id: I20d0f85cc0bb4b6ba826d60051e6f4124b180c24
CRs-Fixed: 2608708
2020-01-23 09:39:58 -08:00
nshrivas
7125aedb21 Release 5.2.0.166S
Release 5.2.0.166S

Change-Id: I641540aa79a16b25d5f417490b5a220d62233035
CRs-Fixed: 774533
2020-01-23 07:55:32 -08:00
Abhinav Kumar
58f72636d0 qcacld-3.0: Update proper copyright years
Update proper copyright years in
core/cds/inc/cds_regdomain.h

Change-Id: Ia013943c33d6143c58def6a5ed5e3126a2e412da
CRs-Fixed: 2605822
2020-01-23 07:55:32 -08:00
Abhishek Singh
7a7799b04a qcacld-3.0: Fix pmfSaQueryTimer timer leak
In case of PMF connection the sta_ds is memset to 0 in case of
SA query timeout whithout deleting pmfSaQueryTimer.
Also in lim_update_sta_ds pmfSaQueryTimer is
created without any check if its already created and thus may
lead to overwrite of the previous timer.

Thus destroy the pmfSaQueryTimer before memset sta_ds to 0 and
before creating it in lim_update_sta_ds.

Also use peer deletion is in progress in lim_process_assoc_req_sta_ctx
to check if STA is in proper state and assoc can be handled.

Change-Id: I63a701c1bd4324c6fce62338df80d0911cc9b703
CRs-Fixed: 2606900
2020-01-23 07:55:15 -08:00
nshrivas
77aca6ed3c Release 5.2.0.166R
Release 5.2.0.166R

Change-Id: I96e5b68d6cb0e4d244714c1fdeca8597e320de89
CRs-Fixed: 774533
2020-01-23 05:10:04 -08:00
Srinivas Dasari
c5b2de38a6 qcacld-3.0: Allow RSO update cmds on RSO_STARTED state
Firmware operates on RSO update params only if state is RSO_STARTED.

Hence allow RSO update commands only in RSO_STARTED state.

Change-Id: Ic9d0d6df0608bfc4b4273f7c42c893dd52739d78
CRs-Fixed: 2605298
2020-01-23 05:10:04 -08:00
nshrivas
6d9e1aa4bf Release 5.2.0.166Q
Release 5.2.0.166Q

Change-Id: I3718f91f3305877931d2e9c6bc05a22c32070ddf
CRs-Fixed: 774533
2020-01-23 03:41:33 -08:00
nshrivas
9f97264d2d Release 5.2.0.166P
Release 5.2.0.166P

Change-Id: I2a135d6376a70ef0f4492d04c401315a36c7ba03
CRs-Fixed: 774533
2020-01-23 00:43:13 -08:00
Amruta Kulkarni
3e72b33bf0 qcacld-3.0: Fix to not set HT/VHT flag for 6ghz scan
During 6ghz scan, host should not set HT/VHT flag
when sending configuration to FW via WMI_SCAN_CHAN_LIST_CMDID.

Change-Id: I5a58c775f173e90f91f6e7472ced3d59adfd8f73
CRs-Fixed: 2605744
2020-01-23 00:43:13 -08:00
nshrivas
07bce4a14b Release 5.2.0.166O
Release 5.2.0.166O

Change-Id: Id652afe1a5430f1ab326c58c7e134780353b986b
CRs-Fixed: 774533
2020-01-22 23:02:41 -08:00
Arun Kumar Khandavalli
5ba2743676 qcacld-3.0: Selectively reduce the pe layer logs
Selectively reduce pe layer logs loglevel from info to debug.

Change-Id: I187040fe2862253b2c93b32ef3c6cd247a4f0b04
CRS-Fixed: 2607090
2020-01-22 23:02:41 -08:00
nshrivas
319d43650e Release 5.2.0.166N
Release 5.2.0.166N

Change-Id: I0c124c49b1c187aa746a39feb03994fbbdf51fc1
CRs-Fixed: 774533
2020-01-22 19:22:45 -08:00
Abhishek Ambure
f15c50bad1 qcacld-3.0: Restore default RSO values after STA disconnect
Restore default RSO values after STA disconnect.

Change-Id: I6b230b5a8e00449955d641b440f12925340ca0df
CRs-Fixed: 2605336
2020-01-22 19:22:45 -08:00
nshrivas
260ecd1d67 Release 5.2.0.166M
Release 5.2.0.166M

Change-Id: I4bc4f30eec5f06b67059476340ee6938d3274306
CRs-Fixed: 774533
2020-01-22 17:52:03 -08:00
Ashish Kumar Dhanotiya
bf3742bb12 qcacld-3.0: Change logging in wma_chan_phy_mode to ratelimit
Currently logs for invalid channel width are set as error logs,
if invalid channel width is passed to this api very frequently,
error logs are getting flooded.

To address this issue make the logs as rate limit.

Change-Id: I493002b63ab72438cce2b61c858a32acf12ea6b6
CRs-Fixed: 2607361
2020-01-22 17:52:02 -08:00
nshrivas
1477979df9 Release 5.2.0.166L
Release 5.2.0.166L

Change-Id: I1bdeb5fc5964af52a55e0cfd3d0dfebb976b2023
CRs-Fixed: 774533
2020-01-22 16:25:43 -08:00
Chaoli Zhou
b991ddfe99 qcacld-3.0: Change dma address size to 8 bytes for Genoa IPA
Currently, sizeof(qdf_dma_addr_t) is 4 bytes, but IPA driver
and WLAN FW always use 8 bytes, we should follow up with them,
otherwise, the numbers of rx complete ring entries will not be
same in both sides. Meanwhile, for tx complete ring, during the
first time initialization, we fill the buffer address with 4
bytes, while GSI FW read 8 bytes address content from tx complete
ring, which should cause the GSI FW get invalid address on the half
way and cause the smmu fault issue. So fill 8 bytes length buffer
address to the tx complete ring can avoid such issue.

Change-Id: I61021627b634d4b1525727cc944ee410ed3154db
2020-01-22 16:25:43 -08:00
nshrivas
f173c36169 Release 5.2.0.166K
Release 5.2.0.166K

Change-Id: If49f77faab1f6429cf0567a0fe1c7497f6b7e13b
CRs-Fixed: 774533
2020-01-22 12:19:18 -08:00
Alok Kumar
286a65ed19 qcacld-3.0: Send vdev param command to set pkt capture mode
Send vdev param command to FW for STA vdev to set the packet
capture mode. Send the command only if packet capture support
is enabled.

Change-Id: I014acfc5d97a2bf00831259b9811b3c5bc7610a1
CRs-Fixed: 2528554
2020-01-22 12:19:17 -08:00
nshrivas
9cb2c5c234 Release 5.2.0.166J
Release 5.2.0.166J

Change-Id: Ibd6e0280308e3bc63bdfc36b3ea8870cd6dc84f9
CRs-Fixed: 774533
2020-01-22 10:57:51 -08:00
Srinivas Dasari
a73e5f5dee qcacld-3.0: Clear static, dynamic roam channels on NCHO disable
For NCHO disable, clear static and dynamic channels from roam scan
list in driver and firmware.

Change-Id: I24bca4dfb34895b4e86455dea40764af163544f1
CRs-Fixed: 2605299
2020-01-22 10:57:51 -08:00
nshrivas
97c09a5a9e Release 5.2.0.166I
Release 5.2.0.166I

Change-Id: I147a95d739426b732f3a7802f3c6fef04abfd98c
CRs-Fixed: 774533
2020-01-22 09:24:54 -08:00
Jingxiang Ge
7ec9ead8d1 qcacld-3.0: Reset suspend_event before waiting for it
In dp_rx_tm_suspend, suspend_event should be reset before waiting
for it. otherwise, the suspend function will be break.

Change-Id: I9132f45b02386c54fb8e27f0f7c2c71205450c9d
CRs-Fixed: 2606227
2020-01-22 09:24:54 -08:00
nshrivas
6d6e49735f Release 5.2.0.166H
Release 5.2.0.166H

Change-Id: Idb01d5ee5efbc09420c4581df9f7ced5f46615dd
CRs-Fixed: 774533
2020-01-22 06:21:59 -08:00
Alok Kumar
909e3f9b43 qcacld-3.0: Register TxRx callbacks for pkt capture mode
Register TxRx callbacks to pktcapture_ops for packet capture mode

Change-Id: I7de52bfd94b992cd5fd7c64e5352fe76ed1a7f3b
CRs-Fixed: 2533876
2020-01-22 06:21:59 -08:00
nshrivas
a45ff4d3a5 Release 5.2.0.166G
Release 5.2.0.166G

Change-Id: I07f6e4c6e64b160369e86dc36b60d4e0bae056cb
CRs-Fixed: 774533
2020-01-22 04:47:15 -08:00
Arun Kumar Khandavalli
9bf53ab36f qcacld-3.0: Use new api to check for leaks wlan_objmgr_psoc_check_for_leaks
The current implementaion check for peer, vdev and pdev leaks on
psoc in order and if any leak is found for peer then QDF_DEBUG_PANIC
is called and vdev and pdev leaks are not checked. Similar is the case
if vdev leak is found, pdev leaks are not checked.

Invoke new API to check for all the object leaks and then result in panic.

Change-Id: Icf6622760f3646b82f893beb7415b95307e2ccd7
CRs-Fixed: 2604594
2020-01-22 04:47:15 -08:00
nshrivas
a04af933db Release 5.2.0.166F
Release 5.2.0.166F

Change-Id: I19e15378c699d324443c8ea81b49e0a5ce463aa0
CRs-Fixed: 774533
2020-01-22 02:45:32 -08:00
Vevek Venkatesan
2d88a6bc30 qcacld-3.0: cdp: Converge cdp_peer_ops
Currently cdp ops are given pdev/vdev/peer
handle as its arguments, which is directly
accessed in those APIs. This can cause a
race-condition in access of the respective
handles if it has been deleted in parallel.

Hence as a part of cdp convergence, pass only
the pdev_id or vdev_id or peer mac address,
which will be used to get the respective handles,
and hence avoiding the unwanted access of the
handles if it has been deleted.

Also remove the ops which are used to store
and retrieve such handles, that no more needed.

- register_peer
- clear_peer
- change_peer_state
- peer_get_ref_by_addr
- peer_release_ref
- peer_state_update
- get_vdev_by_sta_id
- register_ocb_peer
- get_peer_state
- get_vdev_for_peer
- update_ibss_add_peer_num_of_vdev
- remove_peers_for_vdev
- remove_peers_for_vdev_no_lock
- copy_mac_addr_raw
- add_last_real_peer
- is_vdev_restore_last_peer
- update_last_real_peer
- peer_detach_force_delete

Change-Id: I5134ca882f5fcf0e5941317e48712717eddb58fe
CRs-Fixed: 2541708
2020-01-22 02:45:32 -08:00
nshrivas
39671feed2 Release 5.2.0.166E
Release 5.2.0.166E

Change-Id: If0eb12233998267ebfd2ac9ecb629f98193d1b9f
CRs-Fixed: 774533
2020-01-21 23:59:44 -08:00
Liangwei Dong
d37987fcb7 qcacld-3.0: Add debug dump of curr_chan_list
Add call to hdd_regulatory_chanlist_dump to dump
the curr_chan_list. It will be processed by regulatory
test case in whunt.

Change-Id: I6a35fc61f13f92874b24602a572ebb7bf6c03250
CRs-Fixed: 2606980
2020-01-21 23:59:44 -08:00
nshrivas
32b562173f Release 5.2.0.166D
Release 5.2.0.166D

Change-Id: I9b64fdc6ce5b5b6e9bde84b190a6149bdbc4fdff
CRs-Fixed: 774533
2020-01-21 19:39:48 -08:00
Liangwei Dong
dc8baf36c3 qcacld-3.0: Add MBO IE in assoc frame based on MFPC
In OCE 4.2.1, REF AP sets MFPR = 0 and MFPC = 1, DUT STA
set MFPR = 0 and MFPC = 1 by default. The current driver
only add MBO IE when MFPR = 1 and MPFC = 1. Then the test
failed because of no MBO IE in DUT assoc request frame.

Driver needs to add MBO IE when MFPC = 1 in STA and AP
based on test plan spec. Add new API lim_get_bss_rmf_capable
to check MFPC and required mgmt cipher.

Change-Id: I54aaa096393702154d1d0df218ba334eda80b0aa
CRs-Fixed: 2604189
2020-01-21 19:39:47 -08:00
nshrivas
3f8a89bae9 Release 5.2.0.166C
Release 5.2.0.166C

Change-Id: I2a6403ba68417949a0643d4c0dda81207bf17a65
CRs-Fixed: 774533
2020-01-21 18:19:54 -08:00
Alan Chen
6569f97e67 qcacld-3.0: Use QDF API to check driver unload in DSC
Use newly defined QDF API in CMN qdf_is_driver_unloading() to check
if driver unload is in progress in DSC.

Change-Id: I2958c6cc3ee6f2ac4302e2dbbf1c68d986fea175
CRs-Fixed: 2605706
2020-01-21 18:19:54 -08:00
nshrivas
997a6ca318 Release 5.2.0.166B
Release 5.2.0.166B

Change-Id: I18a3d42230b10665d3f1c8a4727d4aa559f7fcbc
CRs-Fixed: 774533
2020-01-21 14:02:03 -08:00
Kiran Kumar Lokere
7ed8475e8a Revert "qcacld-3.0: Avoid to add duplicate HE IE"
This reverts Change-Id: Ia144bb5e96f00114658a371ef27c65f90a6c7df2

Change-Id: Id1cdce7bcda97c2567c3e57fb61cffb8288695db
CRs-Fixed: 2604727
2020-01-21 14:02:02 -08:00
nshrivas
201e8719b0 Release 5.2.0.166A
Release 5.2.0.166A

Change-Id: I01888d35155d9c5d58e0d16f2c1424808d0f78b8
CRs-Fixed: 774533
2020-01-21 03:38:18 -08:00
Saket Jha
45243809b9 qcacld-3.0: Correct featurization of PM QoS support for 5.4 Kernel
Currently PM QoS is only enabled for kernel version 4.19.0 and below but
is supported and needed in kernel version 4.19.72. So enable PM QoS if
kernel version is below 5.4.0.

Change-Id: I440abe1cf9737447faff250b1973f1e6e2fe378e
CRs-Fixed: 2603396
2020-01-21 03:38:17 -08:00