aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/microchip/wilc1000/wlan_cfg.c
diff options
context:
space:
mode:
authorAjay Singh <[email protected]>2021-09-16 16:49:18 +0000
committerKalle Valo <[email protected]>2021-09-21 15:08:15 +0000
commit0ec5408cd44855956f7741bd776f44db167801b7 (patch)
treef4665aa345b9378e1423674084c2f2035a1ffd91 /drivers/net/wireless/microchip/wilc1000/wlan_cfg.c
parentwilc1000: fix possible memory leak in cfg_scan_result() (diff)
downloadkernel-0ec5408cd44855956f7741bd776f44db167801b7.tar.gz
kernel-0ec5408cd44855956f7741bd776f44db167801b7.zip
wilc1000: add new WID to pass wake_enable information to firmware
Add new WID(WID_WOWLAN_TRIGGER) to send wake_enable information to firmware. In 'set_wakeup' cfg80211_ops callback, the enable information was not passed to firmware which is required to handle WOWLan trigger notification from firmware. Signed-off-by: Ajay Singh <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/net/wireless/microchip/wilc1000/wlan_cfg.c')
-rw-r--r--drivers/net/wireless/microchip/wilc1000/wlan_cfg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/microchip/wilc1000/wlan_cfg.c b/drivers/net/wireless/microchip/wilc1000/wlan_cfg.c
index fe2a7ed8e5cd..dba301378b7f 100644
--- a/drivers/net/wireless/microchip/wilc1000/wlan_cfg.c
+++ b/drivers/net/wireless/microchip/wilc1000/wlan_cfg.c
@@ -22,6 +22,7 @@ static const struct wilc_cfg_byte g_cfg_byte[] = {
{WID_STATUS, 0},
{WID_RSSI, 0},
{WID_LINKSPEED, 0},
+ {WID_WOWLAN_TRIGGER, 0},
{WID_NIL, 0}
};