From nobody@FreeBSD.org  Tue Dec 10 12:26:18 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 746AAF12
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 10 Dec 2013 12:26:18 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 613531662
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 10 Dec 2013 12:26:18 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rBACQIk6067446
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 10 Dec 2013 12:26:18 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rBACQH5S067445;
	Tue, 10 Dec 2013 12:26:17 GMT
	(envelope-from nobody)
Message-Id: <201312101226.rBACQH5S067445@oldred.freebsd.org>
Date: Tue, 10 Dec 2013 12:26:17 GMT
From: Eimar Koort <eimar.koort@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: freebsd 10 unable to connect hidden wifi
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         184657
>Category:       conf
>Synopsis:       freebsd 10 unable to connect hidden wifi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-wireless
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 10 12:30:00 UTC 2013
>Closed-Date:    Sun May 04 05:13:22 UTC 2014
>Last-Modified:  Sun May 04 05:13:22 UTC 2014
>Originator:     Eimar Koort
>Release:        Freebsd 10-RC1
>Organization:
>Environment:
FreeBSD laptop 10.0-RC1 FreeBSD 10.0-RC1 #0 r259128M: Mon Dec  9 20:53:08 EET 2013     root@laptop:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
If wireless connection is marked hidden freebsd 10 is unable to connect. 

/etc/rc.conf:

wlans_iwn0=wlan0
ifconfig_wlan0="WPA DHCP"

/etc/wpa_supplicant.conf contains:

network={
        ssid="mywifi"
        scan_ssid=1
        key_mgmt=WPA-PSK
        psk="hello nsa"
}


If wireless is not hidden, i can connect with no problems. Same configuration worked with Freebsd 9.1.

Laptop is Lenovo X200 (iwn)
>How-To-Repeat:
Uncheck "broadcast network name" (or something similar) from wifi-box and try to connect using freebsd 10.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Tue Dec 10 16:46:27 UTC 2013 
Responsible-Changed-Why:  
Over to -wireless 

http://www.freebsd.org/cgi/query-pr.cgi?pr=184657 

From: Eimar Koort <eimar.koort@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/184657: freebsd 10 unable to connect hidden wifi
Date: Fri, 27 Dec 2013 16:46:07 +0200

 --bcaec502d5ea820fa104ee852763
 Content-Type: text/plain; charset=UTF-8
 
 Hi,
 
 Tested a bit more.
 
 Using iwn (lenovo x200) driver i can connect to wireless network configured
 like this:
 network={ ssid="eduroam"
         key_mgmt=WPA-EAP
         proto=RSN
         eap=PEAP
     ...
 }
 and also to network which has no password at all:
 network={
         ssid="xyz"
         bssid=00:...
         key_mgmt=NONE
 }
 
 I can't connect to:
 network={
         ssid="zyx"
         bssid=00:
         key_mgmt=NONE
         wep_tx_keyidx=0
         wep_tx_keyidx=0
         wep_key0=...
 }
 network={
         ssid="mywifi"
         scan_ssid=1
         key_mgmt=WPA-PSK
         psk="hello nsa"
 }
 
 
 --
 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s8YnI+wqDCoMKgwqDCoMKgwqAg
 c3NpZD0mcXVvdDtteXdpZmkmcXVvdDs8YnI+wqDCoMKgwqDCoMKgwqAgc2Nhbl9zc2lkPTE8YnI+
 DQrCoMKgwqDCoMKgwqDCoCBrZXlfbWdtdD1XUEEtUFNLPGJyPsKgwqDCoMKgwqDCoMKgIHBzaz0m
 cXVvdDtoZWxsbyBuc2EmcXVvdDs8YnI+fTxicj48YnI+PGRpdiBjbGFzcz0iZ21haWxfZXh0cmEi
 PjxiciBjbGVhcj0iYWxsIj48ZGl2Pi0tPGJyPkVpbWFyIEtvb3J0PGJyPjxicj48L2Rpdj4NCjwv
 ZGl2PjwvZGl2Pg0K
 --bcaec502d5ea820fa104ee852763--

From: Eimar Koort <eimar.koort@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/184657: freebsd 10 unable to connect hidden wifi
Date: Fri, 24 Jan 2014 20:20:02 +0200

 --047d7b5db9c416ede004f0bb6834
 Content-Type: text/plain; charset=UTF-8
 
 Hi,
 I think this is related with all other iwn related problems in Fbsd-10 and
 thus does not need extra ticket. Also seems, that connecting to hidden wifi
 is not the problem as i initially thought.
 
 See
 https://wiki.freebsd.org/10.0OutstandingWork
 https://www.mail-archive.com/freebsd-wireless@freebsd.org/msg01994.html
 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/185425
 for example.
 
 So i think this PR can be closed.
 --
 Eimar Koort
 
 --047d7b5db9c416ede004f0bb6834--
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sun May 4 05:12:54 UTC 2014 
State-Changed-Why:  
Closed at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=184657 
>Unformatted:
