]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: update bss band information
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 22 Sep 2011 04:43:23 +0000 (21:43 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Sep 2011 18:34:03 +0000 (14:34 -0400)
commitf1c269a081904a7ef744088fc06ebdf61124de91
tree8742cda80ed3e983442cb64717829fcb6a63e601
parent6e684f622e0dbe23f239309fee535b10b91bfb63
mwifiex: update bss band information

In recent commit "mwifiex: use cfg80211 dynamic scan..."
(e365f7696f..) scan table handling in driver is removed to
make use of cfg80211 dynamic scan table. Now driver sends
beacon buffers found in scanning directly to stack and parse
the buffer for requested BSS only during association.

Beacon buffer doesn't contain bss band information. Driver
gets it from firmware in separate tlv (chan_band_tlv).
Currently since we don't inform stack about bss bandinfo,
there is an issue with 5GHz association.

Use "priv" field of struct cfg80211_bss to store bandinfo.
This fixes 5GHz association issue.

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/main.h
drivers/net/wireless/mwifiex/scan.c
drivers/net/wireless/mwifiex/sta_ioctl.c