linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Invalid BSSID handling?
@ 2009-01-03  0:00 Alina Friedrichsen
  2009-01-03 22:57 ` Johannes Berg
  0 siblings, 1 reply; 3+ messages in thread
From: Alina Friedrichsen @ 2009-01-03  0:00 UTC (permalink / raw)
  To: linux-wireless

Hello,

what BSSID addresses should be treaded as invalid, by manual setting? H=
andling in mac80211 now is really magic. Multicast MAC addresses are ac=
cepted but the IEEE80211_STA_BSSID_SET flag isn't set, so that they are=
 handled as if they are automatically detected and selected.

The madwifi accepts all BSSIDs except 00:00:00:00:00:00 and ff:ff:ff:ff=
:ff:ff. Should mac80211 allow all BSSIDs like madwifi, or should it bet=
ter treat multicast MAC addresses as 00:00:00:00:00:00, or an other han=
dling?

Regards
Alina

--=20
Psssst! Schon vom neuen GMX MultiMessenger geh=F6rt? Der kann`s mit all=
en: http://www.gmx.net/de/go/multimessenger
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Invalid BSSID handling?
  2009-01-03  0:00 Invalid BSSID handling? Alina Friedrichsen
@ 2009-01-03 22:57 ` Johannes Berg
  2009-01-05  9:49   ` Jouni Malinen
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2009-01-03 22:57 UTC (permalink / raw)
  To: Alina Friedrichsen; +Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

On Sat, 2009-01-03 at 01:00 +0100, Alina Friedrichsen wrote:

> The madwifi accepts all BSSIDs except 00:00:00:00:00:00 and
> ff:ff:ff:ff:ff:ff. Should mac80211 allow all BSSIDs like madwifi, or
> should it better treat multicast MAC addresses as 00:00:00:00:00:00,
> or an other handling?

Even though the standard asks you to use locally administered addresses
for IBSS, I don't see this as a requirement since they just want to
guarantee uniqueness and if you're assigning manually you rely on
different methods for uniqueness.

Cf. 7.1.3.3.3 in 802.11-2007 (which you can download for free)

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Invalid BSSID handling?
  2009-01-03 22:57 ` Johannes Berg
@ 2009-01-05  9:49   ` Jouni Malinen
  0 siblings, 0 replies; 3+ messages in thread
From: Jouni Malinen @ 2009-01-05  9:49 UTC (permalink / raw)
  To: Johannes Berg; +Cc: Alina Friedrichsen, linux-wireless

On Sat, Jan 03, 2009 at 11:57:17PM +0100, Johannes Berg wrote:
> On Sat, 2009-01-03 at 01:00 +0100, Alina Friedrichsen wrote:
> > The madwifi accepts all BSSIDs except 00:00:00:00:00:00 and
> > ff:ff:ff:ff:ff:ff. Should mac80211 allow all BSSIDs like madwifi, or
> > should it better treat multicast MAC addresses as 00:00:00:00:00:00,
> > or an other handling?
> 
> Even though the standard asks you to use locally administered addresses
> for IBSS, I don't see this as a requirement since they just want to
> guarantee uniqueness and if you're assigning manually you rely on
> different methods for uniqueness.

For locally administered bit, I would agree, but I would still avoid
using any multicast address as the BSSID. It could cause undesired
behavior for RX filtering.

-- 
Jouni Malinen                                            PGP id EFC895FA

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-05  9:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-03  0:00 Invalid BSSID handling? Alina Friedrichsen
2009-01-03 22:57 ` Johannes Berg
2009-01-05  9:49   ` Jouni Malinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).