Графік комітів

17301 Коміти

Автор SHA1 Повідомлення Дата
Sravan Goud
0158814ea9 qcacld-3.0: Initialize uninitialized variable
Current code in __hdd_bus_bw_work_handler function there is a
possibility of variables sta_tx_bytes and sap_tx_bytes uninitialized.
Improve the code by initializing the variable.

Change-Id: I6e21350267e9ff7a5b3a5cb5b3f3166d26121c8a
CRs-Fixed: 2536318
2019-10-19 17:46:07 -07:00
Sravan Kumar Kairam
3bc886df40 qcacld-3.0: Support stats quota for sta + sap ipa offload
Implement metering stats quota to support ipa offload sta plus
sap wifi sharing use cases.

Change-Id: Ic9d5ad817ffb4d671a43f3f3aebb2d8cce293873
CRs-Fixed: 2517696
2019-10-19 17:46:02 -07:00
guangde
44f9ab7ee1 qcacld-3.0: use hwtstamp to pass HW timestamp info
Based on the current codes, Host driver use "tstamp" of skb buffer
structure to store HW timestamp info. But this parameter is designed
for SW timestamp. If host driver fill the value to "tstamp", it will
affect other functions, for example, NTP, PING etc.
The host driver use "hwtstamp" of skb buffer structure to store
the HW timestamp info now.

Change-Id: I8d92e0afe212bc4a5cdad1b30cd12f36ab9a0ebc
CRs-Fixed: 2547514
2019-10-19 17:45:51 -07:00
nshrivas
db34d865be Release 5.2.0.153E
Release 5.2.0.153E

Change-Id: Iad2d1f63906c91d1df51bdc964136cb9db4a9c03
CRs-Fixed: 774533
2019-10-19 09:37:02 -07:00
Kai Liu
cdc307f6a4 qcacld-3.0: change peer search to mac address based in monitor mode
Commit 9e02e1e104 ("qcacmn: Cleanup dp_register_peer [PEER_ID_PHASE1]")
of qca-wifi-host-cmn changes peer search from peer id based to mac address
based, this change makes corresponding fix for monitor mode, otherwise it
will fail to get wlan interface up, since can't find peer.

Change-Id: Ife031b9e9b856850e08ef8c195e1a99c6dee80c5
2019-10-19 09:37:01 -07:00
nshrivas
95782fbf69 Release 5.2.0.153D
Release 5.2.0.153D

Change-Id: I01a9f19c277defb7e91ee4d899f4e3bd906dcd36
CRs-Fixed: 774533
2019-10-19 06:48:58 -07:00
Sourav Mohapatra
4c9b82aaf6 qcacld-3.0: Fix compilation error in case NAN is disabled
Currently the function ucfg_nan_get_ndi_state is not defined for the
case WLAN_FEATURE_NAN is not defined. As this is a public function
defined in dispatcher/inc/ and can be used externally, there would be a
compilation failure on such cases.

Resolve the failure by declaring ucfg_nan_get_ndi_state as static in the
case WLAN_FEATURE_NAN is not enabled.

Change-Id: I30297e8a3781f9a529c40a1423a9d2613c286f4e
CRs-Fixed: 2548223
2019-10-19 06:48:58 -07:00
Abhinav Kumar
6421d36dd6 qcacld-3.0: Protect csr_scan_callback with sme lock
In csr_scan_callback sme lock is not taken and csr session
is accessed without taking the lock. This may lead to
race where a north bound thread and scheduler thread
might modify the same param at a time.

Thus if a new connect request is received at same time which
also lead to scan for ssid, scheduler and the NB thread
may try to free session->scan_info.profile at same time
leading to double free.

Fix is to protect csr_scan_callback with sme lock.

Change-Id: I44519f53f41b94a1ba6420efef2d35a98a7bcaf5
CRs-Fixed: 2547428
2019-10-19 06:48:50 -07:00
gaurank kathpalia
fa09a07ff5 qcacld-3.0: Change default value of force 1x1 as 1
Currently the value of force 1x1 exception is 2
which can lead to STA connection to a OUI AP in 1x1.

