From nobody@FreeBSD.org  Thu Nov  7 18:45:50 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 ESMTP id 741709B3
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  7 Nov 2013 18:45:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 6173924D8
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  7 Nov 2013 18:45:50 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rA7Ijosg060274
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 7 Nov 2013 18:45:50 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rA7Ijo7I060267;
	Thu, 7 Nov 2013 18:45:50 GMT
	(envelope-from nobody)
Message-Id: <201311071845.rA7Ijo7I060267@oldred.freebsd.org>
Date: Thu, 7 Nov 2013 18:45:50 GMT
From: Gavin Atkinson <gavin@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [iwn] [wlan] Interface dies, OACTIVE set on wlan0
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         183759
>Category:       kern
>Synopsis:       [iwn] [wlan] Interface dies, OACTIVE set on wlan0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-wireless
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 07 18:50:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Thu Nov 07 20:29:21 UTC 2013
>Originator:     Gavin Atkinson
>Release:        head
>Organization:
>Environment:
r254080
>Description:
With iwn(4) (Intel 5100) I often see the interface disassociate from the WPA2 11n network it is associated with.  wpa_supplicant gives reason=0.

When this happens, according to ifconfig OACTIVE is set on wlan0, and not on iwn0.  Once in this state, it seems that destroying wlan0 and recreating it is necessary in order to get things working again.

I have started binary searching for the commit that introduced this behaviour.  So far, I have not yet managed to recreate it with r252500, but it can happen within 10 minutes on r254080.  I have not yet proven it, but I believe that disabling ht (with ifconfig wlan0 -ht) prevents it from happening.

Gavin
>How-To-Repeat:
Associate to 11n network, pass some data, wait.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Thu Nov 7 20:29:05 UTC 2013 
Responsible-Changed-Why:  
Over to -wireless 

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