-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upmerge to 6edb06e
#121
Upmerge to 6edb06e
#121
Commits on Sep 12, 2023
-
[include] remove include of core config file (#9417)
The core config file shouldn't be included in public API headers because they will be included from high level project code (like ot-br-posix) and the config file cannot be located if included here.
Configuration menu - View commit details
-
Copy full SHA for 694528a - Browse repository at this point
Copy the full SHA 694528aView commit details
Commits on Sep 13, 2023
-
[address-resolver] remove cache entry if its RLOC16 is unreachable (#…
…9411) This commit updates `AddressResolver::Resolve()` to validate that the associated RLOC16 is reachable in the sense that a valid next hop can be found towards it, before using a matching cache entry in `mCachedList` or `mSnoopedList`. If the RLOC16 is not reachable, the cache entry is removed to trigger a new address query.
Configuration menu - View commit details
-
Copy full SHA for 45727d3 - Browse repository at this point
Copy the full SHA 45727d3View commit details -
[mac] fix channel switching issue during energy scan (#9405)
- This commit resolves inconsistency between Host and RCP channel on scan energy when network not created. - Added fix in MAC layer to update the channel on scan energy.
Configuration menu - View commit details
-
Copy full SHA for 31df636 - Browse repository at this point
Copy the full SHA 31df636View commit details
Commits on Sep 14, 2023
-
[url] add methods to parse parameters from url (#9392)
This commit adds methods to parse parameter values directly from the url, moves the url unit test to the test/unit, and updates the url processing methods in posix platform.
Configuration menu - View commit details
-
Copy full SHA for 20a12eb - Browse repository at this point
Copy the full SHA 20a12ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for df010bc - Browse repository at this point
Copy the full SHA df010bcView commit details -
[posix] add a flag to turn posix multicast routing feature on/off (#9…
…412) This commit adds a separate flag to be able to turn the posix part of multicast routing implementation off/on. The new OPENTHREAD_POSIX_CONFIG_BACKBONE_ROUTER_MULTICAST_ROUTING_ENABLE flag guards the feature of posix multicast routing using MFC(multicast forwarding cache) in MRT(multicast routing table). The existing OPENTHREAD_CONFIG_BACKBONE_ROUTER_MULTICAST_ROUTING_ENABLE continues to guard the core multicast routing feature, for example handling the MLR.req message and the multicast listeners table. In a system where it has its own multicast routing support for packet forwarding between Thread network and AIL, it should set OPENTHREAD_POSIX_CONFIG_BACKBONE_ROUTER_MULTICAST_ROUTING_ENABLE to 0.
Configuration menu - View commit details
-
Copy full SHA for 8ed949e - Browse repository at this point
Copy the full SHA 8ed949eView commit details -
[netdata] remove unallocated router ID entries on recovery after rese…
…t (#9421) This commit updates `HandleNetworkDataRestoredAfterReset()` which is called when a leader device is reset and recovers the Network Data from other routers. With the new code, leader will now check and remove entries in the restored Network Data that are from any currently unallocated router ID. This change acts as a safeguard against an edge case where the leader is reset at an inopportune time, such as right after it removed an allocated router ID and sent MLE advertisement but before it got the chance to send the updated Network Data to other routers.
Configuration menu - View commit details
-
Copy full SHA for b5b9342 - Browse repository at this point
Copy the full SHA b5b9342View commit details
Commits on Sep 15, 2023
-
[firewall] implement packet filtering in OT core (#9402)
This commit implements the packet logic in OT core. It aims to have the same effect as what's already achieved by our iptables-based firewall. Instead of leveraging iptables, this commit filters the border routing packets in user space by checking the source/destination addresses of a packet. This commit also adds a job to do BR regression test when this feature is enabled and iptables-based firewall is disabled.
Configuration menu - View commit details
-
Copy full SHA for a383e36 - Browse repository at this point
Copy the full SHA a383e36View commit details
Commits on Sep 18, 2023
-
[posix] add channel mask configurations to configuration file (#9391)
This commit allows developers to set the preferred channel mask and the supported channel mask in the configuration file. The posix platform selects channel masks from the configuration file based on the region code when the region code is updated.
Configuration menu - View commit details
-
Copy full SHA for 2a502ab - Browse repository at this point
Copy the full SHA 2a502abView commit details -
[spinel] save MAC frame counter to a local variable (#9407)
This commit saves the MAC counter to a local variable to avoid calling the core function Get<Settings>().Read() in radio_spinel_impl.hpp. This is useful when spinel module is used as a lib in other projects.
Configuration menu - View commit details
-
Copy full SHA for ea61838 - Browse repository at this point
Copy the full SHA ea61838View commit details -
github-actions: bump actions/checkout from 3.6.0 to 4.0.0 (#9429)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@f43a0e5...3df4ab1) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5f8f05c - Browse repository at this point
Copy the full SHA 5f8f05cView commit details -
[border-agent] smaller enhancements (#9432)
This commit contains smaller changes in `BorderAgent` class: - Define `kUdpPort` as a private constants in `BorderAgent` class. - Add `SendMessage()` method to send message through `SecureAgent`. - Add `LogError()` as a method so the correct log module is used. - Remove unused `mMessageInfo` member variable. - Harmonize log messages.
Configuration menu - View commit details
-
Copy full SHA for 851e00f - Browse repository at this point
Copy the full SHA 851e00fView commit details
Commits on Sep 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 07c56c2 - Browse repository at this point
Copy the full SHA 07c56c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21ac9f5 - Browse repository at this point
Copy the full SHA 21ac9f5View commit details
Commits on Sep 20, 2023
-
[posix] update the default channel masks in the configuration file (#…
…9443) The default supported channel mask is set to 0x7fff000 in the default configuration file. The dbus client test case sets the channel to 11 which is not valid in the supported channel mask. It causes the CI test failures in openthread/ot-br-posix#2027. This commit updates the default supported and preferred channel masks in the configuration file to avoid the CI test failures.
Configuration menu - View commit details
-
Copy full SHA for df12824 - Browse repository at this point
Copy the full SHA df12824View commit details -
[border-agent] simplify
ForwardContext
allocation and ownership (#9……444) This commit updates `ForwardContext` to be `Heap::Allocatable` and uses `OwnerPtr` to simplify the ownership (and freeing) of allocated `ForwardContext` objects.
Configuration menu - View commit details
-
Copy full SHA for 753b305 - Browse repository at this point
Copy the full SHA 753b305View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3905006 - Browse repository at this point
Copy the full SHA 3905006View commit details
Commits on Sep 21, 2023
-
[nat64] enable discovering NAT64 AIL prefix for OpenWRT (#9441)
According to the description of openwrt/openwrt#11559, libanl is already included in the musl c library, so we can turn this option on. We enable OPENTHREAD_POSIX_CONFIG_NAT64_AIL_PREFIX_ENABLE on OpenWrt platform for better experience.
Configuration menu - View commit details
-
Copy full SHA for 93e72bc - Browse repository at this point
Copy the full SHA 93e72bcView commit details -
[tmf] set default snoop cache entry count to 1/16 of total (#9440)
This commit sets the default value of the configuration `TMF_ADDRESS_CACHE_MAX_SNOOP_ENTRIES` to `1/16` of the total number of address cache entries. This ensures that the snoop entries scale with the total number of entries.
Configuration menu - View commit details
-
Copy full SHA for 85aff45 - Browse repository at this point
Copy the full SHA 85aff45View commit details
Commits on Sep 22, 2023
-
[spinel] reset mState to kStateDisabled if recovering from kStateDisa…
…led (#9450) This commit changes openthread rcp recovery code to keep `mState` as `kStateDisabled` if the state before recovery was `kStateDisabled`. This is needed to avoid otbr-agent crash in the scenario where rcp recovery is triggered before otbr initialization.
Configuration menu - View commit details
-
Copy full SHA for f0530af - Browse repository at this point
Copy the full SHA f0530afView commit details
Commits on Sep 25, 2023
-
Revert "[nat64] enable discovering NAT64 AIL prefix for OpenWRT (#944…
…1)" (#9458) This reverts commit 93e72bc.
Configuration menu - View commit details
-
Copy full SHA for f31a583 - Browse repository at this point
Copy the full SHA f31a583View commit details -
github-actions: bump github/codeql-action from 2.21.4 to 2.21.8 (#9459)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.21.4 to 2.21.8. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@a09933a...6a28655) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9b7c78f - Browse repository at this point
Copy the full SHA 9b7c78fView commit details -
[address-resolver] set minimum
kMaxNonEvictableSnoopedEntries
to `1……` (#9460) Resolves issues when `OPENTHREAD_CONFIG_TMF_ADDRESS_CACHE_ENTRIES` is too small.
Configuration menu - View commit details
-
Copy full SHA for 6943dd2 - Browse repository at this point
Copy the full SHA 6943dd2View commit details -
[docs] add Doxygen tags for CLI commands (
macfilter rss add
- `macf……ilter rss remove`) (#9442)
Configuration menu - View commit details
-
Copy full SHA for 9099a13 - Browse repository at this point
Copy the full SHA 9099a13View commit details
Commits on Sep 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0c5966d - Browse repository at this point
Copy the full SHA 0c5966dView commit details
Commits on Sep 27, 2023
-
[script] exclude
ot_testing
and__pycache__
when building the OTB……R docker (#9457) This commit excludes `ot_testing` and `__pycache__` directories when copying the files before building the docker. Such files are usually generated by root user and will cause errors when copying them as a non-root user.
Configuration menu - View commit details
-
Copy full SHA for 17286db - Browse repository at this point
Copy the full SHA 17286dbView commit details -
[ip6] update where
HandlePayload()
checkmessage
is not null (#9462)This commit updates `Ip6::HandlePayload()` to check the `message` pointer for null in the common flow, instead of in the `if()` block where the message is cloned when `aMessageOwnership` is set to `kCopyToUse`. If `aMessageOwnership` is `kTakeCustody` the `message` is initialized as `&aMessage` already which cannot be `nullptr`. This protects against code checker warnings that `message` may remain null if the given `aMessageOwnership` enum value is not one of its two defined enumerator values.
Configuration menu - View commit details
-
Copy full SHA for 09a0fbe - Browse repository at this point
Copy the full SHA 09a0fbeView commit details -
[posix] address coverity warning: argument cannot be negative (#9453)
Added validation to check for the negative value of sMLDMonitorFd, as setsockopt parameter cannot be negative.
Configuration menu - View commit details
-
Copy full SHA for 50487a6 - Browse repository at this point
Copy the full SHA 50487a6View commit details
Commits on Sep 28, 2023
-
[joiner] check for non-zero joiner UDP port before electing a joiner …
…router (#9445) An invalid Discovery Response that carries no Joiner UDP Port TLV will be accepted by the joiner, but we shouldn't qualify it as a valid joiner router since we can only open a connection with a non-zero port.
Configuration menu - View commit details
-
Copy full SHA for f19548b - Browse repository at this point
Copy the full SHA f19548bView commit details -
[mle] simplify
ProcessRouteTlv()
call inHandleAdvertisement()
(#……9465) This commit simplifies the checks to decide whether or not to call `ProcessRouteTlv()` in `MleRouter::HandleAdvertisement()`. The whole check is guarded by `aRxInfo.IsNeighborStateValid()`, which ensures that we only process Route TLVs for Advertisements received from valid neighbors. In particular, we can remove the additional checks in the case where the device is itself `IsChild()` (i.e., acting as an FED). In this case, `aRxInfo.mNeighbor` will be determined using `NeighborTable::FindNeighbor()`, which checks and accepts the parent as the only valid neighbor of the FED child.
Configuration menu - View commit details
-
Copy full SHA for 9f76d45 - Browse repository at this point
Copy the full SHA 9f76d45View commit details -
[nd6] add
RaFlagsExtOption
and track flags in received RAs (#9448)This commit adds the `RaFlagsExtOption` class to represent an "RA Flags Extension" Option. It also adds code to `RoutingManager` class to process this option in received RA messages and check whether or not the Stub Router Flag is set. Additionally, it checks and tracks whether or not the `M` (Managed Address) and `O` (Other Config) flags are set in the received RA message's header.
Configuration menu - View commit details
-
Copy full SHA for 50c70d8 - Browse repository at this point
Copy the full SHA 50c70d8View commit details -
[docs] Doxygen tags for CLI commands [
neighbor linkquality
— `netwo……rkidtimeout`] (#9466)
Configuration menu - View commit details
-
Copy full SHA for bd63637 - Browse repository at this point
Copy the full SHA bd63637View commit details
Commits on Sep 29, 2023
-
[routing-manager] new config to use heap for
PrefixTable
entries (#……9455) This commit introduces a new configuration option for the routing manager to use heap-allocated entries in the `DiscoveredPrefixTable`, which maintains a list of discovered routers and their advertised on-link prefixes. This makes the implementation more flexible when dealing with a large number of routers and/or discovered prefix entries. The config option `OPENTHREAD_CONFIG_BORDER_ROUTING_USE_HEAP_ENABLE` enables this behavior. By default, it is enabled. When disabled, the previous model, which uses pre-allocated arrays and pools, is used instead. This commit also updates the unit test `test_routing_manager` to track heap allocations and validate that all heap allocations by the routing manager are freed when it is stopped.
Configuration menu - View commit details
-
Copy full SHA for eaa6261 - Browse repository at this point
Copy the full SHA eaa6261View commit details
Commits on Oct 2, 2023
-
github-actions: bump actions/checkout from 4.0.0 to 4.1.0 (#9476)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@3df4ab1...8ade135) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c6eaeda - Browse repository at this point
Copy the full SHA c6eaedaView commit details
Commits on Oct 3, 2023
-
[github-actions] fix the
codespell
version inspell-check
job (#9……482) This commit fixes the version of `codespell` installed in the `spell-check` job of `build` workflow to version `2.2.4`.
Configuration menu - View commit details
-
Copy full SHA for becba6b - Browse repository at this point
Copy the full SHA becba6bView commit details -
[bbr-local] simplify
AddService()
and its use (#9477)This commit contains smaller changes in `BackbonRouter::Local`: - `AddService()` now gets a `RegisterationMode` enum as its input either decide based on current state or force registration. - We remove the `NetworkData::Notifier::HandleServerDataUpdated()` calls after calling `AddService()` since `AddService()` method itself will already call this (when successfully adds the service to Network Data) - We also remove the extra state check before calling `AddService()` as it is done by the `AddService()` method itself.
Configuration menu - View commit details
-
Copy full SHA for 3043f2e - Browse repository at this point
Copy the full SHA 3043f2eView commit details
Commits on Oct 4, 2023
-
[backbone-router] use
TimeTicker
directly to delay registration (#9……483) This commit update `BackboneRouter::Local` to be a `TimeTicker` receiver directly instead of using the `MleRouter for this. The `TimeTicker` callback is used to delay registration by counting down `mRegistrationTimeout`.
Configuration menu - View commit details
-
Copy full SHA for 4ab8334 - Browse repository at this point
Copy the full SHA 4ab8334View commit details -
[mle] simplify reattach on losing connectivity to leader (#9479)
This commit updates the attach process to the same partition after a router/REED losing connectivity to the leader. It removes the `kSamePartitionRetry` enumerator from `AttachMode`. With this change, after trying to attach using `kSamePartition` attach mode (with a total of six Parent Request attempts to Routers and REEDs), the device will switch to `kAnyPartition` attach mode. This helps to reduce the total number of attempts before the device can decide to take the leader role.
Configuration menu - View commit details
-
Copy full SHA for 21d62ec - Browse repository at this point
Copy the full SHA 21d62ecView commit details -
[mle] send data polls after Child ID Request ack (#9264)
Currently, when SED sends out the Child ID request, the first data poll goes out immediately (from the SendChildIDRequest method in MeshForwarder (snippet A). This does not check for any failures in RCP or SubMac (Channel Access failures or Abort which can cause Child ID request to fail transmission). In such failure scenarios, additional data polls are sent out (to retrieve Child ID response which seems like wasted OTA transmissions). Request to delay the start of data polling procedure after the Child ID request is sent successfully.
Configuration menu - View commit details
-
Copy full SHA for 9d80fbc - Browse repository at this point
Copy the full SHA 9d80fbcView commit details -
[docs] fix typos in Doxygen documentation (#9485)
This commit fixes typos in Doxygen documentation, ensuring that `@param` variable names match the function/method declaration. It also adds any missing `@param` tags and removes extra ones.
Configuration menu - View commit details
-
Copy full SHA for 4e52d85 - Browse repository at this point
Copy the full SHA 4e52d85View commit details
Commits on Oct 5, 2023
-
[mle] handle received Advertisements from
RxOnlyNeighbor
on FED (#9……484) This commit updates `Mle` class such that on an FED (FTD child) when an MLE message is received, we use `FindRxOnlyNeighborRouter()` in addition to `FindNeighbor()` before performing security check. This ensures that the key sequence and frame counters are validated for messages from a rx-only neighbor router. After security check and before calling `Handle{MleCommand}()` we clear the `neighbor` if it is a rx-only except for a subset of MLE messages such as MLE Advertisement. This ensures that, as an FED, we are selective about which messages to process from rx-only neighbors. This commit also adds a new flavor of `FindRxOnlyNeighborRouter()` that accepts an `Mac::ExtAddress` as its input parameter.
Configuration menu - View commit details
-
Copy full SHA for a363396 - Browse repository at this point
Copy the full SHA a363396View commit details -
[ip6] drop UDP datagrams from an untrusted origin to TMF port (#9437)
This commit drops UDP datagrams from an untrusted origin to TMF port. Examples of untrusted origin: - A process other than OT on the host sends the packet to Thread network via platform API. - A packet forwarded from infrastructure network to Thread network by Thread Border Router. OT shouldn't allow UDP datagrams from untrusted origins going to TMF port of any Thread device. To implement this, there's an API `otIp6SendFromOrigin` introduced. This can be used for specifying the origin of a packet you want to send. This commit also encapsulates the 'origin' information in `Message::Metadata`.
Configuration menu - View commit details
-
Copy full SHA for e64f38a - Browse repository at this point
Copy the full SHA e64f38aView commit details -
[routing-manager] include Stub Router flag in emitted RAs by BR (#9486)
This commit updates `RoutingManager` to include the Flags Extension Option with Stub Router flag in its emitted Router Advertisement messages. Config `STUB_ROUTER_FLAG_IN_EMITTED_RA_ENABLE` can be used to enable or disable this behavior which is enabled by default.
Configuration menu - View commit details
-
Copy full SHA for 4f6b492 - Browse repository at this point
Copy the full SHA 4f6b492View commit details
Commits on Oct 6, 2023
-
[mle-router] add
RouterRoleTransition
nested class (#9490)This commit adds `RouterRoleTransition` nested class to `MleRouter`. This class tracks the timeout and jitter intervals for router role transitions, i.e., device upgrading to router role from REED or downgrading from router to REED. It provides helper methods like `IsPending()` and `StartTimeout()` to check if role transition is pending or to start the timeout countdown. These methods help to simplify the code and make it more readable.
Configuration menu - View commit details
-
Copy full SHA for 50e20c8 - Browse repository at this point
Copy the full SHA 50e20c8View commit details
Commits on Oct 9, 2023
-
[crypto-platform] fix build issue with mbedtls v3.5.0 (#9492)
As per the mbedTLS v3.5.0 release notes: Ref: https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.5.0 MBEDTLS_CIPHER_BLKSIZE_MAX is deprecated in favor of MBEDTLS_MAX_BLOCK_LENGTH (if you intended what the name suggests: maximum size of any supported block cipher) or the new name MBEDTLS_CMAC_MAX_BLOCK_SIZE (if you intended the actual semantics: maximum size of a block cipher supported by the CMAC module). This commit fixes the build issue keeping the backward compatibility intact.
Configuration menu - View commit details
-
Copy full SHA for 017c7ab - Browse repository at this point
Copy the full SHA 017c7abView commit details -
[mesh-forwarder] remove message if no pending tx in
SendMessage()
(……#9495) This commit updates `MeshForwarder::SendMessage()` on FTD to check if the message is marked for direct transmission and/or indirect transmission to a sleepy child. If there is no pending transmission, the message is removed. This situation can occur if the message destination is a multicast address larger than realm-local scope. In such a case, `SendMessage()` skips `SetDirectTransmission()` on the message(since such message will be forwarded using IP-in-IP encapsulation by `Ip6` module) and assumes the message is for a sleepy child. However, if none of the children are subscribed to this address, the message will not be marked for indirect transmission either. Without the fix in this commit, such messages would have remained in the `mSendQueue` and not been removed or freed, as messages are only checked for removal after a direct or indirect transmission attempt.
Configuration menu - View commit details
-
Copy full SHA for 1b271a4 - Browse repository at this point
Copy the full SHA 1b271a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for af5938e - Browse repository at this point
Copy the full SHA af5938eView commit details -
github-actions: bump step-security/harden-runner from 2.5.1 to 2.6.0 …
…(#9499) Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.5.1 to 2.6.0. - [Release notes](https://github.com/step-security/harden-runner/releases) - [Commits](step-security/harden-runner@8ca2b8b...1b05615) --- updated-dependencies: - dependency-name: step-security/harden-runner dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 652e3f2 - Browse repository at this point
Copy the full SHA 652e3f2View commit details
Commits on Oct 10, 2023
-
[message] add
IsOrigin{}()
helper methods (#9506)This commit adds helper methods to the `Message` class to check if the message origin matches a specific origin. These methods are used in the code as syntactic sugar to simplify the code.
Configuration menu - View commit details
-
Copy full SHA for 786bd7f - Browse repository at this point
Copy the full SHA 786bd7fView commit details -
[cli] update
ip6addr -v
to include more info about address (#9488)This commit updates the `ip6addr -v` CLI command to provide more information about each address including origin, prefix length, and preferred and valid flags.
Configuration menu - View commit details
-
Copy full SHA for 8cefa49 - Browse repository at this point
Copy the full SHA 8cefa49View commit details -
[mesh-forwarder] simplify multicast forward to sleepy children (#9505)
This commit simplifies the `MeshForwarder::SendMessage()` method and its logic for determining whether to send a multicast message to sleepy children. We first determine whether the destination address is link-local or realm-local all-nodes, meaning it is destined to all nodes. Otherwise, we need to check whether each sleepy child is subscribed to the address. We then iterate through the child table and mark the message for indirect transmission accordingly.
Configuration menu - View commit details
-
Copy full SHA for 2fe0770 - Browse repository at this point
Copy the full SHA 2fe0770View commit details -
[spinel] create spinel interface based on the radio url protocol (#9393)
The posix platform is able to support the HDLC, SPI and vendor spinel interfaces, but the spinel interface type can't be changed dynamically. It is inconvenient to use different spinel interfaces for Thread stack in Android. This commit enables the posix platform to support the HDLC, SPI and vendor interface at the same time, and the final spinel interface type is determined by the radio url protocol. Some other changes: 1. Not use CRTP style for the radio spinel. 2. Deprecate the OT_POSIX_CONFIG_RCP_BUS and OPENTHREAD_POSIX_CONFIG_RCP_TIME_SYNC_INTERVAL.
Configuration menu - View commit details
-
Copy full SHA for 7568e31 - Browse repository at this point
Copy the full SHA 7568e31View commit details -
[ip6-mpl] simplify
Mpl::HandleRetransmissionTimer()
(#9509)This commit contains smaller changes in `HandleRetransmissionTimer()`: - Remove nested if/else blocks and use `continue`. - We clone the MPL message if more retx are needed, otherwise use the `message` directly. - In both cases, we now use the same code path for preparing and sending the `message`, avoiding repeated code. - Rename `GetTimerExpirations() to `DetermineMaxRetransmissions()`.
Configuration menu - View commit details
-
Copy full SHA for ca97cf7 - Browse repository at this point
Copy the full SHA ca97cf7View commit details -
[ip6-mpl] remove
aIsOutbound
input and useaMessage.GetOrigin()
(……#9510) With the recent addition of `GetOrigin()`, the origin of a message is tracked by `Message` itself. With this change, we no longer need to pass `aIsOutbound` to `Ip6::Mpl` methods, as it can be determined from the origin of `aMessage`. This commit simplifies the code by removing the `aIsOutbound` input parameter.
Configuration menu - View commit details
-
Copy full SHA for 0d0655d - Browse repository at this point
Copy the full SHA 0d0655dView commit details
Commits on Oct 11, 2023
-
[ip6] fix constant name style and simplify filtering of ICMP types (#…
…9512) This commit contains smaller changes in `Ip6` class: - Rename constant `kForwardIcmpTypes` to follow naming convention - Simplify how it it used to filter which ICMP types are forwarded to Thread mesh.
Configuration menu - View commit details
-
Copy full SHA for 57ef721 - Browse repository at this point
Copy the full SHA 57ef721View commit details -
[ping-sender] allow setting multicast loop (#9494)
This commit updates `PingSender` and its config to include a `mMulticastLoop` flag and allow the caller to set this flag. When set, multicast ping echo request messages are looped back and received by the device itself if it is subscribed to the same address. The `ping` CLI command is also updated to allow setting this flag. This commit also updates `test-008-multicast-traffic.py` to add new test cases to cover the multicast loop flag behavior (pinging with or without this flag). In particular, it covers when the ping destination is a realm-local multicast address and when it is a larger-than-realm-local multicast address (where the `ot::Ip6` module would use a tunnel header for forwarding the message).
Configuration menu - View commit details
-
Copy full SHA for 8f6d670 - Browse repository at this point
Copy the full SHA 8f6d670View commit details -
Configuration menu - View commit details
-
Copy full SHA for be317ec - Browse repository at this point
Copy the full SHA be317ecView commit details -
[ip6] update tunnel message receive in
HandleDatagram()
(#9503)This commit updates how `Ip6::HandleDatagram()` processes a tunneled IP-in-IP message. Previously, if a message was marked for both `receive` and `forwardThread`, e.g., possible for a multicast message from host with multicast-loop flag, it would be received but not forwarded to the Thread mesh. This commit ensures that such messages are handled properly. Without this change, multicast transmission still works fine due to the MPL layer retransmitting the message, which would then be forwarded to the Thread mesh. However, this change improves the multicast behavior by ensuring that the original/first message is also forwarded to the Thread mesh. This commit changes the code so that if we need to both `receive` and `forwardThread`, we create a copy of the message by cloning it. Otherwise, we take ownership of the original message and use it directly. We then remove the encapsulating header before processing the embedded message by calling the `HandleDatagram()` recursively.
Configuration menu - View commit details
-
Copy full SHA for 543b5da - Browse repository at this point
Copy the full SHA 543b5daView commit details
Commits on Oct 12, 2023
-
[ip6] add
PrepareMulticastToLargerThanRealmLocal()
(#9513)This commit adds `Ip6::PrepareMulticastToLargerThanRealmLocal()`, which prepares to transmit a multicast message with destination larger than realm-local address. It checks if any sleepy child of device is subscribed to the multicast address and clones the message for indirect tx if needed, before adding the IP-in-IP tunnel header. The new method helps remove repeated code in `SendRaw()` and `SenDatagram()`.
Configuration menu - View commit details
-
Copy full SHA for fc30740 - Browse repository at this point
Copy the full SHA fc30740View commit details -
[ip6] update
otNetifAddress.mNext
to be pointer toconst
(#9519)This commit contains the following smaller changes in `Ip6` and its public APIs: - Updates the `otNetifAddress.mNext` field to be a pointer to `const`. This prevents users of OT APIs from modifying addresses as they iterate over the list of addresses. The `otNetifMulticastAddress` structure already uses this model. - Adds new API `otIp6HasUnicastAddress()` to check whether or not a unicast IPv6 address is assigned to the Thread interface. This is used to simplify CLI and `posix/platform/netif.cpp`. - Fixes the returned error from `otIp6AddUnicastAddress()` to be `OT_ERROR_INVALID_ARGS` when the address is a Thread internal address, to match the documentation. - Fixes documentation and style in `ip6.h`.
Configuration menu - View commit details
-
Copy full SHA for 094bae0 - Browse repository at this point
Copy the full SHA 094bae0View commit details
Commits on Oct 13, 2023
-
[mac] skip logging trel frame tx error when trel interface is disable…
…d (#9522) This commit updates `Mac::LogFrameTxFailure` to skip logging when `Trel::Interface` is disabled.
Configuration menu - View commit details
-
Copy full SHA for 17e433c - Browse repository at this point
Copy the full SHA 17e433cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9876468 - Browse repository at this point
Copy the full SHA 9876468View commit details
Commits on Oct 14, 2023
-
[netif] simplify applying mesh-local prefix change to addresses (#9527)
This commit simplifies how the `Netif` unicast and multicast addresses that use the mesh-local prefix are updated when the mesh-local prefix is changed. The `Netif::UnicastAddress` class now includes a `mMeshLocal` flag, which is set for all mesh-local addresses (RLOCs, ALOCs, and ML-EID). When the mesh-local prefix is changed, `Mle` will inform `ThreadNetif` to apply the new prefix. `ThreadNetif` will then update all of the assigned unicast addresses that are marked as mesh-local, as well as all of the subscribed mesh-local prefix-based multicast addresses (such as link-local or realm-local All Thread Nodes addresses). The `Netif` class first signals the removal of the previous address based on the old prefix, and then the addition of the new address with the new mesh-local prefix. This change simplifies the code, in particular the modules such as `Commissioner`, `BorderAgent` and `BackboneRouter::Local`, which need to manage specific ALOC addresses. These modules no longer need to be informed when the mesh-local prefix is changed to update their address, as it will be done by the `Netif` class directly.
Configuration menu - View commit details
-
Copy full SHA for 3e18032 - Browse repository at this point
Copy the full SHA 3e18032View commit details -
[meshcop-leader] check
IsLeader()
processing `LeaderPetition/KeepAl……ive (#9531) This commit adds an `IsLeader()` check to ensure that the device is acting as the leader before processing `kUriLeaderPetition` or `kUriLeaderKeepAlive` TMF messages. This adds a safeguard to ensure that only the leader can update the commissioner dataset.
Configuration menu - View commit details
-
Copy full SHA for d569760 - Browse repository at this point
Copy the full SHA d569760View commit details
Commits on Oct 16, 2023
-
[github-actions] add job summary to
size.yml
workflow (#9532)This commit uses `GITHUB_STEP_SUMMARY` to add a summary (in markdown format) to the GitHub action workflow `size.yml` runs.
Configuration menu - View commit details
-
Copy full SHA for 18e214b - Browse repository at this point
Copy the full SHA 18e214bView commit details -
[ip6] use
OwnedPtr<Message>
to simplify message lifetime (#9533)This commit updates the `Ip6` class to use `OwnedPtr<Message>`. This smart pointer automates the freeing of messages and helps to simplify the code by removing all the logic that tracks whether a message needs to be freed. It also makes the transfer of ownership of `Message` instances between methods more clear.
Configuration menu - View commit details
-
Copy full SHA for 6bc0298 - Browse repository at this point
Copy the full SHA 6bc0298View commit details -
[dataset] highlight
SetTlv<ValueType>()
specializations in the docs…… (#9534) This commit updates the `Dataset::SetTlv<ValueType>()` documentation to mention its specifications for `uint` types (which use big-endian encoding). It also adds `static_assert` checks to ensure that the general template implementation is not used with `uint16/32/64` types.
Configuration menu - View commit details
-
Copy full SHA for ee82a57 - Browse repository at this point
Copy the full SHA ee82a57View commit details -
[cli] update Dataset documentation with Pending Dataset usage and tim…
…e units (#9475) Also fixes a pskc -> PSKc typo; and explain better how to init dataset. Based on existing documentation I struggled a long time to create a Pending Dataset in the proper way, so I thought it would be good to document this better.
Configuration menu - View commit details
-
Copy full SHA for 66eaeec - Browse repository at this point
Copy the full SHA 66eaeecView commit details -
[tlv] add helper method to find/read TLVs in a sequence of TLVs (#9538)
This commit moves the helper methods to find a specific TLV in a sequence of TLVs from the `MeshCoP::Tlv` class to the base `Tlv` class. This makes these helper methods accessible to all subclasses.
Configuration menu - View commit details
-
Copy full SHA for 4808b76 - Browse repository at this point
Copy the full SHA 4808b76View commit details -
github-actions: bump github/codeql-action from 2.21.8 to 2.22.3 (#9537)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.21.8 to 2.22.3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@6a28655...0116bc2) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1d81283 - Browse repository at this point
Copy the full SHA 1d81283View commit details
Commits on Oct 17, 2023
-
[logging] add new
otLogPlat()
APIs with sub-module name (#9516)This commit adds new public OT logging APIs `otLogPlat()` and `otLogPlatArgs()`, which allow the caller to specify a platform sub-module name to be included in the emitted log. This makes it easier to distinguish logs from the platform layer and filter the logs. This commit also updates the `RadioSpinel` class to use the new API, ensuring that its logs use the "P-RadioSpinel" module name.
Configuration menu - View commit details
-
Copy full SHA for cd5768b - Browse repository at this point
Copy the full SHA cd5768bView commit details -
[spinel] use local variables to export mac key before sending over SP…
…INEL (#9536) In RadioSpinel::SetMacKey we try to reuse the otMacKey passed to export the literal key from PSA to be sent over SPINEL to RCP. But as the passed param is const, we cant really use this. Better option is to extract it into a local buffer and use that to pass the keys to RCP.
Configuration menu - View commit details
-
Copy full SHA for 6bfe59d - Browse repository at this point
Copy the full SHA 6bfe59dView commit details
Commits on Oct 18, 2023
-
[meshcop-leader] simplify adding
CommissioningData
(#9540)This commit contains smaller changes in` MeshCoP::Leader` class: - Changes `CommissioningData` to be a `private` type in this class - Adds `Init()` to `CommisioningData()` to init all sub-tlvs.
Configuration menu - View commit details
-
Copy full SHA for 47272e4 - Browse repository at this point
Copy the full SHA 47272e4View commit details -
[radio-spinel] simplify
SetMacKey()
(#9539)This commit simplifies the `RadioSpinel::SetMacKey()` method. A common `private` overload of `SetMacKey()` is added that uses `const otMacKey &` as its input key type. When `KEY_REFERENCES_ENABLE` is not enable the `SetMacKey()` simply passes the key from the `otMacKeyMaterial` directly. This avoids the unnecessary copying of the key into a local variable. When `KEY_REFERENCES_ENABLE` is enabled, the keys are read from secure storage. A new `ReadMacKey()` helper method is added which also validates that the read key size is correct.
Configuration menu - View commit details
-
Copy full SHA for 03bfced - Browse repository at this point
Copy the full SHA 03bfcedView commit details -
[netdata] simplify parsing of Commissioning Dataset sub-TLVs (#9541)
This commit contains changes related to parsing of Commissioning Dataset sub-TLVs in `NetworkData::Leader`: - Adds `FindInCommisioningData<SubTlvType>` to search for a given `SubTlvType` in Commissioning Data. - Adds `FindCommissioningSessionId()`, `FindBorderAgentRloc()`, and `FindJoinerUdpPort()` to parse and get get the info from Commissioning Dataset.
Configuration menu - View commit details
-
Copy full SHA for 2457ba7 - Browse repository at this point
Copy the full SHA 2457ba7View commit details -
[meshcop] simplify processing of Commissioner ID TLV (#9543)
This commit updates CommissionerIdTlv to be defined as `StringTlvInfo` (a TLV with a UTF-8 string value with a specified maximum length). This allows us to use `Tlv` helper methods to `Find` and `Append` this TLV, simplifying the code. This commit also adds a helper `StringCopy()` method that copies a C string into a given target string buffer array if it fits in the array. This method can also optionally perform an encoding check on the string, such as a UTF-8 encoding check. This helper method is used to simplify setting different strings, such as Commissioner ID, Provisioning URL, Vendor Name, etc.
Configuration menu - View commit details
-
Copy full SHA for a69c2db - Browse repository at this point
Copy the full SHA a69c2dbView commit details
Commits on Oct 19, 2023
-
[netdata-leader] simplify
HandleTmf<kUriCommissionerGet>
(#9546)This commit simplifies the handling of `kUriCommissionerGet` TMF message and preparation of its response.
Configuration menu - View commit details
-
Copy full SHA for 95b0869 - Browse repository at this point
Copy the full SHA 95b0869View commit details -
[udp] remove
aIpProto
fromIp6::Udp::SendDatagram()
(#9547)This commit removes the input `aIpProto` in `Upd::HandleDatagram()` method and assumes `kProtoUdp`.
Configuration menu - View commit details
-
Copy full SHA for 1b59c97 - Browse repository at this point
Copy the full SHA 1b59c97View commit details -
[tests] fix verification in
test_routing_manager.cpp
(#9548)Some equation checks accidentally became non-zero checks due to typo. Such tests may fail in certain build configurations when the heap allocation is zero after initialization of the test.
Configuration menu - View commit details
-
Copy full SHA for 6ff2778 - Browse repository at this point
Copy the full SHA 6ff2778View commit details
Commits on Oct 20, 2023
-
[netdata] resign active commissioner on NetData restore on leader (#9…
…549) This commit updates `HandleNetworkDataRestoredAfterReset()`, which is called after Network Data is restored on the leader after a leader reset and recovery. We now resign any active Commissioner by clearing the Commissioning Data and adopt the Session ID from the restored Network Data Commissioning Data. This ensures that any stale Commissioning Data is not retained in Network Data for longer after a leader reset.
Configuration menu - View commit details
-
Copy full SHA for c8aeeef - Browse repository at this point
Copy the full SHA c8aeeefView commit details -
[netdata] simplify and update
HandleTmf<kUriCommissionerSet>()
(#9550)This commit updates `HandleTmf<kUriCommissionerSet>()`, which is used to set the Commissioning Dataset. The following changes have been made: - `Tlv::Find<TlvType>()` methods are used to find and parse TLVs in the received request message. - The existing code required the dataset to contain either Joiner UDP or Steering Data TLVs. This check has been removed, making the implementation aligned with the Thread specification. This permits a commissioner to disallow MeshCoP Joining by not including Steering Data. - A new flavor of `SetCommisioningData()` is added, which reads the TLVs directly from a given `aMessage`. This method is now used when processing `kUriCommissionerSet` to avoid using temporary local buffers to read and copy the TLVs. - `SetCommisioningData()` and its related methods have been moved to `network_data_leader_ftd` since they are limited to and used on FTD devices acting as leader. - A new private `UpdateCommissioningData()` method has been added. This method first checks whether or not we can add a Commissioning Data TLV with a given length into Network Data, before removing the current TLV. This is used as a common method when Commissioning Data is set from a message or from a given data buffer.
Configuration menu - View commit details
-
Copy full SHA for 837c7fd - Browse repository at this point
Copy the full SHA 837c7fdView commit details
Commits on Oct 23, 2023
-
github-actions: bump actions/checkout from 4.1.0 to 4.1.1 (#9557)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@8ade135...b4ffde6) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a7643db - Browse repository at this point
Copy the full SHA a7643dbView commit details -
[nedata] add API to retrieve Commissioning Dataset (#9551)
This commit adds `otNetDataGetCommissioningDataset()` as a public API to retrieve the Commissioning Dataset from the Network Data. It also updates CLI `netdata show` command to output the Commissioning Dataset information. The documentation in `README_NETDATA.md` and in `cli_network_data` are also updated. The test scripts that parse `netdata show` output are also updated.
Configuration menu - View commit details
-
Copy full SHA for 28f30b3 - Browse repository at this point
Copy the full SHA 28f30b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b73b124 - Browse repository at this point
Copy the full SHA b73b124View commit details
Commits on Oct 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d26f4e5 - Browse repository at this point
Copy the full SHA d26f4e5View commit details -
[mac] update the cached supported channel mask when the region code c…
…hanges (#9418) The current code of the `mac.cpp` caches the supported channel mask to a local variable. But the supported channel mask may be changed after the country code is changed. This will cause the supported channel mask used in `mac.cpp` to be inconsistent with the actual supported channel mask. This commit adds an API `otLinkSetRegion()` to set the region code and then update the cached supported channel mask to avoid the channel mask inconsistencies. The current Thread channel may be not included in the new supported channel mask. When the Thread stack detects this case, it detaches the current Thread network gracefully.
Configuration menu - View commit details
-
Copy full SHA for 4275c58 - Browse repository at this point
Copy the full SHA 4275c58View commit details -
[posix] addressing coverity warning: resource leak (#9472)
The "assert" and "VerifyOrDie" were checking same condition, so the second validation was never executed if (rval != sizeof(key)). Additionally,"aSwapFd" was not freed on assertion. With this commit, 1. addressed the memory leak to system resources. 2. Replaced VerifyOrDie() or assert() by VerifyOrExit() 3. handle error at exit
Configuration menu - View commit details
-
Copy full SHA for fbeb4d1 - Browse repository at this point
Copy the full SHA fbeb4d1View commit details
Commits on Oct 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 52e0c8b - Browse repository at this point
Copy the full SHA 52e0c8bView commit details -
[posix] add
otSysSetInfraNetif
API (#9528)This commit adds a new API `otSysSetInfraNetif` to support specifying the infrastructure network interface for the platform. This can be useful in following cases: - The infra link cannot be determined at the start up of `otbr-agent`. We can call this API to specify the infra link without specifying it in the command line arguments. - Let Thread Border Router switch to another infra link without restarting the whole OpenThread stack.
Configuration menu - View commit details
-
Copy full SHA for 9106817 - Browse repository at this point
Copy the full SHA 9106817View commit details -
[log] add
otLogGenerateNextHexDumpLine()
to generate hex dump (#9555)This commit adds a public OT API to generate hex dump output line by line. This function is then used for both `LogDump{}()` and frame capture output by CLI `promiscuous` command (removing repeated similar code) and harmonize the hex dump outputs.
Configuration menu - View commit details
-
Copy full SHA for 91b7c3f - Browse repository at this point
Copy the full SHA 91b7c3fView commit details
Commits on Oct 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4c75b6b - Browse repository at this point
Copy the full SHA 4c75b6bView commit details -
[core] define
core/instance
folder forinstance
modules (#9561)This commit moves the `instance` module to a newly added folder `core/instance` (from `core/common`. Header file `extension.hpp` and its example is also moved to the same folder.
Configuration menu - View commit details
-
Copy full SHA for 1528c88 - Browse repository at this point
Copy the full SHA 1528c88View commit details
Commits on Oct 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0b0db37 - Browse repository at this point
Copy the full SHA 0b0db37View commit details
Commits on Oct 30, 2023
-
github-actions: bump github/codeql-action from 2.22.3 to 2.22.5 (#9571)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.3 to 2.22.5. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@0116bc2...74483a3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7074a43 - Browse repository at this point
Copy the full SHA 7074a43View commit details
Commits on Oct 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c6ffe1a - Browse repository at this point
Copy the full SHA c6ffe1aView commit details -
[netdata] simplify
Leader
class (#9563)This commit updates the `NetworkData::Leader` sub-class model, removing `LeaderBase` (which intended to provide common functions shared between FTD and MTD) and instead adding all methods directly in `Leader` class with all `FTD`-specific methods having conditional `#if` check.
Configuration menu - View commit details
-
Copy full SHA for 4a9fb06 - Browse repository at this point
Copy the full SHA 4a9fb06View commit details
Commits on Nov 2, 2023
-
[build] move
radio_spinel.cpp
to new libopenthread-radio-spinel
……(#9530) The lib `openthread-spinel-ncp` is used by the NCP build, it doesn't need the file `radio_spinel.cpp`. This commit changes the CMake file to make only the lib `openthread-spinel-rcp` include the file `radio_spinel.cpp`.
Configuration menu - View commit details
-
Copy full SHA for 5058500 - Browse repository at this point
Copy the full SHA 5058500View commit details
Commits on Nov 6, 2023
-
github-actions: bump ossf/scorecard-action from 2.2.0 to 2.3.1 (#9584)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.2.0 to 2.3.1. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](ossf/scorecard-action@08b4669...0864cf1) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f889bf9 - Browse repository at this point
Copy the full SHA f889bf9View commit details -
[dataset] returns OT_ERROR_REJECTED when MGMT_SET is rejected by lead…
…er (#9582) The current code won't return a failure error code when a MGMT_SET request is rejected by the leader, so the client doesn't know whether the operation succeed or not. This commit fixes this issue by converting the REJECTED state to the OT_ERROR_REJECTED error code which is propagated back via the otDatasetMgmtSetCallback callback.
Configuration menu - View commit details
-
Copy full SHA for 74061ee - Browse repository at this point
Copy the full SHA 74061eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d74e43 - Browse repository at this point
Copy the full SHA 0d74e43View commit details
Commits on Nov 7, 2023
-
[csl] add
OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_LOCAL_TIME_SYNC
option…… (#9568) (#9568) Allow platforms to reduce the periodic access to `otPlatRadioGetNow` to calculate CSL synchronization elapsed time in the case when those radio API calls are costly.
Configuration menu - View commit details
-
Copy full SHA for 3b30c84 - Browse repository at this point
Copy the full SHA 3b30c84View commit details -
[slaac] simplify adding/removing addresses and other enhancements (#9…
…579) This commit makes the following smaller enhancements in `Slaac` class: - Adds a new `ShouldUseForSlaac()` method to check if a network data prefix should be used for SLAAC, checking flags and applying the filter if set. - Introduces separate `RemoveAddresses()` and `AddAddresses()` methods to manage SLAAC addresses, replacing the previous `Update()` method. - Adds helper methods to `RemoveAllAddresses()`, `RemoveAddress()` to remove a specific address, and `AddAddressFor(prefix)` to generate and add an address for a given prefix. - Simplifies `GenerateIid()` by removing unused input parameters.
Configuration menu - View commit details
-
Copy full SHA for a05954b - Browse repository at this point
Copy the full SHA a05954bView commit details
Commits on Nov 9, 2023
-
[posix] allow OT process to run when infra netif gets lost (#9583)
In `ot::Posix::InfraNetif::GetFlags()`, the OT process would die if the infra network interface is removed on the POSIX platform. On Android platform, this is not the desired behavior because the system server may tell the OT process to switch another infra network interface. It's fine for OT process to keep running when the previous infra network interface disappears because later system server will call `otSysSetInfraNetif()` to specify the new infra network interface.
Configuration menu - View commit details
-
Copy full SHA for 6edb06e - Browse repository at this point
Copy the full SHA 6edb06eView commit details