Commit Graph

9842 Commits

Author SHA1 Message Date
nshrivas
fd91a0df0f Release 5.2.0.73W
Release 5.2.0.73W

Change-Id: I3f0b111ef6a33563cc337f70f96e440792725526
CRs-Fixed: 774533
2018-04-16 02:15:08 -07:00
Paul Zhang
b1f35df0b0 qcacld-3.0: update the adapter->rssi from fw
Currently, sta's adapter.rssi does not reset when disconnect
with the previous ap and for new connection there might be no
valid rssi so it will get 0 when hdd_get_station_statistics_cb
or hdd_get_rssi_cb is invoking. Then it uses the previous ap's
rssi for the new conneciton.

Per the code logic, it is ok to set adapter.rssi with 0 value.
Because it invokes hdd_get_rssi_snr_by_bssid to get the
rssi & snr when issue happens.

Change-Id: I737cfcf16d58501546f2fceab06ed1e5418e7b06
CRs-Fixed: 2199782
2018-04-16 02:15:07 -07:00
nshrivas
47b4b77dc3 Release 5.2.0.73V
Release 5.2.0.73V

Change-Id: I6885556ebb2d3ad1747de27b008ed1cf1513b6f2
CRs-Fixed: 774533
2018-04-15 23:15:20 -07:00
Min Liu
2bfab5b7ff qcacld-3.0: Ignore regulatory notifier from CORE
Since WLAN host driver is regulatory offload design,
regulatory notifier from CORE should always be ignored.

Change-Id: Iaf23bdd1606e84cb309101246088ce6d506aa78b
CRs-Fixed: 2215884
2018-04-15 23:15:19 -07:00
CNSS_WLAN Service
bbae68be7a Merge "Release 5.2.0.73U" into wlan-cld3.driver.lnx.2.0 2018-04-15 16:58:21 -07:00
CNSS_WLAN Service
7a3658671d Merge "qcacld-3.0: Remove obsolete WOWL messaging" into wlan-cld3.driver.lnx.2.0 2018-04-15 16:58:20 -07:00
CNSS_WLAN Service
150d8206d8 Merge "qcacld-3.0: Kbuild: Remove duplicate -DWLAN_FEATURE_GTK_OFFLOAD" into wlan-cld3.driver.lnx.2.0 2018-04-15 16:58:18 -07:00
CNSS_WLAN Service
404384af1d Merge "qcacld-3.0: Kbuild: Add CONFIG_AGEIE_ON_SCAN_RESULTS" into wlan-cld3.driver.lnx.2.0 2018-04-15 16:58:17 -07:00
CNSS_WLAN Service
33b2191051 Merge "qcacld-3.0: Kbuild: Remove confusing HAVE_CFG80211 option" into wlan-cld3.driver.lnx.2.0 2018-04-15 16:58:16 -07:00
nshrivas
1b12253c45 Release 5.2.0.73U
Release 5.2.0.73U

Change-Id: I524cc03e35f6cd5c547c10c396d78889265b6490
CRs-Fixed: 774533
2018-04-15 16:36:59 -07:00
Jeff Johnson
9bf3b65da5 qcacld-3.0: Remove obsolete WOWL messaging
The driver contains considerable debris from the obsolete WOWL
messaging, so clean it up.

Change-Id: I432f7fc1567b0aa31a7be758c05f2213340baed0
CRs-Fixed: 2223859
2018-04-15 10:17:50 -07:00
Jeff Johnson
9ff3a71cca qcacld-3.0: Kbuild: Remove duplicate -DWLAN_FEATURE_GTK_OFFLOAD
Currently -DWLAN_FEATURE_GTK_OFFLOAD is being set twice, once
unconditionally and once based upon CONFIG_GTK_OFFLOAD. Since this is
properly featurized, remove the unconditional setting so that the
setting is correctly controlled by the configuration.

