Commit Graph

9758 Commits

Author SHA1 Message Date
Abhinav Kumar
a083f21918 qcacld-3.0: Add new ini to set delay Hand-off period
Add new ini item "ho_delay_for_rx" to set delay Hand-off
period. For LFR 3.0 roaming scenario, once roam candidate
is found, firmware waits for minimum this much duration
to receive pending rx frames from current BSS before
switching to new channel for handoff to new AP.

Change-Id: Ided9a81e9402259f5df6b42926b3fa336b6bb4d0
CRs-Fixed: 2221748
2018-04-16 16:56:50 -07:00
Kabilan Kannan
fc3a8c0631 qcacld-3.0: Block WMI cmds before issuing HTC stop
WMI cmds should be blocked, before calling HTC stop
to avoid the race condition in the system

Change-Id: I677c55cd96ea6af973595eec1e759641fbea109a
CRs-Fixed: 2193653
2018-04-16 16:56:47 -07:00
Jeff Johnson
2095d16daa qcacld-3.0: Kbuild: Cleanly featurize legacy TX flow control
Define a separate configuration option for legacy TX flow control and
use that option to set the associated ccflags macro.

Change-Id: Id14ac79280d3bf809c1e85bde4d5c7037a3ea766
CRs-Fixed: 2224629
2018-04-16 16:56:43 -07:00
Bala Venkatesh
82914ad371 qcacld-3.0: Remove DFS channels from scan list in case of MCC disallow
ACS in 5G channels for STA connected in 5G non DFS channel can result
SAP starting on DFS channel. Making MCC on DFS channel. This is
leading to FW panic if STA tries to roam during SAP is
detecting radar.

Avoid SAP starting on DFS channel if STA connected on 5G non DFS

Remove DFS channels from scan list before acs, if MCC is disllowed.
So, that DFS channel is not selectecd after acs.

Change-Id: I717309b81934852bfd93146b233db6f7fb03f252
CRs-Fixed: 2215332
2018-04-16 16:56:40 -07:00
Bala Venkatesh
f13b72897b qcacld-3.0: Check for SAP restart after channel switch
Race condition in STA connection and Channel switch of
Softap can result in MCC for STA+SAP scenario. Even
though Force SCC is enabled.

As part of STA connection in association handler SAP
restart is checked. If Channel Switch for SAP interface
is in progress at the same time. Then depending on SAP
Channel MCC can be resulted.
Check for SAP restart in the function hdd_hostapd_sap_event_cb.

Change-Id: Ic4ba8790d604f184eb8030e4fe06c5e76f9a62bd
CRs-Fixed: 2205482
2018-04-16 16:56:37 -07:00
nshrivas
514bd44116 Release 5.2.0.74
Release 5.2.0.74

Change-Id: Ic3ce8b26a2804c806c7a7dbc4671176e2252300e
CRs-Fixed: 774533
2018-04-16 15:16:16 -07:00
Abhinav Kumar
b638b5daee qcacld-3.0: Fix to allow ACS scan in dual band SAP mode
Currently, Logic to reject concurrent ACS scan is present
in Hdd context and variables for this context is common for
both softaps(softap1 and softap2). Due to this in case of dual
band SAP mode, if an ACS scan is in progress for softap1 then
driver rejects any ACS scan on softap2, which is not acceptable.
Fix is to move logic to reject concurrent ACS scan from
hdd context to adapter context.

Change-Id: I9d2b437523ef6ac5794e7952ac6cd35d1c2f778b
CRs-Fixed: 2206499
2018-04-16 15:16:16 -07:00
Himanshu Agarwal
3022b30e99 qcacld-3.0: Support BAND_ALL in case of ICM from HOST driver side
Whenever hw_mode=any is set in hostapd.conf, BAND_ALL is sent to
HOST driver from hostapd. ICM module doesn't support BAND_ALL
and so HOST driver internally changes the band to BAND_2G or BAND_5G
based on acs_freq_band and update the channel list and ch_width
accordingly.

ICM module supports BAND_ALL now so don't do any optimization on
band in HOST driver.

Change-Id: Ia0b554f72ba0d5063ff622edbe1fa7113b984142
CRs-Fixed: 2224675
2018-04-16 15:16:12 -07:00
nshrivas
90fd2034db Release 5.2.0.73Z
Release 5.2.0.73Z

Change-Id: I3e951004ebbc7012cfc96c05b718f78acdbcccf3
CRs-Fixed: 774533
2018-04-16 10:35:38 -07:00
Jeff Johnson
69ba6d082f qcacld-3.0: Kbuild: Set ccflags directly based on config item
Currently there are many cases where ccflags-y is set by logic:
 ifeq ($(CONFIG_FOO), y)
 ccflags-y += -DENABLE_FOO
 endif

In order to align with Linux style reduce such simple cases to:
 ccflags-$(CONFIG_FOO) += -DENABLE_FOO

Change-Id: Ibe700701d25c3a2944fa2f2eabf528b04b59bbdd
CRs-Fixed: 2223862
2018-04-16 10:35:37 -07:00
Jeff Johnson
b4e2d82f45 qcacld-3.0: Kbuild: Replace CDEFINES with ccflags-y
In order to more closely comply with Linux look and feel replace the
temporary variable CDEFINES with direct use of ccflags-y.

Change-Id: I801e61644f583ea213c9d699b318d328ae4ba1c2
CRs-Fixed: 2223861
2018-04-16 10:35:34 -07:00
Jeff Johnson
a63a9b6f96 qcacld-3.0: Kbuild: Create config items for "always on" switches
In preparation for fully file-driven configuration create config
items for (almost) all -D switches which are currently being set
unconditionally.

Change-Id: I067b13e11c9cdf3a0355c2e64ab3770088118afa
CRs-Fixed: 2223860
2018-04-16 10:35:30 -07:00
nshrivas
0bf398ab02 Release 5.2.0.73Y
Release 5.2.0.73Y

Change-Id: I122474e0b2d9f8f398a2bc9c970fdaa26be81ce5
CRs-Fixed: 774533
2018-04-16 08:48:00 -07:00
Liangwei Dong
8193551a89 qcacld-3.0: Fix get WLM setting failed
Add WLM setting to "csr_get_config_param"
to avoid the setting lost when set back by
csr_change_default_config_param.

Change-Id: I539a4a87f55365c701a7149784e92c60fb6c5383
CRs-Fixed: 2223340
2018-04-16 08:48:00 -07:00
nshrivas
d13634a800 Release 5.2.0.73X
Release 5.2.0.73X

Change-Id: I7b8ed8d223453bbcff4fd4932c72def9556c317e
CRs-Fixed: 774533
2018-04-16 05:50:20 -07:00
Pragaspathi Thilagaraj
71596f796d Revert "qcacld-3.0: Fix OOB write in wma_unified_debug_print_event_handler"
The change for the CR 2211133 caused compilation issue in LE
branches. This reverts commit with
change Id-I45943ae76d8fcf7b53e1f064c462d01cd6d00dcf

Change-Id: I069f1a4ae8ad320f5a073ee072dd772e05c5fc5d
CRs-Fixed: 2222536
2018-04-16 05:50:19 -07:00
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