Lines Matching refs:scan_ctx
44 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()
88 ctx->scan_ctx = NULL; in ieee802154_cancel_scan()
119 if (ctx->scan_ctx) { in ieee802154_scan()
143 ctx->scan_ctx = scan; in ieee802154_scan()
199 if (!ctx->scan_ctx) { in ieee802154_scan()
218 if (ctx->scan_ctx) { in ieee802154_scan()
219 ctx->scan_ctx = NULL; in ieee802154_scan()