]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/net/wpan-phy.h
Merge tag 'stable/for-linus-3.5-rc0-tag' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / include / net / wpan-phy.h
index efd6749e392b399117399afed88cd38f656c4135..b52bda8d13b183a953b88cb90700a1ee8cf08e23 100644 (file)
 #include <linux/mutex.h>
 #include <linux/bug.h>
 
+/* According to the IEEE 802.15.4 stadard the upper most significant bits of
+ * the 32-bit channel bitmaps shall be used as an integer value to specify 32
+ * possible channel pages. The lower 27 bits of the channel bit map shall be
+ * used as a bit mask to specify channel numbers within a channel page.
+ */
+#define WPAN_NUM_CHANNELS      27
+#define WPAN_NUM_PAGES         32
+
 struct wpan_phy {
        struct mutex pib_lock;