]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: determine chanspec from struct cfg80211_chan_def info
authorArend van Spriel <arend@broadcom.com>
Mon, 12 May 2014 08:47:39 +0000 (10:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 May 2014 19:56:52 +0000 (15:56 -0400)
commit296ef98988869e1f143054fa10e39b69a47c3e8d
tree3bb2726e406684298898e60288048fc2d4b92ea7
parent75eadad06fe84442ff3345fa6376820b5cb06a5f
brcmfmac: determine chanspec from struct cfg80211_chan_def info

The struct cfg80211_chan_def contains additional info to derive the
bandwidth and side-band information of the chanspec. This patch adds
chandef_to_chanspec() function used in IBSS join and starting AP
operation.

Reviewed-by: Franky Lin <frankyl@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c