Home
last modified time | relevance | path

Searched refs:csl (Results 1 – 8 of 8) sorted by relevance

/openthread-latest/tests/unit/
Dtest_mac_frame.cpp760 Mac::CslIe *csl; in TestMacFrameAckGeneration() local
764csl = reinterpret_cast<Mac::CslIe *>(ackFrame.GetHeaderIe(Mac::CslIe::kHeaderIeId) + sizeof(Mac::H… in TestMacFrameAckGeneration()
775 VerifyOrQuit(csl->GetPeriod() == 3125 && csl->GetPhase() == 3105); in TestMacFrameAckGeneration()
779csl = reinterpret_cast<Mac::CslIe *>(ackFrame.GetHeaderIe(Mac::CslIe::kHeaderIeId) + sizeof(Mac::H… in TestMacFrameAckGeneration()
780 VerifyOrQuit(csl->GetPeriod() == 123 && csl->GetPhase() == 456); in TestMacFrameAckGeneration()
/openthread-latest/src/core/mac/
Dmac_frame.cpp1186 CslIe *csl = GetCslIe(); in SetCslIe() local
1188 VerifyOrExit(csl != nullptr); in SetCslIe()
1189 csl->SetPeriod(aCslPeriod); in SetCslIe()
1190 csl->SetPhase(aCslPhase); in SetCslIe()
1203 const CslIe *csl = nullptr; in GetCslIe() local
1207 csl = reinterpret_cast<const CslIe *>(cur + sizeof(HeaderIe)); in GetCslIe()
1210 return csl; in GetCslIe()
Dmac.cpp2500 const CslIe *csl; in ProcessCsl() local
2504 csl = aFrame.GetCslIe(); in ProcessCsl()
2505 VerifyOrExit(csl != nullptr); in ProcessCsl()
2515 VerifyOrExit(csl->GetPeriod() >= kMinCslIePeriod); in ProcessCsl()
2517 neighbor->SetCslPeriod(csl->GetPeriod()); in ProcessCsl()
2518 neighbor->SetCslPhase(csl->GetPhase()); in ProcessCsl()
2523 … ToUlong(static_cast<uint32_t>(aFrame.GetTimestamp())), aFrame.GetSequence(), csl->GetPeriod(), in ProcessCsl()
2524 csl->GetPhase(), neighbor->GetCslPhase()); in ProcessCsl()
/openthread-latest/etc/cmake/
Doptions.cmake184 …_CSL OPENTHREAD_CONFIG_CHANNEL_MANAGER_CSL_CHANNEL_SELECT_ENABLE "channel manager for csl channel")
191 ot_option(OT_CSL_AUTO_SYNC OPENTHREAD_CONFIG_MAC_CSL_AUTO_SYNC_ENABLE "data polling based on csl")
192 ot_option(OT_CSL_DEBUG OPENTHREAD_CONFIG_MAC_CSL_DEBUG_ENABLE "csl debug")
193 ot_option(OT_CSL_RECEIVER OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE "csl receiver")
194 …SYNC OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_LOCAL_TIME_SYNC "use local time for csl elapsed sync time")
/openthread-latest/tools/cp-caps/
DREADME.md63 -c, --csl test whether the RCP supports CSL transmitter
136 The option `-c` or `--csl` tests whether the RCP supports the CSL transmitter.
216 TX ver:2015,Data,seq,dst[addr:short,pan:id],src[addr:short,pan:id],sec:no,ie[csl],plen:0 ----------…
217 RX ver:2015,Data,seq,dst[addr:short,pan:id],src[addr:short,pan:id],sec:no,ie[csl],plen:0 ----------…
Drcp_caps_test.py791 if arguments.csl:
/openthread-latest/etc/gn/
Dopenthread.gni120 # Enable csl receiver
/openthread-latest/src/cli/
DREADME.md42 - [csl](#csl)
1129 ### csl subsection
1136 > csl
1143 ### csl channel \<channel\>
1148 > csl channel 20
1152 ### csl period \<period\>
1159 > csl period 30000000
1163 ### csl timeout \<timeout\>
1168 > csl timeout 10
2388 csl - sync:no period:0 timeout:0 channel:0
[all …]