summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-10-26 09:37:05 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-10-26 17:24:03 +0100
commitc20851035126cc1d97c337083f98b797eed155a3 (patch)
tree0580380e6c0925649e795b1821b483f65b87901c /include
parentdc67c6b30f36d57b70b70547a30e7a8432540c6f (diff)
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/mac802154.h b/include/net/mac802154.h
index ba8ddff70bb6..29af5c346ebf 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 */