Lines Matching defs:wpan_phy

19 struct wpan_phy;
35 struct net_device * (*add_virtual_intf_deprecated)(struct wpan_phy *wpan_phy,
39 void (*del_virtual_intf_deprecated)(struct wpan_phy *wpan_phy,
41 int (*suspend)(struct wpan_phy *wpan_phy);
42 int (*resume)(struct wpan_phy *wpan_phy);
43 int (*add_virtual_intf)(struct wpan_phy *wpan_phy,
48 int (*del_virtual_intf)(struct wpan_phy *wpan_phy,
50 int (*set_channel)(struct wpan_phy *wpan_phy, u8 page, u8 channel);
51 int (*set_cca_mode)(struct wpan_phy *wpan_phy,
53 int (*set_cca_ed_level)(struct wpan_phy *wpan_phy, s32 ed_level);
54 int (*set_tx_power)(struct wpan_phy *wpan_phy, s32 power);
55 int (*set_pan_id)(struct wpan_phy *wpan_phy,
57 int (*set_short_addr)(struct wpan_phy *wpan_phy,
59 int (*set_backoff_exponent)(struct wpan_phy *wpan_phy,
62 int (*set_max_csma_backoffs)(struct wpan_phy *wpan_phy,
65 int (*set_max_frame_retries)(struct wpan_phy *wpan_phy,
68 int (*set_lbt_mode)(struct wpan_phy *wpan_phy,
70 int (*set_ackreq_default)(struct wpan_phy *wpan_phy,
72 int (*trigger_scan)(struct wpan_phy *wpan_phy,
74 int (*abort_scan)(struct wpan_phy *wpan_phy,
76 int (*send_beacons)(struct wpan_phy *wpan_phy,
78 int (*stop_beacons)(struct wpan_phy *wpan_phy,
81 void (*get_llsec_table)(struct wpan_phy *wpan_phy,
84 void (*lock_llsec_table)(struct wpan_phy *wpan_phy,
86 void (*unlock_llsec_table)(struct wpan_phy *wpan_phy,
91 int (*get_llsec_params)(struct wpan_phy *wpan_phy,
94 int (*set_llsec_params)(struct wpan_phy *wpan_phy,
98 int (*add_llsec_key)(struct wpan_phy *wpan_phy,
102 int (*del_llsec_key)(struct wpan_phy *wpan_phy,
105 int (*add_seclevel)(struct wpan_phy *wpan_phy,
108 int (*del_seclevel)(struct wpan_phy *wpan_phy,
111 int (*add_device)(struct wpan_phy *wpan_phy,
114 int (*del_device)(struct wpan_phy *wpan_phy,
116 int (*add_devkey)(struct wpan_phy *wpan_phy,
120 int (*del_devkey)(struct wpan_phy *wpan_phy,
193 struct wpan_phy {
196 * know whether it points to a wpan_phy your driver has registered
198 * help determine whether you own this wpan_phy or not.
248 static inline struct net *wpan_phy_net(struct wpan_phy *wpan_phy)
250 return read_pnet(&wpan_phy->_net);
253 static inline void wpan_phy_net_set(struct wpan_phy *wpan_phy, struct net *net)
255 write_pnet(&wpan_phy->_net, net);
258 static inline bool ieee802154_chan_is_valid(struct wpan_phy *phy,
315 * @wpan_phy: the wpan phy on which to perform the scan
323 struct wpan_phy *wpan_phy;
336 * @wpan_phy: the wpan phy this was for
341 struct wpan_phy *wpan_phy;
449 struct wpan_phy *wpan_phy;
484 #define to_phy(_dev) container_of(_dev, struct wpan_phy, dev)
499 struct wpan_phy *
501 static inline void wpan_phy_set_dev(struct wpan_phy *phy, struct device *dev)
506 int wpan_phy_register(struct wpan_phy *phy);
507 void wpan_phy_unregister(struct wpan_phy *phy);
508 void wpan_phy_free(struct wpan_phy *phy);
510 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), void *data);
512 static inline void *wpan_phy_priv(struct wpan_phy *phy)
518 struct wpan_phy *wpan_phy_find(const char *str);
520 static inline void wpan_phy_put(struct wpan_phy *phy)
525 static inline const char *wpan_phy_name(struct wpan_phy *phy)
530 void ieee802154_configure_durations(struct wpan_phy *phy,