summaryrefslogtreecommitdiff
path: root/include/net/cfg802154.h
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-11-12 05:37:03 +0300
committerMarcel Holtmann <marcel@holtmann.org>2014-11-12 07:10:42 +0300
commit17a3a46bfbf1c2b944812a81b11ffe255a55e9ca (patch)
treea229bdacee6bfebd328a00885e30450976481b7e /include/net/cfg802154.h
parent17561bfe6fe2cde8699b6c98d9078dfa3e36911d (diff)
downloadlinux-17a3a46bfbf1c2b944812a81b11ffe255a55e9ca.tar.xz
ieee820154: add max frame retries setting support
This patch add support for setting mac frame retries setting via nl802154 framework. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/cfg802154.h')
-rw-r--r--include/net/cfg802154.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h
index 79b9ae0abb3b..5c3bc12706c2 100644
--- a/include/net/cfg802154.h
+++ b/include/net/cfg802154.h
@@ -48,6 +48,9 @@ struct cfg802154_ops {
int (*set_max_csma_backoffs)(struct wpan_phy *wpan_phy,
struct wpan_dev *wpan_dev,
u8 max_csma_backoffs);
+ int (*set_max_frame_retries)(struct wpan_phy *wpan_phy,
+ struct wpan_dev *wpan_dev,
+ s8 max_frame_retries);
};
struct wpan_phy {