WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2017-Mar-03 08:40:38

nader
Member
Registered: 2016-May-24
Posts: 22

Measure the dropping rate at Tx queue

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

 

#2 2017-Mar-03 12:20:35

chunter
Administrator
From: Mango Communications
Registered: 2006-Aug-24
Posts: 1212

Re: Measure the dropping rate at Tx queue

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

 

#3 2017-Mar-03 16:48:13

nader
Member
Registered: 2016-May-24
Posts: 22

Re: Measure the dropping rate at Tx queue

Thank you. This is exactly what I thought.

Offline

 

Board footer