* channel utilisation short/long hdr?
@ 2008-01-09 23:50 Johannes Berg
2008-01-12 2:44 ` Jouni Malinen
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2008-01-09 23:50 UTC (permalink / raw)
To: linux-wireless; +Cc: Jouni Malinen, Michael Wu
[-- Attachment #1: Type: text/plain, Size: 337 bytes --]
What's the meaning of these defines?
#define CHAN_UTIL_HDR_LONG (202 * CHAN_UTIL_PER_USEC)
#define CHAN_UTIL_HDR_SHORT (40 * CHAN_UTIL_PER_USEC)
I can't figure out what the values 202 and 40 are.
And probably related, what does it mean for a bitrate to be an "ERP
rate"? Does that just mean it's an OFDM bitrate?
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: channel utilisation short/long hdr?
2008-01-09 23:50 channel utilisation short/long hdr? Johannes Berg
@ 2008-01-12 2:44 ` Jouni Malinen
2008-01-12 10:15 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Jouni Malinen @ 2008-01-12 2:44 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless, Michael Wu
On Thu, Jan 10, 2008 at 12:50:58AM +0100, Johannes Berg wrote:
> What's the meaning of these defines?
>
> #define CHAN_UTIL_HDR_LONG (202 * CHAN_UTIL_PER_USEC)
> #define CHAN_UTIL_HDR_SHORT (40 * CHAN_UTIL_PER_USEC)
>
> I can't figure out what the values 202 and 40 are.
Hmm.. I thought I had filtered out the channel use estimation code from
the original release since I did not see much use for this and the
values were not exactly valid in many cases.. ;-).
This code is almost five years old and maybe not so surprisingly, I
don't remember the exact details anymore.. Since these are use as
"hdrtime", I would assume they were derived using following calculation:
CHAN_UTIL_HDR_LONG: assume 802.11b with long preamble:
aSIFSTime (10 usec) + aPreambleLength (144 usec) + aPLCPHeaderLength (48
usec) = 202 usec
CHAN_UTIL_HDR_SHORT: assume OFDM:
aSIFSTime (+ signal ext in case of 802.11g; 16 usec) + preamble (16
usec) + signal (4 usec) = 36 usec; add one symbol time (4 usec) for
some reason (or a sign of someone not knowing how to add small
numbers together.. ;-), I don't remember anymore and cannot figure out
this without wasting way too much time..)
> And probably related, what does it mean for a bitrate to be an "ERP
> rate"? Does that just mean it's an OFDM bitrate?
That would be any rate using Extended Rate PHY (ERP; 802.11 Clause 19).
This is not necessarily OFDM (it could also be using PBCC modulation).
In practice, I would expect the kernel side implementation to use this
in anything PHY related as ERP-OFDM (i.e., it may not support optional
PBCC rates). The association and beacon/probe processing may be more
generic to any ERP rate. I don't think ERP-PBCC is very commonly used,
so this may be more on the theoretical side..
--
Jouni Malinen PGP id EFC895FA
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: channel utilisation short/long hdr?
2008-01-12 2:44 ` Jouni Malinen
@ 2008-01-12 10:15 ` Johannes Berg
0 siblings, 0 replies; 3+ messages in thread
From: Johannes Berg @ 2008-01-12 10:15 UTC (permalink / raw)
To: Jouni Malinen; +Cc: linux-wireless, Michael Wu
[-- Attachment #1: Type: text/plain, Size: 1246 bytes --]
> Hmm.. I thought I had filtered out the channel use estimation code from
> the original release since I did not see much use for this and the
> values were not exactly valid in many cases.. ;-).
Heh.
> This code is almost five years old and maybe not so surprisingly, I
> don't remember the exact details anymore.. Since these are use as
> "hdrtime", I would assume they were derived using following calculation:
Right. Thanks for the values, I guess that if we really wanted to keep
that stuff maintainable we should rewrite it and take into account
preamble length too etc. I'm not too keen on that though, would anybody
object if we'd just kill it?
> That would be any rate using Extended Rate PHY (ERP; 802.11 Clause 19).
> This is not necessarily OFDM (it could also be using PBCC modulation).
> In practice, I would expect the kernel side implementation to use this
> in anything PHY related as ERP-OFDM (i.e., it may not support optional
> PBCC rates). The association and beacon/probe processing may be more
> generic to any ERP rate. I don't think ERP-PBCC is very commonly used,
> so this may be more on the theoretical side..
Oh, right, I keep forgetting about the optional rates.
Thanks,
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-12 10:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-09 23:50 channel utilisation short/long hdr? Johannes Berg
2008-01-12 2:44 ` Jouni Malinen
2008-01-12 10:15 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox