On Tue, Sep 26, 2017 at 3:29 PM, Kalle Valo <kvalo@xxxxxxxxxxxxxx> wrote: > Amitkumar Karwar <amitkarwar@xxxxxxxxx> writes: > >> From: Karun Eagalapati <karun256@xxxxxxxxx> >> >> WoWLAN is supported in RS9113 device through GPIO pin2. >> wowlan config frame is internally sent to firmware in mac80211 >> suspend handler. Also beacon miss threshold and keep-alive time >> values are increased to avoid un-necessary disconnection with AP. >> >> Signed-off-by: Karun Eagalapati <karun256@xxxxxxxxx> >> Signed-off-by: Amitkumar Karwar <amit.karwar@xxxxxxxxxxxxxxxxxx> >> --- >> drivers/net/wireless/rsi/Kconfig | 7 ++ >> drivers/net/wireless/rsi/rsi_91x_core.c | 9 +- >> drivers/net/wireless/rsi/rsi_91x_mac80211.c | 125 ++++++++++++++++++++++++++++ >> drivers/net/wireless/rsi/rsi_91x_mgmt.c | 66 +++++++++++++-- >> drivers/net/wireless/rsi/rsi_91x_sdio.c | 11 +++ >> drivers/net/wireless/rsi/rsi_common.h | 3 + >> drivers/net/wireless/rsi/rsi_main.h | 12 ++- >> drivers/net/wireless/rsi/rsi_mgmt.h | 37 +++++++- >> 8 files changed, 258 insertions(+), 12 deletions(-) >> >> diff --git a/drivers/net/wireless/rsi/Kconfig b/drivers/net/wireless/rsi/Kconfig >> index 7c5e4ca..0882b4e 100644 >> --- a/drivers/net/wireless/rsi/Kconfig >> +++ b/drivers/net/wireless/rsi/Kconfig >> @@ -42,4 +42,11 @@ config RSI_USB >> This option enables the USB bus support in rsi drivers. >> Select M (recommended), if you have a RSI 1x1 wireless module. >> >> +config RSI_WOW >> + bool "Redpine Signals WOWLAN support" >> + depends on RSI_SDIO && RSI_91X >> + default y >> + ---help--- >> + Say Y, if you would like to enable wowlan support for RSI module. > > This adds a lot of ifdefs to the code. Is the Kconfig option really > needed? Thanks for the review. Kconfig option can be removed. I will get rid of it. Regards, Amitkumar Karwar