You are not logged in.
Hi,
How to find the dropping rate in any transmit queue using WLAN_exp framework?
Thank you.
Last edited by nader (2017-Mar-03 08:40:51)
Offline
That's an interesting question. There isn't a way to access that info with wlan_exp in the reference code. But it would only require minor extensions to the C and Python to build this.
Line 957, 1058, and 1101 of wlan_mac_ap.c are the three places where the AP checks to see if the current transmit queue size is less than "max_queue_size". In the "else()" clause after those "if()" statements, you could add some C to increment global variables to track the number of drop events. From there, you can extend wlan_exp with a command to retrieve your new variables tracking the number of drops.
Offline
Thank you. This is exactly what I thought.
Offline