Skip to contentSkip to conversation

Invalid BSSID handling?

DISCUSSION Alina Friedrichsen 3 participants 3 messages Jan 3, 2009 – Jan 5, 2009

lore
Share & tools
lore
#0 lore raw

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 4 lines · Alina Friedrichsen

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

#2 lore raw
Quoted 10 lines · Johannes Berg
Quoted 4 lines · Alina Friedrichsen

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.

Signature · 1 line
Jouni Malinen                                            PGP id EFC895FA