| /linux-6.15/include/net/ |
| H A D | cfg802154.h | 42 int (*suspend)(struct wpan_phy *wpan_phy); 43 int (*resume)(struct wpan_phy *wpan_phy); 52 int (*set_cca_mode)(struct wpan_phy *wpan_phy, 56 int (*set_pan_id)(struct wpan_phy *wpan_phy, 69 int (*set_lbt_mode)(struct wpan_phy *wpan_phy, 73 int (*trigger_scan)(struct wpan_phy *wpan_phy, 75 int (*abort_scan)(struct wpan_phy *wpan_phy, 81 int (*associate)(struct wpan_phy *wpan_phy, 346 struct wpan_phy *wpan_phy; member 364 struct wpan_phy *wpan_phy; member [all …]
|
| H A D | mac802154.h | 83 struct wpan_phy *phy;
|
| H A D | ieee802154_netdev.h | 435 struct wpan_phy;
|
| /linux-6.15/net/ieee802154/ |
| H 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, 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, 360 TP_PROTO(struct wpan_phy *wpan_phy, 379 TP_PROTO(struct wpan_phy *wpan_phy, [all …]
|
| H 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 …]
|
| H 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() 238 net = wpan_phy_net(&rdev->wpan_phy); in cfg802154_switch_netns() 255 wpan_phy_net_set(&rdev->wpan_phy, net); in cfg802154_switch_netns() [all …]
|
| H 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);
|
| H 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,
|
| H A D | nl802154.c | 277 struct wpan_phy *wpan_phy = wpan_phy_idx_to_wpan_phy(cb->args[0] - 1); in nl802154_prepare_wpan_dev_dump() local 280 if (!wpan_phy) { in nl802154_prepare_wpan_dev_dump() 1372 int nl802154_scan_event(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev, in nl802154_scan_event() argument 1401 struct wpan_phy *wpan_phy = &rdev->wpan_phy; in nl802154_trigger_scan() local 1426 request->wpan_phy = wpan_phy; in nl802154_trigger_scan() 1539 int nl802154_scan_done(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev, in nl802154_scan_done() argument 1570 struct wpan_phy *wpan_phy = &rdev->wpan_phy; in nl802154_send_beacons() local 1594 request->wpan_phy = wpan_phy; in nl802154_send_beacons() 1636 struct wpan_phy *wpan_phy; in nl802154_associate() local 1641 wpan_phy = &rdev->wpan_phy; in nl802154_associate() [all …]
|
| H 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()
|
| H 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()
|
| H 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() 460 struct wpan_phy *phy; in ieee802154_set_macparams() 490 phy = dev->ieee802154_ptr->wpan_phy; in ieee802154_set_macparams()
|
| /linux-6.15/net/mac802154/ |
| H 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 318 static int mac802154_associate(struct wpan_phy *wpan_phy, in mac802154_associate() argument 493 ieee802154_get_llsec_table(struct wpan_phy *wpan_phy, in ieee802154_get_llsec_table() argument 504 ieee802154_lock_llsec_table(struct wpan_phy *wpan_phy, in ieee802154_lock_llsec_table() argument 524 ieee802154_set_llsec_params(struct wpan_phy *wpan_phy, in ieee802154_set_llsec_params() argument [all …]
|
| H 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()
|
| H A D | main.c | 49 struct wpan_phy *phy; in ieee802154_alloc_hw() 124 void ieee802154_configure_durations(struct wpan_phy *phy, in ieee802154_configure_durations() 183 static void ieee802154_setup_wpan_phy_pib(struct wpan_phy *wpan_phy) in ieee802154_setup_wpan_phy_pib() argument 189 wpan_phy->lifs_period = (IEEE802154_LIFS_PERIOD * in ieee802154_setup_wpan_phy_pib() 190 wpan_phy->symbol_duration) / NSEC_PER_USEC; in ieee802154_setup_wpan_phy_pib() 191 wpan_phy->sifs_period = (IEEE802154_SIFS_PERIOD * in ieee802154_setup_wpan_phy_pib() 192 wpan_phy->symbol_duration) / NSEC_PER_USEC; in ieee802154_setup_wpan_phy_pib()
|
| H A D | scan.c | 49 struct wpan_phy *wpan_phy = local->phy; in mac802154_scan_cleanup_locked() local 66 nl802154_scan_done(wpan_phy, wpan_dev, arg); in mac802154_scan_cleanup_locked() 72 drv_set_channel(local, wpan_phy->current_page, in mac802154_scan_cleanup_locked() 73 wpan_phy->current_channel); in mac802154_scan_cleanup_locked() 74 ieee802154_configure_durations(wpan_phy, wpan_phy->current_page, in mac802154_scan_cleanup_locked() 75 wpan_phy->current_channel); in mac802154_scan_cleanup_locked() 182 struct wpan_phy *wpan_phy; in mac802154_scan_worker() local 212 wpan_phy = scan_req->wpan_phy; in mac802154_scan_worker() 258 ieee802154_configure_durations(wpan_phy, page, channel); in mac802154_scan_worker() 260 wpan_phy->symbol_duration); in mac802154_scan_worker() [all …]
|
| H A D | rx.c | 135 struct wpan_phy *wpan_phy = sdata->local->hw.phy; in ieee802154_subif_frame() local 148 sdata->required_filtering > wpan_phy->filtering) { in ieee802154_subif_frame()
|
| H A D | iface.c | 658 sdata->wpan_dev.wpan_phy = local->hw.phy; in ieee802154_if_add() 720 if (!dev->ieee802154_ptr || !dev->ieee802154_ptr->wpan_phy) in netdev_notify() 723 if (dev->ieee802154_ptr->wpan_phy->privid != mac802154_wpan_phy_privid) in netdev_notify()
|
| H A D | ieee802154_i.h | 38 struct wpan_phy *phy;
|
| /linux-6.15/drivers/net/ieee802154/ |
| H A D | mcr20a.c | 973 struct wpan_phy *phy = lp->hw->phy; in mcr20a_hw_setup()
|