cvs commit: src/sys/dev/iwi if_iwi.c src/sys/net80211 ieee80211_input.c ieee80211_input.h ieee80211_ioctl.c ieee80211_node.c ieee80211_node.h ieee80211_output.c ieee80211_proto.h ieee80211_scan.h ieee

2008-08-17 Thread Sam Leffler
sam 2008-08-17 23:00:47 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/iwi if_iwi.c sys/net80211 ieee80211_input.c ieee80211_ioctl.c ieee80211_node.c ieee80211_node.h

cvs commit: src/sys/dev/iwi if_iwi.c

2007-12-06 Thread Philip Paeps
philip 2007-12-06 09:50:48 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/iwi if_iwi.c Log: MFC r1.59: Plug two potential (root-only, local) information leaks. buf is not initialized before use and returned integrally instead

cvs commit: src/sys/dev/iwi if_iwi.c src/sys/dev/ipw if_ipw.c

2007-12-06 Thread Philip Paeps
philip 2007-12-06 10:16:34 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/iwi if_iwi.c sys/dev/ipw if_ipw.c Log: MFC if_iwi.c:1.59 if_ipw.c:1.34 Plug two potential (root-only, local) information leaks. buf is

cvs commit: src/sys/dev/iwi if_iwi.c src/sys/dev/ipw if_ipw.c

2007-12-06 Thread Philip Paeps
philip 2007-12-06 10:23:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_6_3) sys/dev/iwi if_iwi.c sys/dev/ipw if_ipw.c Log: MFC if_iwi.c:1.59 if_ipw.c:1.34 Plug two potential (root-only, local) information leaks. buf is

cvs commit: src/sys/dev/iwi if_iwi.c src/sys/dev/ipw if_ipw.c

2007-12-05 Thread Philip Paeps
philip 2007-12-05 19:32:07 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c sys/dev/ipw if_ipw.c Log: Plug two potential (root-only, local) information leaks. buf is not initialized before use and returned integrally instead of up to

cvs commit: src/sys/dev/iwi if_iwi.c

2007-08-29 Thread Andrew Thompson
thompsa 2007-08-29 21:52:03 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: Remove the lock assert from iwi_newstate, this function does not need the lock to be held and this will falsely trigger if called from net80211. Reported by:

cvs commit: src/sys/dev/iwi if_iwi.c

2007-06-25 Thread Andrew Thompson
thompsa 2007-06-25 20:56:33 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: The config.use_protection option can not be used in 802.11b mode and causes a firmware reset. Also zero out struct iwi_rateset although its not strictly necessary.

cvs commit: src/sys/dev/iwi if_iwi.c if_iwivar.h

2007-06-11 Thread Andrew Thompson
thompsa 2007-06-11 10:56:06 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwivar.h Log: MFp4 (missed in net80211 megaupdate) - Use a seperate taskqueue+thread for reset tasks since iwi_ops will block. - Return from iwi_ops if the

cvs commit: src/sys/dev/iwi if_iwi.c

2007-03-31 Thread Sam Leffler
sam 2007-03-31 21:57:28 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/iwi if_iwi.c Log: MFC 1.51: allow net80211 to fillin rate sets Revision ChangesPath 1.8.2.15 +0 -19 src/sys/dev/iwi/if_iwi.c

cvs commit: src/sys/dev/iwi if_iwi.c

2007-03-28 Thread John Baldwin
jhb 2007-03-28 16:53:55 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/iwi if_iwi.c Log: MFC: Fix an off-by-one error that prevented the firmware DMA buffer from being reused in the common case. Revision ChangesPath

cvs commit: src/sys/dev/iwi if_iwi.c

2007-03-21 Thread John Baldwin
jhb 2007-03-21 18:40:31 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: Fix an off-by-one error in iwi_init_fw_dma(). It didn't reuse the existing DMA memory for a firmware load if it was the exact size needed, thus in the common case the

cvs commit: src/sys/dev/iwi if_iwi.c

2007-03-11 Thread Sam Leffler
sam 2007-03-11 22:39:13 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: allow net80211 to fillin rate sets MFC after: 2 weeks Revision ChangesPath 1.51 +0 -19 src/sys/dev/iwi/if_iwi.c

Re: cvs commit: src/sys/dev/iwi if_iwi.c if_iwivar.h

2007-02-21 Thread Jeremie Le Hen
Hi, On Tue, Feb 20, 2007 at 09:41:31AM -0800, Luigi Rizzo wrote: On Tue, Feb 20, 2007 at 09:06:08AM -0800, Sam Leffler wrote: This driver has been in use for many months w/o complaints of the sort you are seeing. The fact that I am the only one seeing (or reporting) the