Change-Id: I6f820990dc48304f18f78ec59005c2188a677094
CRs-Fixed: 2223858
2018-04-15 10:17:36 -07:00
Jeff Johnson
b00d968ba7 qcacld-3.0: Kbuild: Add CONFIG_AGEIE_ON_SCAN_RESULTS
Currently -DWLAN_ENABLE_AGEIE_ON_SCAN_RESULTS is unconditionally added
to all builds. Since this feature may not be required for all targets,
create a CONFIG_AGEIE_ON_SCAN_RESULTS feature flag to enable this
feature.

Change-Id: Id5a82a85f4484ca710d4b309355fe3ee0d05883e
CRs-Fixed: 2223857
2018-04-15 09:57:47 -07:00
Jeff Johnson
a9d252dcc7 qcacld-3.0: Kbuild: Remove confusing HAVE_CFG80211 option
Currently Kbuild sets a HAVE_CFG80211 flag based upon whether or not
CONFIG_CFG80211 is configured. The presence of this flag implies that
cfg80211 is optional. However in reality this is a required module, so
remove the confusing flag and instead make the underlying code always
present.

Change-Id: Ia039968cad6f311091e09d4b82805c7bbc5b83f8
CRs-Fixed: 2223856
2018-04-15 09:57:47 -07:00
CNSS_WLAN Service
12c237f2ed Merge changes I174a45c1,I0ee93760,I432e85e3,I639d4fb5,I22f41e6b,I1200fa57,I301031a0,I4abd9d26,I4fbd8f9d into wlan-cld3.driver.lnx.2.0
* changes:
  Release 5.2.0.73T
  qcacld-3.0: Compile out WMI non_tlv file from Kbuild
  Release 5.2.0.73S
  qcacld-3.0: Update io smmu mapping to osdev
  Release 5.2.0.73R
  qcacld-3.0: Remove WLAN_AP_STA_CONCURRENCY feature flag
  qcacld-3.0: Kbuild: Define CONFIG_FEATURE_SKB_PRE_ALLOC
  qcacld-3.0: Fix a race btw tx and tx-compl
  Release 5.2.0.73Q
2018-04-15 01:36:21 -07:00
Linux Build Service Account
8ed1641591 Merge "qcacld-3.0: Add support to configure HE LTF" 2018-04-14 21:07:24 -07:00
CNSS_WLAN Service
6220113164 Merge "qcacld-3.0: fix non-linear data TX dma failed issue" into wlan-cld3.driver.lnx.2.0 2018-04-14 18:19:47 -07:00
CNSS_WLAN Service
95faebb096 Merge "qcacld-3.0: Add CFG INI item to control various unit test features" into wlan-cld3.driver.lnx.2.0 2018-04-14 18:19:46 -07:00
CNSS_WLAN Service
d103a0f119 Merge "Release 5.2.0.73P" into wlan-cld3.driver.lnx.2.0 2018-04-14 18:19:44 -07:00
CNSS_WLAN Service
c88dbcd5bc Merge "qcacld-3.0: Kbuild: Define CONFIG_FEATURE_WLAN_D0WOW" into wlan-cld3.driver.lnx.2.0 2018-04-14 18:19:42 -07:00
CNSS_WLAN Service
2d033a8ad0 Merge "qcacld-3.0: Fix bss color event validation for false detection" into wlan-cld3.driver.lnx.2.0 2018-04-14 18:19:40 -07:00
nshrivas
9bbda0b216 Release 5.2.0.73T
Release 5.2.0.73T

Change-Id: I174a45c13a4156fda6cded20e8b5e4863650c7f2
CRs-Fixed: 774533
2018-04-14 16:50:40 -07:00
Rajeev Kumar
20bc080b98 qcacld-3.0: Compile out WMI non_tlv file from Kbuild
WMI non_tlv is not used for MCL targets and hence compile
out WMI non_tlv object file from Kbuild.

Change-Id: I0ee9376065dffb0f959ef8ba47435cc38a3d7d55
CRs-Fixed: 2216856
2018-04-14 16:50:40 -07:00
nshrivas
f3fac1b7c4 Release 5.2.0.73S
Release 5.2.0.73S

