Closed huaxueyong closed 1 year ago
Can you give me the example code lines?
I looked at 80211-2016 Figure 10-15—Backoff procedure.
Can you explain a bit more by an example of state transition chain?
I don't understand why you make the conclusion that we don't have DIFS. Can you give me an example by describing a state transition chain?
You only wait for one DIFS before setting the backoff time, but according to 802.11, backoff time still has to wait for one DIFS between stopping and running.
You are right. What you are saying actually is the after frame DIFS. We don't have that. That is one deviation from the standard.
To reduce FPGA logic resources occupancy, openwifi only has one CSMA/CA engine (serve all queues) and only start CSMA/CA engine if there is a packet waiting for transmission in a queue. For the DIFS in between stop and running (station B in your case), because there is no packet waiting for transmission, the CSMA/CA even doesn't run, so there is no DIFS in our implementation.
Thank you for your earnest answer to my question, but I think station B is waiting for sending packets, otherwise it would not set backoff time.
The stations in the figure represent different devices, not different queues under the same device.
For example, if two devices AB want to send data, they will both set backoff time(bt). Assuming that A preempts the channel first, then B_bt will stop and will not run until A's operation is completed and a DIFS is over.
Yes you are right. Each time when we resume from the stopped backoff, we should do DIFS. But now we don't have that.
Hello Dr. Jiao! I am learning about your openwifi project. When I saw the csma module, I found that the backoff time directly began to decrease without waiting for DIFS. Is this in conflict with the violation?Thank you for taking time out of your busy schedule to check this message.