Re: Hidden SSID's
From: Larry Finger <hidden>
Date: 2007-01-27 15:29:33
Also in:
lkml
Dan Williams wrote:
On Fri, 2007-01-26 at 21:48 -0600, Larry Finger wrote:quoted
Is there a convention regarding the information that a wireless MAC layer should provide when reporting scan data from an AP with a hidden SSID? In ieee80211, the software inserts the string "<hidden>" for such an AP, which seems to give wpa_supplicant fits because it rejects the SSID before even looking at the encryption data. Is this the normal convention?No. It's wrong. It is not normal convention. The one and only _correct_ way of reporting a hidden SSID is to not report the SSID at all. The only item that needs to be reported with WEXT is the BSSID, and the client app assumes that if the SSID is not received for a given scan result, that the driver doesn't have an SSID for that BSSID. I really, really don't know why ieee80211 uses <hidden>, but it's a pain in the ass and should NOT be done for d80211. I don't know if we can ever remove it from ieee80211 though for backwards compat reasons.
The situation might not be too bad. The routine in ieee80211 has two direct callers, ipw2100 and ipw2200, and is called through ieee80211softmac by bcm43xx and zd1211rw. I'll contact the maintainers and see if we can reach an agreement regarding removal of the bad info. Thanks for your response. Larry