Re: cvs commit: src/sys/dev/iwi if_iwi.c if_iwivar.h

2007-02-21 Thread Luigi Rizzo
On Wed, Feb 21, 2007 at 09:39:18AM +0100, Jeremie Le Hen wrote: Hi, On Tue, Feb 20, 2007 at 09:41:31AM -0800, Luigi Rizzo wrote: On Tue, Feb 20, 2007 at 09:06:08AM -0800, Sam Leffler wrote: This driver has been in use for many months w/o complaints of the sort you are

cvs commit: src/sys/dev/iwi if_iwi.c if_iwivar.h

2007-02-20 Thread Luigi Rizzo
luigi 2007-02-20 15:45:59 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwivar.h Log: Address a few issues with the iwi driver, namely: + do not release the dma-ble region used for downloading firmware. This should fix the problems that

Re: cvs commit: src/sys/dev/iwi if_iwi.c if_iwivar.h

2007-02-20 Thread Max Laier
On Tuesday 20 February 2007 16:45, Luigi Rizzo wrote: luigi 2007-02-20 15:45:59 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwivar.h Log: Address a few issues with the iwi driver, namely: ... + add debugging code IWI_LOCK_ASSERT() to

Re: cvs commit: src/sys/dev/iwi if_iwi.c if_iwivar.h

2007-02-20 Thread Sam Leffler
Luigi Rizzo wrote: + add debugging code IWI_LOCK_ASSERT() to detect missing locks. These only do a printf, and should go away once we figure out why the driver sometimes freezes the system due to a (yet unidentified) race condition. LOCK_ASSERT should do a mtx_assert and not

cvs commit: src/sys/dev/iwi if_iwi.c if_iwivar.h

2007-02-20 Thread Luigi Rizzo
luigi 2007-02-20 17:32:30 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwivar.h Log: Rename IWI_LOCK_ASSERT to IWI_LOCK_CHECK per Sam's suggestion, and make it print under debug.iwi control same as other debugging stuff. Remove the

Re: cvs commit: src/sys/dev/iwi if_iwi.c if_iwivar.h

2007-02-20 Thread Luigi Rizzo
On Tue, Feb 20, 2007 at 09:06:08AM -0800, Sam Leffler wrote: Luigi Rizzo wrote: + add debugging code IWI_LOCK_ASSERT() to detect missing locks. These only do a printf, and should go away once we figure out why the driver sometimes freezes the system due to a (yet unidentified)

Re: cvs commit: src/sys/dev/iwi if_iwi.c if_iwivar.h

