Re: [Madwifi-devel] Madwifi-devel Digest, Vol 48, Issue 3, Message 1

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mohammad Abdelhadi
Date: Monday, May 31, 2010 - 2:36 pm

On Mon, May 31, 2010 at 8:00 PM, Nicolas Barati <nicolas.barati@gmail.com>wrote:

Hi,

Regarding the issue of the long retry counter:

You said that you got a values of the long retry counter such as 29, 31!
Well, i don't think what are you depending on really reflects the true value
of the long retry counter IMHO. As far as I know, the maximum value that the
long retry counter could reach is 10 or 11, then the packet will be
discarded. Therefore, if you really want to get the correct value of the
long retry counter or src, please see the function:
ath_tx_processq, and you will find:
sr = ts->ts_shortretry;
lr = ts->ts_longretry;

Regarding the issue of the CW:

Well, I don't know any method that could reflects the true value of the
current CW, but if you get a true values of the long retry counter, you can
estimate the value of the CW at that moment for a certain packet using the
following equation:

CW = CWmin * ((2^m)-1)

Where:
CWmin is the minimum contention window, which  is 15.
m is the retry counter.

Hope this helps..

Regards,
-- 
Mohammad
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Madwifi-devel] Madwifi-devel Digest, Vol 48, Issue 3, ..., Mohammad Abdelhadi, (Mon May 31, 2:36 pm)