mwifiex: use cfg80211 dynamic scan table and cfg80211_get_bss API
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 11 Aug 2011 01:53:57 +0000 (18:53 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 12 Aug 2011 17:45:05 +0000 (13:45 -0400)
commit7c6fa2a843c5ac0f8e3e4bf679cee9c93d5e3437
tree360b31141b176026c64631fc0a7a21c4aa3ea258
parent9af73cf7f356801e6e5837eb338d197de5c8f37c
mwifiex: use cfg80211 dynamic scan table and cfg80211_get_bss API

Instead of maintaining static scan table in driver, scan list is sent
to cfg80211 stack (after parsing each scan command response).
In assoc handler (for infra and ibss network) requested BSS information
is retrieved using cfg80211_get_bss() API.

With the changes above some redundant code are removed.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@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/fw.h
drivers/net/wireless/mwifiex/init.c
drivers/net/wireless/mwifiex/join.c
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/scan.c
drivers/net/wireless/mwifiex/sta_event.c
drivers/net/wireless/mwifiex/sta_ioctl.c