In a DBS configuration when AS is disabled, STA came
up in Single Mac mode in 2x2, and when a SAP came up
in DBS, then it sent out a SMPS to AP which lead to AP
crash. But very few APs have this behaviour, so it is
better to have a higher throughput than limit the
connection to 1x1.

Change-Id: I0ebd1ed2b764c3280151ca55117545349e474cbb
CRs-Fixed: 2538438
2019-10-19 06:48:45 -07:00
CNSS_WLAN Service
59d070c786 Merge "Release 5.2.0.153C" into wlan-cld3.driver.lnx.2.0 2019-10-18 09:09:16 -07:00
CNSS_WLAN Service
6e5096d456 Merge "qcacld-3.0: Handle mem leaks for sap ACS channel list" into wlan-cld3.driver.lnx.2.0 2019-10-18 09:09:15 -07:00
CNSS_WLAN Service
7ff488ca01 Merge "qcacld-3.0: Process rx_mgmt_pkt based on frequency" into wlan-cld3.driver.lnx.2.0 2019-10-18 09:09:14 -07:00
CNSS_WLAN Service
9f385bab4c Merge "qcacld-3.0: Clear registered peers in SAP mode after SSR" into wlan-cld3.driver.lnx.2.0 2019-10-18 09:09:13 -07:00
CNSS_WLAN Service
ffbf4dbe1c Merge "Release 5.2.0.153B" into wlan-cld3.driver.lnx.2.0 2019-10-18 09:09:12 -07:00
CNSS_WLAN Service
add7b92269 Merge "qcacld-3.0: WPA3 roam make preauth start command as wakable" into wlan-cld3.driver.lnx.2.0 2019-10-18 09:09:11 -07:00
CNSS_WLAN Service
3382d3346a Merge "qcacld-3.0: Add flow control to limit deauth per peer" into wlan-cld3.driver.lnx.2.0 2019-10-18 09:09:09 -07:00
CNSS_WLAN Service
18afc2c7e9 Merge "qcacld-3.0: Check concurrency before STA vdev start" into wlan-cld3.driver.lnx.2.0 2019-10-18 09:09:08 -07:00
CNSS_WLAN Service
8c2500de4d Merge "Revert "qcacld-3.0: Featurize partial reorder properly"" into wlan-cld3.driver.lnx.2.0 2019-10-18 09:09:07 -07:00
CNSS_WLAN Service
8dfc34f05f Merge "Release 5.2.0.153A" into wlan-cld3.driver.lnx.2.0 2019-10-18 05:15:45 -07:00
CNSS_WLAN Service
350eb0af15 Merge "qcacld-3.0: Add changes to support qca6490" into wlan-cld3.driver.lnx.2.0 2019-10-18 05:15:43 -07:00
CNSS_WLAN Service
7e82458ac2 Merge "Release 5.2.0.153" into wlan-cld3.driver.lnx.2.0 2019-10-18 05:15:42 -07:00
CNSS_WLAN Service
dfa45eb53d Merge "qcacld-3.0: Add proper rates for MCS9 in host table" into wlan-cld3.driver.lnx.2.0 2019-10-18 05:15:40 -07:00
CNSS_WLAN Service
b6f002c9a5 Merge "Release 5.2.0.152Z" into wlan-cld3.driver.lnx.2.0 2019-10-18 05:15:39 -07:00
CNSS_WLAN Service
e573ed9224 Merge "qcacld-3.0: Enable AMSDU in AMPDU support only in 11ax" into wlan-cld3.driver.lnx.2.0 2019-10-18 05:15:38 -07:00
CNSS_WLAN Service
f91529332f Merge "Release 5.2.0.152Y" into wlan-cld3.driver.lnx.2.0 2019-10-18 05:15:37 -07:00
CNSS_WLAN Service
804c8208dd Merge "qcacld-3.0: Prevent possible NULL pointer dereference" into wlan-cld3.driver.lnx.2.0 2019-10-18 05:15:36 -07:00
nshrivas
290a57b388 Release 5.2.0.153C
Release 5.2.0.153C

Change-Id: Id135ad86177a2dbb8f9d1b504a9a5461899d7214
CRs-Fixed: 774533
2019-10-18 02:55:24 -07:00
gaurank kathpalia
eeb2554905 qcacld-3.0: Handle mem leaks for sap ACS channel list
Handle error condition of vdev not found (Logical delete
state), and scan req memory not allocated to prevent mem
leak for SAP ACS channel list.

Change-Id: I0ab00c0119f80299cc8d93236839e42c647b939f
CRs-Fixed: 2547058
2019-10-18 02:55:24 -07:00
Ashish Kumar Dhanotiya
ca5d922263 qcacld-3.0: Process rx_mgmt_pkt based on frequency
As a part of 802.11ax amendment, 6GHz band operation is added.

Since the 6 GHz channel numbers are overlapping with existing 2.4GHz
and 5GHz channel numbers, use frequency to identify unique channel
operation instead of channel number. Channel frequency is unique across
bands.

As part of above requirement add logic to process rx mgmt
packets based on the frequencies instead of channel numbers.

Change-Id: Ib063070738ecdb4f83379eafe50629778a490aae
CRs-fixed: 2522693
2019-10-18 02:55:17 -07:00
Sourav Mohapatra
0203b6d254 qcacld-3.0: Clear registered peers in SAP mode after SSR
Currently, the SAP peers are not cleared after an SSR in shutdown path
inside hdd_reset_all_adapters. This can lead to mem leak in the case
the device undergoes SSR with connected SAP clients.

To prevent this memleak, rectify the existing check to include SAP
mode also while cleaning up the registered peers.

Change-Id: I8faf54d420cd9198e257a3d93bbf1b37da2f3eb8
CRs-Fixed: 2546805
2019-10-18 02:55:12 -07:00
nshrivas
21fc4a3536 Release 5.2.0.153B
Release 5.2.0.153B

Change-Id: Ib3751b491398c0b7b714383e4d49838984860b3b
CRs-Fixed: 774533
2019-10-17 22:47:03 -07:00
Pragaspathi Thilagaraj
0c4489f1ad qcacld-3.0: WPA3 roam make preauth start command as wakable
In WPA3 roam hybrid model, the SAE exchange/4-way handshake is
offloaded to the wpa_supplicant. After roam candidate selection,
firmware will send WMI_ROAM_PREAUTH_START_EVENTID to send SAE
authentication frame with the selected candidate. If the host
is in suspended state, then SAE preauthentication could fail.

So wakeup the host when WMI_ROAM_PREAUTH_START_EVENTID event is
received to carry out the SAE authentication with the provided
candidate

Change-Id: I7a89234e90e7fccef58ec3822dc0cda3740bad20
CRs-Fixed: 2512871
2019-10-17 22:47:02 -07:00
Amruta Kulkarni
f3773e9435 qcacld-3.0: Add flow control to limit deauth per peer
Invalid peer keeps sending rx ind which triggers sending of
deauth mgmt frame continiously.

Fix is to add flow control in wma_rx_invalid_peer_ind()
to limit per peer deauth mgmt frame to one.

Change-Id: Icfbcb9452ee9890a26945b3cdd0c0ab07649367a
CRs-Fixed: 2538222
2019-10-17 22:46:55 -07:00
Jianmin Zhu
e487f79e22 qcacld-3.0: Check concurrency before STA vdev start
Currently if there are 3 connections in MCC on same
MAC, FW asserts.
If there are several bssid for same ssid and channel id from wpa
supplicant is 0, driver will sort candidate AP and try one by
one, vdev start channel isn't decided until candidate is
selected, need do concurrency allow check at that time, or lead
to 3 connections on the same MAC.

STA+STA MCC on same MAC has no benefit,  total throughput is even
lower than single STA for channel switch frequently on same MAC.
so add check to disallow STA+STA MCC.

Change-Id: Id286096ea156915432807e42983c68cc83a8b42e
CRs-Fixed: 2545411
2019-10-17 22:46:48 -07:00
Tiger Yu
81a8073dcb Revert "qcacld-3.0: Featurize partial reorder properly"
The revert Change-Id: I1f3819fa093766abba87e5dc6dc44e6d2188740b

Inlucde the ol_rx_reorder.c for LL solution to avoid NULL pointer access
when handling the fragmentation frames.

Change-Id: I5182693437b00d4c8a932beb59fd03adea5ee8a1
CRs-Fixed: 2546353
2019-10-17 22:46:42 -07:00
CNSS_WLAN Service
5b56df86b5 Merge "Release 5.2.0.152X" into wlan-cld3.driver.lnx.2.0 2019-10-17 20:27:08 -07:00
CNSS_WLAN Service
d164ef878d Merge "qcacld-3.0: Enabling METERING Feature for lito" into wlan-cld3.driver.lnx.2.0 2019-10-17 20:27:07 -07:00
CNSS_WLAN Service
5f69f9056f Merge "Release 5.2.0.152W" into wlan-cld3.driver.lnx.2.0 2019-10-17 20:27:06 -07:00
CNSS_WLAN Service
e0a20fd655 Merge "qcacld-3.0: Send RSO stop for supplicant disabled roam" into wlan-cld3.driver.lnx.2.0 2019-10-17 20:27:04 -07:00
CNSS_WLAN Service
baf2e0bd1e Merge "Release 5.2.0.152V" into wlan-cld3.driver.lnx.2.0 2019-10-17 20:27:03 -07:00
CNSS_WLAN Service
2f91765e9f Merge "qcacld-3.0: Move stack allocations to heap" into wlan-cld3.driver.lnx.2.0 2019-10-17 20:27:02 -07:00
CNSS_WLAN Service
49910119d7 Merge "Release 5.2.0.152U" into wlan-cld3.driver.lnx.2.0 2019-10-17 20:27:01 -07:00
CNSS_WLAN Service
5691eb30a4 Merge "qcacld-3.0: fix compile error in cdp_fc_get_tx_resource API" into wlan-cld3.driver.lnx.2.0 2019-10-17 20:27:00 -07:00
CNSS_WLAN Service
bd06ef44f8 Merge "qcacld-3.0: Add ini to disable aggressive EDCA config" into wlan-cld3.driver.lnx.2.0 2019-10-17 20:26:59 -07:00
nshrivas
af2e2645dc Release 5.2.0.153A
Release 5.2.0.153A

Change-Id: I3ee4a8813be30f9d887c34132ace45d827dfc74a
CRs-Fixed: 774533
2019-10-17 15:06:24 -07:00
Manjunathappa Prakash
458f6fe460 qcacld-3.0: Add changes to support qca6490
Add changes to support qca6490 chip.

Change-Id: I861d88f6c9aba5285eff17c188bf335d50839d56
CRs-Fixed: 2522129
2019-10-17 15:06:24 -07:00
nshrivas
d4665c4d52 Release 5.2.0.153
Release 5.2.0.153

Change-Id: I279ff78f663db5a08765b8ee5eeb78521a917c76
CRs-Fixed: 774533
2019-10-17 05:56:06 -07:00
Sourav Mohapatra
9a6d5e5e7c qcacld-3.0: Add proper rates for MCS9 in host table
Currently the MCS9 rates are not populated correctly in the host stored
MCS tables. The current rates entered are (1560, 1733) which is incorrect.

Since MCS9 is not defined in the spec but rather an internal
implementation, rectify the rates by confirmation from firmware team.
The new rates entered are (1730, 1920)

Change-Id: Idebc3afae8b1f251ea843b6578170e74f7152629
CRs-Fixed: 2517704
2019-10-17 05:56:05 -07:00
nshrivas
aeae2dfdc5 Release 5.2.0.152Z
Release 5.2.0.152Z

Change-Id: I59ef5adec3c83ec9e524f109776f7c7d7a208488
CRs-Fixed: 774533
2019-10-17 02:06:00 -07:00
Kiran Kumar Lokere
9d80ef65da qcacld-3.0: Enable AMSDU in AMPDU support only in 11ax
Advertise the Rx AMSDU in AMPDU support in addba response only
for 11ax connection when the connection is in 2.4G.

Change-Id: I3275f472503bc420b906f947b661490c3a52b670
CRs-Fixed: 2538118
2019-10-17 02:06:00 -07:00