summaryrefslogtreecommitdiffstats
path: root/net/mac802154/mac802154.h
diff options
context:
space:
mode:
authorAlan Ott <alan@signal11.us>2013-04-03 06:00:55 +0200
committerDavid S. Miller <davem@davemloft.net>2013-04-07 23:06:43 +0200
commit7dd43d356e739ea0fbeb832722fec36ba4e47540 (patch)
treec33ac6630cf6b107e4faf79706fc252118a0381c /net/mac802154/mac802154.h
parentsctp: fix error return code in __sctp_connect() (diff)
downloadlinux-7dd43d356e739ea0fbeb832722fec36ba4e47540.tar.xz
linux-7dd43d356e739ea0fbeb832722fec36ba4e47540.zip
mac802154: Do not try to resend failed packets
When ops->xmit() fails, drop the packet. Devices which support hardware ack and retry (which include all devices currently supported by mainline), will automatically retry sending the packet (in the hardware) up to 3 times, per the 802.15.4 spec. There is no need, and it is incorrect to try to do it in mac802154. Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac802154/mac802154.h')
-rw-r--r--net/mac802154/mac802154.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac802154/mac802154.h b/net/mac802154/mac802154.h
index 21fa386f4675..5c9e021994ba 100644
--- a/net/mac802154/mac802154.h
+++ b/net/mac802154/mac802154.h
@@ -88,8 +88,6 @@ struct mac802154_sub_if_data {
#define mac802154_to_priv(_hw) container_of(_hw, struct mac802154_priv, hw)
-#define MAC802154_MAX_XMIT_ATTEMPTS 3
-
#define MAC802154_CHAN_NONE (~(u8)0) /* No channel is assigned */
extern struct ieee802154_reduced_mlme_ops mac802154_mlme_reduced;