forked from openthread/openthread
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mle] handle received Advertisements from
RxOnlyNeighbor
on FED (op…
…enthread#9484) 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.
- Loading branch information
Showing
4 changed files
with
61 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters