]> 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)
commit75af9c22dc56e2fb130980bc8dee239cf67c3236
tree8742cda80ed3e983442cb64717829fcb6a63e601
parent3b514224d277b8e7ba46d464c5b3ea480140b360
mwifiex: update bss band information

In recent commit "mwifiex: use cfg80211 dynamic scan..."
(0541bbf923..) 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