/openthread-3.7.0/tests/unit/ |
D | test_trickle_timer.cpp | 111 uint32_t interval; in TestTrickleTimerPlainMode() local 118 // Validate that timer picks a random interval between min and max in TestTrickleTimerPlainMode() 128 interval = timer.GetInterval(); in TestTrickleTimerPlainMode() 129 VerifyOrQuit((interval >= kMinInterval) && (interval <= kMaxInterval)); in TestTrickleTimerPlainMode() 133 AdvanceTime(interval); in TestTrickleTimerPlainMode() 138 // interval between min and max. in TestTrickleTimerPlainMode() 141 interval = timer.GetInterval(); in TestTrickleTimerPlainMode() 142 VerifyOrQuit((interval >= kMinInterval) && (interval <= kMaxInterval)); in TestTrickleTimerPlainMode() 157 uint32_t interval; in TestTrickleTimerTrickleMode() local 169 // Validate that trickle timer starts with random interval between in TestTrickleTimerTrickleMode() [all …]
|
/openthread-3.7.0/src/core/common/ |
D | trickle_timer.hpp | 70 …kModePlainTimer, ///< Operate as a plain periodic timer with random interval selected within min/m… 115 * Gets the interval min value of the trickle timer. 117 * @returns The interval min value in milliseconds. 123 * Sets the interval min value of the trickle timer while timer is running. 125 …* If @p aIntervalMin is smaller than the current `GetIntervalMax()` the interval max value is also… 128 * @param[in] aIntervalMin The minimum interval in milliseconds. 134 * Gets the interval max value of the trickle timer. 136 * @returns The interval max value in milliseconds. 142 * Sets the interval max value of the trickle timer while timer is running. 144 …* If the given @p aIntervalMax is smaller than the current `GetIntervalMin()`, the interval min va… [all …]
|
D | trickle_timer.cpp | 60 // interval. in GetStartTimeOfCurrentInterval() 117 // Determine the end of the interval as if the new and shorter in SetIntervalMax() 158 // - Act as if current interval is already finished. in SetIntervalMax() 218 // Select interval randomly from range [Imin, Imax]. in Start() 236 // If interval is equal to minimum when an "inconsistent" event in IndicateInconsistent() 259 // Select a random point in the interval taken from the range [I/2, I). in StartNewInterval() 287 // within the current interval. Trickle timer invokes in HandleTimer() 297 // Interval has expired. Double the interval length and in HandleTimer()
|
/openthread-3.7.0/src/core/config/ |
D | child_supervision.h | 51 …* The default supervision interval in seconds to use when in child state. Zero indicates no superv… 53 * The current supervision interval can be changed using `otChildSupervisionSetInterval()`. 56 …* within the supervision interval. If there is no transmission to the child within the supervision… 67 …* The default supervision check timeout interval (in seconds) used by a device in child state. Set… 70 * The check timeout interval can be changed using `otChildSupervisionSetCheckTimeout()`. 72 …* If the sleepy child does not hear from its parent within the specified timeout interval, it init… 83 …* Specifies the default supervision interval to use on parent for children that do not explicitly … 84 …* desired supervision internal (do not include a "Supervision Interval TLV") and are running older… 88 …ack before adoption of it by Thread specification and addition of the "Supervision Interval TLV" as 89 * the mechanism for child to inform the parent of its desired supervision interval. [all …]
|
D | srp_client.h | 165 * Specifies the default requested lease interval (in seconds). Set to two hours. 175 * Specifies the default requested key lease interval (in seconds). Set to 14 days. 185 …* Specifies the guard interval (in seconds) for lease renew time. The guard interval determines ho… 201 …* The "early lease renewal interval" is used to determine if a service can renew early. The interv… 202 …* multiplying the accepted lease interval by the "early lease renewal factor" which is given as a … 209 …* Default value is 1/2 (i.e., services that are within half of the lease interval are allowed to r… 263 * Specifies the minimum wait interval (in msec) between SRP update message retries. 266 …* interval starts from the minimum value and is increased by the growth factor every failure up to… 276 * Specifies the maximum wait interval (in msec) between SRP update message retries. 286 …* Specifies jitter (in msec) for retry wait interval. If the current retry wait interval is smalle… [all …]
|
D | mle.h | 147 * The backoff time starts from a minimum interval specified by 151 …* Once the wait time reaches the maximum, a random jitter interval is added to it. The maximum val… 153 * range `[-JITTER, +JITTER]`. It is only added when the backoff wait interval is at maximum value. 163 * Specifies the minimum backoff wait interval (in milliseconds) used by attach backoff feature. 177 * Specifies the maximum backoff wait interval (in milliseconds) used by attach backoff feature. 191 * Specifies the maximum jitter interval (in milliseconds) used by attach backoff feature. 205 …* Specifies the delay wait interval (in milliseconds) used by attach backoff feature after a succe… 206 * it resets the current backoff interval back to the minimum value. 208 …* If it is set to zero then the device resets its backoff attach interval immediately after a succ… 209 … if after a successful attach, the device happens to detach within the delay interval, the reattach [all …]
|
D | announce_sender.h | 63 * Specifies the time interval (in milliseconds) between `AnnounceSender` transmit cycles. 66 …* The transmissions on different channels happen uniformly over the given interval (i.e., if there… 67 …* there will be 16 MLE Announcement messages each on one channel with `interval / 16` between two… 80 …he number of MLE Announcement messages that the device must receive within a cycle interval to skip 95 …* Specifies the jitter interval (in milliseconds) used by `AnnounceSender`. A random jitter interv…
|
D | mesh_forwarder.h | 102 …* Specifies the time-in-queue threshold interval in milliseconds to mark ECN on a message if it is… 113 * Specifies the time-in-queue threshold interval in milliseconds to drop a message. 172 …ata consists of number of bins, each representing a range of time-in-queue values. The bin interval 174 …* maximum tracked interval is given by the `OPENTHREAD_CONFIG_TX_QUEUE_STATISTICS_HISTOGRAM_MAX_IN… 186 …* Specifies the maximum time-in-queue interval in milliseconds tracked by the histogram when the T… 190 …* maximum time-in-queue interval after which a non-ECN capable message is dropped by delay-aware q… 202 …* Specifies the time-in-queue histogram bin interval in milliseconds when the TX queue time-in-que…
|
D | channel_monitor.h | 61 * The sample interval in milliseconds used by Channel Monitoring feature. 64 * interval. 93 …* The averaging sample window length (in units of channel sample interval) used by Channel Monitor… 95 …* Channel monitoring will sample all channels every sample interval. It maintains the average rate…
|
D | parent_search.h | 58 …* check interval (in seconds) and `OPENTHREAD_CONFIG_PARENT_SEARCH_RSS_THRESHOLD` gives the RSS th… 62 …* another one before a specified backoff interval specified by `OPENTHREAD_CONFIG_PARENT_SEARCH_BA… 72 …* Specifies the interval in seconds for a child to check the trigger condition to perform a parent… 84 …* Specifies the backoff interval in seconds for a child to not perform a parent search after trigg…
|
/openthread-3.7.0/src/core/thread/ |
D | announce_sender.hpp | 76 …the specified channel mask from `GetChannelMask()`, with `GetPeriod()` as the time interval between 78 …* `GetJitter()` value is used to add a random interval from `[-jitter, jitter]` to each period int… 88 * transmission happens within a short random interval selected from range `[0, jitter]`. 111 * Gets the period interval. 113 * @returns The period interval (in milliseconds). 119 * Sets the period interval. 121 …* The period along with jitter value from (`Get/SetJitter()`) determines the interval between two … 124 * @param[in] aPeriod The period interval (in milliseconds). 130 * Gets the current jitter interval. 132 * @returns The jitter interval (in milliseconds). [all …]
|
D | child_supervision.hpp | 59 * a fixed interval, namely the supervision interval. If there 61 * interval, child supervisor enqueues and sends a supervision 66 * for a pre-specified timeout interval it assumes that it may 176 * Sets the supervision interval. 178 …* @param[in] aInterval If non-zero, the desired supervision interval (in seconds), zero to disable… 184 * Returns the supervision interval. 186 * @returns The current supervision interval (seconds), or zero if supervision is disabled. 194 …* If the child does not hear from its parent within the given check timeout interval, it initiates… 199 * interval plus the maximum time between the child's data poll transmissions. 201 …* @param[in] aTimeout The timeout interval (in seconds), zero to disable the supervision check … [all …]
|
/openthread-3.7.0/include/openthread/ |
D | child_supervision.h | 55 * Gets the Child Supervision interval (in seconds) on a child. 58 …* within the supervision interval. If there is no transmission to the child within the supervision… 63 * @returns The child supervision interval. Zero indicates that supervision is disabled. 69 * Sets the child supervision interval (in seconds) on the child. 72 * @param[in] aInterval The supervision interval (in seconds). Zero to disable supervision. 78 * Gets the supervision check timeout interval (in seconds) on the child. 91 * Sets the supervision check timeout interval (in seconds) on the child. 103 * not hear from its parent within the specified check timeout interval.
|
D | srp_client.h | 96 * indicates that the interval is unspecified and then the default lease or key lease intervals from 98 …* interval (whether set explicitly or determined from the default) is shorter than the lease inter… 99 …* SRP client will re-use the lease interval value for key lease interval as well. For example, if … 117 …uint32_t mLease; ///< Desired lease interval in sec - zero to use defaul… 118 …uint32_t mKeyLease; ///< Desired key lease interval in sec - zero to use de… 164 …* update message to the server, after some wait interval. The retry wait interval starts from the … 211 * delay interval. 344 …* By default, the TTL will equal the lease interval. Passing 0 or a value larger than the lease in… 345 * `otSrpClientSetTtl()` will also cause the TTL to equal the lease interval. 361 …* @param[in] aTtl The TTL (in seconds). If value is zero or greater than lease interval, th… [all …]
|
D | channel_manager.h | 100 …able on FTDs. The delay should preferably be longer than the maximum data poll interval used by all 176 …led, `ChannelManager` will periodically invoke a `RequestChannelSelect(false)`. The period interval 200 * a `otChannelManagerRequestCslChannelSelect()`. The period interval can be set by 223 * Sets the period interval (in seconds) used by auto-channel-selection functionality. 226 * @param[in] aInterval The interval in seconds. 228 * @retval OT_ERROR_NONE The interval was set successfully. 235 * Gets the period interval (in seconds) used by auto-channel-selection functionality. 239 * @returns The interval in seconds.
|
/openthread-3.7.0/tests/toranj/ncp/ |
D | test-029-data-poll-interval.py | 34 # Test description: Verify transmission of data polls and poll interval change. 58 parent.form("poll-interval") 65 # Verify the default poll interval is smaller than child_timeout 88 …print("poll interval {} ms, polls -> actual {}, expected {}".format(poll_interval, actual_polls, e… 92 # Verify behavior when poll interval is switched from long to short. 94 # - Poll interval set to 5 seconds 96 # - Change poll interval to 200 ms 109 # Verify behavior when poll interval is set to zero. 110 # Poll interval should use default interval again (based on child timeout). 115 # Change "child timeout" and verify that default interval does change
|
/openthread-3.7.0/src/core/net/ |
D | srp_client.hpp | 281 * Gets the desired lease interval to request when registering this service. 283 * @returns The desired lease interval in sec. Zero indicates to use default. 289 * Gets the desired key lease interval to request when registering this service. 291 * @returns The desired lease interval in sec. Zero indicates to use default. 472 …* By default, the TTL will equal the lease interval. Passing 0 or a value larger than the lease in… 473 * `otSrpClientSetTtl()` will also cause the TTL to equal the lease interval. 486 …* @param[in] aTtl The TTL (in seconds). If value is zero or greater than lease interval, the TTL … 487 * lease interval. 493 * Gets the lease interval used in SRP update requests. 496 * different lease interval. [all …]
|
/openthread-3.7.0/src/core/utils/ |
D | jam_detector.cpp | 178 // If the RSSI sample does not exceed the threshold, go back to max sample interval in HandleTimer() 179 // Otherwise, divide the sample interval by half while ensuring it does not go lower in HandleTimer() 180 // than minimum sample interval. in HandleTimer() 204 uint32_t interval = TimerMilli::GetNow() - mCurSecondStartTime; in UpdateHistory() local 207 // for current second interval. in UpdateHistory() 213 // If we reached end of current one second interval, update the history bitmap in UpdateHistory() 215 if (interval >= Time::kOneSecondInMsec) in UpdateHistory() 226 mCurSecondStartTime += (interval / Time::kOneSecondInMsec) * Time::kOneSecondInMsec; in UpdateHistory()
|
D | jam_detector.hpp | 172 * each bit corresponds to one second interval starting with bit 0 for the 173 * most recent interval and bit 63 for the oldest intervals (63 earlier). 175 * high signal level during the corresponding one second interval. 200 …nt64_t mHistoryBitmap; // History bitmap, each bit correspond to 1 sec interval 201 TimeMilli mCurSecondStartTime; // Start time for current 1 sec interval 202 uint16_t mSampleInterval; // Current sample interval 206 bool mAlwaysAboveThreshold : 1; // State for current 1 sec interval
|
D | channel_manager.hpp | 122 …* The delay should preferably be longer than maximum data poll interval used by all sleepy-end-dev… 201 …led, `ChannelManager` will periodically invoke a `RequestChannelSelect(false)`. The period interval 222 …led, `ChannelManager` will periodically invoke a `RequestChannelSelect(false)`. The period interval 240 * Sets the period interval (in seconds) used by auto-channel-selection functionality. 242 * @param[in] aInterval The interval (in seconds). 244 * @retval kErrorNone The interval was set successfully. 251 * Gets the period interval (in seconds) used by auto-channel-selection functionality. 253 * @returns The interval (in seconds). 307 // Retry interval to resend Pending Dataset in case of tx failure (in ms).
|
/openthread-3.7.0/tests/scripts/thread-cert/pktverify/ |
D | utils.py | 142 def colon_hex(hexstr, interval) -> str: argument 143 """ Convert hexstr to colon separated string every interval 146 :param interval: The interval number. 149 assert len(hexstr) % interval == 0 150 return ':'.join(hexstr[i:i + interval] for i in range(0, len(hexstr), interval))
|
/openthread-3.7.0/tests/scripts/thread-cert/ |
D | addon_test_channel_manager_autocsl.py | 91 # and shorten interval to speedup test 94 interval = 30 98 self.nodes[SSED].set_channel_manager_interval(interval) 104 self.simulator.go(interval + 1) 108 self.assertTrue(int(results['interval']) == interval) 132 self.simulator.go(interval + 1)
|
D | Cert_5_3_06_RouterIdMask.py | 183 # 0.0s: Reset Interval, reset interval to 1 seconds, random interval at 0.5 second 185 # 1.0s: Set interval to 2 seconds, random interval at 2 seconds 186 … # 3.0s: Receive MLE Advertisement, reset interval to 1 second, random interval at 1.0 second
|
/openthread-3.7.0/tests/scripts/expect/ |
D | cli-channel.exp | 48 expect -re {interval: \d+} 70 send "channel manager interval 20000\n" 82 expect "interval: 20000"
|
/openthread-3.7.0/third_party/mbedtls/repo/include/mbedtls/ |
D | hmac_drbg.h | 47 #define MBEDTLS_HMAC_DRBG_RESEED_INTERVAL 10000 /**< Interval before reseed is performed by def… 85 int MBEDTLS_PRIVATE(reseed_interval); /*!< reseed interval */ 110 * \note The reseed interval is #MBEDTLS_HMAC_DRBG_RESEED_INTERVAL 254 * \brief Set the reseed interval. 256 * The reseed interval is the number of calls to mbedtls_hmac_drbg_random() 263 * \param interval The reseed interval. 266 int interval);
|