Commit Graph

18857 Commits

Author SHA1 Message Date
nshrivas
30f2b7e243 Release 5.2.0.176N
Release 5.2.0.176N

Change-Id: I240dee34706a667c3e0c2f68332556e988e9bf80
CRs-Fixed: 774533
2020-03-17 01:05:30 -07:00
Kiran Kumar Lokere
b1a2e9a659 qcacld-3.0: Set WEP in addba resp from addba req for NAN
PMF capability information is not available in NAN peer station
data structure as host does not get full capability information
of NAN peer hence WEP bit is not set in addba response frame for
received addba request frames with WEP set.

Set the WEP bit in addba response frame if the received addba request
frame has WEP bit and it is from NAN peer station.

Change-Id: I9f0a02492b3087d0fd53a7bdde273601913ee2ca
CRs-Fixed: 2638789
2020-03-17 01:05:30 -07:00
nshrivas
90914c55b7 Release 5.2.0.176M
Release 5.2.0.176M

Change-Id: I3600d761690c22ee3bc4a02c3052a164295931e5
CRs-Fixed: 774533
2020-03-16 17:23:17 -07:00
Lincoln Tran
f55bc71172 qcacld-3.0: Remove usage of OS specific API in UMAC code
Replace skip_spaces usage with appropriate QDF replacement

Change-Id: I474470d9cfc86fe8df7b6bfc9f1223342255842d
CRs-fixed: 2631974
2020-03-16 17:23:17 -07:00
Alan Chen
3c7aab4c49 qcacld-3.0: Add dummy vendor command policy attribute
Kernel 5.2+ is checking vendor policy attribute even for GET commands.
Add dummy policy attribute to following GET vendor commands:
	QCA_NL80211_VENDOR_SUBCMD_GET_HE_CAPABILITIES
	QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_DIAG_STATS
	QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_CAP_INFO
	QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_STATUS
	QCA_NL80211_VENDOR_SUBCMD_NUD_STATS_GET
	QCA_NL80211_VENDOR_SUBCMD_MONITOR_RSSI
	QCA_NL80211_VENDOR_SUBCMD_GET_SAR_LIMITS
	QCA_NL80211_VENDOR_SUBCMD_GET_FW_STATE

Change-Id: I354b2de86909142ed3db0fb4a4d1545ac2b37d55
CRs-Fixed: 2639687
2020-03-16 17:23:03 -07:00
nshrivas
c2003a4640 Release 5.2.0.176L
Release 5.2.0.176L

Change-Id: I678042156bbd920e4c0e6bfb929fa76e717f609f
CRs-Fixed: 774533
2020-03-16 13:51:42 -07:00
Abhishek Ambure
a3bade0523 qcacld-3.0: Update nan_separate_iface_support before WMI_INIT_CMD
Host uses target_resource_config structure's "nan_separate_iface_support"
while copying resource configs in WMI_INIT_CMD.
Value of "nan_separate_iface_support" is set to 1, if firmware capability
"vdev creation allowed = 1" and "ini gEnableNanSupport = 1".

Host updates "nan_separate_iface_support" while processing an event
"WMI_READY_EVENTID" which comes after WMI_INIT_CMD send to firmware.
To update proper value of "nan_separate_iface_support" in resource
configs of WMI_INIT_CMD, host updates "nan_separate_iface_support"
while processing an event "WMI_SERVICE_READY_EXT_EVENTID".

Change-Id: I677d9e39e20646dd4ce945f166b86947d82751e2
CRs-Fixed: 2642139
2020-03-16 13:51:42 -07:00
nshrivas
0b681262a3 Release 5.2.0.176K
Release 5.2.0.176K

Change-Id: Idd6f212c9aee07cd2ed38d8e990fbbaf96042232
CRs-Fixed: 774533
2020-03-16 10:02:58 -07:00
Sourav Mohapatra
4140e8bfa8 qcacld-3.0: Remove cds_trigger_recovery where not needed
Currently in the driver there are places from where recovery is
initiated. Some of those are not required as logic around them has
changed.

Remove those cds_trigger_recovery from places where it is not needed.

Change-Id: Ia5a0fa60101e1c9f44077daa83c4a20d18893c0a
CRs-Fixed: 2628691
2020-03-16 10:02:57 -07:00
nshrivas
edf975c0b3 Release 5.2.0.176J
Release 5.2.0.176J

