From owner-cvs-src@FreeBSD.ORG Sat Jun 30 21:23:24 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AEF4A16A400; Sat, 30 Jun 2007 21:23:24 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9F60513C448; Sat, 30 Jun 2007 21:23:24 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5ULNOjZ095379; Sat, 30 Jun 2007 21:23:24 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5ULNOdQ095378; Sat, 30 Jun 2007 21:23:24 GMT (envelope-from thompsa) Message-Id: <200706302123.l5ULNOdQ095378@repoman.freebsd.org> From: Andrew Thompson Date: Sat, 30 Jun 2007 21:23:23 +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/dev/wi if_wi.c src/sys/net80211 _ieee80211.h ieee80211_input.c ieee80211_scan.c ieee80211_scan.h 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: Sat, 30 Jun 2007 21:23:24 -0000 thompsa 2007-06-30 21:23:23 UTC FreeBSD src repository Modified files: sys/dev/wi if_wi.c sys/net80211 _ieee80211.h ieee80211_input.c ieee80211_scan.c ieee80211_scan.h ieee80211_scan_sta.c Log: Change the channel number in the scan results struct to be a pointer to the operating channel and use this in the scan cache rather than directly using ic_curchan. Some firmware cards can only do a full scan and so ic_curchan does not have the correct value. Also add IEEE80211_CHAN2IEEE to directly dereference ic_ieee from the channel to be used in the fast path. Reviewed by: sam, sephe Approved by: re (kensmith) Revision Changes Path 1.209 +7 -1 src/sys/dev/wi/if_wi.c 1.11 +2 -0 src/sys/net80211/_ieee80211.h 1.111 +7 -6 src/sys/net80211/ieee80211_input.c 1.2 +1 -1 src/sys/net80211/ieee80211_scan.c 1.2 +2 -2 src/sys/net80211/ieee80211_scan.h 1.2 +1 -1 src/sys/net80211/ieee80211_scan_sta.c