Graf commitů

18187 Commity

Autor SHA1 Zpráva Datum
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
nshrivas
ee462a396a Release 5.2.0.165J
Release 5.2.0.165J

Change-Id: I8bc42b5b132cb26f4f8dbfdb6d516fa677695416
CRs-Fixed: 774533
2020-01-16 00:49:13 -08:00
Abhishek Ambure
4706d0fe80 qcacld-3.0: Add INI to disable 6ghz support for oem
6Ghz channels information is not used by legacy OEM apps example
"lowi-server" having no support for 6Ghz channels.

Hence "oem_6g_support_disable" INI is added. By default INI value is
1. 6Ghz supported OEM applications sets INI value to 0 and gets 6Ghz
channel information from driver.

Change-Id: I2650e6ad2976b64e46ab0143b2bafc2df2343e94
CRs-Fixed: 2597651
2020-01-16 00:49:13 -08:00
nshrivas
0f66b0ad33 Release 5.2.0.165I
Release 5.2.0.165I

Change-Id: I7c86cce45200a38c810c3bb67aa5ee9fcb27364e
CRs-Fixed: 774533
2020-01-15 21:30:59 -08:00
Alan Chen
e3ef9a9add qcacld-3.0: Change CFG_INI_BOOL to CFG_INI_UINT
Change CFG_INI_BOOL to CFG_INI_UINT for enabling runtime PM.

Change-Id: I8470dcbe0cb6de72aa5cf5edcaea36f6e1276d21
CRs-Fixed: 2603915
2020-01-15 21:30:58 -08:00
nshrivas
203e26d3a0 Release 5.2.0.165H
Release 5.2.0.165H

Change-Id: I1c9f0ce2d0e1505c7d11952835fefc23c53f79d5
CRs-Fixed: 774533
2020-01-15 13:07:00 -08:00
Manjunathappa Prakash
a59028c1c9 qcacld-3.0: Update num_elem enqueued to rx_thread after head frag_list
Today we enqueue nbuf list to rx_thread via nbuf frags_list.
If deliver_head happens to have frags_list then it is delivered alone.
Remaining list of skbs are delivered using frags_list of next skb.
It does not takecare to update QDF_NBUF_CB_RX_NUM_ELEMENTS_IN_LIST of
the new head_skb with remaining num skbs, make sure to update it.

Also add nbuf_queued to take care of this accounting.

Change-Id: I5557b5c56576c46fc8564a87a27d167b8785bb95
CRs-Fixed: 2559875
2020-01-15 13:07:00 -08:00
nshrivas
1e07f5a6b3 Release 5.2.0.165G
Release 5.2.0.165G

Change-Id: Iadd1e4d919b94af112b7accd52efef7f498ac19a
CRs-Fixed: 774533
2020-01-15 11:29:48 -08:00
Tushnim Bhattacharyya
c682bfb442 qcacld-3.0: Replace channel id with frequency for monitor mode
Replace channel ID with channel frequency in
wlan_hdd_change_hw_mode_for_given_chnl.

Change-Id: If1583dae2f13c5e5553d916befb186de00840345
CRs-Fixed: 2584776
2020-01-15 11:29:48 -08:00
Saket Jha
d5c0e02813 qcacld-3.0: Record Monitor Mode Frequency from Pdev
Extend WAR mechanism to record monitor mode capture frequency from
pdev if RX PPDU TLV is empty.

Change freq type to qdf_freq_t.

iw dev wlan0 set freq <freq> [HT20|HT40+|HT40-]

Change-Id: Ic66f516f1f0f2ac97563e27b1d7c86032e8690ec
CRs-Fixed: 2568971
2020-01-15 11:29:35 -08:00
nshrivas
ee5dee039c Release 5.2.0.165F
Release 5.2.0.165F

Change-Id: Icde49dc4c568a84df8ee61fa69784ea3faee3335
CRs-Fixed: 774533
2020-01-15 09:57:53 -08:00
Liangwei Dong
e193a3582b qcacld-3.0: Handle HE capable flags during 6ghz ap chanswitch
Set he_6ghz_band flag when SAP is switching to 6Ghz band.
And clear the flag when switching to non-6ghz band.
The Driver will add the 6ghz op info in HE operation IE
in beacon frame if he_6ghz_band is set.

Change-Id: I281a9bb239c5fea693e640a8ecddf4ffc14ba7d8
CRs-Fixed: 2602152
2020-01-15 09:57:53 -08:00
nshrivas
eee8de1b96 Release 5.2.0.165E
Release 5.2.0.165E

Change-Id: I83f61f1fe24b3777ef7a729d951a03a33a42a406
CRs-Fixed: 774533
2020-01-15 08:19:21 -08:00
Jianmin Zhu
ae4d3c41ca qcacld-3.0: SAP hung in DFS state when disable channel during CAC
If SAP start on 5G DFS channel, it will keep in CAC for 1 minute.
If Disable 5G by cmd: hostapd_cli -iwlan2 set setband 2G during
this minute, SAP won't switch to 2G since SAP isn't in started
state, and SAP start also fail since SAP operate channel
becomes disabled instead of DFS state, SAP will be hung in DFS
state.
Fix: When CAC complete and SAP start, check SAP operate channel
with wlan_reg_chan_has_dfs_attribute_for_freq.
After SAP started, will check for SAP restart,
if found current band is disabled, will switch to 2G band.

Change-Id: I3c29b5d324d4324ce958a5c2cd2102df2cc183ff
CRs-Fixed: 2601081
2020-01-15 08:19:21 -08:00
Amruta Kulkarni
f63bcbe4e3 qcacld-3.0: Reduce mlme logging level from err to debug
In wlan_mlme_configure_chain_mask(),mlme_legacy_err is
updated to mlme_legacy_debug,as its not an error condition.

Change-Id: Ibdf33124ee970bcfcc9d57df9f3b3fc6990072fe
CRs-Fixed: 2599510
2020-01-15 08:19:06 -08:00
nshrivas
8774845b80 Release 5.2.0.165D
Release 5.2.0.165D

Change-Id: I405bf7c0c9cc80c16712137826ba6f84bc274bf3
CRs-Fixed: 774533
2020-01-15 04:43:25 -08:00