Delay Primary Sensing in NetSim 802.22 | NetSim

How I delay the sensing of the primary (incumbent) by the secondary?

Applicable versionsNetSim StandardNetsim Pro

 

Applicable Releases
v12
v13


Let us say there is some delay in sensing the primary. This would mean that there is a delay in sending the UCS. To incorporate this:

Go to the line pstruPacket->pstruMacData->dArrivalTime = pstruEventDetails->dEventTime; in the function int fn_NetSim_CR_QuietPeriod() present in the file SpectrumManager.c


Add some delay in the above line and then check the packet trace/metrics to see the effect of this delay


Related Articles:

How I delay the sensing of the primary (incumbent) by the secondary?

How is spectrum sensing done in NetSim 802.22 library?