We are developing a wireless n/w configuration UI and need to check if a SSID is a valid one? Are there any restrictions on the character set? length ? anything more..
The SSID can be any alphanumeric, case-sensitive entry from 2 to 32 characters. The printable characters plus the space (ASCII 0x20) are allowed, but these six characters are not: ?, ", $, [, \, ], and +.
Each of the SSID have a unique BSSID - so your device knows the difference once you are associated. Your issues will only be in the authentication phase. If they share a DS (Distribution System) - they will usually be managed by the same entity - hence your credentials would be shared.
The technical term for a Wi-Fi network name is the Service Set Identifier, commonly referred to as the SSID. As defined in the 802.11 standard, an SSID can be up 32 characters long.
The SSID is the name of your wireless network. This is what you will look for when connecting wireless computers and devices. The Password is the secret word or phrase you will enter when first connecting a device to your wireless network.
Section 7.3.2.1 of the 802.11-2007 specification (http://standards.ieee.org/getieee802/download/802.11-2007.pdf) defines SSIDs.
A valid SSID is 0-32 octets with arbitrary contents. A 0-length SSID indicates the wildcard SSID (in probe request frames for instance).
There's no character set associated with the SSID - a 32-byte string of NUL-bytes is a valid SSID.
This implies:
you should never use normal string functions when manipulating generic SSIDs (strcpy() and friends).
you should not assume that the SSID is printable when, for instance, logging it to disk
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With