Change-Id: I432e85e310154b25101a324b6073f087a760302a
CRs-Fixed: 774533
2018-04-14 15:41:54 -07:00
Sravan Kumar Kairam
5a8c4ba2e2 qcacld-3.0: Update io smmu mapping to osdev
Update io smmu mapping to osdev during smmu map set up.

Change-Id: I639d4fb515d66c1bafab4303d97546b013fc2078
CRs-Fixed: 2223185
2018-04-14 15:41:53 -07:00
nshrivas
94a0a991d6 Release 5.2.0.73R
Release 5.2.0.73R

Change-Id: I22f41e6b489abb33cfaba9ac6a65028fdeb4a3a0
CRs-Fixed: 774533
2018-04-14 07:37:34 -07:00
Tushnim Bhattacharyya
7b5b137807 qcacld-3.0: Remove WLAN_AP_STA_CONCURRENCY feature flag
STA+SAP concurrency is a default feature now. Remove
WLAN_AP_STA_CONCURRENCY feature flag.

Change-Id: I1200fa57b27ded67b0a17aa9e43c88926a822034
CRs-Fixed: 2223507
2018-04-14 07:37:33 -07:00
Jeff Johnson
81132daa02 qcacld-3.0: Kbuild: Define CONFIG_FEATURE_SKB_PRE_ALLOC
Currently the switch -DFEATURE_SKB_PRE_ALLOC is inferred by examining
three different configuration options. In order to clearly separate
setting the configuration from applying the configuration create a new
CONFIG_FEATURE_SKB_PRE_ALLOC configuration parameter.

Change-Id: I301031a03fdae394748cf4cb6259044324eec6f1
CRs-Fixed: 2222914
2018-04-14 07:37:29 -07:00
Orhan K AKYILDIZ
15e2d83d23 qcacld-3.0: Fix a race btw tx and tx-compl
While handling a multi-segment TSO packet, there is a race condition
where, if tx complete arrives fast enough, the un-sent TSO segments
may be lost forever and a previously sent segment would be attempted
to be sent over.

Fix the race condition. Dont use the segment after send to go to the
next one.

Change-Id: I4abd9d26f50c749141925894a8845cf82df4d222
CRs-Fixed: 2168778
2018-04-14 07:37:26 -07:00
nshrivas
d9f72f1327 Release 5.2.0.73Q
Release 5.2.0.73Q

Change-Id: I4fbd8f9d3c29c09b6d4a2de60724cd43055d1da0
CRs-Fixed: 774533
2018-04-14 06:14:42 -07:00
Kiran Kumar Lokere
a006a3010f qcacld-3.0: Add support to configure HE LTF
Add support for configuring HE LTF.

Change-Id: Ieabe844729c32c47403a7c94864cb689fa7fb8aa
CRs-Fixed: 2201837
2018-04-14 06:14:41 -07:00
jinweic chen
5104601ba7 qcacld-3.0: fix non-linear data TX dma failed issue
Currently non-linear, non-tso TX data is not handled correctly,
only the non-tso, single linear data is supported. the frag paged
data in skb is missed while packet length for HW access
is entire packet length, HW DMA failed.

temporarily to linearize skb so that non-linear data could be TX
correctly.

Change-Id: Ic0f2b7a0b021ca190c870551a66181f50ae72c65
CRs-Fixed: 2180318
2018-04-14 06:14:38 -07:00
Rajeev Kumar
15b40a23a9 qcacld-3.0: Add CFG INI item to control various unit test features
Suspend/Resume unit test IOCTLs and other unit test features are only
enabled in defconfig debug builds and always disabled in production
builds. Add CFG INI item to disable these test IOCTLs even in defconfig
build such that by default on all build combinations unit test IOCTLs
are always disabled.

Change-Id: I71a63d2b85800b630d7c18eb77a3cffddcd66fbb
CRs-Fixed: 2221874
2018-04-14 06:14:36 -07:00
nshrivas
c31a26d44a Release 5.2.0.73P
Release 5.2.0.73P

