From 7287bf478d1e4d35816c5574122844e24977aa68 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Thu, 30 Jun 2011 19:25:53 +0200 Subject: [PATCH] carl9170 firmware: enable 5GHZ PSM The issue with 5GHZ PSM has been identified and fixed in the previous commit (carl9170 firmware: fix time accouting). Introduce a new feature flag, so the driver can check for it. Signed-off-by: Christian Lamparter --- carlfw/src/fw.c | 1 + include/shared/fwdesc.h | 3 +++ tools/src/fwinfo.c | 1 + 3 files changed, 5 insertions(+) diff --git a/carlfw/src/fw.c b/carlfw/src/fw.c index b621813..00bf940 100644 --- a/carlfw/src/fw.c +++ b/carlfw/src/fw.c @@ -49,6 +49,7 @@ const struct carl9170_firmware_descriptor __section(fwdsc) carl9170fw_desc = { #ifdef CONFIG_CARL9170FW_RADIO_FUNCTIONS BIT(CARL9170FW_COMMAND_PHY) | BIT(CARL9170FW_PSM) | + BIT(CARL9170FW_FIXED_5GHZ_PSM) | #endif /* CONFIG_CARL9170FW_RADIO_FUNCTIONS */ #ifdef CONFIG_CARL9170FW_SECURITY_ENGINE BIT(CARL9170FW_COMMAND_CAM) | diff --git a/include/shared/fwdesc.h b/include/shared/fwdesc.h index a4769e9..7ba62bb 100644 --- a/include/shared/fwdesc.h +++ b/include/shared/fwdesc.h @@ -72,6 +72,9 @@ enum carl9170fw_feature_list { /* Wake up on WLAN */ CARL9170FW_WOL, + /* Firmware supports PSM in the 5GHZ Band */ + CARL9170FW_FIXED_5GHZ_PSM, + /* KEEP LAST */ __CARL9170FW_FEATURE_NUM }; diff --git a/tools/src/fwinfo.c b/tools/src/fwinfo.c index 90de575..5042978 100644 --- a/tools/src/fwinfo.c +++ b/tools/src/fwinfo.c @@ -66,6 +66,7 @@ static const struct feature_list known_otus_features_v1[] = { CHECK_FOR_FEATURE(CARL9170FW_PSM), CHECK_FOR_FEATURE(CARL9170FW_RX_FILTER), CHECK_FOR_FEATURE(CARL9170FW_WOL), + CHECK_FOR_FEATURE(CARL9170FW_FIXED_5GHZ_PSM), }; static void check_feature_list(const struct carl9170fw_desc_head *head, -- 2.31.1