ieee820154: add lbt setting support

This patch adds support for setting listen before transmit mode via
nl802154 framework.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Alexander Aring
2014-11-12 03:37:05 +01:00
committed by Marcel Holtmann
parent f426fd03da
commit c8937a1d11
4 changed files with 50 additions and 0 deletions

View File

@@ -51,6 +51,8 @@ struct cfg802154_ops {
int (*set_max_frame_retries)(struct wpan_phy *wpan_phy,
struct wpan_dev *wpan_dev,
s8 max_frame_retries);
int (*set_lbt_mode)(struct wpan_phy *wpan_phy,
struct wpan_dev *wpan_dev, bool mode);
};
struct wpan_phy {