From owner-cvs-src@FreeBSD.ORG Sat Dec 20 16:00:09 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAEE116A4CE; Sat, 20 Dec 2003 16:00:09 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE95343D5E; Sat, 20 Dec 2003 16:00:08 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id hBL0080B000868; Sat, 20 Dec 2003 16:00:08 -0800 (PST) (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBL008aU000867; Sat, 20 Dec 2003 16:00:08 -0800 (PST) (envelope-from wpaul) Message-Id: <200312210000.hBL008aU000867@repoman.freebsd.org> From: Bill Paul Date: Sat, 20 Dec 2003 16:00:08 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/ndis kern_ndis.c ndis_var.h subr_ndis.c src/sys/dev/if_ndis if_ndis.c if_ndisvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 21 Dec 2003 00:00:09 -0000 wpaul 2003/12/20 16:00:08 PST FreeBSD src repository Modified files: sys/compat/ndis kern_ndis.c ndis_var.h subr_ndis.c sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: Big round of updates: - Make ndis_get_info()/ndis_set_info() sleep on the setdone/getdone routines if they get back NDIS_STATUS_PENDING. - Add a bunch of net80211 support so that 802.11 cards can be twiddled with ifconfig. This still needs more work and is not guaranteed to work for everyone. It works on my 802.11b/g card anyway. The problem here is Microsoft doesn't provide a good way to a) learn all the rates that a card supports (if it has more than 8, you're kinda hosed) and b) doesn't provide a good way to distinguish between 802.11b, 802.11b/g an 802.11a/b/g cards, so you sort of have to guess. Setting the SSID and switching between infrastructure/adhoc modes should work. WEP still needs to be implemented. I can't find any API for getting/setting the channel other than the registry/sysctl keys. Revision Changes Path 1.7 +35 -8 src/sys/compat/ndis/kern_ndis.c 1.3 +2 -0 src/sys/compat/ndis/ndis_var.h 1.8 +4 -1 src/sys/compat/ndis/subr_ndis.c 1.6 +401 -22 src/sys/dev/if_ndis/if_ndis.c 1.4 +10 -1 src/sys/dev/if_ndis/if_ndisvar.h