Hi,

I don't think this functionality is in the 802.11 code yet, since all 
timers are related to backoffs, and when they fire they check if the 
channel is idle.

What I want to do is something slightly different, I want to wait until 
the channel is idle, and then immediately perform some action.

However I might not necessarily need to poll for the channel to be idle 
in simulation, as you kind of have more information than in the real world.

There is only a single instance where I want this to occur, when ACK 
timeout is exceeded which is in send_timer().  I want to enter some 
state that waits until the channel is idle and then immediately performs 
some action. (forget retransmitting the data for now)

I can imagine cases where it is possible the channel is not idle after 
an ACK timeout, such as when there is asymmetry and a terminal who 
cannot hear another's transmission slaughters it by transmitting... but 
the original terminal transmitting can hear this new transmission.

Does anyone have any suggestions for going about this?

Thanks!
George

Reply via email to