default 16384 if CARL9170FW_RX_FRAME_LEN_16384
default 32768 if CARL9170FW_RX_FRAME_LEN_32768
-config CARL9170FW_WATCHDOG
- def_bool y
- prompt "Activate HW Watchdog"
- ---help---
- The watchdog will notify the application as soon as the firmware
- has stalled.
-
- Say Y.
-
config CARL9170FW_GPIO_INTERRUPT
def_bool y
prompt "GPIO Software Interrupt"
config CARL9170FW_WATCHDOG_BUTTON
def_bool n
- depends on CARL9170FW_BROKEN && CARL9170FW_WATCHDOG && CARL9170FW_GPIO_INTERRUPT
+ depends on CARL9170FW_BROKEN && CARL9170FW_GPIO_INTERRUPT
prompt "Trigger Watchdog by pressing the WPS button"
choice CARL9170FW_UART_CLOCK
orl(AR9170_MAC_REG_AFTER_PNP, 1);
/* Init watch dog control flag */
-#ifdef CONFIG_CARL9170FW_WATCHDOG
fw.watchdog_enable = 1;
set(AR9170_TIMER_REG_WATCH_DOG, AR9170_WATCH_DOG_TIMER);
-#else
- fw.watchdog_enable = 0;
- set(AR9170_TIMER_REG_WATCH_DOG, 0xffff);
-#endif /* CONFIG_CARL9170FW_WATCHDOG */
#ifdef CONFIG_CARL9170FW_GPIO_INTERRUPT
fw.cached_gpio_state.gpio = get(AR9170_GPIO_REG_PORT_DATA) &