Change-Id: I48f620f85c7c68e4b7ebf12ea54ca1cd52421c46
CRs-Fixed: 774533
2020-03-16 08:04:56 -07:00
Ashish Kumar Dhanotiya
cc9761c613 qcacld-3.0: Update max values of INIs related to SAR
Currently MAX values of INIs gSarSafetyReqRespTimeout
and gSarSafetyReqRespRetry leads the callback api
to execute for more than 10 seconds which is not as per
driver's scheduler design.
To avoid above issue update above INI values to limit
the execution of the callback api to execute for less
then 10 seconds.

Change-Id: Icdeaf360754b2e86119251cd66c4e8f107f08d98
CRs-Fixed: 2637653
2020-03-16 08:04:56 -07:00
nshrivas
e728a9b967 Release 5.2.0.176I
Release 5.2.0.176I

Change-Id: Ic9941d42f3d3ede0c4aa4cc4de3d7478f4282907
CRs-Fixed: 774533
2020-03-16 03:47:07 -07:00
Jingxiang Ge
84efe29b2b qcacld-3.0: Enhance log in wlan_hdd_pm_qos_notify
Print runtime_pm_prevented info.

Change-Id: Ica1d626fea4c87fe53f6f6c4a78da7d52331ffba
CRs-Fixed: 2641631
2020-03-16 03:47:06 -07:00
nshrivas
5b1bb59d2a Release 5.2.0.176H
Release 5.2.0.176H

Change-Id: I71d6fb311ea6419c8651b9be9874a53dcf814050
CRs-Fixed: 774533
2020-03-14 16:37:42 -07:00
Paul Zhang
21363751ad qcacld-3.0: Add policy attribute for ll_stats_clr
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for the following
vendor command that is being registered in the driver
	QCA_NL80211_VENDOR_SUBCMD_LL_STATS_CLR

Change-Id: I5d29cc624021d489b641045e52d71db86cf3a09b
CRs-Fixed: 2634435
2020-03-14 16:37:42 -07:00
nshrivas
b423d79dd2 Release 5.2.0.176G
Release 5.2.0.176G

Change-Id: Icae098ab5929f2c678aa749cabee2c39783d895c
CRs-Fixed: 774533
2020-03-14 11:07:55 -07:00
Wu Gao
98706f176b qcacld-3.0: Enable CFR log
This is part of adding channel frequency response. Enable debug log of
CFR component.

Change-Id: I0186129270c181c26b836b56545ef64507308808
CRs-Fixed: 2637183
2020-03-14 11:07:55 -07:00
nshrivas
14e0845787 Release 5.2.0.176F
Release 5.2.0.176F

Change-Id: I78950cee86bec81aa49f97c51e8c2c1c919c4c11
CRs-Fixed: 774533
2020-03-14 09:14:20 -07:00
Alan Chen
7ea116f3b0 qcacld-3.0: Add policy attribute to BTC_CHAIN_MODE
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.4 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_BTC_CHAIN_MODE

Change-Id: I6c6f0757df879def054862b7da09c8d7e856ff86
CRs-Fixed: 2635056
2020-03-14 09:14:20 -07:00
nshrivas
d3c640bcaa Release 5.2.0.176E
Release 5.2.0.176E

Change-Id: I7a7a121918df8a90b92549d868aaf81147a34052
CRs-Fixed: 774533
2020-03-14 05:16:53 -07:00
Pragaspathi Thilagaraj
5feee1adc0 qcacld-3.0: Add new roam failure reason string
Add string conversion for the below new roam failure reasons
introduced:
WMI_ROAM_FAIL_REASON_NO_SCAN_FOR_FINAL_BMISS
WMI_ROAM_FAIL_REASON_DISCONNECT
WMI_ROAM_FAIL_REASON_SYNC
WMI_ROAM_FAIL_REASON_SAE_INVALID_PMKID
WMI_ROAM_FAIL_REASON_SAE_PREAUTH_TIMEOUT
WMI_ROAM_FAIL_REASON_SAE_PREAUTH_FAIL
WMI_ROAM_FAIL_REASON_UNABLE_TO_START_ROAM_HO

Change-Id: Ia598723a25bcf9e223828f50b714968698ffd917
CRs-Fixed: 2638593
2020-03-14 05:16:53 -07:00
Jianmin Zhu
4116e09ba4 qcacld-3.0: Fill vdev mlme bss channel for all vdev mode
In vdev start response handler, if vdev start success, copy
desire channel to bss channel for all mode: STA, AP, IBSS etc.

