Lines Matching refs:short_addr
57 ctx->scan_ctx->short_addr = in ieee802154_handle_beacon()
58 sys_le16_to_cpu(mpdu->mhr.src_addr->plain.addr.short_addr); in ieee802154_handle_beacon()
128 params.dst.short_addr = IEEE802154_BROADCAST_ADDRESS; in ieee802154_scan()
259 uint16_t short_addr) in set_association() argument
264 __ASSERT_NO_MSG(short_addr != IEEE802154_SHORT_ADDRESS_NOT_ASSOCIATED); in set_association()
266 ieee802154_radio_remove_src_short_addr(iface, ctx->short_addr); in set_association()
268 ctx->short_addr = short_addr; in set_association()
270 if (short_addr == IEEE802154_NO_SHORT_ADDRESS_ASSIGNED) { in set_association()
274 short_addr_be = htons(short_addr); in set_association()
277 ieee802154_radio_filter_short_addr(iface, ctx->short_addr); in set_association()
291 ieee802154_radio_remove_src_short_addr(iface, ctx->short_addr); in remove_association()
294 ctx->short_addr = IEEE802154_SHORT_ADDRESS_NOT_ASSOCIATED; in remove_association()
310 ctx->short_addr != IEEE802154_SHORT_ADDRESS_NOT_ASSOCIATED; in is_associated()
345 mpdu->command->assoc_res.short_addr == IEEE802154_PAN_ID_NOT_ASSOCIATED) { in ieee802154_handle_mac_command()
361 set_association(iface, ctx, sys_le16_to_cpu(mpdu->command->assoc_res.short_addr)); in ieee802154_handle_mac_command()
473 if (req->short_addr == IEEE802154_SHORT_ADDRESS_NOT_ASSOCIATED || in ieee802154_associate()
474 req->short_addr == IEEE802154_NO_SHORT_ADDRESS_ASSIGNED) { in ieee802154_associate()
480 params.dst.short_addr = req->short_addr; in ieee802154_associate()
551 ctx->coord_short_addr = req->short_addr; in ieee802154_associate()
594 ctx->coord_short_addr == req->short_addr) { in ieee802154_associate()
667 params.dst.short_addr = ctx->coord_short_addr; in ieee802154_disassociate()
807 if (ctx->short_addr != value) { in ieee802154_set_parameters()
889 *value = ctx->short_addr; in ieee802154_get_parameters()