Commit Graph

18942 Commits

Author SHA1 Message Date
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
nshrivas
4902d34386 Release 5.2.0.175S
Release 5.2.0.175S

Change-Id: Id1b3ca5082d4945ef4103b5dfb24ed7f20a8eae8
CRs-Fixed: 774533
2020-03-11 11:03:59 -07:00
Pragaspathi Thilagaraj
cb33b74888 qcacld-3.0: Disable simultaneous scan from upper layers
The default value of ini gDualMacFeatureDisable is 0 and this
enables DBS scan with simultaneous scan from upper layer to
firmware. P2P scans get priority over sta scans and when
continuoes p2p scans are issues from some userspace application,
STA doesn't get scan time and APs in the environment are not
seen the scan results on STA interface.

To avoid this, change the default value of the gDualMacFeatureDisable
to 6, which disables simultaneous scans from upper layer to the
firmware.

Change-Id: I7ea3ed521270fc50acba30f84749d35ee60fcaa0
CRs-Fixed: 2632562
2020-03-11 11:03:59 -07:00
nshrivas
b07d87e7ea Release 5.2.0.175R
Release 5.2.0.175R

Change-Id: I6e05fab71c175a08ca4e5decefac9ae3737511d2
CRs-Fixed: 774533
2020-03-11 09:36:23 -07:00
Arun Kumar Khandavalli
68c99e72e7 qcacld-3.0: Send vdev delete to firmware on notification
Presently vdev delete is sent to firmware 1st and the object manager
vdev delete is deleted after all the references are released.
With this change the vdev delete is sent to firmware when all the
references are released and the vdev delete is sent to firmware via
the object manager vdev delete notification.

Change-Id: I67bea0d2b2a0d2d9eb4602e5d0b8bbdcafdd4d26
CRs-Fixed: 2618278
2020-03-11 09:36:23 -07:00
nshrivas
1877eb82a3 Release 5.2.0.175Q
Release 5.2.0.175Q

Change-Id: Iacaf08ede13d10c754563bea6b0d912f057cfa79
CRs-Fixed: 774533
2020-03-11 05:23:14 -07:00
Jingxiang Ge
2131384024 qcacld-3.0: Fix sta_info use after free in hdd_softap_stop_bss
In hdd_softap_deregister_sta, cdp_clear_peer may return fail
as peer has been deleted in other path, but the free of sta_info
will be continue.
So in hdd_softap_stop_bss, it will still access mac address
from sta_info, which will cause use after free.

Fix:
   Even cdp_clear_peer return failure, it is expected, so only
   log but not return failure to caller function.
   In hdd_softap_stop_bss, remove mac address info log as in
   hdd_softap_deregister_sta, there has been enough log for
   each failure case.

Change-Id: Id06c78cb8d215488eb34d8412359ac2d684756d5
CRs-Fixed: 2637287
2020-03-11 05:23:14 -07:00
nshrivas
69ae181848 Release 5.2.0.175P
Release 5.2.0.175P

Change-Id: I662a98fab9e1d90f04bdacccd8f45ce856607a33
CRs-Fixed: 774533
2020-03-11 03:49:01 -07:00
Jianmin Zhu
898c426f55 qcacld-3.0: Support Go for 4th connection
When 4th port of Go started, PCL should be same as SAP.

Change-Id: I84557b90a834cc44fd56070b966e5f2bb42d4836
CRs-Fixed: 2629769
2020-03-11 03:49:01 -07:00
nshrivas
df11b0d352 Release 5.2.0.175O
Release 5.2.0.175O

Change-Id: I49d10b8eb6e2197944f07e31c01146c0ac4e70f6
CRs-Fixed: 774533
2020-03-11 01:46:34 -07:00
Alan Chen
cc46ff0ae5 qcacld-3.0: Add policy attribute to SET_TRACE_LEVEL
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_SET_TRACE_LEVEL

Change-Id: Ifbeba29b5c3c7783217ed5f2352286e5537753e6
CRs-Fixed: 2633340
2020-03-11 01:46:34 -07:00
nshrivas
11c6811a81 Release 5.2.0.175N
Release 5.2.0.175N

Change-Id: Idebf0966b87a6fce1b348b0b55932cdbcf14d2c9
CRs-Fixed: 774533
2020-03-10 18:54:49 -07:00
Pragaspathi Thilagaraj
1fd88f59f3 qcacld-3.0: Try association with the same BSS on receiving assoc reject
For SAE connection, if sta has a PMKID cached from previous
full SAE authentication and uses it for the open authentication
with the AP and if the AP rejects the association with invalid
pmkid (53), then the STA tries association with next AP. This
could result in association with a low score candidate.

Retry association with same AP, with full SAE authentication,
if AP rejects association with reason code invalid pmkid. Limit
the retry count to 1 per AP.

Change-Id: I5b26822ff9bbeea51de1b80852d5d325d28bf17f
CRs-Fixed: 2625987
2020-03-10 18:54:49 -07:00
Pragaspathi Thilagaraj
1229e319b0 qcacld-3.0: Delete pmk entry from crypto table on assoc reject
Currently when association reject with reason code 53(invalid
pmkid) is received from the AP, then we delete the pmksa entry
for that AP from csr_session, but with converged crypto component,
the entry needs to be deleted from the crypto pmk table.
Else when associating to the same AP again, driver will use the
stale pmk for the AP again.

Delete the pmk entry from crypto pmk table when association
reject is received from AP with reason code 53.

Change-Id: I54f4a7ee7e02d35e0560bfad9fe2e3466aaa361d
CRs-Fixed: 2636570
2020-03-10 18:54:34 -07:00
nshrivas
db1f08d4a2 Release 5.2.0.175M
Release 5.2.0.175M

Change-Id: I793bbe52693608580f220a89846df27793d3fcbe
CRs-Fixed: 774533
2020-03-10 14:44:37 -07:00
gaurank kathpalia
23e479b963 qcacld-3.0: Add more info in connect prints
Add more info in connect prints.

Change-Id: Id467afbf4e9920c81d8bb37f29451faa97e93546
CRs-Fixed: 2638385
2020-03-10 14:44:37 -07:00