From owner-cvs-src@FreeBSD.ORG Mon Nov 5 17:24:29 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DD2116A417; Mon, 5 Nov 2007 17:24:29 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 39C4D13C4A3; Mon, 5 Nov 2007 17:24:29 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA5HOTVa010097; Mon, 5 Nov 2007 17:24:29 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA5HOT9q010096; Mon, 5 Nov 2007 17:24:29 GMT (envelope-from sam) Message-Id: <200711051724.lA5HOT9q010096@repoman.freebsd.org> From: Sam Leffler Date: Mon, 5 Nov 2007 17:24:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/net80211 ieee80211_scan_sta.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 17:24:29 -0000 sam 2007-11-05 17:24:28 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_scan_sta.c Log: Correct handling of off-channel frames: o do not override the home channel recorded for the sta when the frame is received off-channel; this fixes a problem where we might think the sta was operating on the channel the frame was received on causing association requests to be ignored/rejected (likely cause of kern/99036) o don't include rssi of off-channel frames in the avg rssi used to select a bss; this gives us a better estimate of the signal we will see for the station when on-channel PR: kern/99036 Found by: Yubin Gong Reviewed by: sephe MFC after: 1 week Revision Changes Path 1.6 +37 -12 src/sys/net80211/ieee80211_scan_sta.c