Change-Id: I2978ff8bac570d58e3a490817fdbd43cfe6689c3
CRs-Fixed: 774533
2018-04-14 04:53:11 -07:00
Jeff Johnson
f20b4befc5 qcacld-3.0: Kbuild: Define CONFIG_FEATURE_WLAN_D0WOW
Currently the switch -DFEATURE_WLAN_D0WOW is inferred by examining two
different configuration options. In order to clearly separate setting
the configuration from applying the configuration create a new
CONFIG_FEATURE_WLAN_D0WOW configuration parameter.

Change-Id: Ie278011a309a18673eabb4bc4f8f8bb691815018
CRs-Fixed: 2222913
2018-04-14 04:53:10 -07:00
Arif Hussain
9e8c561b30 qcacld-3.0: Fix bss color event validation for false detection
Secondary bit map starts with color 32, So current color minus 31
will shift color bit beyond the expected position which is 0th,
Fix it by subtracting with 32 instead 31.

Change-Id: I7ede16faee129c42c71d490f653244398061a8b6
CRs-Fixed: 2222003
2018-04-14 04:53:07 -07:00
Padma, Santhosh Kumar
96086a6d52 qcacld-3.0: Fix use after free in sme_qos_del_ts_req
In sme_qos_del_ts_req, there is a chance that driver can access
del ts req pMsg even after free. In umac_send_mb_message_to_mac
driver frees pMsg if there is some failure. But driver still
tries to access pMsg in sme_qos_del_ts_req even if umac_send_mb_
message_to_mac returns failure.

Access pMsg only if umac_send_mb_message_to_mac returns success
to avoid this use after free issue.

Change-Id: I3638a38746b9cd917e01a7ff6f38430344e6e78d
CRs-Fixed: 2214718
2018-04-13 18:09:55 -07:00
Kabilan Kannan
33fcd68b5b qcacld-3.0: Add magic string for debug enhancement
Add magic string in the driver to automate the
stability analysis.

Change-Id: Id0294dfc46cfb07db61d80faf725bc17ef967de3
CRs-Fixed: 2205177
2018-04-13 18:09:51 -07:00
Pragaspathi Thilagaraj
78474348ae qcacld-3.0: Fix Use after free in wma_del_tdls_sta
The function wma_del_tdls_sta is used to process delete sta
request from UMAC in TDLS. peerStateParams is a pointer to the
structure tTdlsPeerStateParams. The memory allocated for
peerStateParams is freed in the call to the function
wma_update_tdls_peer_state(). When peerStateParams is used to
access vdev_id again after free, then a use after free case will
occur.

Retrieve the vdev_id value from the del_sta structure that is
passed into wma_del_tdls_sta initially.

Change-Id: Iad7edf87058bfc20aadc0e72d474b1c330790512
CRs-Fixed: 2216242
2018-04-13 18:09:48 -07:00
nshrivas
526c75f5f6 Release 5.2.0.73O
Release 5.2.0.73O

Change-Id: I0a9b8cf26f57bd1ca0deb43f897a562171d407ac
CRs-Fixed: 774533
2018-04-13 14:51:20 -07:00
Wu Gao
94488c28fb qcacld-3.0: Remove not used INI CFG
Cleanup not used INI configures. This is part of FR about WNI and INI
CFG.

Change-Id: I374e870610d79cc0d172ae126bfa70dc6d2db9a9
CRs-Fixed: 2206061
2018-04-13 14:51:19 -07:00
Wu Gao
301909c576 qcacld-3.0: Remove not used WNI in cfg.txt
Cleanup not used WNI CFG in cfg.txt. This is part of FR about WNI and
INI CFG.

Change-Id: Ib3e0c6be2c70144db300ebb27d07b23a126fdcd4
CRs-Fixed: 2208165
2018-04-13 14:51:15 -07:00
Wu Gao
8800cb17f1 qcacld-3.0: Remove not used WNI CFG
Cleanup not used WNI configures. This is part of FR about WNI and INI
CFG.

