Research Article

Adaptive Window Size-Based Medium Access Control Protocol for Cognitive Radio Wireless Sensor Networks

Algorithm 1

Algorithm for adjusting CN window.
if  NE phase expired  then
 estimate ;
  if  
   and   and   then
   
  else if
   and   then
   
  else
  remain unchanged
start contention for sending CN packet