Change-Id: Ie0767952bc3831235adcece5ba59ad0f32ee76fe
CRs-Fixed: 2640898
2020-03-14 05:16:45 -07:00
nshrivas
105e48a36d Release 5.2.0.176D
Release 5.2.0.176D

Change-Id: I6629fd533d7eb89c9185c9d724a23b342b5c8800
CRs-Fixed: 774533
2020-03-14 03:24:11 -07:00
Alan Chen
00f4aa9f64 qcacld-3.0: Add policy attribute to SPECTRAL_SCAN subcommands
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.4 requirement add policy to following vendor
commands as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_START
	QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_STOP
	QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_CONFIG

Change-Id: I2c7f4e6b41d341aac7b0984838c72f33a1e1ac5e
CRs-Fixed: 2634094
2020-03-14 03:24:11 -07:00
nshrivas
549b4a5b7f Release 5.2.0.176C
Release 5.2.0.176C

Change-Id: I2f63f740e1daeabe8ecf24bd4a3131d92746b8bf
CRs-Fixed: 774533
2020-03-14 01:39:54 -07:00
Srinivas Dasari
de0a8bedb3 qcacld-3.0: Define a dummy API for hdd_cleanup_ndi when NAN is disabled
Define a dummy API for hdd_cleanup_ndi to avoid "Unknown symbol"
error while loading driver when WLAN_FEATURE_NAN is not enabled.

Change-Id: Ib0d07c5ac7e57cf93e3a20eb6d12c50106939335
CRs-Fixed: 2640856
2020-03-14 01:39:54 -07:00
nshrivas
4df6d4263a Release 5.2.0.176B
Release 5.2.0.176B

Change-Id: Iadea19a2bbdbf38ec8f09ccc5060268b5915c6b7
CRs-Fixed: 774533
2020-03-13 23:50:00 -07:00
Jingxiang Ge
b5caac2e85 qcacld-3.0: Create debugfs file for crash_inject
Create crash_inject file to replace iwpriv cmd.

file path: /sys/kernel/debug/wlan_xx/crash_inject
           wlan_xx is adapter name

Change-Id: Iad8b52bd67345b47717a776759ad6156d654bb93
CRs-Fixed: 2636352
2020-03-13 23:50:00 -07:00
nshrivas
389250b911 Release 5.2.0.176A
Release 5.2.0.176A

Change-Id: Icfbc91d8c40e172acc11428e7429f3149be06c81
CRs-Fixed: 774533
2020-03-13 21:56:38 -07:00
hqu
8925227821 qcacld-3.0: Fix wrong conversion for op_freq
Channel to frequency conversion is unnecessary in function
sap_is_conc_sap_doing_scc_dfs, issue is introduced by
'Change-Id: Ifa62248169ad7b8ff1c62cab44c92d99a8db0e45'.

Fix is to set ch_freq with op_freq directly, no need to convert.

Change-Id: I2e21956833c18240045c85bfb0837ca058069ff5
CRs-Fixed: 2639443
2020-03-13 21:56:37 -07:00
nshrivas
649fab7b87 Release 5.2.0.176
Release 5.2.0.176

Change-Id: Id7f0bbc4835ae4e0fa2af83f47b90e6938d9eb24
CRs-Fixed: 774533
2020-03-13 19:22:15 -07:00
Abhishek Ambure
48b790c62d qcacld-3.0: Add INI support to disable STA roaming
Use INI "sta_disable_roam" to disable roaming on STA interface if
connection on other interfaces ex. p2p, ndp comes up. Each bit of
the INI "sta_disable_roam" represents an interface.
ex. LFR3_STA_ROAM_DISABLE_BY_P2P BIT(0)
    LFR3_STA_ROAM_DISABLE_BY_NAN BIT(1)

As INI "sta_disable_roam" is generic for all the interfaces, cleanup
for INI "p2p_disable_roam" done.

Change-Id: Icd05a97c640ca07978d9960a33de036ed6fe38df
CRs-Fixed: 2637555
2020-03-13 19:22:14 -07:00
Wu Gao
c1b5bd080a qcacld-3.0: Add CFR INI configures to CFG_ALL
This is part of adding channel frequency response(CFR) component. Add
CFG_CFR_ALL to CFG_ALL.

Change-Id: I83c9b05dad9ad31c4663269f3b03f83066e0cfc1
CRs-Fixed: 2637181
2020-03-13 19:22:00 -07:00
nshrivas
1fda6dc171 Release 5.2.0.175Z
Release 5.2.0.175Z

