linux/net/mac802154/driver-ops.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __MAC802154_DRIVER_OPS
#define __MAC802154_DRIVER_OPS

#include <linux/types.h>
#include <linux/rtnetlink.h>

#include <net/mac802154.h>

#include "ieee802154_i.h"
#include "trace.h"

static inline int
drv_xmit_async(struct ieee802154_local *local, struct sk_buff *skb)
{}

static inline int
drv_xmit_sync(struct ieee802154_local *local, struct sk_buff *skb)
{}

static inline int drv_set_pan_id(struct ieee802154_local *local, __le16 pan_id)
{}

static inline int
drv_set_extended_addr(struct ieee802154_local *local, __le64 extended_addr)
{}

static inline int
drv_set_short_addr(struct ieee802154_local *local, __le16 short_addr)
{}

static inline int
drv_set_pan_coord(struct ieee802154_local *local, bool is_coord)
{}

static inline int
drv_set_promiscuous_mode(struct ieee802154_local *local, bool on)
{}

static inline int drv_start(struct ieee802154_local *local,
			    enum ieee802154_filtering_level level,
			    const struct ieee802154_hw_addr_filt *addr_filt)
{}

static inline void drv_stop(struct ieee802154_local *local)
{}

static inline int
drv_set_channel(struct ieee802154_local *local, u8 page, u8 channel)
{}

static inline int drv_set_tx_power(struct ieee802154_local *local, s32 mbm)
{}

static inline int drv_set_cca_mode(struct ieee802154_local *local,
				   const struct wpan_phy_cca *cca)
{}

static inline int drv_set_lbt_mode(struct ieee802154_local *local, bool mode)
{}

static inline int
drv_set_cca_ed_level(struct ieee802154_local *local, s32 mbm)
{}

static inline int
drv_set_csma_params(struct ieee802154_local *local, u8 min_be, u8 max_be,
		    u8 max_csma_backoffs)
{}

static inline int
drv_set_max_frame_retries(struct ieee802154_local *local, s8 max_frame_retries)
{}

#endif /* __MAC802154_DRIVER_OPS */