From: Christian Lamparter Date: Sat, 5 Mar 2011 23:22:38 +0000 (+0100) Subject: carl9170 firmware: add option to silence MAC RESET notifications X-Git-Tag: 1.9.4~26^2~5 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=7cb1a2fccddb29f3479d92ab6532aa8dd728fb78;p=carl9170fw.git carl9170 firmware: add option to silence MAC RESET notifications Signed-off-by: Christian Lamparter --- diff --git a/carlfw/Kconfig b/carlfw/Kconfig index 68e7773..18d0958 100644 --- a/carlfw/Kconfig +++ b/carlfw/Kconfig @@ -160,6 +160,11 @@ config CARL9170FW_FW_MAC_RESET prompt "Firmware MAC Chip recovery" depends on CARL9170FW_EXPERIMENTAL +config CARL9170FW_NOISY_MAC_RESET + def_bool n + prompt "Notify MAC RESET events" + depends on CARL9170FW_FW_MAC_RESET + config CARL9170FW_BROKEN_FEATURES def_bool n prompt "Broken Featurs" diff --git a/carlfw/src/wlan.c b/carlfw/src/wlan.c index 03536e0..ff074e3 100644 --- a/carlfw/src/wlan.c +++ b/carlfw/src/wlan.c @@ -1181,7 +1181,9 @@ static void wlan_mac_reset(void) uint32_t rx_BB; #endif /* CONFIG_CARL9170FW_RADIO_FUNCTIONS */ +#ifdef CONFIG_CARL9170FW_NOISY_MAC_RESET INFO("MAC RESET"); +#endif /* CONFIG_CARL9170FW_NOISY_MAC_RESET */ /* Save aggregation parameters */ agg_wait_counter = get(AR9170_MAC_REG_AMPDU_FACTOR);