From df29a72a16b54ce337b80ccc1ca0389bc1f77a6f Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Fri, 3 Nov 2017 16:04:29 -0700 Subject: [PATCH] ath10k: Add 'no-ps' feature flag for 4.13 kernel. Saves us a warning splat. Signed-off-by: Ben Greear --- ath10k-4.13/core.c | 1 + ath10k-4.13/core.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ath10k-4.13/core.c b/ath10k-4.13/core.c index 65dfc5d..2456795 100644 --- a/ath10k-4.13/core.c +++ b/ath10k-4.13/core.c @@ -383,6 +383,7 @@ static const char *const ath10k_core_fw_feature_str[] = { [ATH10K_FW_FEATURE_BTCOEX_PARAM] = "btcoex-param", [ATH10K_FW_FEATURE_SKIP_NULL_FUNC_WAR] = "skip-null-func-war", [ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST] = "allows-mesh-bcast", + [ATH10K_FW_FEATURE_NO_PS] = "no-ps", [ATH10K_FW_FEATURE_WMI_10X_CT] = "wmi-10.x-CT", [ATH10K_FW_FEATURE_CT_RXSWCRYPT] = "rxswcrypt-CT", [ATH10K_FW_FEATURE_HAS_TXSTATUS_NOACK] = "txstatus-noack", diff --git a/ath10k-4.13/core.h b/ath10k-4.13/core.h index ae2271d..c0b4059 100644 --- a/ath10k-4.13/core.h +++ b/ath10k-4.13/core.h @@ -689,6 +689,9 @@ enum ath10k_fw_features { */ ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST = 16, + /* Firmware does not support power save in station mode. */ + ATH10K_FW_FEATURE_NO_PS = 17, + /* tx-status has the noack bits (CT firmware version 14 and higher ) */ ATH10K_FW_FEATURE_HAS_TXSTATUS_NOACK = 30,