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.
[spinel] do not update the sent frame if the frame has been updated b…
…efore sending (openthread#10976) When running the command `diag frame -s fd874f68f1ca00efbe00adde5d4f4913e953845a154d4cbab10000000001820e390005009bb8ea011c58a065c39fbd` and `diag send 20` to send the specified diag frame, we found that the frame is modified by the RadioSpinel module. Which causes the diag sent frames are not the same. This commit checks whether the frame header has been updated before sending, the RadioSpinel module won't update the frame header if the frame header has been updated before sending. This commit also adds an option `-u` to the `diag frame` command to specify the `mInfo.mTxInfo.mIsHeaderUpdated` field of the diag sent frame.
- Loading branch information
1 parent
b92bd46
commit c427043
Showing
4 changed files
with
25 additions
and
9 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