mwifiex: add support to use basic rates in ibss join request
authorAmitkumar Karwar <akarwar@marvell.com>
Sat, 14 Jul 2012 03:09:32 +0000 (20:09 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Jul 2012 19:11:33 +0000 (15:11 -0400)
commit05910f4a222c602290a483f8fb2b0aa828d55c5b
tree7bf3cf92487c3d0cad7563258907ac27e3a43cae
parent006606c0bb387ed8d97bd9915b0b64efd7f84d0d
mwifiex: add support to use basic rates in ibss join request

In mwifiex_set_rf_channel() ibss specific flags were unnecessarily
getting modified for infra and AP mode. This patch removes
mwifiex_set_rf_channel() function and adds equivalant code in infra,
ibss and AP path.

For ibss, now we are chosing band based on channel type and basic
rates provided in ibss join request. We can start ibss network in
A only, B only, G only, BG, BGN, AN mode.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/mwifiex/init.c