Commit Graph

16249 Commits

Author SHA1 Message Date
CNSS_WLAN Service
8e0d0554d8 Merge "qcacld-3.0: Fix possible NULL pointer de-reference" into wlan-cld3.driver.lnx.2.0 2019-07-05 13:25:01 -07:00
CNSS_WLAN Service
366f296fca Merge "Release 5.2.0.138R" into wlan-cld3.driver.lnx.2.0 2019-07-05 13:25:00 -07:00
CNSS_WLAN Service
89f10742ad Merge "qcacld-3.0: Remove qdf_op_protect/unprotect for IPA RX" into wlan-cld3.driver.lnx.2.0 2019-07-05 13:24:59 -07:00
CNSS_WLAN Service
3f8c422be8 Merge "Release 5.2.0.138Q" into wlan-cld3.driver.lnx.2.0 2019-07-05 13:24:58 -07:00
CNSS_WLAN Service
a7abc6049a Merge "qcacld-3.0: Add ini to support BT SCO-WLAN coex" into wlan-cld3.driver.lnx.2.0 2019-07-05 13:24:57 -07:00
CNSS_WLAN Service
2ca0466962 Merge "Release 5.2.0.138P" into wlan-cld3.driver.lnx.2.0 2019-07-05 13:24:56 -07:00
CNSS_WLAN Service
bdeafad677 Merge "qcacld-3.0: Dont send beacon report on invalid measure duration" into wlan-cld3.driver.lnx.2.0 2019-07-05 13:24:54 -07:00
CNSS_WLAN Service
8cfde60c96 Merge "Release 5.2.0.138O" into wlan-cld3.driver.lnx.2.0 2019-07-05 13:24:53 -07:00
CNSS_WLAN Service
a13e0b9363 Merge "qcacld-3.0: Flush the BLM reject ap list on WIFI-OFF from UI" into wlan-cld3.driver.lnx.2.0 2019-07-05 13:24:52 -07:00
CNSS_WLAN Service
84e7a0d9c0 Merge changes Ic6c1c8e4,Ie0d8e103,Id106b382,Icf3ca4e2,I74db4587 into wlan-cld3.driver.lnx.2.0
* changes:
  Release 5.2.0.138N
  qcacld-3.0: Add null check for qdf_ctx in hdd_configure_cds
  qcacld-3.0: Add support to configure avoid acs freq list
  qcacld-3.0: Remove redundant init and check in policy_mgr_skip_dfs_ch
  qcacld-3.0: Advertise max BA buffer size in HE mode
2019-07-05 13:24:49 -07:00
Vulupala Shashank Reddy
4bf9be6940 qcacld-3.0: Fix possible NULL pointer de-reference
Fix possible NULL pointer de-reference after calling cds_get_context()
in functions ol_txrx_get_cfg(), ol_txrx_ipa_tx_params(),
ol_txrx_ipa_rx_params(), ol_txrx_ipa_setup().

Change-Id: I25f3e65674029382d58801943c604ef9bfa51e2a
CRs-Fixed: 2423754
2019-07-05 10:26:04 -07:00
CNSS_WLAN Service
ee6c79a83a Merge "Release 5.2.0.138M" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:14 -07:00
CNSS_WLAN Service
04292a1641 Merge "qcacld-3.0: Clear bss_status bit in case of del_bss_resp failure" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:13 -07:00
CNSS_WLAN Service
fc4c560256 Merge "Release 5.2.0.138L" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:11 -07:00
CNSS_WLAN Service
d96478e651 Merge "qcacld-3.0: Support to tx probe request frame" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:10 -07:00
CNSS_WLAN Service
d65b79d817 Merge "qcacld-3.0: change prototype of pld_wlan_enable" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:09 -07:00
CNSS_WLAN Service
5ad6e8532c Merge "qcacld-3.0: Send RSO command (any type) only in connected state" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:08 -07:00
CNSS_WLAN Service
6b3697a5d0 Merge "Release 5.2.0.138K" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:07 -07:00
CNSS_WLAN Service
0827d68e9f Merge "qcacld-3.0: Enable SMMU S1 TRANSLATION for TALOS" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:06 -07:00
CNSS_WLAN Service
8210778313 Merge "Release 5.2.0.138J" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:05 -07:00
CNSS_WLAN Service
03bd883dcd Merge "qcacld-3.0: move HIF_CONFIG_SLUB_DEBUG_ON define to driver Kbuild" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:04 -07:00
CNSS_WLAN Service
6571ad5fc6 Merge "qcacld-3.0: featurize wmi multi mac service" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:03 -07:00
CNSS_WLAN Service
18f0dad4aa Merge "Release 5.2.0.138I" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:01 -07:00
CNSS_WLAN Service
c0cf6b2573 Merge "qcacld-3.0: Allow single SAP started on DFS chan" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:00 -07:00
CNSS_WLAN Service
90f4eff29d Merge "qcacld-3.0: Add new STA-SAP on DFS chan INI config mode" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:04:59 -07:00
CNSS_WLAN Service
5c50330ac4 Merge "qcacld-3.0: Return chain_mask for legacy chip" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:04:58 -07:00
nshrivas
0de9774a6f Release 5.2.0.138R
Release 5.2.0.138R

