Commit Graph

18477 Commits

Author SHA1 Message Date
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
Arun Kumar Khandavalli
83d42e241d qcacld-3.0: Selectively reduce the p2p logs
Reduce p2p component logs loglevel form info to debug.

Change-Id: I56e3710a33de280d7c62e88de53f11d61a6515da
CRs-Fixed: 2607028
2020-01-27 05:16:46 -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
Abhishek Ambure
2372a9054d qcacld-3.0: Set max limit of RoamRssiDiff INI to 100
STA considers RSSI delta configured by the user along with other
parameters for roaming.

RoamRssiDiff is the number of units (typically measured in dB) AP2 is
better than AP1. STA roams from connected AP1 to AP2 if the RSSI value
of AP2 is greater than AP1 by configured ROAM delta value.

Max limit of RoamRssiDiff is increased to 100 from 30, so user can set
roam delta from 0 to 100 using command SETROAMDELTA.

Change-Id: I69b783ebe5ec971bb62cbac8a34065d52fc25422
CRs-Fixed: 2609589
2020-01-24 21:29:10 -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
Pragaspathi Thilagaraj
b2e6d8964f qcacld-3.0: Update roam failure reason string
Update the mlme_get_roam_fail_reason_str() to return
correct string for new roam failure reason enums added.

Change-Id: I24983149fdcd8a0935eea9670832944638c33179
CRs-Fixed: 2607545
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
Arun Kumar Khandavalli
a0bb689000 qcacld-3.0: selectively reduce the offload logs
Reduce loglevel of some logs from info to debug.

Change-Id: I7026cd376015de62d71ffd0b4eb2e79e13e2e4f0
CRs-Fixed:  2607973
2020-01-24 05:09:18 -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
Arun Kumar Khandavalli
32a9096941 qcacld-3.0: selectively reduce the mlme logs
Seletively reduce the mlme component logs from info to debug.

Change-Id: If31157aef1eba8fcd8bee5c654a9e87f4437cc95
CRs-Fixed: 2607165
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
Nisha Menon
cda811c37b qcacld-3.0: Enable MCL feature flag RXDMA_ERR_PKT_DROP
If the flag is enabled drop the packet if msdu_done bit
is not set while processing rxdma err frames. This is
not expected while reaping WBM RX release ring.

Change-Id: Ic8a09ba5a6952510e82a209d6ef609343a9bc09a
CRs-Fixed: 2608661
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
gaurank kathpalia
e0334a5e1d qcacld-3.0: Set connection update in success only
Currently the driver sets the connection update
flag in case of the hw mode cb when the set
hw mode is done, irrespective of the status
code sent by the FW. This leads to the completion
for wait for event and the caller to the current
connection update would get a wrong expectation
that the hw mode requested by it was set, which
would not be the case when the hw mode is not set
according to the user or the set hw mode was
rejected by the target itself.

Fix is to set the connection mode only when the
status is success or already the HW mode is set.

Change-Id: Ic7257b0be5a4bcdaecffb788cf3394b06ddfd5e5
CRs-Fixed: 2604062
2020-01-23 03:41:33 -08:00