From nobody@FreeBSD.org  Fri May  9 18:59:35 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C0E241065674
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  9 May 2008 18:59:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A4F578FC1B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  9 May 2008 18:59:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m49IwapU057378
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 9 May 2008 18:58:36 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m49Iwa51057377;
	Fri, 9 May 2008 18:58:36 GMT
	(envelope-from nobody)
Message-Id: <200805091858.m49Iwa51057377@www.freebsd.org>
Date: Fri, 9 May 2008 18:58:36 GMT
From: Anton <uyamba@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: iwi periodically disassociates/assotiates
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         123559
>Category:       kern
>Synopsis:       [iwi] iwi periodically disassociates/associates [regression]
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-net
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 09 19:00:01 UTC 2008
>Closed-Date:    
>Last-Modified:  Tue Dec  1 13:00:08 UTC 2009
>Originator:     Anton
>Release:        7.0
>Organization:
>Environment:
FreeBSD current.hifi 7.0-STABLE FreeBSD 7.0-STABLE #7: Fri May  9 20:32:47 MSD 2008     ton@current.hifi:/usr/obj/usr/src/sys/CURRENT  i386

>Description:
On 7.0-STABLE every 3-5 seconds I'm getting repeating messages:

..
May  9 22:35:02 current kernel: iwi_newstate: ASSOC -> ASSOC flags 0x1
May  9 22:35:02 current kernel: exit FW state 2
May  9 22:35:02 current kernel: iwi_newstate: ASSOC -> RUN flags 0x11
May  9 22:35:02 current kernel: Already associated
May  9 22:35:02 current kernel: iwi0: link state changed to UP
May  9 22:35:05 current kernel: Beacon miss: 10 >= 10
May  9 22:35:05 current kernel: Beacon miss: 11 >= 10
May  9 22:35:05 current kernel: iwi_newstate: RUN -> ASSOC flags 0x11
May  9 22:35:05 current kernel: enter FW state 3
May  9 22:35:05 current kernel: Trying to disassociate from 02:19:5b:c1:bd:ba ch
annel 6
May  9 22:35:05 current kernel: iwi0: link state changed to DOWN
May  9 22:35:05 current kernel: exit FW state 3
May  9 22:35:05 current kernel: enter FW state 2
May  9 22:35:05 current kernel: Configuring adapter
May  9 22:35:05 current kernel: Setting ESSID to "Wireless"
May  9 22:35:05 current kernel: Setting negotiated rates (12)
May  9 22:35:05 current kernel: Setting sensitivity to 43
May  9 22:35:05 current kernel: Join bssid 02:19:5b:c1:bd:ba dst 02:19:5b:c1:bd:
ba channel 6 policy 0x0 auth 0 capinfo 0x421 lintval 100 bintval 100
May  9 22:35:05 current kernel: iwi_newstate: ASSOC -> ASSOC flags 0x1
May  9 22:35:05 current kernel: exit FW state 2
May  9 22:35:05 current kernel: iwi_newstate: ASSOC -> RUN flags 0x11
May  9 22:35:05 current kernel: Already associated
May  9 22:35:05 current kernel: iwi0: link state changed to UP
May  9 22:35:07 current kernel: Beacon miss: 10 >= 10
May  9 22:35:08 current kernel: Beacon miss: 11 >= 10
May  9 22:35:08 current kernel: iwi_newstate: RUN -> ASSOC flags 0x11
May  9 22:35:08 current kernel: enter FW state 3
May  9 22:35:08 current kernel: Trying to disassociate from 02:19:5b:c1:bd:ba ch
annel 6
..

and somtimes: "firmware stuck in state 4, resetting", as in
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122597

setting -bgscan not solves problem - I had to "kldunload/load if_iwi"

There is no such problem on 6.3-RELEASE.

Card: Intel PRO/Wireless 2200BG

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat May 10 20:07:33 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer(s). 

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

From: ocean <ocean_ieee@yahoo.it>
To: bug-followup@FreeBSD.org, uyamba@gmail.com
Cc:  
Subject: Re: kern/123559: [iwi] iwi periodically disassociates/associates
 [regression]
Date: Tue, 01 Dec 2009 13:53:57 +0100

 it's not a fix, but you could try this temporary workaround and see if
 it gets better.
 change the interface bmiss parameter:
 
 ifconfig iwi0 bmiss 50
 
 (bmiss/bmissthreshold can be a value between 1 and 255)
 
 (or ifconfig wlan0 bmiss 50 on 8.0)
 
 regards
 ocean
>Unformatted:
