mac802154: add get short address method
Add method to get the device short 802.15.4 address. This call needed by ieee802154 layer to satisfy 'iz list' request from the user space. Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
5b00f2eef3
commit
e885a47a47
@@ -109,6 +109,7 @@ netdev_tx_t mac802154_tx(struct mac802154_priv *priv, struct sk_buff *skb,
|
||||
|
||||
/* MIB callbacks */
|
||||
void mac802154_dev_set_short_addr(struct net_device *dev, u16 val);
|
||||
u16 mac802154_dev_get_short_addr(const struct net_device *dev);
|
||||
void mac802154_dev_set_ieee_addr(struct net_device *dev);
|
||||
u16 mac802154_dev_get_pan_id(const struct net_device *dev);
|
||||
void mac802154_dev_set_pan_id(struct net_device *dev, u16 val);
|
||||
|
Reference in New Issue
Block a user