|
600 |
|
600 |
|
601 |
|
601 |
|
602 |
/** |
602 |
/** |
603 |
* Service Access Point (SAP) used by the UE RRC to send messages to |
603 |
* \brief Part of the RRC protocol. This Service Access Point (SAP) is used by |
604 |
* the eNB. Each method defined in this class correspond to the |
604 |
* the UE RRC to send messages to the eNB. Each method defined in this |
605 |
* transmission of a message that is defined in section 6.2.2 of TS |
605 |
* class corresponds to the transmission of a message that is defined in |
606 |
* 36.331. |
606 |
* Section 6.2.2 of TS 36.331. |
607 |
*/ |
607 |
*/ |
608 |
class LteUeRrcSapUser : public LteRrcSap |
608 |
class LteUeRrcSapUser : public LteRrcSap |
609 |
{ |
609 |
{ |
|
615 |
}; |
615 |
}; |
616 |
|
616 |
|
617 |
virtual void Setup (SetupParameters params) = 0; |
617 |
virtual void Setup (SetupParameters params) = 0; |
|
|
618 |
|
619 |
/** |
620 |
* \brief Send an _RRCConnectionRequest message to the serving eNodeB |
621 |
* during an RRC connection establishment procedure |
622 |
* (Section 5.3.3 of TS 36.331). |
623 |
* \param msg the message |
624 |
*/ |
618 |
virtual void SendRrcConnectionRequest (RrcConnectionRequest msg) = 0; |
625 |
virtual void SendRrcConnectionRequest (RrcConnectionRequest msg) = 0; |
|
|
626 |
|
627 |
/** |
628 |
* \brief Send an _RRCConnectionSetupComplete_ message to the serving eNodeB |
629 |
* during an RRC connection establishment procedure |
630 |
* (Section 5.3.3 of TS 36.331). |
631 |
* \param msg the message |
632 |
*/ |
619 |
virtual void SendRrcConnectionSetupCompleted (RrcConnectionSetupCompleted msg) = 0; |
633 |
virtual void SendRrcConnectionSetupCompleted (RrcConnectionSetupCompleted msg) = 0; |
|
|
634 |
|
635 |
/** |
636 |
* \brief Send an _RRCConnectionReconfigurationComplete_ message to the serving eNodeB |
637 |
* during an RRC connection reconfiguration procedure |
638 |
* (Section 5.3.5 of TS 36.331). |
639 |
* \param msg the message |
640 |
*/ |
620 |
virtual void SendRrcConnectionReconfigurationCompleted (RrcConnectionReconfigurationCompleted msg) = 0; |
641 |
virtual void SendRrcConnectionReconfigurationCompleted (RrcConnectionReconfigurationCompleted msg) = 0; |
|
|
642 |
|
643 |
/** |
644 |
* \brief Send an _RRCConnectionReestablishmentRequest_ message to the serving eNodeB |
645 |
* during an RRC connection re-establishment procedure |
646 |
* (Section 5.3.7 of TS 36.331). |
647 |
* \param msg the message |
648 |
*/ |
621 |
virtual void SendRrcConnectionReestablishmentRequest (RrcConnectionReestablishmentRequest msg) = 0; |
649 |
virtual void SendRrcConnectionReestablishmentRequest (RrcConnectionReestablishmentRequest msg) = 0; |
|
|
650 |
|
651 |
/** |
652 |
* \brief Send an _RRCConnectionReestablishmentComplete_ message to the serving eNodeB |
653 |
* during an RRC connection re-establishment procedure |
654 |
* (Section 5.3.7 of TS 36.331). |
655 |
* \param msg the message |
656 |
*/ |
622 |
virtual void SendRrcConnectionReestablishmentComplete (RrcConnectionReestablishmentComplete msg) = 0; |
657 |
virtual void SendRrcConnectionReestablishmentComplete (RrcConnectionReestablishmentComplete msg) = 0; |
|
|
658 |
|
659 |
/** |
660 |
* \brief Send a _MeasurementReport_ message to the serving eNodeB |
661 |
* during a measurement reporting procedure |
662 |
* (Section 5.5.5 of TS 36.331). |
663 |
* \param msg the message |
664 |
*/ |
623 |
virtual void SendMeasurementReport (MeasurementReport msg) = 0; |
665 |
virtual void SendMeasurementReport (MeasurementReport msg) = 0; |
|
|
666 |
|
624 |
}; |
667 |
}; |
625 |
|
668 |
|
626 |
|
669 |
|
627 |
/** |
670 |
/** |
628 |
* Service Access Point (SAP) used to let the UE RRC receive a message |
671 |
* \brief Part of the RRC protocol. This Service Access Point (SAP) is used to |
629 |
* from the eNB RRC. Each method defined in this class correspond to |
672 |
* let the UE RRC receive a message from the eNB RRC. Each method defined |
630 |
* the reception of a message that is defined in section 6.2.2 of TS |
673 |
* in this class corresponds to the reception of a message that is |
631 |
* 36.331. |
674 |
* defined in Section 6.2.2 of TS 36.331. |
632 |
*/ |
675 |
*/ |
633 |
class LteUeRrcSapProvider : public LteRrcSap |
676 |
class LteUeRrcSapProvider : public LteRrcSap |
634 |
{ |
677 |
{ |
|
640 |
}; |
683 |
}; |
641 |
|
684 |
|
642 |
virtual void CompleteSetup (CompleteSetupParameters params) = 0; |
685 |
virtual void CompleteSetup (CompleteSetupParameters params) = 0; |
|
|
686 |
|
687 |
/** |
688 |
* \brief Receive a _SystemInformation_ message from the serving eNodeB |
689 |
* during a system information acquisition procedure |
690 |
* (Section 5.2.2 of TS 36.331). |
691 |
* \param msg the message |
692 |
*/ |
643 |
virtual void RecvSystemInformation (SystemInformation msg) = 0; |
693 |
virtual void RecvSystemInformation (SystemInformation msg) = 0; |
|
|
694 |
|
695 |
/** |
696 |
* \brief Receive an _RRCConnectionSetup_ message from the serving eNodeB |
697 |
* during an RRC connection establishment procedure |
698 |
* (Section 5.3.3 of TS 36.331). |
699 |
* \param msg the message |
700 |
*/ |
644 |
virtual void RecvRrcConnectionSetup (RrcConnectionSetup msg) = 0; |
701 |
virtual void RecvRrcConnectionSetup (RrcConnectionSetup msg) = 0; |
|
|
702 |
|
703 |
/** |
704 |
* \brief Receive an _RRCConnectionReconfiguration_ message from the serving eNodeB |
705 |
* during an RRC connection reconfiguration procedure |
706 |
* (Section 5.3.5 of TS 36.331). |
707 |
* \param msg the message |
708 |
*/ |
645 |
virtual void RecvRrcConnectionReconfiguration (RrcConnectionReconfiguration msg) = 0; |
709 |
virtual void RecvRrcConnectionReconfiguration (RrcConnectionReconfiguration msg) = 0; |
|
|
710 |
|
711 |
/** |
712 |
* \brief Receive an _RRCConnectionReestablishment_ message from the serving eNodeB |
713 |
* during an RRC connection re-establishment procedure |
714 |
* (Section 5.3.7 of TS 36.331). |
715 |
* \param msg the message |
716 |
*/ |
646 |
virtual void RecvRrcConnectionReestablishment (RrcConnectionReestablishment msg) = 0; |
717 |
virtual void RecvRrcConnectionReestablishment (RrcConnectionReestablishment msg) = 0; |
|
|
718 |
|
719 |
/** |
720 |
* \brief Receive an _RRCConnectionReestablishmentReject_ message from the serving eNodeB |
721 |
* during an RRC connection re-establishment procedure |
722 |
* (Section 5.3.7 of TS 36.331). |
723 |
* \param msg the message |
724 |
*/ |
647 |
virtual void RecvRrcConnectionReestablishmentReject (RrcConnectionReestablishmentReject msg) = 0; |
725 |
virtual void RecvRrcConnectionReestablishmentReject (RrcConnectionReestablishmentReject msg) = 0; |
|
|
726 |
|
727 |
/** |
728 |
* \brief Receive an _RRCConnectionRelease_ message from the serving eNodeB |
729 |
* during an RRC connection release procedure |
730 |
* (Section 5.3.8 of TS 36.331). |
731 |
* \param msg the message |
732 |
*/ |
648 |
virtual void RecvRrcConnectionRelease (RrcConnectionRelease msg) = 0; |
733 |
virtual void RecvRrcConnectionRelease (RrcConnectionRelease msg) = 0; |
|
|
734 |
|
735 |
/** |
736 |
* \brief Receive an _RRCConnectionReject_ message from the serving eNodeB |
737 |
* during an RRC connection establishment procedure |
738 |
* (Section 5.3.3 of TS 36.331). |
739 |
* \param msg the message |
740 |
*/ |
649 |
virtual void RecvRrcConnectionReject (RrcConnectionReject msg) = 0; |
741 |
virtual void RecvRrcConnectionReject (RrcConnectionReject msg) = 0; |
650 |
|
742 |
|
651 |
}; |
743 |
}; |
652 |
|
744 |
|
653 |
|
745 |
|
654 |
/** |
746 |
/** |
655 |
* Service Access Point (SAP) used by the eNB RRC to send messages to |
747 |
* \brief Part of the RRC protocol. This Service Access Point (SAP) is used by |
656 |
* the UE RC. Each method defined in this class correspond to |
748 |
* the eNB RRC to send messages to the UE RRC. Each method defined in |
657 |
* the transmission of a message that is defined in section 6.2.2 of TS |
749 |
* this class corresponds to the transmission of a message that is |
658 |
* 36.331. |
750 |
* defined in Section 6.2.2 of TS 36.331. |
659 |
*/ |
751 |
*/ |
660 |
class LteEnbRrcSapUser : public LteRrcSap |
752 |
class LteEnbRrcSapUser : public LteRrcSap |
661 |
{ |
753 |
{ |
|
668 |
|
760 |
|
669 |
virtual void SetupUe (uint16_t rnti, SetupUeParameters params) = 0; |
761 |
virtual void SetupUe (uint16_t rnti, SetupUeParameters params) = 0; |
670 |
virtual void RemoveUe (uint16_t rnti) = 0; |
762 |
virtual void RemoveUe (uint16_t rnti) = 0; |
|
|
763 |
|
764 |
/** |
765 |
* \brief Send a _SystemInformation_ message to all attached UEs |
766 |
* during a system information acquisition procedure |
767 |
* (Section 5.2.2 of TS 36.331). |
768 |
* \param msg the message |
769 |
*/ |
671 |
virtual void SendSystemInformation (SystemInformation msg) = 0; |
770 |
virtual void SendSystemInformation (SystemInformation msg) = 0; |
|
|
771 |
|
772 |
/** |
773 |
* \brief Send an _RRCConnectionSetup_ message to a UE |
774 |
* during an RRC connection establishment procedure |
775 |
* (Section 5.3.3 of TS 36.331). |
776 |
* \param rnti the RNTI of the destination UE |
777 |
* \param msg the message |
778 |
*/ |
672 |
virtual void SendRrcConnectionSetup (uint16_t rnti, RrcConnectionSetup msg) = 0; |
779 |
virtual void SendRrcConnectionSetup (uint16_t rnti, RrcConnectionSetup msg) = 0; |
|
|
780 |
|
781 |
/** |
782 |
* \brief Send an _RRCConnectionReconfiguration_ message to a UE |
783 |
* during an RRC connection reconfiguration procedure |
784 |
* (Section 5.3.5 of TS 36.331). |
785 |
* \param rnti the RNTI of the destination UE |
786 |
* \param msg the message |
787 |
*/ |
673 |
virtual void SendRrcConnectionReconfiguration (uint16_t rnti, RrcConnectionReconfiguration msg) = 0; |
788 |
virtual void SendRrcConnectionReconfiguration (uint16_t rnti, RrcConnectionReconfiguration msg) = 0; |
|
|
789 |
|
790 |
/** |
791 |
* \brief Send an _RRCConnectionReestablishment_ message to a UE |
792 |
* during an RRC connection re-establishment procedure |
793 |
* (Section 5.3.7 of TS 36.331). |
794 |
* \param rnti the RNTI of the destination UE |
795 |
* \param msg the message |
796 |
*/ |
674 |
virtual void SendRrcConnectionReestablishment (uint16_t rnti, RrcConnectionReestablishment msg) = 0; |
797 |
virtual void SendRrcConnectionReestablishment (uint16_t rnti, RrcConnectionReestablishment msg) = 0; |
|
|
798 |
|
799 |
/** |
800 |
* \brief Send an _RRCConnectionReestablishmentReject_ message to a UE |
801 |
* during an RRC connection re-establishment procedure |
802 |
* (Section 5.3.7 of TS 36.331). |
803 |
* \param rnti the RNTI of the destination UE |
804 |
* \param msg the message |
805 |
*/ |
675 |
virtual void SendRrcConnectionReestablishmentReject (uint16_t rnti, RrcConnectionReestablishmentReject msg) = 0; |
806 |
virtual void SendRrcConnectionReestablishmentReject (uint16_t rnti, RrcConnectionReestablishmentReject msg) = 0; |
|
|
807 |
|
808 |
/** |
809 |
* \brief Send an _RRCConnectionRelease_ message to a UE |
810 |
* during an RRC connection release procedure |
811 |
* (Section 5.3.8 of TS 36.331). |
812 |
* \param rnti the RNTI of the destination UE |
813 |
* \param msg the message |
814 |
*/ |
676 |
virtual void SendRrcConnectionRelease (uint16_t rnti, RrcConnectionRelease msg) = 0; |
815 |
virtual void SendRrcConnectionRelease (uint16_t rnti, RrcConnectionRelease msg) = 0; |
|
|
816 |
|
817 |
/** |
818 |
* \brief Send an _RRCConnectionReject_ message to a UE |
819 |
* during an RRC connection establishment procedure |
820 |
* (Section 5.3.3 of TS 36.331). |
821 |
* \param rnti the RNTI of the destination UE |
822 |
* \param msg the message |
823 |
*/ |
677 |
virtual void SendRrcConnectionReject (uint16_t rnti, RrcConnectionReject msg) = 0; |
824 |
virtual void SendRrcConnectionReject (uint16_t rnti, RrcConnectionReject msg) = 0; |
|
|
825 |
|
678 |
virtual Ptr<Packet> EncodeHandoverPreparationInformation (HandoverPreparationInfo msg) = 0; |
826 |
virtual Ptr<Packet> EncodeHandoverPreparationInformation (HandoverPreparationInfo msg) = 0; |
679 |
virtual HandoverPreparationInfo DecodeHandoverPreparationInformation (Ptr<Packet> p) = 0; |
827 |
virtual HandoverPreparationInfo DecodeHandoverPreparationInformation (Ptr<Packet> p) = 0; |
680 |
virtual Ptr<Packet> EncodeHandoverCommand (RrcConnectionReconfiguration msg) = 0; |
828 |
virtual Ptr<Packet> EncodeHandoverCommand (RrcConnectionReconfiguration msg) = 0; |
|
684 |
|
832 |
|
685 |
|
833 |
|
686 |
/** |
834 |
/** |
687 |
* Service Access Point (SAP) used to let the eNB RRC receive a |
835 |
* \brief Part of the RRC protocol. This Service Access Point (SAP) is used to |
688 |
* message from a UE RRC. Each method defined in this class correspond to |
836 |
* let the eNB RRC receive a message from a UE RRC. Each method defined |
689 |
* the reception of a message that is defined in section 6.2.2 of TS |
837 |
* in this class corresponds to the reception of a message that is |
690 |
* 36.331. |
838 |
* defined in Section 6.2.2 of TS 36.331. |
691 |
*/ |
839 |
*/ |
692 |
class LteEnbRrcSapProvider : public LteRrcSap |
840 |
class LteEnbRrcSapProvider : public LteRrcSap |
693 |
{ |
841 |
{ |
|
699 |
}; |
847 |
}; |
700 |
|
848 |
|
701 |
virtual void CompleteSetupUe (uint16_t rnti, CompleteSetupUeParameters params) = 0; |
849 |
virtual void CompleteSetupUe (uint16_t rnti, CompleteSetupUeParameters params) = 0; |
702 |
virtual void RecvRrcConnectionRequest (uint16_t rnti, RrcConnectionRequest msg) = 0; |
850 |
|
703 |
virtual void RecvRrcConnectionSetupCompleted (uint16_t rnti, RrcConnectionSetupCompleted msg) = 0; |
851 |
/** |
704 |
virtual void RecvRrcConnectionReconfigurationCompleted (uint16_t rnti, RrcConnectionReconfigurationCompleted msg) = 0; |
852 |
* \brief Receive an _RRCConnectionRequest_ message from a UE |
705 |
virtual void RecvRrcConnectionReestablishmentRequest (uint16_t rnti, RrcConnectionReestablishmentRequest msg) = 0; |
853 |
* during an RRC connection establishment procedure |
706 |
virtual void RecvRrcConnectionReestablishmentComplete (uint16_t rnti, RrcConnectionReestablishmentComplete msg) = 0; |
854 |
* (Section 5.3.3 of TS 36.331). |
|
|
855 |
* \param rnti the RNTI of UE which sent the message |
856 |
* \param msg the message |
857 |
*/ |
858 |
virtual void RecvRrcConnectionRequest (uint16_t rnti, |
859 |
RrcConnectionRequest msg) = 0; |
860 |
|
861 |
/** |
862 |
* \brief Receive an _RRCConnectionSetupComplete_ message from a UE |
863 |
* during an RRC connection establishment procedure |
864 |
* (Section 5.3.3 of TS 36.331). |
865 |
* \param rnti the RNTI of UE which sent the message |
866 |
* \param msg the message |
867 |
*/ |
868 |
virtual void RecvRrcConnectionSetupCompleted (uint16_t rnti, |
869 |
RrcConnectionSetupCompleted msg) = 0; |
870 |
|
871 |
/** |
872 |
* \brief Receive an _RRCConnectionReconfigurationComplete_ message from a UE |
873 |
* during an RRC connection reconfiguration procedure |
874 |
* (Section 5.3.5 of TS 36.331). |
875 |
* \param rnti the RNTI of UE which sent the message |
876 |
* \param msg the message |
877 |
*/ |
878 |
virtual void RecvRrcConnectionReconfigurationCompleted (uint16_t rnti, |
879 |
RrcConnectionReconfigurationCompleted msg) = 0; |
880 |
|
881 |
/** |
882 |
* \brief Receive an _RRCConnectionReestablishmentRequest_ message from a UE |
883 |
* during an RRC connection re-establishment procedure |
884 |
* (Section 5.3.7 of TS 36.331). |
885 |
* \param rnti the RNTI of UE which sent the message |
886 |
* \param msg the message |
887 |
*/ |
888 |
virtual void RecvRrcConnectionReestablishmentRequest (uint16_t rnti, |
889 |
RrcConnectionReestablishmentRequest msg) = 0; |
890 |
|
891 |
/** |
892 |
* \brief Receive an _RRCConnectionReestablishmentComplete_ message from a UE |
893 |
* during an RRC connection re-establishment procedure |
894 |
* (Section 5.3.7 of TS 36.331). |
895 |
* \param rnti the RNTI of UE which sent the message |
896 |
* \param msg the message |
897 |
*/ |
898 |
virtual void RecvRrcConnectionReestablishmentComplete (uint16_t rnti, |
899 |
RrcConnectionReestablishmentComplete msg) = 0; |
900 |
|
901 |
/** |
902 |
* \brief Receive a _MeasurementReport_ message from a UE |
903 |
* during a measurement reporting procedure |
904 |
* (Section 5.5.5 of TS 36.331). |
905 |
* \param rnti the RNTI of UE which sent the message |
906 |
* \param msg the message |
907 |
*/ |
707 |
virtual void RecvMeasurementReport (uint16_t rnti, MeasurementReport msg) = 0; |
908 |
virtual void RecvMeasurementReport (uint16_t rnti, MeasurementReport msg) = 0; |
708 |
|
909 |
|
709 |
}; |
910 |
}; |