Commit graph

18,202 commits

Author SHA1 Message Date
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
Li Feng
ab5a5ccf2b qcacld-3.0: Enable p2p go gc force scc
Enable p2p go gc force scc by adding logic to check the connected
p2p gc when checking concurrent channel interfering and restart p2p
go if needed.

Change-Id: Idd01fbc2a358b463568844a420e1132355c1de4e
CRs-Fixed: 2604955
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
Venkata Sharath Chandra Manchala
11d0056c4a qcacld-3.0: Compile pktlog files based on platform
Compile pktlog file based on legacy or future
chipsets as this would give us significant
code memory savings.

Change-Id: I394a9672fd84db691eef873cfd20eb1724e26073
CRs-Fixed: 2585626
2020-01-17 13:41:07 -08:00
nshrivas
0921fff605 Release 5.2.0.165P
Release 5.2.0.165P

Change-Id: I508484394ee08f94a4cb177f9b147106bb6bef7a
CRs-Fixed: 774533
2020-01-17 10:20:00 -08:00
Abhishek Singh
81df27d0ce qcacld-3.0: Remove unused crypto params
Remove unused crypto params from wma and peer mlme priv.

Change-Id: I85b4ba0e31b268e98be0afd15637ed3f704b39ac
CRs-Fixed: 2604383
2020-01-17 10:20:00 -08:00
nshrivas
d745fa3819 Release 5.2.0.165O
Release 5.2.0.165O

Change-Id: Ib8a80eaf9cfa3c1d863f3a68747bfd218f4cc372
CRs-Fixed: 774533
2020-01-17 08:53:00 -08:00
Naman Padhiar
07f0c719e2 qcacld-3.0: Add PLD layer for iWCN architecture
Add PLD layer and introdue IPCI bus type for iWCN architecture.

Change-Id: Ia0164314c539df84205263de16432eec0eb7fb34
2020-01-17 08:52:59 -08:00
nshrivas
73061b9180 Release 5.2.0.165N
Release 5.2.0.165N

Change-Id: Ib85ae7e89e8519a3490f85a65d46d4aa23b02124
CRs-Fixed: 774533
2020-01-17 06:01:34 -08:00
Abhishek Ambure
650f992fd2 qcacld-3.0: Update NDI close indication from ndi del resp handler
To close NAN data interface session, BSS stop request is sent to
firmware, as a response driver gets status and reason code for BSS
stop. To update NDI close session to user space, required information
is available in BSS stop response.

Hence, update NDI close indication to user space from ndi delete
response handler in HDD layer.

Change-Id: I2440cb6d15bd393ed9631d595634865fbee8bdd6
CRs-Fixed: 2600852
2020-01-17 06:01:33 -08:00
Manikandan Mohan
18aa38c7be qcacld-3.0: Add support to monitor PM QOS votes
CPU PM QOS votes can be used as a precondition to decide whether
WLAN device is worth to enter runtime PM suspend. Add support to
monitor PM QOS votes while WLAN device is powered on and enable
this feature if gRuntimePM config value is set as 2.

Change-Id: I7f47a50689efdcb15979e7983474bb23b86da00d
CRs-fixed: 2604780
2020-01-17 06:01:19 -08:00
nshrivas
4abe7cd764 Release 5.2.0.165M
Release 5.2.0.165M

Change-Id: If3932b2c5abc421ea3367c5b5c75cf6f6466e6d4
CRs-Fixed: 774533
2020-01-16 23:46:51 -08:00
Tushnim Bhattacharyya
fbe8533613 qcacld-3.0: Allow SAP to be on DFS channel with dfs_scc 2
Allow SAP to be on DFS channel if g_sta_sap_scc_on_dfs_chan
is set to 2.

Change-Id: Ifd8ae1d487c8538b2870c69ba420242719756859
CRs-Fixed: 2604548
2020-01-16 23:46:51 -08:00
Arun Kumar Khandavalli
5fdbbe2c4a Revert "qcacld-3.0: Remove NaN offloading option"
This reverts commit I1adb8ead32a0d45a34f72590c33309b17d6c80c0.
Nan offload supported is now supported.

Change-Id: Ic99aa886c82dcf4d9c68f658080bd800117cce87
CRs-Fixed: 2600602
2020-01-16 23:46:34 -08:00
Liangwei Dong
e0279e36b0 qcacld-3.0: Handle ACS freq list zero
When all chan in ACS freq list is filtered out
by wlan_hdd_trim_acs_channel_list, the hostapd start will
fail. This happens when PCL is PM_24G_SCC_CH_SBS_CH,
and SAP acs range includes 5G channel list.
One example is STA active on 6Ghz chan. Hostapd start
SAP on 5G ACS range. The intersection of PCL and ACS range
is zero.
Instead of ACS failure, add API wlan_hdd_handel_zero_acs_list
to select one channel from ACS range and report to Hostapd.
When hostapd "start_ap", the driver will force SCC to 6G
or move SAP to 2G based on SAP's configuration.

Change-Id: Ice8bef2a82f43940c570c74c0af8b05d18159f52
CRs-Fixed: 2603699
2020-01-16 23:46:19 -08:00
nshrivas
24740a0317 Release 5.2.0.165L
Release 5.2.0.165L

Change-Id: Ic4215ebd4855ab2319bc2e7e30248ce52682b0ad
CRs-Fixed: 774533
2020-01-16 15:47:21 -08:00
Vevek Venkatesan
07baef36ca qcacld-3.0: Enabling METERING Feature for BENGAL
Enable CONFIG_QCACLD_FEATURE_METERING Feature for BENGAL
in default_defconfig

Change-Id: If294665531b0aa9eb2c54e19dec82e1d9353ed8c
CRs-Fixed: 2604232
2020-01-16 15:47:21 -08:00
Abhishek Singh
fd74c68c85 qcacld-3.0: remove unused broadcast_sta_id from sta ctx
remove unused broadcast_sta_id from sta ctx.

Change-Id: I71265b214bfb1f0c7952f55527a57bfb02e5ad2d
CRs-Fixed: 2604330
2020-01-16 15:46:58 -08:00
Abhishek Singh
bda14831fa qcacld-3.0: Remove unused code for defer key
As setFTPTKState is never set to true the code for defer
key is not been used

Change-Id: I8afcebf00b00bcf39ba7da999c55e5eacdf26aaa
CRs-Fixed: 2604329
2020-01-16 15:46:48 -08:00
nshrivas
7f64fdbf2b Release 5.2.0.165K
Release 5.2.0.165K

Change-Id: Idc56ad308bf46d986bdb65849701fe5feb9d1847
CRs-Fixed: 774533
2020-01-16 10:24:02 -08:00
Rajeev Kumar
5f719277bc qcacld-3.0: Unify wow handling for SAP, IBSS and NaN mode
Unify wow handling for SAP, IBSS and NaN mode such that both DRV
and non DRV cases are handled in same way for SAP, IBSS and NaN modes.

Change-Id: I04c7a6488285511f34ef3a5c2288937dc74b6b73
CRs-Fixed: 2603912
2020-01-16 10:24:02 -08:00