mwifiex: skip sending GT_REKEY_OFFLOAD_CFG if firmware has no support
authorGanapathi Bhat <gbhat@marvell.com>
Fri, 25 May 2018 20:39:22 +0000 (02:09 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 May 2018 07:23:50 +0000 (10:23 +0300)
commitae30bdaa4c2747e96c880d909b48484f41bfd51d
treeae098d0dffa5b62e51124cb5e28b6d5cfd98f140
parentb817047ae70c0bd67b677b65d0d69d72cd6e9728
mwifiex: skip sending GT_REKEY_OFFLOAD_CFG if firmware has no support

If firmware does not support embedded supplicant, then it in turn
will not support GT rekey offloading. If this is the case, then
driver must not advertise WOWLAN flags related to GTK rekey and
it must also skip sending the GT_REKEY_OFFLOAD_CFG command.

Signed-off-by: Shrenik Shikhare <shrenik@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c
drivers/net/wireless/marvell/mwifiex/fw.h
drivers/net/wireless/marvell/mwifiex/sta_event.c