summaryrefslogtreecommitdiffstats
path: root/net/mac802154/mac802154.h
diff options
context:
space:
mode:
authoralex.bluesman.smirnov@gmail.com2012-05-15 22:50:22 +0200
committerDavid S. Miller2012-05-16 21:16:49 +0200
commit5b641ebeec348761c9ebac9454c672d4d2d3ef91 (patch)
tree75cec47761ebbc97e0f35ac5c2a1a97eb332425b /net/mac802154/mac802154.h
parentmac802154: RX data path (diff)
downloadkernel-qcow2-linux-5b641ebeec348761c9ebac9454c672d4d2d3ef91.tar.gz
kernel-qcow2-linux-5b641ebeec348761c9ebac9454c672d4d2d3ef91.tar.xz
kernel-qcow2-linux-5b641ebeec348761c9ebac9454c672d4d2d3ef91.zip
mac802154: TX data path
Main TX data path implementation between upper and physical layers. Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac802154/mac802154.h')
-rw-r--r--net/mac802154/mac802154.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/mac802154/mac802154.h b/net/mac802154/mac802154.h
index 980d0a24040e..4f2d97506c6a 100644
--- a/net/mac802154/mac802154.h
+++ b/net/mac802154/mac802154.h
@@ -60,4 +60,9 @@ struct mac802154_priv {
#define mac802154_to_priv(_hw) container_of(_hw, struct mac802154_priv, hw)
+#define MAC802154_MAX_XMIT_ATTEMPTS 3
+
+netdev_tx_t mac802154_tx(struct mac802154_priv *priv, struct sk_buff *skb,
+ u8 page, u8 chan);
+
#endif /* MAC802154_H */