Change-Id: Iee92add09366188ccb5a6f2385d07758221f8d67
CRs-Fixed: 2206059
2018-04-13 14:51:12 -07:00
nshrivas
233dfacd74 Release 5.2.0.73N
Release 5.2.0.73N

Change-Id: I5f7da79d962d627749c48d17be877ed7685ad785
CRs-Fixed: 774533
2018-04-13 12:15:52 -07:00
gaurank kathpalia
63311d11a2 qcacld-3.0: Avoid disconnect timeout in try disconnect
If connection is in progress and new connection req is
received from supplicant, hdd tries to disconnect the
current session and post force disassoc command and wait
for it to get completed. If the current ongoing connect
operation fails and this force disassoc is processed as
sme session is in disconnected state it is silently
dropped and thus there is no event sent to the HDD
to stop the wait for disconnect and HDD wait for 5
sec before returning connect failure.

Fix this by Calling disconnect handler if, disconnect
with force dissoc is called in disconnected state

Change-Id: I3a78308b54fb048fba5a6aed3d8e8b193c371647
CRs-Fixed: 2223313
2018-04-13 12:15:51 -07:00
Jeff Johnson
84f243c437 qcacld-3.0: Kbuild: Define CONFIG_ENABLE_SMMU_S1_TRANSLATION
Currently the switch -DENABLE_SMMU_S1_TRANSLATION is inferred by
examining two different configuration options. In order to clearly
separate setting the configuration from applying the configuration
create a new CONFIG_ENABLE_SMMU_S1_TRANSLATION configuration
parameter.

Change-Id: Ibfa0cfbad5342895d90a32ddcf46a9d851253dcb
CRs-Fixed: 2222912
2018-04-13 12:15:48 -07:00
Jeff Johnson
fe6f0b0dc8 qcacld-3.0: Kbuild: Replace unnecessary references to CONFIG_ROME_IF
In Kbuild CONFIG_ROME_IF is used to calculate the interface used by
the WLAN hardware. Once this is determined, one of the boolean
CONFIG_HIF_[PCI|USB|SDIO|SNOC|...] variables is configured. In
anticipation of refactoring the Kbuild in a manner which will remove
the necessity of having CONFIG_ROME_IF, replace all tests of
CONFIG_ROME_IF with tests of CONFIG_HIF_* once the CONFIG_HIF_*
variables have been set.

Change-Id: If80d465500b6b99181d470fa6bff3dc8c20e4409
CRs-Fixed: 2222911
2018-04-13 12:15:45 -07:00
Jeff Johnson
8daf7687a2 qcacld-3.0: Kbuild: Define CONFIG_FEATURE_WLAN_WAPI
Currently WAPI support is being unconditionally enabled in the
driver. However support may not be required on all targets, so add a
configuration flag

Change-Id: I1344620d4cff38dc9d780c9a272d2de07a423e8d
CRs-Fixed: 2222910
2018-04-13 12:15:42 -07:00
nshrivas
36e192dc1b Release 5.2.0.73M
Release 5.2.0.73M

Change-Id: I6d725f44003f90b38909f13b4e049231bf531367
CRs-Fixed: 774533
2018-04-13 09:30:28 -07:00
Padma, Santhosh Kumar
c88de4811d qcacld-3.0: Hold wakelock till connection completion
There is a chance that kernel can trigger suspend while
connection in progress. If driver allows this suspend, this can
result in fw panic.

Specific scenario:
If driver allows suspend to go when it waits for probe response,
fw least expects suspend indication as fw is in vdev start state.
This unexpected suspend indication in vdev start state can cause
fw panic.

Hold wakelock till the completion of association to fix this issue.

Change-Id: I168ead2ab1ef4fff1d9af3f3142c82536c3f4798
CRs-Fixed: 2217140
2018-04-13 09:30:27 -07:00