Why is there packet loss after "do fec"? #153
Replies: 2 comments 9 replies
-
log; |
Beta Was this translation helpful? Give feedback.
-
在这个例子中,块号8前面0,1,2包能通过函数send packet发出去,后面的即使接收收到了也不会通过函数send packet发出去。也就是为什么会丢5包(5 packets lost)。因为这个块接收的包数只有7包。(能不能通过填充丢的包也把那个不能用前向纠错恢复的块也发出去,2.4g频段干扰确实有点烦人)。也许用两个网卡就能让8号块能恢复的几率很高。 |
Beta Was this translation helpful? Give feedback.
-
My printf log;
got 0x57fc 0, ring_idx=0
got 0x57fc 1, ring_idx=0
got 0x57fc 2, ring_idx=0
got 0x57fc 5, ring_idx=0
got 0x57fc 6, ring_idx=0
got 0x57fc 7, ring_idx=0
got 0x57fc 9, ring_idx=0
got 0x57fc 10, ring_idx=0
do fec
got 0x57fc 11, ring_idx=-1
got 0x57fd 0, ring_idx=1
got 0x57fd 1, ring_idx=1
got 0x57fd 2, ring_idx=1
got 0x57fd 3, ring_idx=1
got 0x57fd 4, ring_idx=1
got 0x57fd 5, ring_idx=1
got 0x57fd 6, ring_idx=1
got 0x57fd 7, ring_idx=1
got 0x57fd 8, ring_idx=-1
got 0x57fd 9, ring_idx=-1
got 0x57fd 10, ring_idx=-1
got 0x57fd 11, ring_idx=-1
got 0x57fe 0, ring_idx=2
got 0x57fe 1, ring_idx=2
got 0x57fe 2, ring_idx=2
got 0x57fe 3, ring_idx=2
got 0x57fe 4, ring_idx=2
got 0x57fe 7, ring_idx=2
got 0x57fe 8, ring_idx=2
got 0x57fe 9, ring_idx=2
do fec
got 0x57fe 10, ring_idx=-1
got 0x57ff 0, ring_idx=3
got 0x57ff 1, ring_idx=3
got 0x57ff 2, ring_idx=3
got 0x57ff 3, ring_idx=3
got 0x57ff 5, ring_idx=3
got 0x57ff 6, ring_idx=3
got 0x57ff 7, ring_idx=3
got 0x57ff 8, ring_idx=3
do fec
got 0x57ff 9, ring_idx=-1
got 0x57ff 10, ring_idx=-1
got 0x57ff 11, ring_idx=-1
got 0x5800 0, ring_idx=4
got 0x5800 1, ring_idx=4
got 0x5800 2, ring_idx=4
got 0x5800 3, ring_idx=4
got 0x5800 4, ring_idx=4
got 0x5800 5, ring_idx=4
got 0x5800 6, ring_idx=4
got 0x5800 7, ring_idx=4
got 0x5800 8, ring_idx=-1
got 0x5800 9, ring_idx=-1
got 0x5800 10, ring_idx=-1
got 0x5800 11, ring_idx=-1
got 0x5801 0, ring_idx=5
got 0x5801 1, ring_idx=5
got 0x5801 2, ring_idx=5
got 0x5801 3, ring_idx=5
got 0x5801 4, ring_idx=5
got 0x5801 5, ring_idx=5
got 0x5801 6, ring_idx=5
got 0x5801 7, ring_idx=5
got 0x5801 8, ring_idx=-1
got 0x5801 9, ring_idx=-1
got 0x5801 10, ring_idx=-1
got 0x5801 11, ring_idx=-1
got 0x5802 0, ring_idx=6
got 0x5802 1, ring_idx=6
got 0x5802 2, ring_idx=6
got 0x5802 3, ring_idx=6
got 0x5802 4, ring_idx=6
got 0x5802 5, ring_idx=6
got 0x5802 6, ring_idx=6
got 0x5802 8, ring_idx=6
do fec
got 0x5802 9, ring_idx=-1
got 0x5802 10, ring_idx=-1
got 0x5802 11, ring_idx=-1
got 0x5803 0, ring_idx=7
got 0x5803 1, ring_idx=7
got 0x5803 2, ring_idx=7
got 0x5803 3, ring_idx=7
got 0x5803 4, ring_idx=7
got 0x5803 5, ring_idx=7
got 0x5803 6, ring_idx=7
got 0x5803 7, ring_idx=7
got 0x5803 8, ring_idx=-1
got 0x5803 9, ring_idx=-1
got 0x5803 10, ring_idx=-1
got 0x5803 11, ring_idx=-1
got 0x5804 0, ring_idx=8
got 0x5804 1, ring_idx=8
got 0x5804 2, ring_idx=8
got 0x5804 7, ring_idx=8
got 0x5804 9, ring_idx=8
got 0x5804 10, ring_idx=8
got 0x5804 11, ring_idx=8
got 0x5805 0, ring_idx=9
got 0x5805 1, ring_idx=9
got 0x5805 2, ring_idx=9
got 0x5805 3, ring_idx=9
got 0x5805 4, ring_idx=9
got 0x5805 5, ring_idx=9
got 0x5805 6, ring_idx=9
18060597 ANT 0 333:-39:-37:-35
18060597 PKT 334:0:334:66:0:0
got 0x5805 7, ring_idx=9
do fec
5 packets lost
got 0x5805 8, ring_idx=-1
got 0x5805 9, ring_idx=-1
got 0x5805 10, ring_idx=-1
got 0x5805 11, ring_idx=-1
got 0x5806 0, ring_idx=10
got 0x5806 1, ring_idx=10
got 0x5806 2, ring_idx=10
got 0x5806 3, ring_idx=10
got 0x5806 4, ring_idx=10
got 0x5806 5, ring_idx=10
got 0x5806 6, ring_idx=10
got 0x5806 7, ring_idx=10
got 0x5806 8, ring_idx=-1
got 0x5806 9, ring_idx=-1
got 0x5806 10, ring_idx=-1
got 0x5806 11, ring_idx=-1
got 0x5807 0, ring_idx=11
got 0x5807 1, ring_idx=11
got 0x5807 2, ring_idx=11
got 0x5807 3, ring_idx=11
got 0x5807 4, ring_idx=11
got 0x5807 5, ring_idx=11
got 0x5807 6, ring_idx=11
got 0x5807 7, ring_idx=11
got 0x5807 9, ring_idx=-1
got 0x5807 10, ring_idx=-1
got 0x5807 11, ring_idx=-1
got 0x5808 0, ring_idx=12
got 0x5808 1, ring_idx=12
got 0x5808 2, ring_idx=12
got 0x5808 3, ring_idx=12
got 0x5808 4, ring_idx=12
got 0x5808 5, ring_idx=12
got 0x5808 6, ring_idx=12
got 0x5808 7, ring_idx=12
got 0x5808 8, ring_idx=-1
got 0x5808 9, ring_idx=-1
got 0x5808 10, ring_idx=-1
got 0x5808 11, ring_idx=-1
got 0x5809 0, ring_idx=13
got 0x5809 1, ring_idx=13
got 0x5809 2, ring_idx=13
got 0x5809 3, ring_idx=13
got 0x5809 4, ring_idx=13
got 0x5809 5, ring_idx=13
got 0x5809 6, ring_idx=13
got 0x5809 7, ring_idx=13
got 0x5809 9, ring_idx=-1
got 0x5809 10, ring_idx=-1
got 0x5809 11, ring_idx=-1
got 0x580a 0, ring_idx=14
got 0x580a 1, ring_idx=14
got 0x580a 2, ring_idx=14
got 0x580a 3, ring_idx=14
got 0x580a 5, ring_idx=14
got 0x580a 6, ring_idx=14
got 0x580a 7, ring_idx=14
got 0x580a 8, ring_idx=14
do fec
got 0x580a 9, ring_idx=-1
got 0x580a 10, ring_idx=-1
got 0x580a 11, ring_idx=-1
got 0x580b 0, ring_idx=15
got 0x580b 1, ring_idx=15
got 0x580b 2, ring_idx=15
got 0x580b 4, ring_idx=15
got 0x580b 5, ring_idx=15
got 0x580b 6, ring_idx=15
got 0x580b 7, ring_idx=15
got 0x580b 8, ring_idx=15
do fec
got 0x580b 9, ring_idx=-1
got 0x580b 10, ring_idx=-1
got 0x580b 11, ring_idx=-1
got 0x580c 0, ring_idx=16
got 0x580c 1, ring_idx=16
got 0x580c 3, ring_idx=16
got 0x580c 4, ring_idx=16
got 0x580c 5, ring_idx=16
got 0x580c 6, ring_idx=16
got 0x580c 7, ring_idx=16
got 0x580c 8, ring_idx=16
do fec
got 0x580c 9, ring_idx=-1
got 0x580c 10, ring_idx=-1
got 0x580c 11, ring_idx=-1
got 0x580d 0, ring_idx=17
got 0x580d 1, ring_idx=17
got 0x580d 2, ring_idx=17
got 0x580d 3, ring_idx=17
got 0x580d 4, ring_idx=17
got 0x580d 5, ring_idx=17
got 0x580d 6, ring_idx=17
got 0x580d 7, ring_idx=17
got 0x580d 10, ring_idx=-1
got 0x580d 11, ring_idx=-1
got 0x580e 0, ring_idx=18
got 0x580e 1, ring_idx=18
got 0x580e 2, ring_idx=18
got 0x580e 3, ring_idx=18
got 0x580e 4, ring_idx=18
got 0x580e 6, ring_idx=18
got 0x580e 7, ring_idx=18
got 0x580e 8, ring_idx=18
do fec
got 0x580e 9, ring_idx=-1
got 0x580e 10, ring_idx=-1
got 0x580e 11, ring_idx=-1
got 0x580f 0, ring_idx=19
got 0x580f 1, ring_idx=19
got 0x580f 2, ring_idx=19
got 0x580f 3, ring_idx=19
got 0x580f 4, ring_idx=19
got 0x580f 5, ring_idx=19
got 0x580f 6, ring_idx=19
got 0x580f 7, ring_idx=19
got 0x580f 8, ring_idx=-1
got 0x580f 9, ring_idx=-1
got 0x580f 10, ring_idx=-1
got 0x5810 0, ring_idx=20
got 0x5810 1, ring_idx=20
got 0x5810 2, ring_idx=20
got 0x5810 3, ring_idx=20
got 0x5810 4, ring_idx=20
got 0x5810 5, ring_idx=20
got 0x5810 6, ring_idx=20
got 0x5810 7, ring_idx=20
got 0x5810 8, ring_idx=-1
got 0x5810 9, ring_idx=-1
got 0x5810 10, ring_idx=-1
got 0x5810 11, ring_idx=-1
got 0x5811 0, ring_idx=21
got 0x5811 1, ring_idx=21
got 0x5811 3, ring_idx=21
got 0x5811 4, ring_idx=21
got 0x5811 5, ring_idx=21
got 0x5811 6, ring_idx=21
got 0x5811 7, ring_idx=21
got 0x5811 8, ring_idx=21
do fec
got 0x5811 9, ring_idx=-1
got 0x5811 11, ring_idx=-1
got 0x5812 0, ring_idx=22
got 0x5812 1, ring_idx=22
got 0x5812 2, ring_idx=22
got 0x5812 3, ring_idx=22
got 0x5812 4, ring_idx=22
got 0x5812 5, ring_idx=22
got 0x5812 6, ring_idx=22
got 0x5812 7, ring_idx=22
got 0x5812 8, ring_idx=-1
got 0x5812 9, ring_idx=-1
got 0x5812 10, ring_idx=-1
got 0x5812 11, ring_idx=-1
got 0x5813 0, ring_idx=23
got 0x5813 1, ring_idx=23
got 0x5813 2, ring_idx=23
got 0x5813 3, ring_idx=23
got 0x5813 4, ring_idx=23
got 0x5813 5, ring_idx=23
got 0x5813 6, ring_idx=23
got 0x5813 7, ring_idx=23
got 0x5813 8, ring_idx=-1
got 0x5813 9, ring_idx=-1
got 0x5813 10, ring_idx=-1
got 0x5813 11, ring_idx=-1
got 0x5814 1, ring_idx=24
got 0x5814 2, ring_idx=24
got 0x5814 3, ring_idx=24
got 0x5814 4, ring_idx=24
got 0x5814 5, ring_idx=24
got 0x5814 6, ring_idx=24
got 0x5814 7, ring_idx=24
got 0x5814 8, ring_idx=24
do fec
got 0x5814 9, ring_idx=-1
got 0x5814 10, ring_idx=-1
got 0x5814 11, ring_idx=-1
got 0x5815 0, ring_idx=25
got 0x5815 1, ring_idx=25
got 0x5815 2, ring_idx=25
got 0x5815 3, ring_idx=25
got 0x5815 4, ring_idx=25
got 0x5815 5, ring_idx=25
got 0x5815 6, ring_idx=25
got 0x5815 7, ring_idx=25
got 0x5815 8, ring_idx=-1
got 0x5815 9, ring_idx=-1
got 0x5815 10, ring_idx=-1
got 0x5815 11, ring_idx=-1
got 0x5816 0, ring_idx=26
got 0x5816 1, ring_idx=26
got 0x5816 2, ring_idx=26
got 0x5816 3, ring_idx=26
got 0x5816 4, ring_idx=26
got 0x5816 5, ring_idx=26
got 0x5816 6, ring_idx=26
got 0x5816 7, ring_idx=26
got 0x5816 8, ring_idx=-1
got 0x5816 9, ring_idx=-1
got 0x5816 10, ring_idx=-1
got 0x5816 11, ring_idx=-1
got 0x5817 0, ring_idx=27
got 0x5817 1, ring_idx=27
got 0x5817 2, ring_idx=27
got 0x5817 5, ring_idx=27
got 0x5817 6, ring_idx=27
got 0x5817 8, ring_idx=27
got 0x5817 9, ring_idx=27
got 0x5817 10, ring_idx=27
do fec
got 0x5817 11, ring_idx=-1
got 0x5818 0, ring_idx=28
got 0x5818 1, ring_idx=28
got 0x5818 2, ring_idx=28
got 0x5818 3, ring_idx=28
got 0x5818 4, ring_idx=28
got 0x5818 5, ring_idx=28
got 0x5818 6, ring_idx=28
got 0x5818 7, ring_idx=28
got 0x5818 8, ring_idx=-1
got 0x5818 9, ring_idx=-1
got 0x5818 10, ring_idx=-1
got 0x5818 11, ring_idx=-1
got 0x5819 1, ring_idx=29
got 0x5819 2, ring_idx=29
got 0x5819 3, ring_idx=29
got 0x5819 4, ring_idx=29
got 0x5819 5, ring_idx=29
got 0x5819 6, ring_idx=29
got 0x5819 7, ring_idx=29
got 0x5819 8, ring_idx=29
do fec
got 0x5819 9, ring_idx=-1
got 0x5819 10, ring_idx=-1
got 0x5819 11, ring_idx=-1
got 0x581a 0, ring_idx=30
got 0x581a 1, ring_idx=30
got 0x581a 2, ring_idx=30
got 0x581a 3, ring_idx=30
got 0x581a 4, ring_idx=30
got 0x581a 5, ring_idx=30
got 0x581a 6, ring_idx=30
got 0x581a 7, ring_idx=30
got 0x581a 8, ring_idx=-1
got 0x581a 9, ring_idx=-1
got 0x581a 10, ring_idx=-1
got 0x581a 11, ring_idx=-1
got 0x581b 0, ring_idx=31
got 0x581b 1, ring_idx=31
got 0x581b 3, ring_idx=31
got 0x581b 4, ring_idx=31
got 0x581b 5, ring_idx=31
got 0x581b 6, ring_idx=31
got 0x581b 8, ring_idx=31
got 0x581b 9, ring_idx=31
do fec
got 0x581b 10, ring_idx=-1
got 0x581b 11, ring_idx=-1
got 0x581c 0, ring_idx=32
got 0x581c 1, ring_idx=32
got 0x581c 3, ring_idx=32
got 0x581c 4, ring_idx=32
got 0x581c 5, ring_idx=32
got 0x581c 6, ring_idx=32
got 0x581c 7, ring_idx=32
got 0x581c 8, ring_idx=32
do fec
got 0x581c 9, ring_idx=-1
got 0x581c 10, ring_idx=-1
got 0x581c 11, ring_idx=-1
got 0x581d 0, ring_idx=33
got 0x581d 1, ring_idx=33
got 0x581d 2, ring_idx=33
got 0x581d 3, ring_idx=33
got 0x581d 7, ring_idx=33
got 0x581d 8, ring_idx=33
got 0x581d 9, ring_idx=33
got 0x581d 10, ring_idx=33
do fec
got 0x581d 11, ring_idx=-1
got 0x581e 0, ring_idx=34
got 0x581e 1, ring_idx=34
got 0x581e 2, ring_idx=34
got 0x581e 3, ring_idx=34
got 0x581e 4, ring_idx=34
got 0x581e 5, ring_idx=34
got 0x581e 6, ring_idx=34
got 0x581e 7, ring_idx=34
got 0x581e 8, ring_idx=-1
got 0x581e 9, ring_idx=-1
got 0x581e 10, ring_idx=-1
got 0x581e 11, ring_idx=-1
got 0x581f 0, ring_idx=35
got 0x581f 1, ring_idx=35
got 0x581f 2, ring_idx=35
got 0x581f 3, ring_idx=35
got 0x581f 4, ring_idx=35
got 0x581f 5, ring_idx=35
got 0x581f 6, ring_idx=35
got 0x581f 7, ring_idx=35
got 0x581f 8, ring_idx=-1
got 0x581f 9, ring_idx=-1
got 0x581f 10, ring_idx=-1
got 0x581f 11, ring_idx=-1
got 0x5820 1, ring_idx=36
got 0x5820 2, ring_idx=36
got 0x5820 3, ring_idx=36
got 0x5820 4, ring_idx=36
got 0x5820 5, ring_idx=36
got 0x5820 6, ring_idx=36
got 0x5820 7, ring_idx=36
got 0x5820 8, ring_idx=36
do fec
got 0x5820 9, ring_idx=-1
got 0x5820 10, ring_idx=-1
got 0x5820 11, ring_idx=-1
got 0x5821 0, ring_idx=37
got 0x5821 1, ring_idx=37
got 0x5821 2, ring_idx=37
got 0x5821 3, ring_idx=37
got 0x5821 4, ring_idx=37
got 0x5821 5, ring_idx=37
got 0x5821 7, ring_idx=37
got 0x5821 8, ring_idx=37
do fec
got 0x5821 9, ring_idx=-1
got 0x5821 10, ring_idx=-1
got 0x5821 11, ring_idx=-1
got 0x5822 2, ring_idx=38
got 0x5822 3, ring_idx=38
got 0x5822 4, ring_idx=38
got 0x5822 5, ring_idx=38
got 0x5822 6, ring_idx=38
got 0x5822 7, ring_idx=38
got 0x5822 8, ring_idx=38
got 0x5822 9, ring_idx=38
do fec
got 0x5822 10, ring_idx=-1
got 0x5822 11, ring_idx=-1
got 0x5823 0, ring_idx=39
18061597 ANT 0 328:-38:-35:-33
18061597 PKT 329:0:329:87:5:0
got 0x5823 1, ring_idx=39
got 0x5823 2, ring_idx=39
got 0x5823 3, ring_idx=39
got 0x5823 4, ring_idx=39
got 0x5823 5, ring_idx=39
got 0x5823 6, ring_idx=39
got 0x5823 7, ring_idx=39
got 0x5823 8, ring_idx=-1
got 0x5823 9, ring_idx=-1
got 0x5823 10, ring_idx=-1
got 0x5823 11, ring_idx=-1
Beta Was this translation helpful? Give feedback.
All reactions