cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2008-10-03 Thread Weongyo Jeong
weongyo 2008-10-04 04:15:39 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: SVN rev 183587 on 2008-10-04 04:15:39Z by weongyo sc-ndis_txidx should be cycle between 0 and sc-ndis_maxpkts, not NDIS_TXPKTS and don't allocate unused

cvs commit: src/sys/dev/if_ndis if_ndis.c

2008-07-08 Thread Coleman Kane
cokane 2008-07-09 00:10:55 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: SVN rev 180375 on 2008-07-09 00:10:55Z by cokane Fix a mutex LOR introduced by the conversion of if_ndis from spinlocks to mutexes and replacing the obsolete

cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2008-06-11 Thread Coleman Kane
cokane 2008-06-11 13:40:15 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: SVN rev 179723 on 2008-06-11 13:40:15Z by cokane Convert ndis_spinlock to ndis_mtx and start using the sleepable mtx interface for NDIS_LOCK/UNLOCK.

Re: cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2008-06-03 Thread John Baldwin
On Monday 02 June 2008 08:55:48 pm Coleman Kane wrote: cokane 2008-06-03 00:55:52 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: SVN rev 179498 on 2008-06-03 00:55:48Z by cokane Update if_ndis to remove the legacy

cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2008-06-02 Thread Coleman Kane
cokane 2008-06-03 00:55:52 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: SVN rev 179498 on 2008-06-03 00:55:48Z by cokane Update if_ndis to remove the legacy if_watchdog interface and bring it more up to date. The watchdog

cvs commit: src/sys/dev/if_ndis if_ndis.c

2008-05-30 Thread Weongyo Jeong
weongyo 2008-05-30 07:17:51 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: Fix a panic that it's occurred when NDIS init handler returned a error by unknown reasons. In this case, sc-ifp is still NULL so it will cause a page fault during

cvs commit: src/sys/dev/if_ndis if_ndis.c

2008-05-10 Thread Andrew Thompson
thompsa 2008-05-10 20:07:00 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: Partially revert the last rev. Do call ndis_setstate_80211() when we up the interface but break out the associate code into a separate function. This fixes association

cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2008-05-10 Thread Andrew Thompson
thompsa 2008-05-10 20:12:43 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: - Associate from a taskq as we can deadlock on the ndis hal and the com lock. - Remove double vap init (ieee80211_start_all) - Keep ic_curchan in sync with

cvs commit: src/sys/dev/if_ndis if_ndis.c

2008-04-30 Thread Andrew Thompson
thompsa 2008-05-01 05:11:33 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: Do not call ndis_setstate_80211() until we are ready to associate, the vap may not have been created yet and will panic. This requires ndis_scan() to always set the

Re: cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2008-04-18 Thread Kris Kennaway
On Fri, Apr 18, 2008 at 10:14:27AM +1200, Andrew Thompson wrote: On Thu, Apr 17, 2008 at 10:01:39PM +, Coleman Kane wrote: cokane 2008-04-17 22:01:39 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: Change the

cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2008-04-17 Thread Coleman Kane
cokane 2008-04-17 22:01:39 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: Change the timeout(9) usage in if_ndis to a callout(9) implementation, as the former is becoming deprecated and exhibits some extraneous Giant-locking. The

Re: cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2008-04-17 Thread Andrew Thompson
On Thu, Apr 17, 2008 at 10:01:39PM +, Coleman Kane wrote: cokane 2008-04-17 22:01:39 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: Change the timeout(9) usage in if_ndis to a callout(9) implementation, as the former

cvs commit: src/sys/dev/if_ndis if_ndis.c

2008-04-17 Thread Coleman Kane
cokane 2008-04-17 22:57:33 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: Change the 1 in callout_init to CALLOUT_MPSAFE. I made the change in my tree, but never committed it into git before making my patch! Submitted by: thompsa MFC

cvs commit: src/sys/dev/if_ndis if_ndis.c

2008-02-12 Thread John Baldwin
jhb 2008-02-12 19:15:21 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/if_ndis if_ndis.c Log: MFC: Use pause(9) instead of tsleep() on a stack variable. Revision ChangesPath 1.124.2.2 +1 -1 src/sys/dev/if_ndis/if_ndis.c

cvs commit: src/sys/dev/if_ndis if_ndis.c

2008-01-17 Thread John Baldwin
jhb 2008-01-17 20:11:59 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: Use pause(9) instead of a tsleep() on a stack variable. MFC after: 1 week Revision ChangesPath 1.131 +1 -1 src/sys/dev/if_ndis/if_ndis.c

cvs commit: src/sys/dev/if_ndis if_ndis.c

2007-12-09 Thread Andrew Thompson
thompsa 2007-12-09 20:14:01 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: sc-ndis_tq variable is only initialized when a driver module is for wireless NICs. PR: kern/118439 Submitted by: Weongyo Jeong Revision Changes

cvs commit: src/sys/dev/if_ndis if_ndis.c

2007-12-07 Thread Andrew Thompson
thompsa 2007-12-07 10:37:26 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: Preallocate some space to return the scan results, some drivers do not properly pass back the desired buffer length. This fixes scanning with the Marvell 88W8335 and

cvs commit: src/sys/dev/if_ndis if_ndis.c

2007-12-04 Thread Wojciech A. Koszek
wkoszek 2007-12-04 20:48:32 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: Cast address of 'bssid' to uint8_t since printf() expects to get unsigned argument in %6D case. Submitted by: thompsa Compile-tested: wkoszek Reviewed by:

cvs commit: src/sys/dev/if_ndis if_ndis.c

2007-12-04 Thread Andrew Thompson
thompsa 2007-12-05 02:53:44 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/if_ndis if_ndis.c Log: MFC r1.126 Hide a debug printf. Approved by:re (kensmith) Revision ChangesPath 1.124.2.1 +5 -3

cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndis_pci.c if_ndisvar.h

2007-12-03 Thread Andrew Thompson
thompsa 2007-12-03 21:51:28 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c if_ndis_pci.c if_ndisvar.h Log: Remove compatibilty defines to simplify reading the code, this is around 10% of the total LOC. These are mostly for the 6.x branch and it will

cvs commit: src/sys/dev/if_ndis if_ndis.c

2007-12-02 Thread Andrew Thompson
thompsa 2007-12-02 09:03:44 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: Hide a debug printf, NDIS_DEBUG is always defined and we test the sysctl. MFC after: 3 days Revision ChangesPath 1.126 +5 -3

cvs commit: src/sys/dev/if_ndis if_ndis.c

2007-07-26 Thread Andrew Thompson
thompsa 2007-07-26 20:11:16 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: Fix up ndis interaction with net80211 - make NDIS_DEBUG a sysctl - default to IEEE80211_MODE_11B if the card doesnt tell us the channels - dont mess with

Re: cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2007-07-16 Thread Matteo Riondato
On Sun, Jul 15, 2007 at 05:08:53PM -0700, Sam Leffler wrote: Matteo Riondato wrote: On Mon, Jul 16, 2007 at 06:26:19AM +1200, Andrew Thompson wrote: Maybe the channel set hasnt been initialised, can you list 'ifconfig ndis0 list channel' (copied by hand, output was on two columns, one from 1

Re: cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2007-07-15 Thread Andrew Thompson
On Sat, Jul 14, 2007 at 01:08:33AM +0200, Matteo Riondato wrote: On Thu, Jul 12, 2007 at 02:54:05AM +, Andrew Thompson wrote: thompsa 2007-07-12 02:54:05 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: Improve the

Re: cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2007-07-15 Thread Matteo Riondato
On Sun, Jul 15, 2007 at 11:13:46PM +1200, Andrew Thompson wrote: On Sat, Jul 14, 2007 at 01:08:33AM +0200, Matteo Riondato wrote: On Thu, Jul 12, 2007 at 02:54:05AM +, Andrew Thompson wrote: thompsa 2007-07-12 02:54:05 UTC FreeBSD src repository Modified files:

Re: cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2007-07-15 Thread Matteo Riondato
On Sun, Jul 15, 2007 at 03:11:40PM +0200, Matteo Riondato wrote: On Sun, Jul 15, 2007 at 11:13:46PM +1200, Andrew Thompson wrote: As a test you could bump up the wait time on the tsleep on line 3510 of if_ndis.c Ok. I'll try and report back ASAP. I set it to 5 second, but it didn't help.

Re: cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2007-07-15 Thread Andrew Thompson
On Sun, Jul 15, 2007 at 03:11:40PM +0200, Matteo Riondato wrote: On Sun, Jul 15, 2007 at 11:13:46PM +1200, Andrew Thompson wrote: On Sat, Jul 14, 2007 at 01:08:33AM +0200, Matteo Riondato wrote: On Thu, Jul 12, 2007 at 02:54:05AM +, Andrew Thompson wrote: thompsa 2007-07-12

Re: cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2007-07-15 Thread Matteo Riondato
On Mon, Jul 16, 2007 at 06:26:19AM +1200, Andrew Thompson wrote: On Sun, Jul 15, 2007 at 03:11:40PM +0200, Matteo Riondato wrote: kaiser# sysctl net.wlan.0.debug=0x net.wlan.0.debug: 0 - 2147483647 kaise# ifconfig ndis0 scan ndis0: ieee80211_start_scan: acrive scan 2147483647,

Re: cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2007-07-15 Thread Sam Leffler
Matteo Riondato wrote: On Mon, Jul 16, 2007 at 06:26:19AM +1200, Andrew Thompson wrote: On Sun, Jul 15, 2007 at 03:11:40PM +0200, Matteo Riondato wrote: kaiser# sysctl net.wlan.0.debug=0x net.wlan.0.debug: 0 - 2147483647 kaise# ifconfig ndis0 scan ndis0: ieee80211_start_scan: acrive

Re: cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2007-07-13 Thread Matteo Riondato
On Thu, Jul 12, 2007 at 02:54:05AM +, Andrew Thompson wrote: thompsa 2007-07-12 02:54:05 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: Improve the net80211 handling within ndis - use net80211 for scanning and pass the

cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

2007-07-11 Thread Andrew Thompson
thompsa 2007-07-12 02:54:05 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: Improve the net80211 handling within ndis - use net80211 for scanning and pass the results back to the scan cache - use ieee80211_init_channels to fill

cvs commit: src/sys/dev/if_ndis if_ndis.c

2007-05-20 Thread Matt Jacob
mjacob 2007-05-20 16:59:37 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: Initialize irql to something prior to calls that (might) set it. Whined about: gcc 4.2 Revision ChangesPath 1.121 +1 -1 src/sys/dev/if_ndis/if_ndis.c

cvs commit: src/sys/dev/if_ndis if_ndis.c

2006-12-27 Thread Jung-uk Kim
jkim2006-12-28 00:05:40 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: Fix shared authentication mode. Revision ChangesPath 1.119 +8 -0 src/sys/dev/if_ndis/if_ndis.c ___

cvs commit: src/sys/dev/if_ndis if_ndis.c

2006-02-04 Thread Bill Paul
wpaul 2006-02-04 19:42:50 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: When ndis_attach() runs, it has to very briefly initialize the card in order to query the underlying Windows driver for the station address and some other properties.

Re: cvs commit: src/sys/dev/if_ndis if_ndis.c

2006-02-04 Thread Nate Lawson
Bill Paul wrote: This fixes a crash than can occur when activating a wireless NIC in close proximity to a very busy wireless network, reported by Ryan Beasley (ryan%^$!ATgoddamnbastard-!!!DOTorg. I know that this may have been an annoying bug, but that's no reason to swear at the

cvs commit: src/sys/dev/if_ndis if_ndis.c

2005-12-16 Thread Bill Paul
wpaul 2005-12-16 17:21:28 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: In ndis_rxeof_eth(), avoid acquiring the NDIS miniport block spinlock for serialized miniports when updating the packet list. This fixes a deadlock that can occur