Commit Graph

16291 Commits

Author SHA1 Message Date
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
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
Wu Gao
498b684222 Revert "qcacld-3.0: Disable LDPC capability of peer"
This reverts Change-Id:  fb8137a35a.

Change-Id: I8a57cde45b3408ab66c26ed8079bde9ae5b09431
CRs-Fixed: 2604856
2020-01-21 01:59:22 -08:00
nshrivas
1d5e37cb22 Release 5.2.0.165Z
Release 5.2.0.165Z

Change-Id: I1c9a1327541a713cf2513df8c43f731963d3b206
CRs-Fixed: 774533
2020-01-20 20:06:59 -08:00
Abhishek Singh
eca7cd9389 qcacld-3.0: Remove suspend if off-channel logic during connect
Remove the unused suspend check is_lim_session_off_channel() logic
which is not been used.

Change-Id: Ie16475b324f7ba94b23a21c122865b742cace57b
CRs-Fixed: 2606230
2020-01-20 20:06:58 -08:00
nshrivas
4263718229 Release 5.2.0.165Y
Release 5.2.0.165Y

Change-Id: I540ceecbe29356ac595b7a4a7cd248253da6ffac
CRs-Fixed: 774533
2020-01-20 17:50:44 -08:00
Venkata Sharath Chandra Manchala
306b698156 Revert "qcacld-3.0: Provide vendor extended stats from host"
This reverts change-id: Ie73b1e823a54385c5b97e1844a93d4ecc38d9d3c.

Change-Id: I34924e143b19e7254343b7839798700d64a0b566
CRs-Fixed: 2604690
2020-01-20 17:50:44 -08:00
Vevek Venkatesan
e9fa59de57 qcacld-3.0: cdp: Converge cdp_ctrl_ops
Currently cdp ops are given pdev/vdev 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/vdev_id which will be used to get the
respective handles and hence avoiding unwanted
access of the handles if it has been deleted.

Also deleting few ops which stores and retrieves
such handles and adding ops to set/get pdev params.

- txrx_set_safemode
- txrx_set_drop_unenc
- txrx_get_pdev_param
- txrx_set_pdev_param
- wdi_event_sub
- wdi_event_unsub

Change-Id: Ib3511cbdead75b30e899dbf00f936ffdae316b71
CRs-Fixed: 2541657
2020-01-20 17:50:23 -08:00
nshrivas
70d980dd15 Release 5.2.0.165X
Release 5.2.0.165X

Change-Id: I2ae585b56ac933ead0a0310861d15f7a1197d784
CRs-Fixed: 774533
2020-01-20 14:01:33 -08:00
Nisha Menon
9db78810c9 qcacld-3.0: Update Wifi netdevs for IPA exception path NAPI
Starting Kernel 4.19 IPA LAN RX supports NAPI polling
mechanism. Netdevs that hook into IPA need to call
netif_receive_skb() or similar to deliver the packet
to network stack instead of using netif_rx_ni().

IPA driver exports ipa_get_lan_rx_napi(void) API for
this purpose. If this API call returns true use
netif_receive_skb() or fallback on legacy api.

Add the changes under a feature flag IPA_LAN_RX_NAPI_SUPPORT.
The flag is enabled only for linux kernel version 4.19 and
above.

Change-Id: I3bf200c993461e45da0d07697678c634760e9a89
CRs-Fixed: 2560360
2020-01-20 14:01:33 -08:00
nshrivas
3193c42596 Release 5.2.0.165W
Release 5.2.0.165W

Change-Id: If56db86ccce840dd8d4ea492680e5105b2292da5
CRs-Fixed: 774533
2020-01-20 12:31:40 -08:00
Jingxiang Ge
19042f697f qcacld-3.0: Reject Vdev trans when driver in unloading/recovering
Previously vdev trans will be rejected if psoc in trans. but
it causes issue when __hdd_psoc_idle_shutdown is in psoc trans,
if ifconfig comes here, the ifconfig will fail.

Add checking if psoc trans in driver recovering and unloading,
if yes, it will be safe to reject vdev trans, otherwise, we should
let vdev trans waiting for psoc trans.

At the same time, we also need to make sure driver state has been
set before psoc trans when unloading.

Change-Id: Ic47eebef76b8eadc90780b74f75d4ebef73b822d
CRs-Fixed: 2601435
2020-01-20 12:31:40 -08:00
nshrivas
fcb21d02f8 Release 5.2.0.165V
Release 5.2.0.165V

Change-Id: Ied3eab66193bcff4eb7d8d12ea75b60ff1143c2c
CRs-Fixed: 774533
2020-01-20 01:10:02 -08:00
Alok Kumar
2107a96e37 qcacld-3.0: Add driver support for QCA6750
Add driver support for QCA6750

Change-Id: I9e6716d5ed9f91532aba422c32b46b43760a0e88
CRs-Fixed: 2602141
2020-01-20 01:10:01 -08:00
nshrivas
b015196551 Release 5.2.0.165U
Release 5.2.0.165U

Change-Id: I451642d13f01d6d3c9e1d7c7f475e8a12647c391
CRs-Fixed: 774533
2020-01-19 22:13:18 -08:00
Chaoli Zhou
31bb825045 qcacld-3.0: Set ipa_disable flag for Genoa
Set ipa_disable flag in the target_resource_config,
which is decided by target Genoa need to support IPA
or not.

Change-Id: I1a66c83ea36d5402880ce62d66ea3e633049479a
CRs-Fixed: 2594726
2020-01-19 22:13:18 -08:00
nshrivas
26b7472019 Release 5.2.0.165T
Release 5.2.0.165T

Change-Id: I1c04ba214d64ed2d2f35c0c24c1f1dfe49a96009
CRs-Fixed: 774533
2020-01-19 05:00:04 -08:00
nshrivas
b78cc7286e Release 5.2.0.165S
Release 5.2.0.165S

Change-Id: I7cb1ae9f10a872d0dd43fcfed9a07056c64d896d
CRs-Fixed: 774533
2020-01-17 22:52:19 -08:00
Alan Chen
8732a5872c qcacld-3.0: Prevent link down for SAP, IBSS, and NaN
For SAP, IBSS, and NaN mode, the PCIe link down should be prevented
when first remote peer joins the network to avoid any throughput
latencies.

Change-Id: Iabea78b3a4916cce7e63eadce2e1ce2874cf2c88
CRs-Fixed: 2605563
2020-01-17 22:52:18 -08:00
nshrivas
2719c04d33 Release 5.2.0.165R
Release 5.2.0.165R

Change-Id: I83edddb3f2940c4583fce21c104a1f708e4a5d4c
CRs-Fixed: 774533
2020-01-17 18:23:32 -08:00
bings
32e066d5bf qcacld-3.0: follow ref-ap edca if ref-ap and sta intersection is 11ax
If ref-ap and sta are both support 11ax mode, make sta edca follow ref-ap.

Change-Id: I707409d242ec6f91bbf6620862120747d697af92
CRs-Fixed: 2600718
2020-01-17 18:23:32 -08:00
nshrivas
a9d8cf502f Release 5.2.0.165Q
Release 5.2.0.165Q

Change-Id: I869bf1d232dff8896b1725026d055f67681c9595
CRs-Fixed: 774533
2020-01-17 13:41:08 -08:00