Home
last modified time | relevance | path

Searched refs:assoc_req (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.7.0/tests/net/ieee802154/l2/src/
Dieee802154_shell_test.c109 zassert_equal(cmd->assoc_req.ci.alloc_addr, true, in test_association_request()
111 zassert_equal(cmd->assoc_req.ci.association_type, false, in test_association_request()
169 struct net_buf *assoc_req; in test_associate_shell_cmd() local
192 assoc_req = current_pkt->frags; in test_associate_shell_cmd()
193 zassert_not_null(assoc_req); in test_associate_shell_cmd()
195 if (!ieee802154_validate_frame(assoc_req->data, assoc_req->len, &mpdu)) { in test_associate_shell_cmd()
/Zephyr-Core-3.7.0/subsys/net/l2/ieee802154/
Dieee802154_mgmt.c504 cmd->assoc_req.ci.reserved_1 = 0U; /* Reserved */ in ieee802154_associate()
505 cmd->assoc_req.ci.dev_type = 0U; /* RFD */ in ieee802154_associate()
506 cmd->assoc_req.ci.power_src = 0U; /* TODO: set right power source */ in ieee802154_associate()
507 cmd->assoc_req.ci.rx_on = 1U; /* TODO: derive from PM settings */ in ieee802154_associate()
508 cmd->assoc_req.ci.association_type = 0U; /* normal association */ in ieee802154_associate()
509 cmd->assoc_req.ci.reserved_2 = 0U; /* Reserved */ in ieee802154_associate()
511 cmd->assoc_req.ci.sec_capability = ctx->sec_ctx.level > IEEE802154_SECURITY_LEVEL_NONE; in ieee802154_associate()
513 cmd->assoc_req.ci.sec_capability = 0U; in ieee802154_associate()
518 cmd->assoc_req.ci.alloc_addr = 1U; in ieee802154_associate()
Dieee802154_frame.h427 struct ieee802154_cmd_assoc_req assoc_req; member