From owner-cvs-src@FreeBSD.ORG Tue Mar 1 14:09:13 2005 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 6336316A4CE; Tue, 1 Mar 2005 14:09:13 +0000 (GMT) Received: from www.portaone.com (support.portaone.com [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id B387E43D6A; Tue, 1 Mar 2005 14:09:09 +0000 (GMT) (envelope-from sobomax@portaone.com) Received: from [192.168.0.254] ([192.168.2.2]) (authenticated bits=0) by www.portaone.com (8.12.11/8.12.11) with ESMTP id j21DiIv5042923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Mar 2005 14:44:19 +0100 (CET) (envelope-from sobomax@portaone.com) Message-ID: <422471AD.2040306@portaone.com> Date: Tue, 01 Mar 2005 15:44:13 +0200 From: Maxim Sobolev Organization: Porta Software Ltd User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bill Paul References: <200502181630.j1IGUAEF022511@repoman.freebsd.org> In-Reply-To: <200502181630.j1IGUAEF022511@repoman.freebsd.org> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/685/Wed Jan 26 10:08:24 2005 clamav-milter version 0.80j on www.portaone.com X-Virus-Status: Clean cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/modules Makefile src/sys/modules/ndisMakefile src/sys/compat/ndis hal_var.h kern_ndis.c kern_windrv.c ndis_var.h ntoskrnl_var.h pe_var.h resource_var.h subr_hal.c subr_ndis.c subr_ntoskrnl.c subr_pe.c winx64_wrap.S src/sys/dev/if_ndis ... 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: Tue, 01 Mar 2005 14:09:13 -0000 This patch broke out D-Link DWL-520+ (acx100) in RELENG_5 at least in the ad-hoc mode. Reverting sources to the state of 2005-02-17 fixes the problem. I initialise the link using the following command: ifconfig ndis0 mediaopt adhoc ssid SoboHome \ wepmode on wepkey 'xxxxxxxxxxxxx' ifconfig ndis0 inet 192.168.0.1 up As a client I use winxp PC - it associates just fine, receives address from the DHCP server running on FreeBSD side, I can ping other side until "real" traffic start flowing (attempt to ssh FreeBSD side usually sufficient), after that ping no longer works. If I do tcpdump on FreeBSD side I can see incoming IP and ICMP packets though, so that I suspect that something wrong in the send path. You can find snapshots of sources that does and doesn't work here: http://www.pbxpress.com/~sobomax/ndis/ndis_broken.tar http://www.pbxpress.com/~sobomax/ndis/ndis_works.tar My ndis_driver_data.h is here: http://www.pbxpress.com/~sobomax/ndis/ndis_driver_data.h Please le me know if any additional information or debugging is necessary. Regards, Maxim Bill Paul wrote: > wpaul 2005-02-18 16:30:10 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_5) > sys/modules Makefile > sys/modules/ndis Makefile > sys/compat/ndis hal_var.h kern_ndis.c ndis_var.h > ntoskrnl_var.h pe_var.h resource_var.h > subr_hal.c subr_ndis.c subr_ntoskrnl.c > subr_pe.c > sys/dev/if_ndis if_ndis.c if_ndis_pccard.c if_ndis_pci.c > if_ndisvar.h > sys/conf files.amd64 options.amd64 > usr.sbin/ndiscvt inf.c ndiscvt.c > Added files: (Branch: RELENG_5) > sys/compat/ndis kern_windrv.c winx64_wrap.S > Log: > MFC all of the recent updates to -current (new framework, amd64 > support), except for the patch to if_ndis.c to do AP scanning with > ifconfig (the support for which isn't present in -stable). > > Revision Changes Path > 1.4.2.2 +2 -0 src/sys/compat/ndis/hal_var.h > 1.60.2.3 +173 -193 src/sys/compat/ndis/kern_ndis.c > 1.3.2.1 +470 -0 src/sys/compat/ndis/kern_windrv.c (new) > 1.29.2.2 +33 -8 src/sys/compat/ndis/ndis_var.h > 1.17.2.3 +172 -17 src/sys/compat/ndis/ntoskrnl_var.h > 1.8.2.2 +86 -14 src/sys/compat/ndis/pe_var.h > 1.2.2.1 +42 -4 src/sys/compat/ndis/resource_var.h > 1.13.2.2 +48 -8 src/sys/compat/ndis/subr_hal.c > 1.67.2.4 +200 -210 src/sys/compat/ndis/subr_ndis.c > 1.43.2.4 +586 -94 src/sys/compat/ndis/subr_ntoskrnl.c > 1.7.2.2 +24 -6 src/sys/compat/ndis/subr_pe.c > 1.3.2.1 +177 -0 src/sys/compat/ndis/winx64_wrap.S (new) > 1.47.2.3 +14 -0 src/sys/conf/files.amd64 > 1.16.2.2 +1 -1 src/sys/conf/options.amd64 > 1.69.2.5 +134 -36 src/sys/dev/if_ndis/if_ndis.c > 1.6.2.2 +14 -3 src/sys/dev/if_ndis/if_ndis_pccard.c > 1.8.2.2 +17 -5 src/sys/dev/if_ndis/if_ndis_pci.c > 1.15.2.2 +4 -4 src/sys/dev/if_ndis/if_ndisvar.h > 1.393.2.8 +1 -1 src/sys/modules/Makefile > 1.6.2.1 +5 -0 src/sys/modules/ndis/Makefile > 1.13.2.1 +12 -3 src/usr.sbin/ndiscvt/inf.c > 1.9.2.1 +1 -0 src/usr.sbin/ndiscvt/ndiscvt.c > > >