Skip to content

Commit

Permalink
ath10k: Add 'no-ps' feature flag for 4.13 kernel.
Browse files Browse the repository at this point in the history
Saves us a warning splat.

Signed-off-by: Ben Greear <greearb@candelatech.com>
  • Loading branch information
greearb committed Nov 3, 2017
1 parent 3f705d3 commit df29a72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions ath10k-4.13/core.c
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions ath10k-4.13/core.h
Expand Up @@ -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,

Expand Down

0 comments on commit df29a72

Please sign in to comment.