]> git.karo-electronics.de Git - linux-beck.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)
commit600a897d811d0a0033212a0cefcbc9d06d1bc57d
tree3bb2726e406684298898e60288048fc2d4b92ea7
parentee942ecc42af9af0f0398861f636019f9726755b
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