summaryrefslogtreecommitdiffstats
path: root/include/net/wpan-phy.h
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-09-22 15:26:48 +0400
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-06 14:23:41 +0300
commita0b4a738e0e03f5e0d6ca366560f9a48e5adf83a (patch)
tree8063be3ae88a2bef6377cdf913b2432d9805c48b /include/net/wpan-phy.h
parent375bb0e04b618d0c425b0ea492d16cf71eb94905 (diff)
downloadlinux-stable-a0b4a738e0e03f5e0d6ca366560f9a48e5adf83a.tar.gz
linux-stable-a0b4a738e0e03f5e0d6ca366560f9a48e5adf83a.tar.bz2
linux-stable-a0b4a738e0e03f5e0d6ca366560f9a48e5adf83a.zip
wpan-phy: allow specifying a per-page channel mask
IEEE 802.15.4-2006 defines channel pages that hold channels (max 32 pages, 27 channels per page). Allow the driver to specify supported channels on pages, other than the first one. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'include/net/wpan-phy.h')
-rw-r--r--include/net/wpan-phy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/wpan-phy.h b/include/net/wpan-phy.h
index 3367dd95cf85..7b7fc581e673 100644
--- a/include/net/wpan-phy.h
+++ b/include/net/wpan-phy.h
@@ -34,7 +34,7 @@ struct wpan_phy {
*/
u8 current_channel;
u8 current_page;
- u32 channels_supported;
+ u32 channels_supported[32];
u8 transmit_power;
u8 cca_mode;