Home
last modified time | relevance | path

Searched +full:- +full:- +full:retry (Results 1 – 25 of 55) sorted by relevance

123

/openthread-latest/src/core/mac/
Dmac_header_ie.hpp2 * Copyright (c) 2016-2024, The OpenThread Authors.
37 #include "openthread-core-config.h"
48 * @addtogroup core-mac
108 // +-----------+------------+--------+
109 // | Bits: 0-6 | 7-14 | 15 |
110 // +-----------+------------+--------+
112 // +-----------+------------+--------+
207 * Returns the Vendor IE sub-type.
209 * @returns The Vendor IE sub-type.
214 * Sets the Vendor IE sub-type.
[all …]
Dmac.hpp37 #include "openthread-core-config.h"
64 * @addtogroup core-mac
91 …e number of microseconds ahead of time that the MAC layer should deliver a CSL frame to the sub-MAC
188 * Indicates whether or not rx-on-when-idle is enabled.
190 * @retval TRUE If rx-on-when-idle is enabled.
191 * @retval FALSE If rx-on-when-idle is not enabled.
196 * Sets the rx-on-when-idle mode.
198 * @param[in] aRxOnWhenIdle The rx-on-when-idle mode.
225 * Requests `Mac` to start a wake-up frame transmission.
457 * @param[in] aCallbackContext A pointer to application-specific context.
[all …]
/openthread-latest/src/core/config/
Dwakeup.h31 …* This file includes compile-time configurations for the Wake-up Coordinator and Wake-up End Dev…
38 * @addtogroup config-wakeup
41 …* This module includes configuration variables for the Wake-up Coordinator and Wake-up End Devic…
49 * Define to 1 to enable the Wake-up Coordinator role that is capable of establishing
50 * a link with one or more Wake-up End Devices by sending a sequence of wake-up frames.
59 …* The Connection Retry Interval is included in the Connection IE of each wake-up frame sent by the…
60 * to a Wake-up End Device.
62 …is value defines how frequently the Wake-up End Device should retry sending the initial MLE messag…
63 * Parent after receiving a wake-up frame, in the units of Wake-up Intervals (7.5ms by default).
72 …* The Connection Retry Count is included in the Connection IE of each wake-up frame sent by the Wa…
[all …]
Dsrp_client.h31 …* This file includes compile-time configurations for the SRP (Service Registration Protocol) Cli…
38 * @addtogroup config-srp-client
60 * Define to 1 to enable SRP Client auto-start feature and its APIs.
72 * Define the default mode (enabled or disabled) of auto-start mode.
83 * Define to 1 to enable SRP client to switch server on failure (when auto-start feature is used).
97 …* Define to 1 to disallow SRP client to switch server (when auto-start is used) on failure if host…
102 …* If this is enabled, once SRP client successfully registers with an auto-start selected SRP serve…
140 * Define to 1 to enable SRP client feature to save the selected server in non-volatile settings.
142 …bled, the SRP client will save the selected server info by auto-start feature in the non-volatile …
145 …* successfully registered with the server and if it is selected by auto-start from a network data …
[all …]
Dtmf.h31 * This file includes compile-time configurations for the Thread Management Framework service.
38 * @addtogroup config-tmf
52 * The number of EID-to-RLOC cache entries.
65 …* The maximum number of EID-to-RLOC cache entries that can be used for "snoop optimization" where …
101 * Initial retry delay for address query (in seconds).
112 * Maximum retry delay for address query (in seconds).
123 …* Define as 1 to allow address resolution of on-mesh addresses using Thread Network Data DNS/SRP S…
Dmac.h31 * This file includes compile-time configurations for the MAC.
38 * @addtogroup config-mac
52 …* The maximum number of backoffs the CSMA-CA algorithm will attempt before declaring a channel acc…
54 * Equivalent to macMaxCSMABackoffs in IEEE 802.15.4-2006, default value is 4.
63 …* The maximum number of backoffs the CSMA-CA algorithm will attempt before declaring a channel acc…
65 * Equivalent to macMaxCSMABackoffs in IEEE 802.15.4-2006, default value is 4.
97 * no-ack error.
107 …* retries on no-ack error. It is applicable only when `OPENTHREAD_CONFIG_MAC_ADD_DELAY_ON_NO_ACK_E…
117 …e maximum backoff exponent when adding random delay in between frame transmission retries on no-ack
151 * Define to 1 to enable MAC retry packets histogram analysis.
[all …]
Ddataset_updater.h31 * This file includes compile-time configurations for Dataset Updater.
38 * @addtogroup config-dataset-updater
67 …* Specifies the default retry wait interval (in ms) for Dataset Updater to wait (in addition to Da…
/openthread-latest/tests/toranj/cli/
Dtest-014-address-resolver.py34 # -------------------------------------------------------------------------------------------------…
39 # query retry and snoop optimization.
43 # r3 ---- r1 ---- r2
49 test_name = __file__[:-3] if __file__.endswith('.py') else __file__
50 print('-' * 120)
53 # -------------------------------------------------------------------------------------------------…
65 # -------------------------------------------------------------------------------------------------…
98 # -------------------------------------------------------------------------------------------------…
116 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
129 # Add IPv6 addresses matching the on-mesh prefix on all nodes
[all …]
/openthread-latest/tools/harness-simulation/harness/Thread_Harness/THCI/
DOpenThread_BR_Sim.py91 retry = 3
92 for i in range(retry):
94 stdin, stdout, stderr = self.__handle.exec_command('docker exec %s bash -c %s' %
104 if i < retry - 1:
140 'cmd-start-otbr-agent': 'service otbr-agent start',
141 'cmd-stop-otbr-agent': 'service otbr-agent stop',
142 'cmd-restart-otbr-agent': 'service otbr-agent restart',
143 'cmd-restart-radvd': 'service radvd stop; service radvd start',
/openthread-latest/src/core/net/
Ddns_dso.hpp32 #include "openthread-core-config.h"
53 * This file includes definitions for the DNS Stateful Operations (DSO) per RFC-8490.
89 * timeouts is 15 seconds [RFC 8490 - 6.2].
96 * Any value less than ten seconds is invalid [RFC 8490 - 6.5.2].
114 * greater [RFC 8490 - 6.4.1].
129 static constexpr Type kRetryDelayType = 2; ///< Retry Delay TLV type.
221 … kReasonServerRetryDelayRequest, ///< Connection closed due to server requesting retry delay.
441 … * - `Callbacks::HandleConnected()` is invoked when connection is successfully established, or
442 …* - `Callbacks::HandleDisconnected()` is invoked if the connection cannot be established (e.g., pe…
446 …* adds the `Connection` into a list of client connections - see `Dso::FindClientConnection()`). Th…
[all …]
Dsrp_client.hpp32 #include "openthread-core-config.h"
308 * - The SRP client is started - `Start()` is called
309 * - Host name is set - `SetHostName()` is called.
310 * - At least one host IPv6 address is set - `SetHostAddresses()` is called.
311 * - At least one service is added - `AddService()` is called.
333 …* If `OPENTHREAD_CONFIG_SRP_CLIENT_AUTO_START_API_ENABLE` (auto-start feature) is enabled, a call …
334 * also disables the auto-start mode.
340 … * Pointer type defines the callback used by SRP client to notify user when it is auto-started or
346 * Enables the auto-start mode.
348 …option `OPENTHREAD_CONFIG_SRP_CLIENT_AUTO_START_DEFAULT_MODE` specifies the default auto-start mode
[all …]
Dsrp_advertising_proxy.hpp37 #include "openthread-core-config.h"
82 …uint32_t mAdvSkipped; ///< Number of advertisement that were skipped (DNS-SD platform not …
84 …AdvRejected; ///< Number of rejected adv (at least one request was rejected by DNS-SD plat).
85 …dvTimeout; ///< Number of advertisements that timed out (no response from DNS-SD platform).
133 …* expired host is not re-added by mistake due to a delay in registration by the DNS-SD platform. T…
134 * passed back to the client, triggering it to retry its registration.
148 …* removal (do not unregister the service on infrastructure DNS-SD). This ensures that when the out…
149 …* advertisement is completed, the service is re-added successfully (and it is still being advertis…
195 * Notifies `AdvertisingProxy` that DND-SD platform state changed.
Dsrp_client.cpp45 //---------------------------------------------------------------------
69 LogInfo("HostInfo %s -> %s", ItemStateToString(GetState()), ItemStateToString(aState)); in SetState()
101 //---------------------------------------------------------------------
128 …LogInfo("Service %s -> %s, \"%s\" \"%s\"", ItemStateToString(GetState()), ItemStateToString(aState… in SetState()
170 //---------------------------------------------------------------------
204 uint32_t duration = TimerMilli::GetNow() - mRequestTime; in Request()
206 mRequestedMax = (mRequestedMax > duration) ? mRequestedMax - duration : 0; in Request()
220 uint32_t duration = TimerMilli::GetNow() - mRequestTime; in DetermineDelay()
228 maxJitter = Max(mRequestedMax - duration, kMaxTxJitterDefault); in DetermineDelay()
268 //---------------------------------------------------------------------
[all …]
/openthread-latest/tests/toranj/ncp/
Dtest-039-address-cache-table-snoop.py33 # -------------------------------------------------------------------------------------------------…
38 # query retry and snoop optimization.
40 test_name = __file__[:-3] if __file__.endswith('.py') else __file__
41 print('-' * 120)
44 # -------------------------------------------------------------------------------------------------…
57 # -------------------------------------------------------------------------------------------------…
62 # -------------------------------------------------------------------------------------------------…
65 # r3 ---- r1 ---- r2
99 # -------------------------------------------------------------------------------------------------…
119 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[all …]
/openthread-latest/src/core/thread/
Daddress_resolver.cpp31 * This file implements Thread's EID-to-RLOC mapping and caching.
64 while ((entry = list->Pop()) != nullptr) in Clear()
68 Get<MeshForwarder>().HandleResolved(entry->GetTarget(), kErrorDrop); in Clear()
105 entry = list->GetHead(); in GetNextCacheEntry()
110 aIterator.SetEntry(entry->GetNext()); in GetNextCacheEntry()
114 aInfo.mTarget = entry->GetTarget(); in GetNextCacheEntry()
115 aInfo.mRloc16 = entry->GetRloc16(); in GetNextCacheEntry()
121 aInfo.mValidLastTrans = entry->IsLastTransactionTimeValid(); in GetNextCacheEntry()
123 VerifyOrExit(entry->IsLastTransactionTimeValid()); in GetNextCacheEntry()
125 aInfo.mLastTransTime = entry->GetLastTransactionTime(); in GetNextCacheEntry()
[all …]
Daddress_resolver.hpp31 * This file includes definitions for Thread EID-to-RLOC mapping and caching.
37 #include "openthread-core-config.h"
55 * @addtogroup core-arp
58 * This module includes definitions for Thread EID-to-RLOC mapping and caching.
64 * Implements the EID-to-RLOC mapping and caching.
99 kStateCached = OT_CACHE_ENTRY_STATE_CACHED, ///< Cached and in-use.
102 kStateRetryQuery = OT_CACHE_ENTRY_STATE_RETRY_QUERY, ///< In retry wait mode.
113 * Clears the EID-to-RLOC cache.
131 * Removes the EID-to-RLOC cache entries corresponding to an RLOC16.
138 * Removes all EID-to-RLOC cache entries associated with a Router ID.
[all …]
Dlink_quality.hpp37 #include "openthread-core-config.h"
49 * @addtogroup core-link-quality
79 … * @retval the average failure rate `[0-kMaxRateValue]` with `kMaxRateValue` corresponding to 100%.
86 …* @retval the average success rate as [0-kMaxRateValue] with `kMaxRateValue` corresponding to 100%.
88 uint16_t GetSuccessRate(void) const { return kMaxRateValue - mFailureRate; } in GetSuccessRate()
107 * Defines the fixed-length `String` object returned from `ToString()`.
141 * average multiplied by a precision factor (currently set as -8).
148 * Converts the current average RSS value to a human-readable string (e.g., "-80.375"). If the
165 * precision factor of -8.
169 static constexpr uint8_t kPrecisionBitMask = (kPrecision - 1);
[all …]
/openthread-latest/.github/workflows/
Dsize.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
48 size-report:
49 runs-on: ubuntu-24.04
51 - name: Harden Runner
52 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
54 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
[all …]
/openthread-latest/tools/harness-simulation/posix/etc/
Dcommissionerd31 # Required-Start:
32 # Required-Stop:
33 # Should-Start:
34 # Should-Stop:
35 # Default-Start: 2 3 4 5
36 # Default-Stop: 0 1 6
37 # Short-Description: OT-commissioner daemon
38 # Description: OT-commissioner daemon
41 set -e
44 DESC="OT-commissioner daemon"
[all …]
/openthread-latest/tools/harness-thci/
DOpenThread_BR.py49 LOGX = re.compile(r'.*Under-voltage detected!')
52 assert LOGX.match('[57522.618196] Under-voltage detected! (0x00050005)')
54 OTBR_AGENT_SYSLOG_PATTERN = re.compile(r'raspberrypi otbr-agent\[\d+\]: (.*)')
56 …'Jun 23 05:21:22 raspberrypi otbr-agent[323]: =========[[THCI] direction=send | type=JOIN_FIN.req …
100 retry = 3
101 for i in range(retry):
110 if i < retry - 1:
120 print('%s - %s - %s' % (self.port, time.strftime('%b %d %H:%M:%S'), msg))
173 print('%s - %s - %s' % (self.port, time.strftime('%b %d %H:%M:%S'), msg))
328 self.bash('ip -6 addr del 910b::1 dev %s || true' % self.backboneNetif)
[all …]
/openthread-latest/include/openthread/
Dthread_ftd.h2 * Copyright (c) 2016-2017, The OpenThread Authors.
47 * @addtogroup api-thread-router
67 …uint16_t mFrameErrorRate; ///< Frame error rate (0xffff->100%). Requires error tracking …
68 …uint16_t mMessageErrorRate; ///< (IPv6) msg error rate (0xffff->100%). Requires error trac…
72 bool mRxOnWhenIdle : 1; ///< rx-on-when-idle
88 OT_CACHE_ENTRY_STATE_CACHED = 0, // Entry is cached and in-use.
91 …OT_CACHE_ENTRY_STATE_RETRY_QUERY = 3, // Entry is in retry wait mode (a prior query did not get a …
103 …bool mRampDown : 1; ///< Whether in ramp-down mode while in `OT_CACHE_ENTRY_STA…
104 …bool mValidLastTrans : 1; ///< Indicates whether last transaction time and ML-EID are…
107 … mTimeout; ///< Timeout in seconds (applicable if in snooped/query/retry-query states).
[all …]
Dlink.h47 * @addtogroup api-link-link
50 * This module includes functions that control link-layer configuration.
93 * regardless of the amount of CCA failures, CSMA-CA attempts, or retransmissions.
96 * - @p mTxUnicast
97 * - @p mTxBroadcast
98 * - @p mTxAckRequested
99 * - @p mTxNoAckRequested
100 * - @p mTxData
101 * - @p mTxDataPoll
102 * - @p mTxBeacon
[all …]
/openthread-latest/src/lib/spinel/
Dspinel.h37 * Spinel is a host-controller protocol designed to enable
38 * inter-operation over simple serial connections between general purpose
39 * device operating systems (OS) host and network co-processors (NCP) for
42 * ---------------------------------------------------------------------------
48 * - A header byte
49 * - A command (up to three bytes)
50 * - An optional command payload
52 * +---------+--------+-----+-------------+
53 * | Octets: | 1 | 1-3 | n |
54 * +---------+--------+-----+-------------+
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Dgenerate_tls13_compat_tests.py6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
23 'ecdsa_secp256r1_sha256': Certificate('data_files/test-ca2.crt',
26 'ecdsa_secp384r1_sha384': Certificate('data_files/test-ca2.crt',
29 'ecdsa_secp521r1_sha512': Certificate('data_files/test-ca2.crt',
32 'rsa_pss_rsae_sha256': Certificate('data_files/test-ca_cat12.crt',
33 'data_files/server2-sha256.crt', 'data_files/server2.key'
67 # pylint: disable=too-many-arguments
104 # pylint: disable=no-self-use
108 # pylint: disable=no-self-use
114 # pylint: disable=no-self-use
[all …]
/openthread-latest/src/core/utils/
Dchannel_manager.hpp37 #include "openthread-core-config.h"
60 * @addtogroup utils-channel-manager
122 …ould preferably be longer than maximum data poll interval used by all sleepy-end-devices within the
196 * Enables/disables the auto-channel-selection functionality.
206 * Indicates whether the auto-channel-selection functionality is enabled or not.
215 * Enables/disables the auto-channel-selection functionality.
225 * Indicates whether the auto-channel-selection functionality is enabled or not.
233 * Sets the period interval (in seconds) used by auto-channel-selection functionality.
243 * Gets the period interval (in seconds) used by auto-channel-selection functionality.
292 // Retry interval to resend Pending Dataset in case of tx failure (in ms).
[all …]

123