carl9170 firmware: add option to silence MAC RESET notifications
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 5 Mar 2011 23:22:38 +0000 (00:22 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Thu, 10 Mar 2011 01:47:15 +0000 (02:47 +0100)
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/Kconfig
carlfw/src/wlan.c

index 68e7773656e3ef0815733ba29bec225be1bb49f3..18d09586f583695f018972a4d827f3b688967d90 100644 (file)
@@ -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"
index 03536e07b6eeb5f48d184dd4a810475951b745f8..ff074e3982ee3451c16ec73492e809e8c73b34ad 100644 (file)
@@ -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);