]> git.karo-electronics.de Git - linux-beck.git/commit
brcmfmac: add function converting ieee80211_channel to chanspec
authorArend van Spriel <arend@broadcom.com>
Mon, 22 Oct 2012 17:36:22 +0000 (10:36 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Oct 2012 19:28:26 +0000 (15:28 -0400)
commit6e186166ea0259f7ef9cb2393317126003c13680
tree6949d78775f245e273a33d63f99aeef1dfef65d9
parentec5a07d5c4a830f5339d7a808e20562e037059d1
brcmfmac: add function converting ieee80211_channel to chanspec

The firmware carries channel information in a different format
as the provided ieee80211_channel structure. Conversion is needed
when receiving requests from cfg80211 carrying ieee80211_channel
structures. This patch adds a utility function to do that.

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