Change-Id: I0fc7df92db6127fa409ebd5be19237bc30040abe
CRs-Fixed: 774533
2019-07-04 08:42:54 -07:00
jiad
7bac1efee9 qcacld-3.0: Remove qdf_op_protect/unprotect for IPA RX
wlan_ipa_w2i_cb is notify cb for IPA RX terminated
scenario and therefore it is invoked on a per-packet
basis.

qdf_op_protect and qdf_op_unprotect leads to ~100mbps
througput degradation for IPA RX terminated scenario
on MDM platforms. Thus remove qdf_op_protect and
qdf_op_unprotect on MDM platforms as a temporary
workaround to unblock releases and meet KPI. Note that
this will be revisited.

Change-Id: I1cab0581288456662ee4aa5d63df1b0f1213436b
CRs-Fixed: 2469073
2019-07-04 08:42:51 -07:00
nshrivas
de2b958baf Release 5.2.0.138Q
Release 5.2.0.138Q

Change-Id: If9076ceb1a92be55e3b42ba80c776e7edf05b820
CRs-Fixed: 774533
2019-07-04 07:26:51 -07:00
hqu
1dd504ae34 qcacld-3.0: Add ini to support BT SCO-WLAN coex
Add ini gBtScoAllowWlan2GScan to support BT SCO-WLAN coex.
Using this ini can control whether allow wlan 2g scan or not
when BT SCO connection is on.

Change-Id: Ia63b1ff92e75937487827c34bca1d2e1c289962d
CRs-Fixed: 2464679
2019-07-04 07:26:51 -07:00
CNSS_WLAN Service
7672ff8227 Merge "qcacld-3.0: Move two fw-api host headers to driver" into wlan-cld3.driver.lnx.2.0 2019-07-03 23:32:49 -07:00
nshrivas
1a7b71af4f Release 5.2.0.138P
Release 5.2.0.138P

Change-Id: I746d355db0e993d5b24d99abef9f3dc9eea8576a
CRs-Fixed: 774533
2019-07-03 13:40:09 -07:00
Manikandan Mohan
f70120a83b qcacld-3.0: Dont send beacon report on invalid measure duration
When measurement duration is given as 0 in beacon report request
driver should not send any beacon report in response and set
refused bit in action frame. Add this condition to beacon report
request processing.

Change-Id: I280824565aa5cda765151acbb67ab0d6574853d7
CRs-fixed: 2481166
2019-07-03 13:40:09 -07:00
nshrivas
aae91bfceb Release 5.2.0.138O
Release 5.2.0.138O

Change-Id: Ib3db102859cdd61dcfb0d7160f571f5903e1f207
CRs-Fixed: 774533
2019-07-03 12:08:39 -07:00
gaurank kathpalia
fc166a1d36 qcacld-3.0: Flush the BLM reject ap list on WIFI-OFF from UI
Flush the reject ap list from the BLM when the user does
a explicit wifi off from the UI to ensure the user is able
to connect next time the wifi is turned on.

Change-Id: Ia8cdd6aa7e3357fc0def100cb13c6e25c1e0a62e
CRs-Fixed: 2470087
2019-07-03 12:08:39 -07:00
nshrivas
526f809415 Release 5.2.0.138N
Release 5.2.0.138N

Change-Id: Ic6c1c8e4238afcf4806adf24fecc8cbaec1a4799
CRs-Fixed: 774533
2019-07-03 08:55:54 -07:00
Varuneshwar Petlozu
f876667985 qcacld-3.0: Add null check for qdf_ctx in hdd_configure_cds
Currently in function hdd_configure_cds the driver is passing
the pointer from cds_get_context to ucfg_ipa_uc_ol_init without any
NULL check. This pointer later then gets dereferenced which can cause
null pointer dereference.

To solve this, added a null check before calling ucfg_ipa_uc_ol_init

Change-Id: Ie0d8e103c9eeac76d285c4b3870c3c4ea9172dc6
CRs-Fixed: 2462711
2019-07-03 08:55:53 -07:00
Ashish Kumar Dhanotiya
2168aadfa4 qcacld-3.0: Add support to configure avoid acs freq list
Currently there is no ini support to configure frequencies
which needs to be avoided for the acs channel list which
may allow SAP to come up on a channel which is not preferred.

For Example there are many legacy clients which supports
2.4GHz but don't support channel 12 and 13 (or does not have
the capability to detect country change where channel 12 and
13 is valid).
In that case, if SAP comes up on channel 12/13, those legacy
clients won't be able to connect to AP.

Hence, Add a feature flag and ini to configure the frequency
list which can be avoided during acs.

