From: Johannes Berg <johannes@sipsolutions.net>
To: Jouni Malinen <j@w1.fi>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
Daniel Drake <dsd@gentoo.org>, Felix Fietkau <nbd@openwrt.org>
Subject: Re: [RFC] mac80211: fix short preamble determination
Date: Mon, 13 Oct 2008 19:31:50 +0200 [thread overview]
Message-ID: <1223919110.10113.1.camel@johannes.berg> (raw)
In-Reply-To: <20081013155938.GA30095@jm.kir.nu>
[-- Attachment #1: Type: text/plain, Size: 1496 bytes --]
On Mon, 2008-10-13 at 18:59 +0300, Jouni Malinen wrote:
> > - if (ieee80211_is_data(hdr->frame_control) &&
> > - tx->sdata->vif.bss_conf.use_short_preamble &&
> > - (!tx->sta || test_sta_flags(tx->sta, WLAN_STA_SHORT_PREAMBLE)))
> > + if (tx->sdata->vif.bss_conf.use_short_preamble &&
> > + (ieee80211_is_data(hdr->frame_control) ||
> > + (tx->sta && test_sta_flags(tx->sta, WLAN_STA_SHORT_PREAMBLE)))
>
> Changing '!tx->sta ||' to 'tx->sta &&' sounds reasonable, but I'm not so
> sure about the other change.. In theory, short preamble is negotiated
> per STA and while we do current disable short preamble completely in the
> BSS if a non-short-preamble-capable STA associates, I'm not sure whether
> that would be an absolute requirement.
I don't see how it cannot be -- you need stations not capable of
short-preamble to correctly update their NAV, no?
> As far as management frames
> (e.g., Probe Response) are concerned, IEEE 802.11-2007 18.2.2.2 has an
> interesting statement: "all management traffic is returned with the same
> type preamble as received". I have not been able to find normative
> requirement for that being the case, though.
Yeah, I found that statement too, but no other information on it either,
heh. Not that we can actually support that easily at all. And besides,
it would be kinda weird to send probe _requests_ with short preamble to
start with, since then you wouldn't find APs w/o short preamble...
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2008-10-13 17:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-11 8:26 [RFC] mac80211: fix short preamble determination Johannes Berg
2008-10-13 15:59 ` Jouni Malinen
2008-10-13 17:31 ` Johannes Berg [this message]
2008-10-13 17:54 ` Jouni Malinen
2008-10-13 18:03 ` Johannes Berg
2008-10-13 18:11 ` Jouni Malinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1223919110.10113.1.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=dsd@gentoo.org \
--cc=j@w1.fi \
--cc=linux-wireless@vger.kernel.org \
--cc=nbd@openwrt.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox