Commit graph

18,739 commits

Author SHA1 Message Date
Alan Chen
097ad5283b qcacld-3.0: Add policy attribute to ACTIVE_TOS
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_ACTIVE_TOS

Change-Id: I915ec5494ef16e7cc5b8c42d814c512a925ef469
CRs-Fixed: 2634120
2020-03-05 23:40:38 -08:00
nshrivas
5757292dd8 Release 5.2.0.174P
Release 5.2.0.174P

Change-Id: Ie4e2d038ef381f69a8452540d8dd93c7f386a96a
CRs-Fixed: 774533
2020-03-05 22:07:42 -08:00
Abhishek Singh
d043d18792 qcacld-3.0: Optimize PMO logs
Optimize PMO logs.

Change-Id: I99122adece0991711961344cfe69e2869386fef1
CRs-Fixed: 2633552
2020-03-05 22:07:42 -08:00
nshrivas
df771bd0b2 Release 5.2.0.174O
Release 5.2.0.174O

Change-Id: Ia503e46f166517e244c3be1f908f78f4c8a4e49e
CRs-Fixed: 774533
2020-03-05 19:42:04 -08:00
Alan Chen
e623051493 qcacld-3.0: Add policy attribute to FETCH_BSS_TRANSITION_STATUS
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_FETCH_BSS_TRANSITION_STATUS

Change-Id: I7c49d959e7c5d232572aae78616b18cee875cbb1
CRs-Fixed: 2632084
2020-03-05 19:42:04 -08:00
Alan Chen
1c570b38f4 qcacld-3.0: Add policy attribute to SUBCMD_NUD_STATS_SET
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_NUD_STATS_SET

Change-Id: I1023872146d398252cd8dbde8431cd8c5e839a31
CRs-Fixed: 2631294
2020-03-05 19:41:44 -08:00
nshrivas
61206f13d3 Release 5.2.0.174N
Release 5.2.0.174N

Change-Id: I4a5065532f0cbf24366145dca4646fd97b9ac546
CRs-Fixed: 774533
2020-03-05 15:19:14 -08:00
Gururaj Pandurangi
bf4774a59d qcacld-3.0: Fix while condition in rrm_fill_beacon_ies()
In function rrm_fill_beacon_ies, do while loop is checked
for BcnNumIes if it is greater than IE length 0. Fix the
check to be greater than 2 as the first two bytes is IE
header(element ID and IE length fields both 1 byte each.)

Change-Id: I11e5de481cd49a22acafee938fbe73f839f5b0e4
CRs-Fixed: 2626729
2020-03-05 15:19:14 -08:00
nshrivas
850f6d3d11 Release 5.2.0.174M
Release 5.2.0.174M

Change-Id: I792ee6bbd3216c28db9507a7ce0595fbb3186b52
CRs-Fixed: 774533
2020-03-05 12:49:46 -08:00
Nisha Menon
c8626b3f18 qcacld-3.0: Remove excessive logging in hdd_rx_deliver_to_stack
Remove the excess error log in hdd_rx_deliver_to_stack. The hdd
rx/tx stats are incremented in caller for success and failed
cases for delivering the skb to network stack. This error log
is redundtant as stats for rx packets refused is incremented
when packets are dropped by the network stack.

Change-Id: I5a774db18966f9b43721278daef936de7524d6f7
CRs-Fixed: 2633475
2020-03-05 12:49:45 -08:00
nshrivas
0ce427a2a3 Release 5.2.0.174L
Release 5.2.0.174L

Change-Id: Ia8287acd9ab02c05cb938a479c68df3afdfeefe3
CRs-Fixed: 774533
2020-03-05 07:09:36 -08:00
Abhishek Singh
d79a6bd8d0 qcacld-3.0: Remove unused scan params
Remove unused params from struct tag_csrscan_result and
struct csr_config.

Change-Id: Idec036e8fb60752905e0c1d291713ca5e6ea2aad
CRs-Fixed: 2634391
2020-03-05 07:09:36 -08:00
nshrivas
878cb4f4d5 Release 5.2.0.174K
Release 5.2.0.174K

Change-Id: I50ff67f9cb8f72ac88ab559782c9d2083a0e138e
CRs-Fixed: 774533
2020-03-05 00:19:41 -08:00
Rajeev Kumar
dd2a53d62c qcacld-3.0: Add policy attribute to SUBCMD_THERMAL_CMD
According to new changes in kernel 5.2 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.2 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_THERMAL_CMD

Change-Id: Ia5a5e62b3fe086c3fab58d92d12898f525f774b8
CRs-Fixed: 2631242
2020-03-05 00:19:41 -08:00
nshrivas
8b6b07db0a Release 5.2.0.174J
Release 5.2.0.174J

Change-Id: I4f264f43128d0cf43cfced17d0066bf9142fe84b
CRs-Fixed: 774533
2020-03-04 21:18:44 -08:00
Srinivas Girigowda
8dfd6ad4c6 qcacld-3.0: Add policy attribute to SUBCMD_ENCRYPTION_TEST
According to new changes in kernel 5.2 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.2 requirement, add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_ENCRYPTION_TEST

Change-Id: I37836165dc8ff89f7179d5024cc3b1516cacf6e6
CRs-Fixed: 2633303
2020-03-04 21:18:44 -08:00
Mohit Khanna
0fe3ebdd3b qcacld-3.0: Add HIF callback API to get BW level
Expose API in HDD, so HIF can callback to get the current bandwidth
level.

Change-Id: If65533a99e5d30ab66c4be20c8eb13b1bd1f033b
CRs-Fixed: 2618015
2020-03-04 21:18:28 -08:00
Mohit Khanna
26c0017421 qcacld-3.0: Enable HAL module in cinfo
Enable QDF_MODULE_ID_HAL in cinfo as a datapath module

Change-Id: I2d10e657db88e00b85a0f2c97c404578f0f909d4
CRs-Fixed: 2618015
2020-03-04 21:18:14 -08:00
nshrivas
80a7f147f0 Release 5.2.0.174I
Release 5.2.0.174I

Change-Id: Ie29413678175a28efb62b7543bf8965972ac272c
CRs-Fixed: 774533
2020-03-04 19:48:16 -08:00
Sourav Mohapatra
bfa435bccc qcacld-3.0: Pass double pointer to hdd_softap_deregister_sta
The function hdd_softap_deregister_sta takes the sta_info as the
argument and calls hdd_sta_info_detach. In hdd_sta_info_detach, the
memory assigned to the sta_info is being freed. For this memory to be
properly freed and set to NULL, the actual memory location must be
passed to the function; which is currently not happening.

Pass the actual memory location by reference using a double pointer so
that the memory cleanup is proper.

Change-Id: If0f846957df0378ea7a13b76bdf9c6ef562ed90e
CRs-Fixed: 2627296
2020-03-04 19:48:16 -08:00
nshrivas
f2e2e19c66 Release 5.2.0.174H
Release 5.2.0.174H

Change-Id: Ib6e5f75b736f9869229aa6eb21f13845ae1883bb
CRs-Fixed: 774533
2020-03-04 15:32:07 -08:00
Pragaspathi Thilagaraj
2459400ed5 qcacld-3.0: Print SSID info when beacon report request is received
Currently the ssid received in the beacon report request is not
printed when beacon report is received from AP in the kmsg.

Fix to print the SSID if its present in the beacon report
request.

Change-Id: Ide4659e955dec756f60b0508eb3be529c43601b3
CRs-Fixed: 2632653
2020-03-04 15:32:07 -08:00
Pankaj Singh
8cf6c634b6 qcacld-3.0: Disable all roam scan in case p2p connection is present
Glitches seen after the STA disconnection because of the roam scan
triggered on a heartbeat failure ( beacon miss ).STA does a partial
scan followed by full scan causing the DUT to go off-channel from
the STA and P2P home channel, causing the music BLIP.

Fix is to disable roaming irrespective of data traffic present
or not on P2P interface and enabled again once P2P is disconnected.

Change-Id: I5ddf946adbfbe99d5b20c23c46b2b4ac0bfac47f
CRs-Fixed: 2632939
2020-03-04 15:31:46 -08:00
nshrivas
f120c86ba3 Release 5.2.0.174G
Release 5.2.0.174G

Change-Id: Icb14bce663aae0c8fb80399c9569d4153f182df8
CRs-Fixed: 774533
2020-03-04 14:10:30 -08:00
Naman Padhiar
c16cd55f65 qcacld-3.0: Add V2 shadow config for WCN6750
Add shadow configuration version 2 for WCN6750.

Change-Id: I7472b22a83ae4d83ac87f3c064de60f1b07d1e4b
CRs-Fixed: 2633612
2020-03-04 14:10:30 -08:00
nshrivas
d035e7fe45 Release 5.2.0.174F
Release 5.2.0.174F

Change-Id: I309f8c84fbd983525230b2442ebede591d22a0a5
CRs-Fixed: 774533
2020-03-04 04:22:56 -08:00
Rajeev Kumar
f4627be10a qcacld-3.0: Add policy attribute to MPTA_HELPER_CONFIG
According to new changes in kernel 5.2 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.2 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_MPTA_HELPER_CONFIG

Change-Id: Id83ee15ec7eb43103e44505f44fb9ff48cb23f74
CRs-Fixed: 2634109
2020-03-04 04:22:56 -08:00
gaurank kathpalia
ba1d641b44 qcacld-3.0: Disconnect after roam fail
Correct the condition for disconenction
after roam invoke fail.

Change-Id: Ia77a203477b440fc279e1cf9a08d327d073f32d0
CRs-Fixed: 2628455
2020-03-04 04:22:30 -08:00
nshrivas
b66791e9f4 Release 5.2.0.174E
Release 5.2.0.174E

Change-Id: I759f2ee1a73bbafc014c00a8f9d134391c5bbf14
CRs-Fixed: 774533
2020-03-04 03:00:30 -08:00
Yeshwanth Sriram Guntuka
c35cf29a42 qcacld-3.0: Use appropriate mac addr when fetching sta info
In SAP mode, as part of dhcp inspection, sta info is fetched
using the source address of the packet irrespective of
direction. This results in sta info fetch failure in case
of dhcp tx frames where source address is self mac address
which is not registered as part of SAP start. Due to this,
when sending dhcp ack frame, tx comp flag is not set in nbuf
cb causing dhcp stop ind to be not sent to firmware.

Fix is to use dhcp client mac address to fetch sta info.

Change-Id: Ia61b93d24f3d069b40fe8ffa5ee7b6ba1e30e7c5
CRs-Fixed: 2632275
2020-03-04 03:00:30 -08:00
nshrivas
52749166c0 Release 5.2.0.174D
Release 5.2.0.174D

Change-Id: Id2352fa87edc23bbfc897cd1c9cd79e41ed67f90
CRs-Fixed: 774533
2020-03-04 01:26:45 -08:00
Rajeev Kumar
b15cacfbfc qcacld-3.0: Add policy attribute to SUBCMD_COEX_CONFIG
According to new changes in kernel 5.2 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.2 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_COEX_CONFIG

Change-Id: I865ec470e1b24d1e4c5094648435ea7020a01af8
CRs-Fixed: 2634095
2020-03-04 01:26:45 -08:00
Rajeev Kumar
4e80a0a550 qcacld-3.0: Add policy attribute to WIFI_TEST_CONFIGURATION
According to new changes in kernel 5.2 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.2 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_WIFI_TEST_CONFIGURATION

Change-Id: I91a97a17fa27f93f20385a250f098d5b01081023
CRs-Fixed: 2634072
2020-03-04 01:26:38 -08:00
Liangwei Dong
2b91d47b11 qcacld-3.0: Update peer mac addr before set WEP key
In WEP SAP mode, the ping between SAP and client is failed
because in the SAP side the firmware has no unicast key
for peer mac address. The default address in key context is
SAP bssid.
Update the peer mac address before set key to firmware for
the WEP peer.

Change-Id: Ia5ba4612d0cc0f9900c72baf1c37bd278b526389
CRs-Fixed: 2599289
2020-03-04 01:26:19 -08:00
nshrivas
beb588772a Release 5.2.0.174C
Release 5.2.0.174C

Change-Id: I931d0afbc500287bb05e6a68039a2fc24da50411
CRs-Fixed: 774533
2020-03-03 22:19:54 -08:00
Abhishek Singh
5c4790677d qcacld-3.0: Optimize logs in policy_mgr_is_concurrency_allowed
Optimize logs in policy_mgr_is_concurrency_allowed.

Change-Id: I299ea6ec8252d52786d08630e1a5fb1987bce9db
CRs-Fixed: 2633500
2020-03-03 22:19:54 -08:00
Liangwei Dong
75698c2414 qcacld-3.0: Fix Beacon report invalid channel issue
11K test bed sends beacon report request for channel 48 with
invalid reg class 0 to DUT. So, driver gets chan_freq 0 by API
wlan_reg_chan_opclass_to_freq because of reg class 0.
To get correct channel freq for beacon report request, use new
API wlan_reg_country_chan_opclass_to_freq to
get freq from country operating class table firstly by (opclass,
channel number) pair. When the lookup is failed, the API will
try to look up by chan number only.

Change-Id: I5b56804c20d6fade17b2acaa0f7c261feebd6370
CRs-Fixed: 2603989
2020-03-03 22:19:39 -08:00
Vevek Venkatesan
2469325bd1 qcacld-3.0: disable SMMU S1 for few helium targets
Excluding few Helium based targets from SMMU S1
feature enablement  which are not having the
Kernel support for SMMU S1.

Change-Id: I46c17749150f00113137c546d7e14964860aa2e3
CRs-Fixed: 2633675
2020-03-03 22:19:24 -08:00
Dundi Raviteja
b3134da83d qcacld-3.0: Check pmf status while processing mgmt packets
Add pmf status checks while processing management packets
in packet capture component.

Change-Id: I04e1f7eb33573a3f77f53f9ffbdf0781041be100
CRs-Fixed: 2633851
2020-03-03 22:19:17 -08:00
nshrivas
8f7a399011 Release 5.2.0.174B
Release 5.2.0.174B

Change-Id: I27abe587f53a56faba736415281a761c9f8ed351
CRs-Fixed: 774533
2020-03-03 18:53:31 -08:00
Dundi Raviteja
0cb22dae74 qcacld-3.0: Enable packet capture feature
Add the config to enable packet capture feature.

Change-Id: I69d4f7086202c5fd64074029abecc8140a6da907
CRs-Fixed: 2633919
2020-03-03 18:53:31 -08:00
Rakesh Pillai
1bd6962198 qcacld-3.0: Enable rx descriptor sanity WAR
Enable the rx descriptor sanity check in
the Kbuild.

Change-Id: I0f37ac1bbcbc5d148f28469c0ef1f9b090083c88
CRs-Fixed: 2633037
2020-03-03 18:53:07 -08:00
Bapiraju Alla
b9c36856fa qcacld-3.0: Periodically print ARP and DNS stats after STA association
Currently no stats were printed related to ARP and DNS frames at STA
after initial association or after roaming complete.

To print these logs, add INI configuration and a periodic timer to
print ARP and DNS stats after initial association or after roaming
complete. This is an optional feature controlled by
'WLAN_FEATURE_PERIODIC_STA_STATS' flag.

Change-Id: I373632cc35584728c5b556bb28eda1077d51fd9b
CRs-Fixed: 2619383
2020-03-03 18:52:46 -08:00
Sravan Goud
1945c9fc0b qcacld-3.0: Fix passing invalid ipa iface
Currently in net dev cleanup of ipa host interface if the
ipa interface does not exist for that particular net dev,
last ipa iface reference is passed. This may lead to invalid
access. So fix by validating the iface context before clean
up of host ipa interface.

Change-Id: I753c922b5c82c676a318df87552051fdd74c983c
CRs-Fixed: 2632382
2020-03-03 18:52:37 -08:00
nshrivas
4bf9b0363b Release 5.2.0.174A
Release 5.2.0.174A

Change-Id: I35c2c395513c05fd758f6631108612a239148b80
CRs-Fixed: 774533
2020-03-03 15:54:57 -08:00
Abhishek Ambure
ea0df50852 qcacld-3.0: Update roam count in LFR3 roaming
User get BSS stats for the command response of GETBSSINFO. Driver saves
BSS info of the connected AP in HDD's station context. For every
association completion, driver updates BSS info stats.

In LFR3 roaming, Roam sync state in the CSR layer is set to 1 if STA
associates with new AP because of roaming. Thus for LFR3 roaming, driver
uses roam sync state to update roam count while processing association
completion.

Change-Id: Ia75f4c7b049a0546b2922d890cb3c12f6f4513a2
CRs-Fixed: 2632421
2020-03-03 15:54:56 -08:00
Naman Padhiar
518bb3f170 qcacld-3.0: Set platform driver support for WCN6750
Set platform driver support as true for WCN6750.

Change-Id: I52126f263bbc11725531e86defb69010c77b6b9e
2020-03-03 15:54:44 -08:00
nshrivas
e5ab05b818 Release 5.2.0.174
Release 5.2.0.174

Change-Id: I24e570ac994fa100e0238e043c2968921e3bace5
CRs-Fixed: 774533
2020-03-03 14:16:46 -08:00
Paul Zhang
dc4c2a6afc qcacld-3.0: enable interop issues ap detection
Enable interop issues ap detection function when driver starts up.

Change-Id: Id7f616e19ab6f5f71191c3a93c5b0b5747766437
CRs-Fixed: 2601974
2020-03-03 14:16:46 -08:00
nshrivas
d95ac82d6d Release 5.2.0.173Z
Release 5.2.0.173Z

Change-Id: I85f0164ad8588e09e15b83e4bba2e2aef93ad9bb
CRs-Fixed: 774533
2020-03-03 00:48:36 -08:00