mwifiex: disable channel filtering feature in firmware
authorAmitkumar Karwar <akarwar@marvell.com>
Mon, 25 Apr 2016 06:49:51 +0000 (23:49 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 27 Apr 2016 13:52:55 +0000 (16:52 +0300)
commit1b499cb72f26bbf44f2fa158c2d1487730aae96a
tree289bbcb0e7cd63095618c6efc8353d4b25569ba4
parentd286af9bf40ab88f2035aef293f6ecae4187c6bb
mwifiex: disable channel filtering feature in firmware

As 2.4Ghz channels are overlapping, sometimes AP responds to
probe request even if it's operating on neighbouring channel.
Currently firmware drops those scan entries, as current channel
doesn't match with APs channel.

This patch enables MWIFIEX_DISABLE_CHAN_FILT flag in scan
command to disable the feature so that better scan results
will be received in 2.4Ghz band.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/scan.c