diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-10-26 08:37:05 (GMT) |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-10-26 16:24:03 (GMT) |
commit | c20851035126cc1d97c337083f98b797eed155a3 (patch) | |
tree | 0580380e6c0925649e795b1821b483f65b87901c /include | |
parent | dc67c6b30f36d57b70b70547a30e7a8432540c6f (diff) | |
download | linux-c20851035126cc1d97c337083f98b797eed155a3.tar.xz |
mac802154: add netdev qeue helpers
This patch adds a new file net/mac802154/util.c which contains utility
functions for drivers, etc. This file contains functions to start and
stop queues for all virtual interfaces, this is useful for asynchronous
handling by driver level.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/mac802154.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/mac802154.h b/include/net/mac802154.h index ba8ddff..29af5c3 100644 --- a/include/net/mac802154.h +++ b/include/net/mac802154.h @@ -190,4 +190,8 @@ void ieee802154_unregister_hw(struct ieee802154_hw *hw); void ieee802154_rx_irqsafe(struct ieee802154_hw *hw, struct sk_buff *skb, u8 lqi); +void ieee802154_wake_queue(struct ieee802154_hw *hw); +void ieee802154_stop_queue(struct ieee802154_hw *hw); +void ieee802154_xmit_complete(struct ieee802154_hw *hw, struct sk_buff *skb); + #endif /* NET_MAC802154_H */ |