From: Alexander Simon <alexander.simon@saxnet.de>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH 4/4] mac80211: Add HT operation modes for IBSS
Date: Fri, 12 Aug 2011 16:25:45 +0200 [thread overview]
Message-ID: <2276990.7uHyxQX4MO@alex-1> (raw)
In-Reply-To: <1313152536.4022.9.camel@jlt3.sipsolutions.net>
> Ok, that makes sense. So you need the get_bss_ht() only for fixed mode I
> guess.
Exactly.
>
> > This should answer your last questions:
> > When not fixed, the BSSID configuration always is preferred. Thus, we
> > would join as HT40 even though not requested.
> > So, when we requsted HT40-, but the IBSS is HT40+, we would work on -.
>
> ? I think I know what you mean but your example seems .. the wrong way
> around?
Damn, you're right. We would work on HT+, not -, as the BSS config is
preferred.
>
> > I wanted to have the opportunity to start HT on an existing IBSS.
>
> Well that should always be OK?
>
> > The problem is that legacy station may "kill" the HT configuration:
> > If STA A starts in HT IBSS and lets say Windows STA B joins, B would
> > advertise that IBSS as non-HT as it ignores our HT IE.
> > Then, if STA A dies and STA C joins, it will be non-HT.
>
> mac80211 is STA C? Would it be a problem to use HT if the IBSS was
> previously non-HT? The old members will ignore it, but other new HT
> members may work OK? IOW -- is it not possible to have a mixed HT/non-HT
> IBSS?
Basically, as to my knowledge, the only difference is that we add HI IEs. Non-
HT stations will ignore these, of course.
A mixed network should be no problem - as long as Greenfield is turned off
(and i don't turn in on anywhere).
To proceed with basics: I follow a very simple approach (for non-fixed freq):
Use current BSS HT settings. If none exists, use iw config. If no iw config,
no HT.
But there may be a chance that a N-Node joins a mixed IBSS without an iw HT
setting.
If it joins from a G-Node's beacon, it won't see or use HT.
That is the reason I inspect later incoming beacons for HT settings and
reconfigure our beacon skb, when received one. That also resolves the "windows
example" above.
>
> > No, pretty sure not. We *are* already joined. That means the TSFs of all
> > stations *within* our BSSID match. TSFs can only tell whitch BSSID is
> > older...
> > So there is no way to distinguish which station first joined.
> > Or am i wrong? That would be good in that case :)
>
> Oh, no, you're right of course.
As said above, I take *any* HT configuration from *any* beacon and reconfigure
our node (first beacon wins).
For two different HT configs it is normally distributed which config would
"win". Identifying the first node would help here...
If there were many stations, with different HT configs, joining at the same
time, it would take several beacons until the configurations would tilt into a
homogeneous one.
If you have a good idea - I'll be eager to hear :)
>
> johannes
I hope I could make my thoughts somewhat more understandable...
Alex
next prev parent reply other threads:[~2011-08-12 14:25 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 12:02 [PATCH 1/4] nl80211: Parse channel type attribute in an IBSS join request Alexander Simon
2011-08-08 12:04 ` [PATCH 2/4] cfg80211: Add cfg80211_get_bss_ht to also match HT configuration Alexander Simon
2011-08-10 13:53 ` Johannes Berg
2011-08-10 15:48 ` Alexander Simon
2011-08-10 16:05 ` Johannes Berg
2011-08-10 17:50 ` Alexander Simon
2011-08-12 12:32 ` Johannes Berg
2011-08-12 14:20 ` Alexander Simon
2011-08-08 12:09 ` [PATCH 3/4] mac80211: Add HT helper functions Alexander Simon
2011-08-10 13:54 ` Johannes Berg
2011-08-10 13:55 ` Johannes Berg
2011-08-08 12:10 ` [PATCH 4/4] mac80211: Add HT operation modes for IBSS Alexander Simon
2011-08-10 14:03 ` Johannes Berg
2011-08-10 15:31 ` Alexander Simon
2011-08-12 12:35 ` Johannes Berg
2011-08-12 14:25 ` Alexander Simon [this message]
2011-08-13 16:05 ` Felix Fietkau
2011-08-10 13:50 ` [PATCH 1/4] nl80211: Parse channel type attribute in an IBSS join request Johannes Berg
2011-08-23 19:39 ` John W. Linville
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=2276990.7uHyxQX4MO@alex-1 \
--to=alexander.simon@saxnet.de \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.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