Change-Id: Id106b38228f837ba056eb916004dc012e919ddd2
CRs-Fixed: 2472004
2019-07-03 08:55:49 -07:00
Abhinav Kumar
7040d2b4e8 qcacld-3.0: Remove redundant init and check in policy_mgr_skip_dfs_ch
Remove redundant initialization for local variable dfs_master_capable
and always pass check for skip_dfs_channel in policy_mgr_skip_dfs_ch.

Change-Id: Icf3ca4e297a54646114d414f1d0bd8543e59ea37
CRs-Fixed: 2482890
2019-07-03 08:55:45 -07:00
Kiran Kumar Lokere
22f05d45b7 qcacld-3.0: Advertise max BA buffer size in HE mode
The default addba buffer size is set to 64 and HE supports
256 BA bitmap.
Set addba response frame BA buffer size to max BA buffer size
(256) in HE mode.

Change-Id: I74db45874997cb3f3e758c89d7e95d72c27ee13f
CRs-Fixed: 2481484
2019-07-03 08:55:40 -07:00
nshrivas
5cda727f80 Release 5.2.0.138M
Release 5.2.0.138M

Change-Id: I6ebd6cc8c90e8bd49bf66c430cd892def80eac6b
CRs-Fixed: 774533
2019-07-03 00:56:39 -07:00
Bala Venkatesh
0c2393cc68 qcacld-3.0: Clear bss_status bit in case of del_bss_resp failure
In case of WMA_DEL_STA_REQ timeout for type WMA_DELETE_BSS_RSP,
directly del_bss response is posted to lim without clearing the
bits like bss_status in wma. This can later lead to failure
in del_sta_req of the self sta and self sta peer leak in the
object manager.

Hence, set the bss_status from started to stopped in case
of del_bss failure.

Change-Id: Ic68e6b7a59959392772fc2821d31a054778fe66b
CRs-Fixed: 2478379
2019-07-03 00:56:39 -07:00
nshrivas
4a2e44de15 Release 5.2.0.138L
Release 5.2.0.138L

Change-Id: Iefc1c8ddb16a76956e2483d0fe42ea45e918e3ec
CRs-Fixed: 774533
2019-07-02 08:39:10 -07:00
Wu Gao
cb70c0d571 qcacld-3.0: Support to tx probe request frame
It just support to tx probe respnse and action frames currently. So
add this change to support to tx probe reqest frame.

Change-Id: I4899eeca80958990aff2ec5eac3226f9a37ccbf3
CRs-Fixed: 2481346
2019-07-02 08:39:10 -07:00
Vevek Venkatesan
4a03124774 qcacld-3.0: change prototype of pld_wlan_enable
Change the function prototype of pld_wlan_enable, to use local
version string.

Change-Id: Ic4c46b609afc8f9510a5c4cbf5e708e28c82d066
2019-07-02 08:39:06 -07:00
gaurank kathpalia
6cf277e8c9 qcacld-3.0: Send RSO command (any type) only in connected state
Currently the driver sends the update cfg RSO command to the
FW, which updates the channel list to which the FW should roam
to find other BSSIDs.
Before the connection is established all the channels are sent
to the FW, but after the connection is established only few
channels are present which reduces the scan time, and reconnection
time to the new BSSID.
But when the FW gets the new channel list as part of RSO after
th connection, it appends the new channels with the previous
list that it received, and hence scans all the channels when
roaming happens, which in turn consumes power, and reduces battery
life with no extra advantage.

Fix is to reject the update cfg command in the disconnected state
as whatever updates are done are cached in the driver, and are
always sent to the FW after the connection is established.
There is no point to send the updated cfg params everytime,
if the driver already sends the command just after the connection.

Change-Id: I19caf194edc1dc038abdfb5b03e69afba48ffc89
CRs-Fixed: 2469350
2019-07-02 08:39:02 -07:00
nshrivas
d816ec54b6 Release 5.2.0.138K
Release 5.2.0.138K

Change-Id: I0b2c80bb057a7b12afd44a1b8743a5e19f55295a
CRs-Fixed: 774533
2019-07-02 06:01:29 -07:00
Rakshith Suresh Patkar
63b21d7154 qcacld-3.0: Enable SMMU S1 TRANSLATION for TALOS
Enable SMMU S1 TRANSLATION flag for TALOS

Change-Id: I4864f5b433b769e35de206aad8453d6352ae9119
CRs-Fixed: 2425321
2019-07-02 06:01:28 -07:00
nshrivas
5825bb85a2 Release 5.2.0.138J
Release 5.2.0.138J

Change-Id: I034ffde654a5b88f4680ed2c40684254dc22a45f
CRs-Fixed: 774533
2019-07-02 02:40:01 -07:00
Vevek Venkatesan
8b579f4ef2 qcacld-3.0: move HIF_CONFIG_SLUB_DEBUG_ON define to driver Kbuild
Move definition of HIF_CONFIG_SLUB_DEBUG_ON to driver Kbuild,
to cleanup CONFIG_MCL/CONFIG_WIN dependency.

Change-Id: I3f4abf546c5c9fe08531a14234f149a82cd14bf1
2019-07-02 02:40:00 -07:00