Commit 37143be
committed
nimble/ll: Simplify SyncInfo calculation
This simplifies calculation of SyncInfo used in AUX_ADV_IND and
LL_PERIODIC_SYNC_IND to use the same code in both cases.
In case of LL Control PDU we do not "rewind" connsm to find proper
connection event but instead "advance" padv event the same way as it was
done for AUX_ADV_IND PDU.1 parent fd8d1b4 commit 37143be
File tree
4 files changed
+67
-62
lines changed- nimble/controller
- include/controller
- src
4 files changed
+67
-62
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
452 | | - | |
| 451 | + | |
| 452 | + | |
453 | 453 | | |
454 | 454 | | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
455 | 460 | | |
456 | 461 | | |
457 | 462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
646 | | - | |
| 646 | + | |
647 | 647 | | |
648 | 648 | | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
| 649 | + | |
| 650 | + | |
655 | 651 | | |
656 | 652 | | |
657 | | - | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
658 | 659 | | |
659 | 660 | | |
660 | 661 | | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
| 662 | + | |
| 663 | + | |
673 | 664 | | |
674 | 665 | | |
675 | | - | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
676 | 669 | | |
677 | 670 | | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
691 | 674 | | |
692 | | - | |
693 | | - | |
694 | | - | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
695 | 682 | | |
696 | 683 | | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
697 | 688 | | |
698 | 689 | | |
699 | 690 | | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
| 691 | + | |
| 692 | + | |
704 | 693 | | |
705 | 694 | | |
706 | 695 | | |
707 | | - | |
| 696 | + | |
| 697 | + | |
708 | 698 | | |
709 | | - | |
710 | 699 | | |
711 | | - | |
712 | | - | |
| 700 | + | |
713 | 701 | | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
714 | 705 | | |
715 | 706 | | |
716 | 707 | | |
717 | | - | |
718 | | - | |
| 708 | + | |
| 709 | + | |
719 | 710 | | |
720 | 711 | | |
721 | | - | |
722 | | - | |
| 712 | + | |
723 | 713 | | |
724 | 714 | | |
725 | 715 | | |
| |||
743 | 733 | | |
744 | 734 | | |
745 | 735 | | |
746 | | - | |
| 736 | + | |
747 | 737 | | |
748 | 738 | | |
749 | 739 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2275 | 2275 | | |
2276 | 2276 | | |
2277 | 2277 | | |
2278 | | - | |
2279 | 2278 | | |
2280 | | - | |
| 2279 | + | |
2281 | 2280 | | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
2282 | 2292 | | |
2283 | 2293 | | |
2284 | 2294 | | |
| |||
2287 | 2297 | | |
2288 | 2298 | | |
2289 | 2299 | | |
2290 | | - | |
2291 | | - | |
| 2300 | + | |
| 2301 | + | |
2292 | 2302 | | |
2293 | 2303 | | |
2294 | | - | |
| 2304 | + | |
2295 | 2305 | | |
2296 | 2306 | | |
2297 | 2307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2094 | 2094 | | |
2095 | 2095 | | |
2096 | 2096 | | |
2097 | | - | |
2098 | | - | |
| 2097 | + | |
| 2098 | + | |
2099 | 2099 | | |
2100 | 2100 | | |
2101 | 2101 | | |
2102 | 2102 | | |
2103 | 2103 | | |
2104 | 2104 | | |
2105 | 2105 | | |
2106 | | - | |
2107 | | - | |
| 2106 | + | |
| 2107 | + | |
2108 | 2108 | | |
2109 | 2109 | | |
2110 | 2110 | | |
| |||
2155 | 2155 | | |
2156 | 2156 | | |
2157 | 2157 | | |
2158 | | - | |
| 2158 | + | |
2159 | 2159 | | |
2160 | 2160 | | |
2161 | 2161 | | |
| |||
0 commit comments