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 <chunkeey@googlemail.com>
#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) |
/* Wake up on WLAN */
CARL9170FW_WOL,
+ /* Firmware supports PSM in the 5GHZ Band */
+ CARL9170FW_FIXED_5GHZ_PSM,
+
/* KEEP LAST */
__CARL9170FW_FEATURE_NUM
};
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,