mwifiex: support random MAC address for scanning
authorGanapathi Bhat <gbhat@marvell.com>
Mon, 25 Jul 2016 15:51:07 +0000 (21:21 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 3 Sep 2016 09:57:15 +0000 (12:57 +0300)
commitc2a8f0ff9c6ca8d04adb68b7959a56a3cbb665b3
treefe3b449ec195456065329a267226a12031c92889
parentc8ccf3ade7851054f82bf88f5fcd393a394038a3
mwifiex: support random MAC address for scanning

This patch advertises RANDOM_MAC_ADDR feature to cfg80211. It allow the
application to issue scan with a MAC address and mask. Random MACs are
generated and used in probe requests sent for scanning until it is changed
by the application or device is restarted.

Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@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/main.h
drivers/net/wireless/marvell/mwifiex/scan.c