Skip to main content

Table 2 Pseudocode of the Stage I in ICASST Scheme

From: Interference-constrained adaptive simultaneous spectrum sensing and data transmission scheme for unslotted cognitive radio network

Stage I Adaptive Transmission

{

   SET the index i to 1;

   Estimate tsp1 with the algorithm stated in Section 4.2;

   Adaptation: Calculate T 1 i according to the algorithm stated in Section 4.1;

   SU Tx sends T 1 i to SU Rx;

   SU Tx transmits data within the transmission time T 1 i ;

   SU Rx feeds the sensing result ChannelState back to SU Rx at the end of T 1 i ;

   i = i + 1;

   IF ChannelState = Busy THEN

CALL Stage II Adaptive Transmission;

   ELSE

GOTO Adaptation;

   END IF

}