summaryrefslogtreecommitdiffstats
path: root/include/net/wpan-phy.h
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-09-22 13:26:48 +0200
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-06 12:23:41 +0100
commita0b4a738e0e03f5e0d6ca366560f9a48e5adf83a (patch)
tree8063be3ae88a2bef6377cdf913b2432d9805c48b /include/net/wpan-phy.h
parentwpan-phy: use snprintf to limit the amount of chars written (diff)
downloadlinux-a0b4a738e0e03f5e0d6ca366560f9a48e5adf83a.tar.xz
linux-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;