Commit Graph

18178 Commits

Author SHA1 Message Date
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
bings
3d9cd95e51 qcacld-3.0: Fix build error when enable 6g in kernel 4.4
When CONFIG_BAND_6GHZ and CFG80211_6GHZ_BAND_SUPPORTED are defined in
kernel 4.4, which means 6g feature is enabled, currently there is a
build error: wlan_hdd_iftype_data_alloc_6ghz is defined but not used.

To fix this issue, refine iftype_data_*g defination with below rules.
1. If CONFIG_BAND_6GHZ and CFG80211_6GHZ_BAND_SUPPORTED are defined,
iftype_data_2g, iftype_data_5g and iftype_data_6g will be defined no
matter the kernel version.
2. If the kernel version is not smaller than 4.19, iftype_data_2g and
iftype_data_5g will be defined.
3. If the kernel version is not smaller than 5.4 and CONFIG_BAND_6GHZ
is defined, iftype_data_6g will be defined.

Change-Id: If75bea9fc4c11d6cacd8dbf49455277f055ed8de
CRs-Fixed: 2600962
2020-01-15 04:43:24 -08:00
Alan Chen
9fcd4d39f9 qcacld-3.0: Fix remaining compilation issues regarding WLAN_FEATURE_11W
When CONFIG_WLAN_FEATURE_11W is disabled, compilation of lahaina still fails
in a few areas. Even though CONFIG_WLAN_FEATURE_11W should be always be
enabled now, add appropriate fixes for the compilation issues in the event
that CONFIG_WLAN_FEATURE_11W is disabled.

Change-Id: I1743678df6b66a63160795374de7969f313f55d9
CRs-Fixed: 2601362
2020-01-15 04:43:08 -08:00
nshrivas
4939176a06 Release 5.2.0.165C
Release 5.2.0.165C

Change-Id: I3ba3277cd80cc3c0ef48a558ba48d87828fe27dd
CRs-Fixed: 774533
2020-01-15 03:03:50 -08:00
bings
a27327b2d8 qcacld-3.0: Handle dummy wmi_radio_link_stats_link wmi event
Sometimes wlan FW fails to return wmi_radio_link_stats_link because of
buffer, which makes timeout happen in wlan_hdd_cfg80211_ll_stats_get.

To fix this issue, FW returns wmi_radio_link_stats_link with dummy
information, and host need handle dummy wmi_radio_link_stats_link wmi
event.

Change-Id: Ibafc7f19ffc6d182601001f28dd7e85654155d02
CRs-Fixed: 2599725
2020-01-15 03:03:50 -08:00
nshrivas
8134b2fc69 Release 5.2.0.165B
Release 5.2.0.165B

Change-Id: Iaf029252327980e5dd78df1518f0e29f4221026d
CRs-Fixed: 774533
2020-01-15 01:29:42 -08:00
Abhinav Kumar
30874c3ac7 qcacld-3.0: Modify the MAX_TX_PWR_CAP to 24dbm
Modify the max tx power value from 30db to 24db
to pass certification test cases.

Change-Id: Idf9c3ca10d3216f0f4b1cf78f87586c6bd3c2c39
CRs-Fixed: 2601405
2020-01-15 01:29:42 -08:00
nshrivas
6b0c4dbbe8 Release 5.2.0.165A
Release 5.2.0.165A

Change-Id: Ifbb2228c06cb899b86945656023ac35f44d68486
CRs-Fixed: 774533
2020-01-14 21:13:30 -08:00
Wu Gao
fb8137a35a qcacld-3.0: Disable LDPC capability of peer
DUT as SAP and disabled LDPC, but peer supported LDPC and DUT still
TX data packages by LDPC coding. This behavior is different to other
vendors. This change disable LDPC capability of peer when associating.

Change-Id: If90944ca359c7164d4acecfe1d6146e3d2b30b5d
CRs-Fixed: 2599860
2020-01-14 21:13:30 -08:00
nshrivas
15c7c12fbf Release 5.2.0.165
Release 5.2.0.165

Change-Id: I75ccdd2870ed2edeea3ca7bdcd7d24dc5d3faa83
CRs-Fixed: 774533
2020-01-14 19:42:12 -08:00