NR-V2X Mode 2 in ns-3
In 5G NR-V2X, vehicles communicate directly using sidelink. Two modes exist:
- Mode 1: gNB schedules sidelink resources.
- Mode 2: UEs autonomously select sidelink resources (no gNB needed).
Mode 2 is especially important for vehicular networks (IoV), where cars must exchange safety messages without relying on infrastructure.
In ns-3, the NrHelper class is used to:
- Create UE devices with sidelink PHY/MAC layers.
- Attach them to Bandwidth Parts (BWPs) and spectrum channels.
- Configure sidelink attributes such as:
SidelinkMode = 2(autonomous)SidelinkPeriod(resource pool periodicity)SidelinkSubchannelSize(RB grouping)
Comments
Post a Comment