Commit Graph

18241 Commits

Author SHA1 Message Date
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
Arun Kumar Khandavalli
8b61ce1e4c qcacld-3.0: Selectively reduce tdls logs
Reduce tdls logs from info to debug.

Change-Id: I2de71c4aa5d9915afb68bc192dcd6a749f6b3b4e
CRs-Fixed: 2607020
2020-01-23 03:41:19 -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
Arun Kumar Khandavalli
f4ed406089 qcacld-3.0: Selectively reduce the policymgr logs
Reduce certain logs of policymgr from info to debug.

Change-Id: Idb2817c20f97d5a8888cbe685bdc3b1eaf77662e
CRs-Fixed: 2607035
2020-01-22 23:02:18 -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
Arun Kumar Khandavalli
5aff060d8d qcacld-3.0: selectively reduce the nan logs
Selectively reduce the nan logs loglevel form info to debug.

Change-Id: Ie71e34582d22de14a49b3d07fc286d4c4caccdbd
CRs-Fixed: 2607290
2020-01-22 19:22:30 -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
nshrivas
39784324f1 Release 5.2.0.166
Release 5.2.0.166

Change-Id: I5fc10b6a5b280873f7037d5cf70db7c031e5becc
CRs-Fixed: 774533
2020-01-21 01:59:22 -08:00