/linux-6.3-rc2/include/net/ |
A D | cfg802154.h | 41 int (*suspend)(struct wpan_phy *wpan_phy); 42 int (*resume)(struct wpan_phy *wpan_phy); 51 int (*set_cca_mode)(struct wpan_phy *wpan_phy, 55 int (*set_pan_id)(struct wpan_phy *wpan_phy, 68 int (*set_lbt_mode)(struct wpan_phy *wpan_phy, 74 int (*abort_scan)(struct wpan_phy *wpan_phy, 111 int (*add_device)(struct wpan_phy *wpan_phy, 114 int (*del_device)(struct wpan_phy *wpan_phy, 319 struct wpan_phy *wpan_phy; member 337 struct wpan_phy *wpan_phy; member [all …]
|
A D | mac802154.h | 83 struct wpan_phy *phy;
|
A D | ieee802154_netdev.h | 357 struct wpan_phy;
|
/linux-6.3-rc2/net/mac802154/ |
A D | cfg.c | 18 ieee802154_add_iface_deprecated(struct wpan_phy *wpan_phy, in ieee802154_add_iface_deprecated() argument 42 static int ieee802154_suspend(struct wpan_phy *wpan_phy) in ieee802154_suspend() argument 60 static int ieee802154_resume(struct wpan_phy *wpan_phy) in ieee802154_resume() argument 132 ieee802154_set_cca_mode(struct wpan_phy *wpan_phy, in ieee802154_set_cca_mode() argument 205 ieee802154_set_backoff_exponent(struct wpan_phy *wpan_phy, in ieee802154_set_backoff_exponent() argument 259 ieee802154_set_ackreq_default(struct wpan_phy *wpan_phy, in ieee802154_set_ackreq_default() argument 320 ieee802154_get_llsec_table(struct wpan_phy *wpan_phy, in ieee802154_get_llsec_table() argument 331 ieee802154_lock_llsec_table(struct wpan_phy *wpan_phy, in ieee802154_lock_llsec_table() argument 341 ieee802154_unlock_llsec_table(struct wpan_phy *wpan_phy, in ieee802154_unlock_llsec_table() argument 351 ieee802154_set_llsec_params(struct wpan_phy *wpan_phy, in ieee802154_set_llsec_params() argument [all …]
|
A D | scan.c | 45 struct wpan_phy *wpan_phy = local->phy; in mac802154_scan_cleanup_locked() local 62 nl802154_scan_done(wpan_phy, wpan_dev, arg); in mac802154_scan_cleanup_locked() 68 drv_set_channel(local, wpan_phy->current_page, in mac802154_scan_cleanup_locked() 69 wpan_phy->current_channel); in mac802154_scan_cleanup_locked() 70 ieee802154_configure_durations(wpan_phy, wpan_phy->current_page, in mac802154_scan_cleanup_locked() 71 wpan_phy->current_channel); in mac802154_scan_cleanup_locked() 141 struct wpan_phy *wpan_phy; in mac802154_scan_worker() local 171 wpan_phy = scan_req->wpan_phy; in mac802154_scan_worker() 209 ieee802154_configure_durations(wpan_phy, page, channel); in mac802154_scan_worker() 211 wpan_phy->symbol_duration); in mac802154_scan_worker() [all …]
|
A D | mac_cmd.c | 68 wpan_dev->wpan_phy->transmit_power = params->transmit_power; in mac802154_set_mac_params() 69 wpan_dev->wpan_phy->cca = params->cca; in mac802154_set_mac_params() 70 wpan_dev->wpan_phy->cca_ed_level = params->cca_ed_level; in mac802154_set_mac_params() 109 params->transmit_power = wpan_dev->wpan_phy->transmit_power; in mac802154_get_mac_params() 110 params->cca = wpan_dev->wpan_phy->cca; in mac802154_get_mac_params() 111 params->cca_ed_level = wpan_dev->wpan_phy->cca_ed_level; in mac802154_get_mac_params()
|
A D | main.c | 49 struct wpan_phy *phy; in ieee802154_alloc_hw() 120 void ieee802154_configure_durations(struct wpan_phy *phy, in ieee802154_configure_durations() 177 static void ieee802154_setup_wpan_phy_pib(struct wpan_phy *wpan_phy) in ieee802154_setup_wpan_phy_pib() argument 183 wpan_phy->lifs_period = in ieee802154_setup_wpan_phy_pib() 184 (IEEE802154_LIFS_PERIOD * wpan_phy->symbol_duration) / 1000; in ieee802154_setup_wpan_phy_pib() 185 wpan_phy->sifs_period = in ieee802154_setup_wpan_phy_pib() 186 (IEEE802154_SIFS_PERIOD * wpan_phy->symbol_duration) / 1000; in ieee802154_setup_wpan_phy_pib()
|
A D | rx.c | 54 struct wpan_phy *wpan_phy = sdata->local->hw.phy; in ieee802154_subif_frame() local 67 sdata->required_filtering > wpan_phy->filtering) { in ieee802154_subif_frame()
|
A D | iface.c | 658 sdata->wpan_dev.wpan_phy = local->hw.phy; in ieee802154_if_add() 716 if (!dev->ieee802154_ptr || !dev->ieee802154_ptr->wpan_phy) in netdev_notify() 719 if (dev->ieee802154_ptr->wpan_phy->privid != mac802154_wpan_phy_privid) in netdev_notify()
|
A D | ieee802154_i.h | 37 struct wpan_phy *phy;
|
/linux-6.3-rc2/net/ieee802154/ |
A D | trace.h | 45 TP_PROTO(struct wpan_phy *wpan_phy), 57 TP_PROTO(struct wpan_phy *wpan_phy), 62 TP_PROTO(struct wpan_phy *wpan_phy), 67 TP_PROTO(struct wpan_phy *wpan_phy, char *name, 88 TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev), 103 TP_PROTO(struct wpan_phy *wpan_phy, u8 page, u8 channel), 120 TP_PROTO(struct wpan_phy *wpan_phy, s32 power), 150 TP_PROTO(struct wpan_phy *wpan_phy, s32 ed_level), 299 TP_PROTO(struct wpan_phy *wpan_phy, 319 TP_PROTO(struct wpan_phy *wpan_phy, [all …]
|
A D | rdev-ops.h | 31 trace_802154_rdev_suspend(&rdev->wpan_phy); in rdev_suspend() 32 ret = rdev->ops->suspend(&rdev->wpan_phy); in rdev_suspend() 33 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_suspend() 41 trace_802154_rdev_resume(&rdev->wpan_phy); in rdev_resume() 42 ret = rdev->ops->resume(&rdev->wpan_phy); in rdev_resume() 43 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_resume() 59 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_add_virtual_intf() 71 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_del_virtual_intf() 82 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_set_channel() 94 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_set_cca_mode() [all …]
|
A D | core.c | 42 int (*fn)(struct wpan_phy *phy, void *data); 49 struct wpan_phy *phy = container_of(dev, struct wpan_phy, dev); in wpan_phy_iter() 93 return &rdev->wpan_phy; in wpan_phy_idx_to_wpan_phy() 96 struct wpan_phy * 123 device_initialize(&rdev->wpan_phy.dev); in wpan_phy_new() 127 rdev->wpan_phy.dev.platform_data = rdev; in wpan_phy_new() 136 return &rdev->wpan_phy; in wpan_phy_new() 195 void wpan_phy_free(struct wpan_phy *phy) in wpan_phy_free() 219 net = wpan_phy_net(&rdev->wpan_phy); in cfg802154_switch_netns() 236 wpan_phy_net_set(&rdev->wpan_phy, net); in cfg802154_switch_netns() [all …]
|
A D | core.h | 28 struct wpan_phy wpan_phy __aligned(NETDEV_ALIGN); 32 wpan_phy_to_rdev(struct wpan_phy *wpan_phy) in wpan_phy_to_rdev() argument 34 BUG_ON(!wpan_phy); in wpan_phy_to_rdev() 35 return container_of(wpan_phy, struct cfg802154_registered_device, in wpan_phy_to_rdev() 36 wpan_phy); in wpan_phy_to_rdev() 48 struct wpan_phy *wpan_phy_idx_to_wpan_phy(int wpan_phy_idx);
|
A D | nl802154.h | 7 int nl802154_scan_event(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev, 9 int nl802154_scan_started(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev); 10 int nl802154_scan_done(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
|
A D | nl802154.c | 276 struct wpan_phy *wpan_phy = wpan_phy_idx_to_wpan_phy(cb->args[0] - 1); in nl802154_prepare_wpan_dev_dump() local 279 if (!wpan_phy) { in nl802154_prepare_wpan_dev_dump() 491 rdev->wpan_phy.cca.mode)) in nl802154_send_wpan_phy() 496 rdev->wpan_phy.cca.opt)) in nl802154_send_wpan_phy() 1376 int nl802154_scan_event(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev, in nl802154_scan_event() argument 1405 struct wpan_phy *wpan_phy = &rdev->wpan_phy; in nl802154_trigger_scan() local 1425 request->wpan_phy = wpan_phy; in nl802154_trigger_scan() 1527 int nl802154_scan_started(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev) in nl802154_scan_started() argument 1541 int nl802154_scan_done(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev, in nl802154_scan_done() argument 1572 struct wpan_phy *wpan_phy = &rdev->wpan_phy; in nl802154_send_beacons() local [all …]
|
A D | sysfs.c | 23 wpan_phy.dev); in dev_to_rdev() 41 struct wpan_phy *wpan_phy = &dev_to_rdev(dev)->wpan_phy; in name_show() local 43 return sprintf(buf, "%s\n", dev_name(&wpan_phy->dev)); in name_show()
|
A D | nl-phy.c | 29 u32 seq, int flags, struct wpan_phy *phy) in ieee802154_nl_fill_phy() 77 struct wpan_phy *phy; in ieee802154_list_phy() 119 static int ieee802154_dump_phy_iter(struct wpan_phy *phy, void *_data) in ieee802154_dump_phy_iter() 164 struct wpan_phy *phy; in ieee802154_add_iface() 269 struct wpan_phy *phy; in ieee802154_del_iface() 290 phy = dev->ieee802154_ptr->wpan_phy; in ieee802154_del_iface() 297 struct wpan_phy *phy2; in ieee802154_del_iface()
|
A D | nl-mac.c | 78 struct wpan_phy *phy; in ieee802154_nl_fill_iface() 90 phy = dev->ieee802154_ptr->wpan_phy; in ieee802154_nl_fill_iface() 469 struct wpan_phy *phy; in ieee802154_set_macparams() 499 phy = dev->ieee802154_ptr->wpan_phy; in ieee802154_set_macparams()
|
/linux-6.3-rc2/drivers/net/ieee802154/ |
A D | mcr20a.c | 974 struct wpan_phy *phy = lp->hw->phy; in mcr20a_hw_setup()
|