Home
last modified time | relevance | path

Searched refs:scan_ctx (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/net/ieee802154/l2/src/
Dieee802154_shell_test.c57 struct ieee802154_req_params *scan_ctx = ctx->scan_ctx; in scan_result_cb() local
63 zassert_not_null(scan_ctx); in scan_result_cb()
64 zassert_equal(scan_ctx->pan_id, EXPECTED_COORDINATOR_PAN_CPU_ORDER, in scan_result_cb()
66 zassert_equal(scan_ctx->len, IEEE802154_EXT_ADDR_LENGTH, in scan_result_cb()
68 zassert_mem_equal(scan_ctx->addr, expected_coordinator_address, IEEE802154_EXT_ADDR_LENGTH); in scan_result_cb()
69 zassert_equal(scan_ctx->lqi, EXPECTED_COORDINATOR_LQI, in scan_result_cb()
71 zassert_equal(scan_ctx->association_permitted, expected_association_permitted_bit, in scan_result_cb()
74 zassert_equal(scan_ctx->beacon_payload_len, EXPECTED_PAYLOAD_LEN, in scan_result_cb()
76 zassert_mem_equal(scan_ctx->beacon_payload, expected_payload_data, EXPECTED_PAYLOAD_LEN); in scan_result_cb()
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_mgmt.c44 if (!ctx->scan_ctx) { in ieee802154_handle_beacon()
48 ctx->scan_ctx->association_permitted = mpdu->beacon->sf.association; in ieee802154_handle_beacon()
52 ctx->scan_ctx->pan_id = mpdu->mhr.src_addr->plain.pan_id; in ieee802154_handle_beacon()
53 ctx->scan_ctx->lqi = lqi; in ieee802154_handle_beacon()
56 ctx->scan_ctx->len = IEEE802154_SHORT_ADDR_LENGTH; in ieee802154_handle_beacon()
57 ctx->scan_ctx->short_addr = in ieee802154_handle_beacon()
60 ctx->scan_ctx->len = IEEE802154_EXT_ADDR_LENGTH; in ieee802154_handle_beacon()
61 sys_memcpy_swap(ctx->scan_ctx->addr, in ieee802154_handle_beacon()
67 ctx->scan_ctx->beacon_payload_len = mpdu->payload_length - beacon_hdr_len; in ieee802154_handle_beacon()
68 ctx->scan_ctx->beacon_payload = (uint8_t *)mpdu->payload + beacon_hdr_len; in ieee802154_handle_beacon()
[all …]
Dieee802154_mgmt_priv.h23 return !(!ctx->scan_ctx); in ieee802154_is_scanning()
/Zephyr-latest/include/zephyr/net/
Dieee802154.h308 struct ieee802154_req_params *scan_ctx; member
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_scan.c62 #define IS_PHY_ENABLED(scan_ctx, scan_phy) ((scan_ctx)->lll.phy & (scan_phy)) argument