Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a standard that defines what is a valid SSID and password?

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..

like image 313
Anand G Avatar asked Feb 07 '11 09:02

Anand G


People also ask

What is the standard for SSID?

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 +.

Does SSID have to be unique?

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.

How many digits is an SSID?

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.

Is the SSID the same as the password?

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.


1 Answers

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

like image 183
Per Knytt Avatar answered Sep 20 '22 18:09

Per Knytt