Date: Tue, 01 Mar 2005 15:44:13 +0200 From: Maxim Sobolev <sobomax@portaone.com> To: Bill Paul <wpaul@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 ... Message-ID: <422471AD.2040306@portaone.com> In-Reply-To: <200502181630.j1IGUAEF022511@repoman.freebsd.org> References: <200502181630.j1IGUAEF022511@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?422471AD.2040306>