[Olsr-dev] algorithm to generate BSSID from SSID and channel

Hans-Christoph Steiner (spam-protected)
Fri Jun 29 19:29:35 CEST 2012

Here's our idea for a standard algorithm for generating a static BSSID
based on the SSID and the channel.  Aaron suggested using the channel
directly in the BSSID to lower the risk of conflicts.  Basically,
networks with the same BSSID on different channels will work, but if
different SSIDs on the same channel end up having the same hash, they
will not work.

Here's the algorithm, with an implementation attached:

BSSID = MD4(ESSID)[0:4] ++ channel 2-byte integer

This is read in English as: "The six byte BSSID is the first four
bytes of the MD4 hash of ESSID concatenated with the lowest two bytes
of the channel."

You can see the discussion here:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: get_bssid.tar.bz2
Type: application/x-bzip
Size: 3569 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20120629/eccb0ef7/attachment.bin>

More information about the Olsr-dev mailing list