Home
last modified time | relevance | path

Searched refs:pan_id (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-Core-3.4.0/subsys/net/l2/ieee802154/
Dieee802154_shell.c92 params.pan_id = atoi(argv[1]); in cmd_ieee802154_associate()
107 argv[2], params.pan_id); in cmd_ieee802154_associate()
112 "Associated to PAN ID %u\n", params.pan_id); in cmd_ieee802154_associate()
205 "LQI: %u\n", params.channel, params.pan_id, in scan_result_cb()
353 uint16_t pan_id; in cmd_ieee802154_set_pan_id() local
368 pan_id = (uint16_t)atoi(argv[1]); in cmd_ieee802154_set_pan_id()
371 &pan_id, sizeof(uint16_t))) { in cmd_ieee802154_set_pan_id()
373 "Could not set PAN ID %u\n", pan_id); in cmd_ieee802154_set_pan_id()
378 "PAN ID %u set\n", pan_id); in cmd_ieee802154_set_pan_id()
388 uint16_t pan_id; in cmd_ieee802154_get_pan_id() local
[all …]
Dieee802154_mgmt.c53 ctx->scan_ctx->pan_id = mpdu->mhr.src_addr->plain.pan_id; in ieee802154_handle_beacon()
123 params.dst.pan_id = IEEE802154_BROADCAST_PAN_ID; in ieee802154_scan()
193 ieee802154_filter_pan_id(iface, ctx->pan_id); in ieee802154_scan()
363 params.dst.pan_id = req->pan_id; in ieee802154_associate()
364 params.pan_id = req->pan_id; in ieee802154_associate()
388 ieee802154_filter_pan_id(iface, req->pan_id); in ieee802154_associate()
435 ctx->pan_id = req->pan_id; in ieee802154_associate()
473 params.dst.pan_id = ctx->pan_id; in ieee802154_disassociate()
486 params.pan_id = ctx->pan_id; in ieee802154_disassociate()
580 if (ctx->pan_id != value) { in ieee802154_set_parameters()
[all …]
Dieee802154_utils.h151 uint16_t pan_id) in ieee802154_filter_pan_id() argument
160 filter.pan_id = pan_id; in ieee802154_filter_pan_id()
Dieee802154_frame.h120 uint16_t pan_id; member
380 uint16_t pan_id; member
459 uint16_t pan_id; /* in CPU byte order */ member
463 uint16_t pan_id; /* in CPU byte order */ member
Dieee802154_frame.c253 if (mhr->src_addr->plain.pan_id != IEEE802154_BROADCAST_PAN_ID) { in validate_mac_command_cfi_to_mhr()
603 af->plain.pan_id = params->dst.pan_id; in generate_addressing_fields()
627 af->plain.pan_id = params->pan_id; in generate_addressing_fields()
686 params.dst.pan_id = ctx->pan_id; in ieee802154_create_data_frame()
687 params.pan_id = ctx->pan_id; in ieee802154_create_data_frame()
Dieee802154.c175 if (!(dst_plain->pan_id == IEEE802154_BROADCAST_PAN_ID || in ieeee802154_check_dst_addr()
176 dst_plain->pan_id == ctx->pan_id)) { in ieeee802154_check_dst_addr()
/Zephyr-Core-3.4.0/subsys/net/lib/config/
Dieee802154_settings.c23 uint16_t pan_id = CONFIG_NET_CONFIG_IEEE802154_PAN_ID; in z_net_config_ieee802154_setup() local
48 iface, &pan_id, sizeof(uint16_t)) || in z_net_config_ieee802154_setup()
/Zephyr-Core-3.4.0/samples/net/wpanusb/src/
Dwpanusb.h35 uint16_t pan_id; /* in CPU byte order */ member
Dwpanusb.c242 filter.pan_id = req->pan_id; in set_pan_id()
/Zephyr-Core-3.4.0/tests/net/ieee802154/l2/src/
Dieee802154_shell_test.c47 zassert_equal(EXPECTED_COORDINATOR_PAN_CPU_ORDER, scan_ctx->pan_id, in scan_result_cb()
68 zassert_equal(IEEE802154_BROADCAST_PAN_ID, mpdu->mhr.dst_addr->plain.pan_id, in test_beacon_request()
Dieee802154_fake_driver.c105 ctx->pan_id = 0xabcd; in fake_iface_init()
/Zephyr-Core-3.4.0/include/zephyr/net/
Dieee802154.h66 uint16_t pan_id; /* in CPU byte order */ member
Dieee802154_mgmt.h235 uint16_t pan_id; /* in CPU byte order */ member
Dieee802154_radio.h95 uint16_t pan_id; /* in CPU byte order */ member
/Zephyr-Core-3.4.0/drivers/ieee802154/
Dieee802154_uart_pipe.c208 static int upipe_set_pan_id(const struct device *dev, uint16_t pan_id) in upipe_set_pan_id() argument
214 sys_put_le16(pan_id, pan_id_le); in upipe_set_pan_id()
258 return upipe_set_pan_id(dev, filter->pan_id); in upipe_filter()
Dieee802154_b91.c36 static int b91_set_pan_id(uint16_t pan_id) in b91_set_pan_id() argument
40 sys_put_le16(pan_id, pan_id_le); in b91_set_pan_id()
459 return b91_set_pan_id(filter->pan_id); in b91_filter()
Dieee802154_mcr20a.c954 static int mcr20a_set_pan_id(const struct device *dev, uint16_t pan_id) in mcr20a_set_pan_id() argument
958 pan_id = sys_le16_to_cpu(pan_id); in mcr20a_set_pan_id()
961 if (!write_burst_pan_id(dev, (uint8_t *) &pan_id)) { in mcr20a_set_pan_id()
968 LOG_DBG("0x%x", pan_id); in mcr20a_set_pan_id()
1030 return mcr20a_set_pan_id(dev, filter->pan_id); in mcr20a_filter()
Dieee802154_cc2520.c302 static int cc2520_set_pan_id(const struct device *dev, uint16_t pan_id) in cc2520_set_pan_id() argument
304 LOG_DBG("0x%x", pan_id); in cc2520_set_pan_id()
306 pan_id = sys_le16_to_cpu(pan_id); in cc2520_set_pan_id()
308 if (!write_mem_pan_id(dev, (uint8_t *) &pan_id)) { in cc2520_set_pan_id()
721 return cc2520_set_pan_id(dev, filter->pan_id); in cc2520_filter()
Dieee802154_nrf5.c297 static int nrf5_set_pan_id(const struct device *dev, uint16_t pan_id) in nrf5_set_pan_id() argument
303 sys_put_le16(pan_id, pan_id_le); in nrf5_set_pan_id()
306 LOG_DBG("0x%x", pan_id); in nrf5_set_pan_id()
354 return nrf5_set_pan_id(dev, filter->pan_id); in nrf5_filter()
Dieee802154_cc2520.h159 DEFINE_MEM_WRITE(pan_id, CC2520_MEM_PAN_ID, 2)
Dieee802154_kw41z.c397 static int kw41z_set_pan_id(const struct device *dev, uint16_t pan_id) in kw41z_set_pan_id() argument
401 ZLL_MACSHORTADDRS0_MACPANID0(pan_id); in kw41z_set_pan_id()
443 return kw41z_set_pan_id(dev, filter->pan_id); in kw41z_filter()
Dieee802154_mcr20a.h176 DEFINE_BURST_WRITE(pan_id, MCR20A_MACPANID0_LSB, 2, false)
Dieee802154_rf2xx.c583 uint16_t pan_id) in rf2xx_set_pan_id() argument
588 sys_put_le16(pan_id, pan_id_le); in rf2xx_set_pan_id()
610 return rf2xx_set_pan_id(dev, set, filter->pan_id); in rf2xx_filter()
/Zephyr-Core-3.4.0/samples/net/wpanusb/
DREADME.rst74 iwpan dev wpan0 set pan_id 0xabcd
/Zephyr-Core-3.4.0/tests/subsys/openthread/
Dradio_test.c660 custom_filter_mock_pan_id = filter->pan_id; in custom_filter_mock()
677 const uint16_t pan_id = 0xDEAD; in ZTEST() local
686 otPlatRadioSetPanId(ot, pan_id); in ZTEST()
690 zassert_equal(pan_id, custom_filter_mock_pan_id); in ZTEST()

12