diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-10-28 13:21:23 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-10-28 18:19:07 -0400 |
commit | a543c5989d7711d984608f4e12a73218642ca865 (patch) | |
tree | 2a0613d1873fbd5d37de7c330430309ddfc72e1c /include/net/cfg802154.h | |
parent | e1d299f61a1660cbbabccfa0d07421861b9b9711 (diff) |
mac802154: remove driver ops in wpan-phy
This patch removes the driver ops callbacks inside of wpan_phy struct.
It was used to check if a phy supports this driver ops call. We do this
now via hardware flags.
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.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h index 5c674673ef20..440b9bece9c6 100644 --- a/include/net/cfg802154.h +++ b/include/net/cfg802154.h | |||
@@ -57,14 +57,6 @@ struct wpan_phy { | |||
57 | const char *name, int type); | 57 | const char *name, int type); |
58 | void (*del_iface)(struct wpan_phy *phy, struct net_device *dev); | 58 | void (*del_iface)(struct wpan_phy *phy, struct net_device *dev); |
59 | 59 | ||
60 | int (*set_txpower)(struct wpan_phy *phy, int db); | ||
61 | int (*set_lbt)(struct wpan_phy *phy, bool on); | ||
62 | int (*set_cca_mode)(struct wpan_phy *phy, u8 cca_mode); | ||
63 | int (*set_cca_ed_level)(struct wpan_phy *phy, int level); | ||
64 | int (*set_csma_params)(struct wpan_phy *phy, u8 min_be, u8 max_be, | ||
65 | u8 retries); | ||
66 | int (*set_frame_retries)(struct wpan_phy *phy, s8 retries); | ||
67 | |||
68 | char priv[0] __aligned(NETDEV_ALIGN); | 60 | char priv[0] __aligned(NETDEV_ALIGN); |
69 | }; | 61 | }; |
70 | 62 | ||