]> git.openpandora.org Git - pandora-kernel.git/commitdiff
mac802154: add netdev qeue helpers
authorAlexander Aring <alex.aring@gmail.com>
Sun, 26 Oct 2014 08:37:05 +0000 (09:37 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 26 Oct 2014 16:24:03 +0000 (17:24 +0100)
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>
include/net/mac802154.h
net/mac802154/Makefile
net/mac802154/util.c [new file with mode: 0644]

index ba8ddff70bb66a9ce831e592ce67cb5cf75b6f63..29af5c346ebfbcfebabb133fd5eaf3b25b944ad1 100644 (file)
@@ -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 */
Simple merge
Simple merge