From owner-cvs-src-old@FreeBSD.ORG Sun Oct 26 21:56:31 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 678861065671 for ; Sun, 26 Oct 2008 21:56:31 +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 552448FC0C for ; Sun, 26 Oct 2008 21:56:31 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m9QLuVA3061600 for ; Sun, 26 Oct 2008 21:56:31 GMT (envelope-from sam@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m9QLuViV061599 for cvs-src-old@freebsd.org; Sun, 26 Oct 2008 21:56:31 GMT (envelope-from sam@repoman.freebsd.org) Message-Id: <200810262156.m9QLuViV061599@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to sam@repoman.freebsd.org using -f From: Sam Leffler Date: Sun, 26 Oct 2008 21:56:27 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net80211 ieee80211_scan_sta.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2008 21:56:31 -0000 sam 2008-10-26 21:56:27 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_scan_sta.c Log: SVN rev 184302 on 2008-10-26 21:56:27Z by sam Fix joining an 11b BSS: scanning is normally done using 11g channels (unless explicitly locked to mode 11b) so when we join the bss the channel attached to the scan cache entry may need to be demoted. o demote to 11b if the ap is advertising 11b rates o skip the ap if it's 11b but we're locked to 11g (could consider this advisory but for now treat it as mandatory) o handle an odd edge case, if there is a fixed transmit rate for 11g then the rate check against the 11b ap will fail, try to demote to 11b and retry the rate check Reviewed by: sephe, thompsa Revision Changes Path 1.16 +72 -17 src/sys/net80211/ieee80211_scan_sta.c