Change-Id: Ice6aa6e5a6a73e87f0559ccd3614f0e51859a5db
CRs-Fixed: 774533
2020-03-13 17:28:31 -07:00
sheenam monga
604dad7dc0 qcacld-3.0: Revert dot11 parser changes for beacon report err vsie
Use manual parser instead of dot11 frame parser for beacon
report err vsie

Change-Id: I55f954f3ed34b1d3c0e44e9db34fec1a15c80932
CRs-Fixed: 2619659
2020-03-13 17:28:31 -07:00
Will Huang
573db4b40c qcacld-3.0: Add policy attribute to hdd_wiphy_vendor_commands
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver

QCA_NL80211_VENDOR_SUBCMD_DO_ACS
QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES

Change-Id: I56d685cf3d7bab8f758d52b2e5d3c0a735accb26
CRs-Fixed: 2635226
2020-03-13 17:28:16 -07:00
nshrivas
17ff6bd3ef Release 5.2.0.175Y
Release 5.2.0.175Y

Change-Id: I9fc49e3f50c3fd75736410aa19cf9bd048a1dfe4
CRs-Fixed: 774533
2020-03-13 15:31:43 -07:00
Paul Zhang
3e231a9fd2 qcacld-3.0: Add policy attribute to hdd_wiphy_vendor_commands
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver
	QCA_NL80211_VENDOR_SUBCMD_ROAMING
	QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY
	QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY
	QCA_NL80211_VENDOR_SUBCMD_NAN
	QCA_NL80211_VENDOR_SUBCMD_STATS_EXT

Change-Id: Ie2fb541d45ecc04dc5d3f80a3af9060c390ae7f5
CRs-Fixed: 2634373
2020-03-13 15:31:43 -07:00
Ashish Kumar Dhanotiya
489e2ae31e qcacld-3.0: Update correct MCS parameters in wiphy
Currently MCS parameters are not getting correctly in
wiphy which results in incorrect capabilities for iw list
command output.

To resolve above issue, update MCS parameters correctly in
wiphy band capabilities.

CRs-Fixed: 2633314
Change-Id: I830ad50aa4842bd2a79c97ed7b11b82c35148ff0
2020-03-13 15:31:29 -07:00
nshrivas
fcbf75cb84 Release 5.2.0.175X
Release 5.2.0.175X

Change-Id: I5439bcee9085b5358e3d4b2819be9077094788af
CRs-Fixed: 774533
2020-03-13 10:37:03 -07:00
Sourav Mohapatra
7c0a28545f qcacld-3.0: Add policy attribute to hdd_wiphy_vendor_commands [2]
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver

	QCA_NL80211_VENDOR_SUBCMD_GET_CONCURRENCY_MATRIX
	QCA_NL80211_VENDOR_SUBCMD_GET_WIFI_CONFIGURATION
	QCA_NL80211_VENDOR_SUBCMD_TDLS_GET_CAPABILITIES
	QCA_NL80211_VENDOR_SUBCMD_OFFLOADED_PACKETS
	QCA_NL80211_VENDOR_SUBCMD_MONITOR_RSSI

Change-Id: Ia67c9c1d4839e5061f25971578830714abcd66ff
CRs-Fixed: 2633596
2020-03-13 10:37:02 -07:00
nshrivas
d1a5a9897f Release 5.2.0.175W
Release 5.2.0.175W

Change-Id: I04d09693203968bcacdbe75e439cb7f03ba1df66
CRs-Fixed: 774533
2020-03-13 08:38:44 -07:00
Sourav Mohapatra
bde029b861 qcacld-3.0: Add policy attribute to hdd_wiphy_vendor_commands [3]
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver

	QCA_NL80211_VENDOR_SUBCMD_SETBAND
	QCA_NL80211_VENDOR_SUBCMD_SCAN_DONE
	QCA_NL80211_VENDOR_SUBCMD_OTA_TEST
	QCA_NL80211_VENDOR_SUBCMD_SET_TXPOWER_SCALE
	QCA_NL80211_VENDOR_SUBCMD_SET_TXPOWER_SCALE_DECR_DB
	QCA_NL80211_VENDOR_SUBCMD_ACS_POLICY
	QCA_NL80211_VENDOR_SUBCMD_STA_CONNECT_ROAM_POLICY
	QCA_NL80211_VENDOR_SUBCMD_SET_SAP_CONFIG
	QCA_NL80211_VENDOR_SUBCMD_TSF
	QCA_NL80211_VENDOR_SUBCMD_WISA
	QCA_NL80211_VENDOR_SUBCMD_GET_STATION
	QCA_NL80211_VENDOR_SUBCMD_P2P_LISTEN_OFFLOAD_START
	QCA_NL80211_VENDOR_SUBCMD_P2P_LISTEN_OFFLOAD_STOP
	QCA_NL80211_VENDOR_SUBCMD_SAP_CONDITIONAL_CHAN_SWITCH

Change-Id: Ibc9ec144eac63a8dab19e01c1718d17ea5cabb35
CRs-Fixed: 2633912
2020-03-13 08:38:44 -07:00
Sourav Mohapatra
2c0cc5f4bc qcacld-3.0: Add policy attribute to hdd_wiphy_vendor_commands
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver

	QCA_NL80211_VENDOR_SUBCMD_GET_SUPPORTED_FEATURES
	QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES
	QCA_NL80211_VENDOR_SUBCMD_GET_LOGGER_FEATURE_SET
	QCA_NL80211_VENDOR_SUBCMD_GET_WIFI_INFO
	QCA_NL80211_VENDOR_SUBCMD_GET_BUS_SIZE
	QCA_NL80211_VENDOR_SUBCMD_NO_DFS_FLAG
	QCA_NL80211_VENDOR_SUBCMD_LL_STATS_SET
	QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION
	QCA_NL80211_VENDOR_SUBCMD_NAN_EXT
	QCA_NL80211_VENDOR_SUBCMD_NDP
	QCA_NL80211_VENDOR_SUBCMD_SCANNING_MAC_OUI
	QCA_NL80211_VENDOR_SUBCMD_WIFI_LOGGER_START
	QCA_NL80211_VENDOR_SUBCMD_LL_STATS_GET
	QCA_NL80211_VENDOR_SUBCMD_ROAM
	QCA_NL80211_VENDOR_SUBCMD_PACKET_FILTER
	QCA_NL80211_VENDOR_SUBCMD_ND_OFFLOAD
	QCA_NL80211_VENDOR_SUBCMD_GW_PARAM_CONFIG
	QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_SET_KEY
	QCA_NL80211_VENDOR_SUBCMD_GET_RING_DATA
	QCA_NL80211_VENDOR_SUBCMD_TRIGGER_SCAN

Change-Id: I714c8b21a95144f7ed8ff4c6e038782e469edf3d
CRs-Fixed: 2621308
2020-03-13 08:38:24 -07:00
nshrivas
20bb090a9e Release 5.2.0.175V
Release 5.2.0.175V

Change-Id: Icb707dc152043a7a0d5a9a7e83297e6093ed3504
CRs-Fixed: 774533
2020-03-13 06:47:03 -07:00
Jinwei Chen
bfe5d6b90c qcacld-3.0: fix skb leak possibility due to no failure handling
fix skb leak possibility due to no failure handling.

Change-Id: I0bd1e4cacdb408010057e35127a1ce9758c2e9c7
CRs-Fixed: 2627321
2020-03-13 06:47:03 -07:00
nshrivas
ed622d6dea Release 5.2.0.175U
Release 5.2.0.175U

Change-Id: Ide1517aed97cfbedd9fae4f1a4e017b6adad5cd0
CRs-Fixed: 774533
2020-03-11 20:34:49 -07:00
Vevek Venkatesan
d0f3e3ae0c qcacld-3.0: reduce stack size during ipa_setup
Reduce stack size by allocating pipe_in memory
dynamically during ipa_setup.

Change-Id: I33692b5a5dd920a2784fab4294af84d827cb092b
CRs-Fixed: 2638947
2020-03-11 20:34:49 -07:00
nshrivas
0ffeda98ea Release 5.2.0.175T
Release 5.2.0.175T

Change-Id: Id5a64ec4165e819282c998be598335f9e19961cb
CRs-Fixed: 774533
2020-03-11 19:08:36 -07:00
Pragaspathi Thilagaraj
7cefe2fdc3 qcacld-3.0: Increase roam failure reason buffer size
Currently the roam failure reason string size is 40 bytes.
Change this to 50 bytes to avoid truncation in some failure
cases.

Change-Id: I6c90e31fc792078354e98c7a5c61ffd5583469c3
CRs-Fixed: 2637901
2020-03-11 19:08:35 -07:00