ieee802154: add support for channel pages from IEEE 802.15.4-2006
IEEE 802.15.4-2006 adds new concept: channel pages, which can contain several channels. Add support for channel pages in the API and in the fakehard driver. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
This commit is contained in:
@@ -80,7 +80,7 @@ static inline int mac_cb_type(struct sk_buff *skb)
|
||||
struct ieee802154_mlme_ops {
|
||||
int (*assoc_req)(struct net_device *dev,
|
||||
struct ieee802154_addr *addr,
|
||||
u8 channel, u8 cap);
|
||||
u8 channel, u8 page, u8 cap);
|
||||
int (*assoc_resp)(struct net_device *dev,
|
||||
struct ieee802154_addr *addr,
|
||||
u16 short_addr, u8 status);
|
||||
@@ -89,10 +89,10 @@ struct ieee802154_mlme_ops {
|
||||
u8 reason);
|
||||
int (*start_req)(struct net_device *dev,
|
||||
struct ieee802154_addr *addr,
|
||||
u8 channel, u8 bcn_ord, u8 sf_ord,
|
||||
u8 channel, u8 page, u8 bcn_ord, u8 sf_ord,
|
||||
u8 pan_coord, u8 blx, u8 coord_realign);
|
||||
int (*scan_req)(struct net_device *dev,
|
||||
u8 type, u32 channels, u8 duration);
|
||||
u8 type, u32 channels, u8 page, u8 duration);
|
||||
|
||||
/*
|
||||
* FIXME: these should become the part of PIB/MIB interface.
|
||||
|
Reference in New Issue
Block a user