2007-02-20 Thread Sam Leffler
Luigi Rizzo wrote: On Tue, Feb 20, 2007 at 09:06:08AM -0800, Sam Leffler wrote: Luigi Rizzo wrote: + add debugging code IWI_LOCK_ASSERT() to detect missing locks. These only do a printf, and should go away once we figure out why the driver sometimes freezes the system due to a (yet

Re: cvs commit: src/sys/dev/iwi if_iwi.c if_iwivar.h

2007-02-20 Thread Luigi Rizzo
On Tue, Feb 20, 2007 at 09:48:38AM -0800, Sam Leffler wrote: Luigi Rizzo wrote: ... The fact that I am the only one seeing (or reporting) the problem does not mean that there is no bug (or i wouldn't spend so much time trying to fix it :). I'm not arguing this; I just don't like to see

Re: cvs commit: src/sys/dev/iwi if_iwi.c if_iwivar.h

2007-02-20 Thread Nick Hibma
Luigi, I have similar problems, freezing and loosing lock on the access point that is under the table the laptop is sitting on, although the later has become better over time with various commits. Especially the 'firmware loading problem' would be a nice thing to have in RELENG_6. It would

cvs commit: src/sys/dev/iwi if_iwi.c

2007-02-01 Thread Kevin Lo
kevlo 2007-02-02 05:17:18 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: Use bus_get_dma_tag() so iwi(4) works on platforms requiring it. Approved by: cognet Revision ChangesPath 1.45 +18 -15src/sys/dev/iwi/if_iwi.c

cvs commit: src/sys/dev/iwi if_iwi.c

2007-01-23 Thread John Baldwin
jhb 2007-01-23 22:17:48 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/iwi if_iwi.c Log: MFC: Fix some edge cases in detach. Revision ChangesPath 1.8.2.12 +2 -3 src/sys/dev/iwi/if_iwi.c

cvs commit: src/sys/dev/iwi if_iwi.c src/sys/dev/ral rt2560.c rt2661.c

2006-12-07 Thread Kevin Lo
kevlo 2006-12-07 15:24:38 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c sys/dev/ral rt2560.c rt2661.c Log: Add header files sys/lock.h and sys/mutex.h for mtx_init() and friends. Approved by: cognet Revision ChangesPath

cvs commit: src/sys/dev/iwi if_iwi.c

2006-12-06 Thread Max Laier
mlaier 2006-12-06 21:23:51 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: Drop the iwi softc lock when calling back into net80211 on rx. This fixes a LOR with direct dispatch in the netisr. Reported and tested by: Munehiro Matsuda

cvs commit: src/sys/dev/iwi if_iwi.c

2006-11-07 Thread John Baldwin
jhb 2006-11-07 19:03:42 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: Fix some edge cases in detach (including attach failures): - Only call iwi_stop() if we got far enough along in iwi_attach() to alloc an ifnet. - Release the

cvs commit: src/sys/dev/iwi if_iwi.c if_iwireg.h

2006-10-29 Thread Max Laier
mlaier 2006-10-29 08:29:31 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/iwi if_iwi.c if_iwireg.h Log: MFC if_iwi.c 1.41, if_iwireg.h 1.13: Truncate negotiated rate set to the number of rates that the firmware supports.

cvs commit: src/sys/dev/iwi if_iwi.c if_iwireg.h

2006-10-22 Thread Max Laier
mlaier 2006-10-23 00:34:07 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwireg.h Log: net80211 seems to give us more rates than specified via ic_sup_rates under yet to be investigated circumstances. If that happens truncate to the number of

cvs commit: src/sys/dev/iwi if_iwi.c

2006-10-13 Thread Max Laier
mlaier 2006-10-13 18:32:43 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/iwi if_iwi.c Log: MFC, if_iwi.c 1.40: Remind firmware of the ESSID to use in a directed scan. This fixes scanning for hidden APs when we are not comming

cvs commit: src/sys/dev/iwi if_iwi.c

2006-10-10 Thread Max Laier
mlaier 2006-10-10 18:02:22 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: Remind firmware of the ESSID to use in a directed scan. This fixes scanning for hidden APs when we are not comming from iwi_config. Reported by:Andrew N. Below

Re: cvs commit: src/sys/dev/iwi if_iwi.c

2006-08-10 Thread Sam Leffler
Sam Leffler wrote: sam 2006-08-10 06:08:51 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/iwi if_iwi.c Log: MFC 1.39: set default beacon miss threshold to 10 beacons FWIW that's actually 10 consecutive beacons. Sam

cvs commit: src/sys/dev/iwi if_iwi.c

2006-07-25 Thread Sam Leffler
sam 2006-07-26 03:09:33 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: set default beacon miss threshold to 10 beacons Submitted by: Henrik Brix Andersen [EMAIL PROTECTED] MFC after: 2 weeks Revision ChangesPath 1.39

Re: cvs commit: src/sys/dev/iwi if_iwi.c if_iwireg.h if_iwivar.h

2006-04-28 Thread Sergey Matveychuk
Max Laier wrote: mlaier 2006-04-27 21:43:38 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwireg.h if_iwivar.h Log: MFp4: reworked iwi-driver It's a great work, thanks! -- Dixi. Sem. ___

Re: cvs commit: src/sys/dev/iwi if_iwi.c if_iwireg.h if_iwivar.h

2006-04-28 Thread Max Laier
On Friday 28 April 2006 20:44, Sergey Matveychuk wrote: Max Laier wrote: mlaier 2006-04-27 21:43:38 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwireg.h if_iwivar.h Log: MFp4: reworked iwi-driver It's a great work, thanks!

cvs commit: src/sys/dev/iwi if_iwi.c if_iwireg.h if_iwivar.h

2006-04-27 Thread Max Laier
mlaier 2006-04-27 21:43:38 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwireg.h if_iwivar.h Log: MFp4: reworked iwi-driver Changelog towards if_iwi.c 1.26 (some changes have been committed separately in the mean time): - add led

cvs commit: src/sys/dev/iwi if_iwi.c if_iwivar.h

2006-03-12 Thread Damien Bergamini
damien 2006-03-12 18:54:40 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwivar.h Log: o don't use '-' characters in firmware names o call firmware_put() early to release the firmware module o on firmware panics or watchdog timeouts, schedule a

cvs commit: src/sys/dev/iwi if_iwi.c

2006-03-11 Thread Ruslan Ermilov
ru 2006-03-11 08:36:15 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: Fix build. Revision ChangesPath 1.32 +2 -2 src/sys/dev/iwi/if_iwi.c ___ cvs-all@freebsd.org mailing list

Re: cvs commit: src/sys/dev/iwi if_iwi.c if_iwireg.h

2006-03-11 Thread Damien Bergamini
afaik, the only change between firmware v2.4 and v3.0 is the way the firmware is stored on disk. boot firmware, microcode and main firmware are stored in the same file, so you have only three files, one for each operating mode. this simplify the driver too because you have only one call to

cvs commit: src/sys/dev/iwi if_iwi.c

2006-03-11 Thread Damien Bergamini
damien 2006-03-11 13:30:21 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: add dependency with firmware module. pointed out by Martin Wilke. Revision ChangesPath 1.33 +1 -0 src/sys/dev/iwi/if_iwi.c

Re: cvs commit: src/sys/dev/iwi if_iwi.c if_iwivar.h

2006-03-11 Thread Bjoern A. Zeeb
On Fri, 10 Mar 2006, Damien Bergamini wrote: damien 2006-03-10 18:55:30 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwivar.h Log: fix the locking. Revision ChangesPath 1.29 +72 -26src/sys/dev/iwi/if_iwi.c 1.9 +1 -2

cvs commit: src/sys/dev/iwi if_iwi.c if_iwivar.h

2006-03-10 Thread Damien Bergamini
damien 2006-03-10 18:55:30 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwivar.h Log: fix the locking. Revision ChangesPath 1.29 +72 -26src/sys/dev/iwi/if_iwi.c 1.9 +1 -2 src/sys/dev/iwi/if_iwivar.h

cvs commit: src/sys/dev/iwi if_iwi.c if_iwireg.h

2006-03-10 Thread Damien Bergamini
damien 2006-03-10 19:59:09 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwireg.h Log: make use of the firmware(9) subsystem. use intel's firmware version 3.0 layout. Revision ChangesPath 1.30 +70 -157 src/sys/dev/iwi/if_iwi.c

cvs commit: src/sys/dev/iwi if_iwi.c if_iwireg.h

2006-03-10 Thread Damien Bergamini
damien 2006-03-10 20:35:09 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwireg.h Log: o acknowledge interrupts early in the interrupt handler o stop processing interrupts after a firmware fatal error or a radio kill o clarify the possible

Re: cvs commit: src/sys/dev/iwi if_iwi.c if_iwireg.h

2006-03-10 Thread Sam Leffler
Damien Bergamini wrote: damien 2006-03-10 19:59:09 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwireg.h Log: make use of the firmware(9) subsystem. use intel's firmware version 3.0 layout. This forces everyone to update their firmware to

cvs commit: src/sys/dev/iwi if_iwi.c

2006-02-22 Thread Sam Leffler
sam 2006-02-23 02:06:46 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/iwi if_iwi.c Log: MFC 1.28: correct check for whether wpa is enabled Approved by:re (scottl) Revision ChangesPath 1.8.2.6 +1 -1

cvs commit: src/sys/dev/iwi if_iwi.c if_iwireg.h

2006-01-29 Thread Damien Bergamini
damien 2006-01-29 12:03:03 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c if_iwireg.h Log: o Re-enable scatter/gather o Change MEM_READ_1/MEM_READ_4 into macros (move them to if_iwireg.h) o Add support for association LED o Silently discard f/w

cvs commit: src/sys/dev/iwi if_iwi.c if_iwireg.h

2006-01-29 Thread Damien Bergamini
damien 2006-01-29 13:54:19 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/iwi if_iwi.c if_iwireg.h Log: sync with HEAD: r1.27: o Re-enable scatter/gather o Change MEM_READ_1/MEM_READ_4 into macros (move them to if_iwireg.h) o

Re: cvs commit: src/sys/dev/iwi if_iwi.c

2005-11-20 Thread Xin LI
Hi, On 11/21/05, Damien Bergamini [EMAIL PROTECTED] wrote: damien 2005-11-20 16:02:04 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: Don't use /etc/firmware. /etc is for configuration files only. Use /boot to store firmware files instead. If

Re: cvs commit: src/sys/dev/iwi if_iwi.c

2005-11-20 Thread Daniel O'Connor
On Mon, 21 Nov 2005 02:32, Damien Bergamini wrote: damien 2005-11-20 16:02:04 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: Don't use /etc/firmware. /etc is for configuration files only. Use /boot to store firmware files instead.

cvs commit: src/sys/dev/iwi if_iwi.c

2005-11-19 Thread Scott Long
scottl 2005-11-20 04:27:24 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: Fix compile on 64-bit platforms. Revision ChangesPath 1.25 +4 -2 src/sys/dev/iwi/if_iwi.c ___

cvs commit: src/sys/dev/iwi if_iwi.c

2005-11-13 Thread Damien Bergamini
damien 2005-11-13 17:38:02 UTC FreeBSD src repository Modified files: sys/dev/iwi if_iwi.c Log: Fix endianness issues. iwi now works on big endian architectures too. Obtained from: NetBSD (scw@) MFC after: 2 weeks Revision ChangesPath 1.23