diff options
author | Arend van Spriel <arend@broadcom.com> | 2014-05-12 12:47:34 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-05-13 23:56:49 +0400 |
commit | 4439cbcd37a9dc2c4e976259cd2962956985d58d (patch) | |
tree | 8b50b3988a3d3b96697e80a4a282b886cae312d0 /drivers/net/wireless/brcm80211/include/brcmu_wifi.h | |
parent | a9a56878a7db16f9749030385b00604189a8bc7e (diff) | |
download | linux-4439cbcd37a9dc2c4e976259cd2962956985d58d.tar.xz |
brcm80211: extend channel conversion functions for 80MHz support
The channel values used by firmware is handled using conversion functions
depending on the type of chip. These functions were already in place but
lacked proper support for 80MHz channel definitions. This patch adds the
support for that.
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/include/brcmu_wifi.h')
-rw-r--r-- | drivers/net/wireless/brcm80211/include/brcmu_wifi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/brcm80211/include/brcmu_wifi.h b/drivers/net/wireless/brcm80211/include/brcmu_wifi.h index 74419d4bd123..76b5d3a86294 100644 --- a/drivers/net/wireless/brcm80211/include/brcmu_wifi.h +++ b/drivers/net/wireless/brcm80211/include/brcmu_wifi.h @@ -29,6 +29,7 @@ #define CH_UPPER_SB 0x01 #define CH_LOWER_SB 0x02 #define CH_EWA_VALID 0x04 +#define CH_30MHZ_APART 6 #define CH_20MHZ_APART 4 #define CH_10MHZ_APART 2 #define CH_5MHZ_APART 1 /* 2G band channels are 5 Mhz apart */ |