qcacld-3.0: Allow to vote link for STA mode

On MDM platforms, STA only IPA offload is supported.
Therefore there'll be scenarios when STA is connected
and APPS is suspended, IPA offload traffic will still
flow through WLAN HW.

Thus define a feature flag FEATURE_STA_MODE_VOTE_LINK
and allow to vote link for STA mode on MDM platforms.

Change-Id: I5c7aa3b35e3cd56249a5b34996fcea538b0da69d
CRs-Fixed: 2803802
Этот коммит содержится в:
Jia Ding
2020-11-03 15:13:53 +08:00
коммит произвёл snandini
родитель c7d5c4a52f
Коммит e6afd40dd6
3 изменённых файлов: 28 добавлений и 0 удалений

2
Kbuild
Просмотреть файл

@@ -3714,6 +3714,8 @@ ifeq ($(CONFIG_FEATURE_IPA_PIPE_CHANGE_WDI1), y)
cppflags-y += -DFEATURE_IPA_PIPE_CHANGE_WDI1
endif
cppflags-$(CONFIG_FEATURE_STA_MODE_VOTE_LINK) += -DFEATURE_STA_MODE_VOTE_LINK
KBUILD_CPPFLAGS += $(cppflags-y)
# Currently, for versions of gcc which support it, the kernel Makefile