[low-power] fix CSL scheduler to avoid packets stuck in queue (#5833)

This commit:
- Fixes the issue in CSL scheduler dealing with multiple SSEDs.
- Fixes the issue when CSL tx attempts reach max, CSL transmission to
  this child cannot resume.
- Reset CSL sync status after child mode change to RxOnWhenIdle.
- Adds MLE version, CSL synchronization status and queued message
  count to child table.
This commit is contained in:
Jintao Lin
2020-11-23 22:59:21 -08:00
committed by GitHub
parent d33c2f12af
commit 91d2c29fd8
11 changed files with 48 additions and 19 deletions
+3 -3
View File
@@ -46,9 +46,9 @@ expect "Done"
switch_node 1
send "child table\n"
expect "| ID | RLOC16 | Timeout | Age | LQ In | C_VN |R|D|N| Extended MAC |"
expect "+-----+--------+------------+------------+-------+------+-+-+-+------------------+"
expect -re "\\| +(\\d+) \\| 0x$rloc \\| +\\d+ \\| +\\d+ \\| +\\d+ \\| +\\d+ \\|\\d\\|\\d\\|\\d\\| $extaddr \\|"
expect "| ID | RLOC16 | Timeout | Age | LQ In | C_VN |R|D|N|Ver|CSL|QMsgCnt| Extended MAC |"
expect "+-----+--------+------------+------------+-------+------+-+-+-+---+---+-------+------------------+"
expect -re "\\| +(\\d+) \\| 0x$rloc \\| +\\d+ \\| +\\d+ \\| +\\d+ \\| +\\d+ \\|\\d\\|\\d\\|\\d\\| *\\d+\\| \\d \\| +\\d+ \\| $extaddr \\|"
set child_id $expect_out(1,string)
expect "Done"
send "child list\n"