Re: svn commit: r207768 - head/sys/dev/usb/wlan

2010-05-11 Thread Sam Leffler
On May 11, 2010, at 5:12 AM, Rui Paulo wrote: On 8 May 2010, at 12:56, Ed Maste wrote: Author: emaste Date: Sat May 8 11:56:00 2010 New Revision: 207768 URL: http://svn.freebsd.org/changeset/base/207768 Log: Add dummy function for ic_update_mcast (a la if_urtw) to avoid console spam. I

Re: svn commit: r206429 - head/sys/dev/e1000

2010-04-11 Thread Sam Leffler
Jack F Vogel wrote: Author: jfv Date: Fri Apr 9 18:42:15 2010 New Revision: 206429 URL: http://svn.freebsd.org/changeset/base/206429 Log: Incorporate suggested improvements from yongari. Also, from feedback, make the multiqueue code an option (EM_MULTIQUEUE) that is off by default.

Re: svn commit: r206419 - head/sys/net80211

2010-04-11 Thread Sam Leffler
Rui Paulo wrote: Author: rpaulo Date: Fri Apr 9 12:06:19 2010 New Revision: 206419 URL: http://svn.freebsd.org/changeset/base/206419 Log: Use M_NOWAIT instead of M_WAITOK to avoid race conditions. Can you describe these race conditions (or at least one of them)? Sam

svn commit: r205421 - head/share/man/man4

2010-03-21 Thread Sam Leffler
Author: sam Date: Sun Mar 21 17:53:54 2010 New Revision: 205421 URL: http://svn.freebsd.org/changeset/base/205421 Log: remove pre-vap examples Modified: head/share/man/man4/ath.4 Modified: head/share/man/man4/ath.4 =

Re: svn commit: r203933 - head/sys/dev/ath/ath_hal/ar5416

2010-02-15 Thread Sam Leffler
Rui Paulo wrote: Author: rpaulo Date: Mon Feb 15 18:47:42 2010 New Revision: 203933 URL: http://svn.freebsd.org/changeset/base/203933 Log: Fix KITE version check. Obtained from: //depot/user/rpaulo/80211n/... Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h Modified: head/sys/de

Re: svn commit: r200481 - head/sys/dev/ata

2009-12-13 Thread Sam Leffler
Marius Strobl wrote: Author: marius Date: Sun Dec 13 18:26:19 2009 New Revision: 200481 URL: http://svn.freebsd.org/changeset/base/200481 Log: Specify the capability and media bits of the capabilities page in native, i.e. big-endian, format and convert as appropriate like we also do with t

Re: svn commit: r199018 - head/sys/dev/wpi

2009-11-07 Thread Sam Leffler
Doug Barton wrote: > Sam Leffler wrote: >> The right thing to do is to set wpi_debug to 0 and leave the messages >> compiled in. > > Well as you can see from the diff I did leave the messages in the > source so that anyone who wants to enable debugging again can just >

Re: svn commit: r199018 - head/sys/dev/wpi

2009-11-07 Thread Sam Leffler
Doug Barton wrote: > Author: dougb > Date: Sat Nov 7 18:42:53 2009 > New Revision: 199018 > URL: http://svn.freebsd.org/changeset/base/199018 > > Log: > Turn off WPI_DEBUG by default as the driver seems sufficiently stable > at this point. > > Reviewed by:benjsc, thompsa > > Mod

Re: svn commit: r197654 - head/sys/dev/if_ndis

2009-10-01 Thread Sam Leffler
Bruce Evans wrote: > On Thu, 1 Oct 2009, [utf-8] Dag-Erling Smørgrav wrote: > >> Coleman Kane writes: >>> -if (sc->ndis_80211 && vap) >>> +if ((sc->ndis_80211 != NULL) && (vap != NULL)) >> >> sc->ndis_80211 is an int. NULL is a pointer. > > Also, the number of style bugs was do

Re: svn commit: r197348 - head/sys/vm

2009-09-20 Thread Sam Leffler
Konstantin Belousov wrote: > Author: kib > Date: Sun Sep 20 12:40:56 2009 > New Revision: 197348 > URL: http://svn.freebsd.org/changeset/base/197348 > > Log: > Old (a.out) rtld attempts to mmap zero-length region, e.g. when bss > of the linked object is zero-length. More old code assumes that

Re: svn commit: r197218 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-09-15 Thread Sam Leffler
Pawel Jakub Dawidek wrote: On Tue, Sep 15, 2009 at 06:19:11AM -0700, Sam Leffler wrote: Pawel Jakub Dawidek wrote: Author: pjd Date: Tue Sep 15 11:34:53 2009 New Revision: 197218 URL: http://svn.freebsd.org/changeset/base/197218 Log: We believe ZFS is ready for production use. Remove a

Re: svn commit: r197218 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-09-15 Thread Sam Leffler
Pawel Jakub Dawidek wrote: Author: pjd Date: Tue Sep 15 11:34:53 2009 New Revision: 197218 URL: http://svn.freebsd.org/changeset/base/197218 Log: We believe ZFS is ready for production use. Remove a warning about it being experimental. :) This is great news! Is this amd64 only (or i386 to

Re: svn commit: r197140 - head/etc/rc.d

2009-09-12 Thread Sam Leffler
Hiroki Sato wrote: Author: hrs Date: Sat Sep 12 22:14:21 2009 New Revision: 197140 URL: http://svn.freebsd.org/changeset/base/197140 Log: - Add "AUTO" keyword support in $rtadvd_interfaces. - Wrap a long line. MFC after: 3 days Modified: head/etc/rc.d/rtadvd Modified: head/etc/rc.d

svn commit: r196940 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/ath dev/xen/xenpci

2009-09-07 Thread Sam Leffler
Author: sam Date: Mon Sep 7 16:41:18 2009 New Revision: 196940 URL: http://svn.freebsd.org/changeset/base/196940 Log: MFC r196717: fix beacon timers on resume in sta mode so raoming works Approved by: re (kensmith) Modified: stable/8/sys/ (props changed) stable/8/sys/amd64/in

svn commit: r196939 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci net80211

2009-09-07 Thread Sam Leffler
Author: sam Date: Mon Sep 7 16:33:27 2009 New Revision: 196939 URL: http://svn.freebsd.org/changeset/base/196939 Log: MFC r196785: correct timeout for doing NOL processing; need a ticks-relative value Approved by: re (kensmith) Modified: stable/8/sys/ (props changed) stable/8

svn commit: r196935 - head/sys/dev/ath

2009-09-07 Thread Sam Leffler
Author: sam Date: Mon Sep 7 16:18:16 2009 New Revision: 196935 URL: http://svn.freebsd.org/changeset/base/196935 Log: remove extranous return Submitted by: phk MFC after:1 week Modified: head/sys/dev/ath/ah_osdep.c Modified: head/sys/dev/ath/ah_osdep.c ===

svn commit: r196934 - head/sys/dev/ath/ath_hal

2009-09-07 Thread Sam Leffler
Author: sam Date: Mon Sep 7 16:12:07 2009 New Revision: 196934 URL: http://svn.freebsd.org/changeset/base/196934 Log: fix extraneous return that can cause a memory leak Submitted by: phk MFC after:1 week Modified: head/sys/dev/ath/ath_hal/ah_eeprom_v3.c Modified: head/sys/dev/ath

svn commit: r196933 - head/sys/dev/ath

2009-09-07 Thread Sam Leffler
Author: sam Date: Mon Sep 7 16:08:21 2009 New Revision: 196933 URL: http://svn.freebsd.org/changeset/base/196933 Log: correct typo that was a noop on 32-bit machines but a bug on 64-bit machines Submitted by: phk Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c =

svn commit: r196842 - head/sys/dev/mwl

2009-09-04 Thread Sam Leffler
Author: sam Date: Fri Sep 4 22:34:57 2009 New Revision: 196842 URL: http://svn.freebsd.org/changeset/base/196842 Log: must also plumb static wep keys to the local sta db in sta mode; not sure when this became necessary and might be caused by some missing code to do auto-configuration of DWD

Re: svn commit: r196785 - head/sys/net80211

2009-09-03 Thread Sam Leffler
Sam Leffler wrote: Author: sam Date: Thu Sep 3 16:29:02 2009 New Revision: 196785 URL: http://svn.freebsd.org/changeset/base/196785 Log: correct timeout for doing NOL processing; need a ticks-relative value Reviewed by:rpaulo ___ svn-src-all

svn commit: r196785 - head/sys/net80211

2009-09-03 Thread Sam Leffler
Author: sam Date: Thu Sep 3 16:29:02 2009 New Revision: 196785 URL: http://svn.freebsd.org/changeset/base/196785 Log: correct timeout for doing NOL processing; need a ticks-relative value Obtained from:Marvell MFC after:3 days Modified: head/sys/net80211/ieee80211_dfs.c M

svn commit: r196783 - head/sys/net80211

2009-09-03 Thread Sam Leffler
Author: sam Date: Thu Sep 3 16:24:21 2009 New Revision: 196783 URL: http://svn.freebsd.org/changeset/base/196783 Log: on transition to SLEEP state mark the station in power save, not awake MFC after:3 days Modified: head/sys/net80211/ieee80211_sta.c Modified: head/sys/net80211/ieee

svn commit: r196717 - head/sys/dev/ath

2009-08-31 Thread Sam Leffler
Author: sam Date: Mon Aug 31 21:25:49 2009 New Revision: 196717 URL: http://svn.freebsd.org/changeset/base/196717 Log: On resume in sta mode program the beacon timers so when roaming (and the previous ap is no longer in range) the device will deliver bmiss interrupts and trigger the state ma

svn commit: r196605 - head/sys/arm/conf

2009-08-27 Thread Sam Leffler
Author: sam Date: Thu Aug 27 17:55:44 2009 New Revision: 196605 URL: http://svn.freebsd.org/changeset/base/196605 Log: revert r196600; didn't notice it'd been done already Submitted by: jhay Modified: head/sys/arm/conf/CAMBRIA Modified: head/sys/arm/conf/CAMBRIA

svn commit: r196603 - head/sys/dev/ath/ath_hal

2009-08-27 Thread Sam Leffler
Author: sam Date: Thu Aug 27 17:42:37 2009 New Revision: 196603 URL: http://svn.freebsd.org/changeset/base/196603 Log: change default regdomain for thailand Obtained from:linux-wirel...@kernel.org Modified: head/sys/dev/ath/ath_hal/ah_regdomain.c Modified: head/sys/dev/ath/ath_h

svn commit: r196600 - head/sys/arm/conf

2009-08-27 Thread Sam Leffler
Author: sam Date: Thu Aug 27 17:33:44 2009 New Revision: 196600 URL: http://svn.freebsd.org/changeset/base/196600 Log: enable mesh by default Modified: head/sys/arm/conf/CAMBRIA Modified: head/sys/arm/conf/CAMBRIA ==

svn commit: r196599 - head/tools/tools/ath/athpoke

2009-08-27 Thread Sam Leffler
Author: sam Date: Thu Aug 27 17:32:58 2009 New Revision: 196599 URL: http://svn.freebsd.org/changeset/base/196599 Log: recognie invalid register names Modified: head/tools/tools/ath/athpoke/athpoke.c Modified: head/tools/tools/ath/athpoke/athpoke.c ===

svn commit: r196473 - in stable/8/usr.sbin/wpa: . wpa_cli

2009-08-23 Thread Sam Leffler
Author: sam Date: Sun Aug 23 16:21:49 2009 New Revision: 196473 URL: http://svn.freebsd.org/changeset/base/196473 Log: MFC r196472: Enable _DIRENT_HAVE_D_TYPE so wpa_cli scans directories properly for it's unix domain socket. Before this change wpa_cli would take the first file in t

svn commit: r196472 - head/usr.sbin/wpa/wpa_cli

2009-08-23 Thread Sam Leffler
Author: sam Date: Sun Aug 23 16:04:10 2009 New Revision: 196472 URL: http://svn.freebsd.org/changeset/base/196472 Log: Enable _DIRENT_HAVE_D_TYPE so wpa_cli scans directories properly for it's unix domain socket. Before this change wpa_cli would take the first file in the directory that was

Re: svn commit: r196380 - head/sys/dev/usb

2009-08-19 Thread Sam Leffler
Rafal Jaworowski wrote: On 2009-08-19, at 17:30, Sam Leffler wrote: Rafal Jaworowski wrote: Author: raj Date: Wed Aug 19 14:39:08 2009 New Revision: 196380 URL: http://svn.freebsd.org/changeset/base/196380 Log: Fix USB cache sync operations for platforms with non-coherent DMA

Re: svn commit: r196380 - head/sys/dev/usb

2009-08-19 Thread Sam Leffler
Rafal Jaworowski wrote: Author: raj Date: Wed Aug 19 14:39:08 2009 New Revision: 196380 URL: http://svn.freebsd.org/changeset/base/196380 Log: Fix USB cache sync operations for platforms with non-coherent DMA. - usb_pc_cpu_invalidate() is called between [consecutive] reads from a device,

Re: svn commit: r196368 - in head/sys: net netinet

2009-08-18 Thread Sam Leffler
Kip Macy wrote: Author: kmacy Date: Tue Aug 18 20:28:58 2009 New Revision: 196368 URL: http://svn.freebsd.org/changeset/base/196368 Log: - change the interface to flowtable_lookup so that we don't rely on the mbuf for obtaining the fib index - check that a cached flow corresponds to t

Re: svn commit: r196358 - in head: share/man/man9 sys/kern sys/sys

2009-08-18 Thread Sam Leffler
Pawel Jakub Dawidek wrote: Author: pjd Date: Tue Aug 18 13:55:48 2009 New Revision: 196358 URL: http://svn.freebsd.org/changeset/base/196358 Log: Remove unused taskqueue_find() function. Reviewed by: dfr Approved by: re (kib) I don't understand why this should be removed (let alone

Re: svn commit: r196293 - head/sys/kern

2009-08-17 Thread Sam Leffler
Pawel Jakub Dawidek wrote: Author: pjd Date: Mon Aug 17 08:42:34 2009 New Revision: 196293 URL: http://svn.freebsd.org/changeset/base/196293 Log: Because taskqueue_run() can drop tq_mutex, we need to check if the TQ_FLAGS_ACTIVE flag wasn't removed in the meantime, which means we missed a

svn commit: r196161 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/ata dev/cxgb dev/sound/usb dev/usb dev/usb/controller dev/usb/input dev/usb/mis...

2009-08-12 Thread Sam Leffler
Author: sam Date: Wed Aug 12 21:34:57 2009 New Revision: 196161 URL: http://svn.freebsd.org/changeset/base/196161 Log: MFC r196159: Drain link state event changes posted during vap destroy. This is a band-aid for the general problem that if_link_state_change can be called between if

svn commit: r196159 - head/sys/net80211

2009-08-12 Thread Sam Leffler
Author: sam Date: Wed Aug 12 21:19:19 2009 New Revision: 196159 URL: http://svn.freebsd.org/changeset/base/196159 Log: Drain link state event changes posted during vap destroy. This is a band-aid for the general problem that if_link_state_change can be called between if_detach and if_free l

svn commit: r196157 - stable/8/share/man/man9

2009-08-12 Thread Sam Leffler
(r196157) @@ -1,6 +1,5 @@ .\" -.\" Copyright (c) 2004 Bruce M. Simpson -.\" Copyright (c) 2004 Darron Broad +.\" Copyright (c) 2009 Sam Leffler, Errno Consulting .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms,

svn commit: r196155 - head/share/man/man9

2009-08-12 Thread Sam Leffler
/ieee80211.9 Wed Aug 12 20:48:50 2009 (r196154) +++ head/share/man/man9/ieee80211.9 Wed Aug 12 21:03:16 2009 (r196155) @@ -1,6 +1,5 @@ .\" -.\" Copyright (c) 2004 Bruce M. Simpson -.\" Copyright (c) 2004 Darron Broad +.\" Copyright (c) 2009 Sam Leffl

Re: svn commit: r195960 - in head/sys/dev/usb: . controller input

2009-08-03 Thread Sam Leffler
Robert Watson wrote: On Mon, 3 Aug 2009, Hans Petter Selasky wrote: On Monday 03 August 2009 19:46:16 Bruce Evans wrote: On Mon, 3 Aug 2009, M. Warner Losh wrote: In message: <200908030827.21108.hsela...@c2i.net> : I see two solutions: : : 1) Disable the timekeeping if no keys are pressed.

svn commit: r196005 - head/sys/net80211

2009-07-31 Thread Sam Leffler
Author: sam Date: Fri Jul 31 19:13:16 2009 New Revision: 196005 URL: http://svn.freebsd.org/changeset/base/196005 Log: fix misplaced #endif that caused tdma handling to be merged with ESS handling (causing tdma scanning to break) Approved by: re (kib) Modified: head/sys/net80211/ieee8

svn commit: r196004 - head/sys/net80211

2009-07-31 Thread Sam Leffler
Author: sam Date: Fri Jul 31 19:12:19 2009 New Revision: 196004 URL: http://svn.freebsd.org/changeset/base/196004 Log: Filter setting IFF_PROMISC on tdma vaps; we don't want the underyling device to be in promiscuous mode as we have a h/w bssid. Approved by: re (kib) Modified: head/sy

Re: svn commit: r195907 - in head/sys: amd64/amd64 i386/i386

2009-07-31 Thread Sam Leffler
Ed Schouten wrote: * Rui Paulo wrote: Refine the MacBook hack to only match early models that have Intel ICH. ... - if (strncmp(sysenv, "MacBook", 7) == 0) { + if (strncmp(sysenv, "MacBook1,1", 10) == 0 || + strncmp(sysenv, "MacBookPro1,1", 13) ==

Re: svn commit: r195944 - head/sys/kern

2009-07-29 Thread Sam Leffler
Jamie Gritton wrote: Author: jamie Date: Wed Jul 29 16:41:02 2009 New Revision: 195944 URL: http://svn.freebsd.org/changeset/base/195944 Log: Change the default value of the "ip4" and "ip6" jail parameters to "disable", which only allows access to the parent/physical system's IP addresses

svn commit: r195849 - head/sys/net80211

2009-07-24 Thread Sam Leffler
Author: sam Date: Fri Jul 24 15:37:02 2009 New Revision: 195849 URL: http://svn.freebsd.org/changeset/base/195849 Log: revert OACTIVE part of r195845; instead fix the comment so it does not refer to the old hack removed in r193312 Approved by: re (implicit) Modified: head/sys/net80211

svn commit: r195848 - in head/tools/tools/net80211: stumbler w00t w00t/ap w00t/assoc w00t/expand w00t/prga w00t/redir wesside/wesside wlaninject

2009-07-24 Thread Sam Leffler
Author: sam Date: Fri Jul 24 15:31:22 2009 New Revision: 195848 URL: http://svn.freebsd.org/changeset/base/195848 Log: Update for vaps: o do not force monitor mode; the wlanX ifnet must be an ahdemo mode vap o move channel change work before marking ifnet up to avoid churning the state m

svn commit: r195847 - head/sys/net80211

2009-07-24 Thread Sam Leffler
Author: sam Date: Fri Jul 24 15:28:29 2009 New Revision: 195847 URL: http://svn.freebsd.org/changeset/base/195847 Log: correct handling of IFF_PROMISC; this should not be pushed to the parent device except for monitor and ahdemo mode vaps Reviewed by: rpaulo Approved by: re (kensmith)

svn commit: r195846 - head/sys/net80211

2009-07-24 Thread Sam Leffler
Author: sam Date: Fri Jul 24 15:27:02 2009 New Revision: 195846 URL: http://svn.freebsd.org/changeset/base/195846 Log: monitor mode vaps are meant to be read-only so they can operate on any frequency w/o regulatory issues, do this by hooking if_transmit and if_output with routines that disca

svn commit: r195845 - head/sys/net80211

2009-07-24 Thread Sam Leffler
Author: sam Date: Fri Jul 24 15:22:12 2009 New Revision: 195845 URL: http://svn.freebsd.org/changeset/base/195845 Log: o kill old code no longer needed after r193312 o count output packets+errors for frames sent through ieee80211_output Approved by: re (kensmith) Modified: head/sys/ne

svn commit: r195813 - head/sys/net80211

2009-07-21 Thread Sam Leffler
Author: sam Date: Tue Jul 21 19:38:22 2009 New Revision: 195813 URL: http://svn.freebsd.org/changeset/base/195813 Log: store mesh timers as ticks and sysctls for changing the defaults Reviewed by: rpaulo Approved by: re (kib) Modified: head/sys/net80211/ieee80211_hwmp.c head/sys/ne

svn commit: r195812 - head/sys/net80211

2009-07-21 Thread Sam Leffler
Author: sam Date: Tue Jul 21 19:36:32 2009 New Revision: 195812 URL: http://svn.freebsd.org/changeset/base/195812 Log: Correct handling of keys that already have a hardware/device key index: this was broken in r183248 when the check of wk_keyix was replaced by a check of IEEE80211_KEY_DEVKEY

svn commit: r195811 - head/tools/tools/net80211/wlanstats

2009-07-21 Thread Sam Leffler
Author: sam Date: Tue Jul 21 19:25:25 2009 New Revision: 195811 URL: http://svn.freebsd.org/changeset/base/195811 Log: update for recent mesh additions Approved by: re (kib) Modified: head/tools/tools/net80211/wlanstats/wlanstats.c Modified: head/tools/tools/net80211/wlanstats/wlanstat

svn commit: r195810 - head/sys/modules/wlan

2009-07-21 Thread Sam Leffler
Author: sam Date: Tue Jul 21 19:24:53 2009 New Revision: 195810 URL: http://svn.freebsd.org/changeset/base/195810 Log: correct setup of opt_ddb.h Submitted by: jkim Approved by: re (kib) Modified: head/sys/modules/wlan/Makefile Modified: head/sys/modules/wlan/Makefile ===

svn commit: r195809 - head/sys/dev/ath/ath_hal/ar5212

2009-07-21 Thread Sam Leffler
Author: sam Date: Tue Jul 21 19:23:34 2009 New Revision: 195809 URL: http://svn.freebsd.org/changeset/base/195809 Log: Fix handling of AR_RX_FILTER_BSSID: write the shadow value for AR_MISC_MODE so other register writes preserve the setting of AR_MISC_MODE_BSSID_MATCH_FORCE. Reviewed by:

svn commit: r195807 - head/sys/dev/ath

2009-07-21 Thread Sam Leffler
Author: sam Date: Tue Jul 21 19:01:04 2009 New Revision: 195807 URL: http://svn.freebsd.org/changeset/base/195807 Log: track whether any mesh vaps are present to correctly setup the rx filter when, for example, an ap vap is created first Reviewed by: rpaulo Approved by: re (kib) Modi

svn commit: r195805 - head/sbin/dhclient

2009-07-21 Thread Sam Leffler
Author: sam Date: Tue Jul 21 15:06:10 2009 New Revision: 195805 URL: http://svn.freebsd.org/changeset/base/195805 Log: Fix the logic to count the number of "live interfaces". With this change dhclient now terminates when the underlying ifnet is destroyed (e.g. on card eject). Reviewed

Re: svn commit: r195784 - in head: sbin/ifconfig sys/net80211

2009-07-20 Thread Sam Leffler
Rui Paulo wrote: Author: rpaulo Date: Mon Jul 20 19:12:08 2009 New Revision: 195784 URL: http://svn.freebsd.org/changeset/base/195784 Log: More mesh bits, namely: * bridge support (sam) * handling of errors (sam) * deletion of inactive routing entries * more debug msgs (sam) * fixed

svn commit: r195765 - head/sys/conf

2009-07-19 Thread Sam Leffler
Author: sam Date: Sun Jul 19 16:54:24 2009 New Revision: 195765 URL: http://svn.freebsd.org/changeset/base/195765 Log: add urtw Approved by: re (kib) Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r195757 - head/sys/net80211

2009-07-18 Thread Sam Leffler
Author: sam Date: Sat Jul 18 20:19:53 2009 New Revision: 195757 URL: http://svn.freebsd.org/changeset/base/195757 Log: Move code that does payload realigment to a new routine, ieee80211_realign, so it can be reused. While here rewrite the logic to always use a single mbuf. Reviewed by:

svn commit: r195746 - head/usr.sbin/wlandebug

2009-07-17 Thread Sam Leffler
Author: sam Date: Fri Jul 17 21:11:08 2009 New Revision: 195746 URL: http://svn.freebsd.org/changeset/base/195746 Log: add mesh support Submitted by: rpaulo Approved by: re (kib) Modified: head/usr.sbin/wlandebug/wlandebug.8 head/usr.sbin/wlandebug/wlandebug.c Modified: head/usr.sb

svn commit: r195709 - head/contrib/tcpdump

2009-07-15 Thread Sam Leffler
Author: sam Date: Wed Jul 15 13:50:06 2009 New Revision: 195709 URL: http://svn.freebsd.org/changeset/base/195709 Log: correct IEEE80211_RADIOTAP_XCHANNEL to match system Submitted by: Guy Harris Approved by: re (kib) Modified: head/contrib/tcpdump/ieee802_11_radio.h Modified: head/c

svn commit: r195684 - head/contrib/tcpdump

2009-07-14 Thread Sam Leffler
Author: sam Date: Tue Jul 14 17:11:06 2009 New Revision: 195684 URL: http://svn.freebsd.org/changeset/base/195684 Log: Updates, mostly to add 802.11s support: o add missing Status and Reason codes o parse/display Action frames o parse/display Mesh data frames o parse/display BA frames

svn commit: r195645 - head/share/man/man4

2009-07-12 Thread Sam Leffler
Author: sam Date: Sun Jul 12 20:17:31 2009 New Revision: 195645 URL: http://svn.freebsd.org/changeset/base/195645 Log: add IEEE80211_SCAN_REQ Approved by: re (blanket) Modified: head/share/man/man4/net80211.4 Modified: head/share/man/man4/net80211.4

svn commit: r195644 - in head/usr.sbin/wpa: hostapd hostapd_cli wpa_cli wpa_passphrase wpa_supplicant

2009-07-12 Thread Sam Leffler
Author: sam Date: Sun Jul 12 19:58:52 2009 New Revision: 195644 URL: http://svn.freebsd.org/changeset/base/195644 Log: fix Jouni's email address Approved by: re (blanket) Modified: head/usr.sbin/wpa/hostapd/hostapd.8 head/usr.sbin/wpa/hostapd/hostapd.conf.5 head/usr.sbin/wpa/hostapd

svn commit: r195630 - head/share/man/man4

2009-07-11 Thread Sam Leffler
le is newly added) +++ head/share/man/man4/net80211.4 Sun Jul 12 03:19:25 2009 (r195630) @@ -0,0 +1,1302 @@ +.\"- +.\" Copyright (c) 2009 Sam Leffler, Errno Consulting +.\" All rights reserved. +.\"" +.\" Redistribution and use in source and binary forms, wit

svn commit: r195561 - head/sys/net80211

2009-07-10 Thread Sam Leffler
Author: sam Date: Fri Jul 10 15:26:33 2009 New Revision: 195561 URL: http://svn.freebsd.org/changeset/base/195561 Log: mark struct ieee80211req_maclist packed so sizeof works as intended on arm; fixes "list mac" Approved by: re (kensmith) Modified: head/sys/net80211/ieee80211_ioctl.h

svn commit: r195527 - head/sys/net80211

2009-07-09 Thread Sam Leffler
Author: sam Date: Fri Jul 10 02:19:57 2009 New Revision: 195527 URL: http://svn.freebsd.org/changeset/base/195527 Log: correctly set the tailq ptr when removing the last item in the q Approved by: re (kensmith) Modified: head/sys/net80211/ieee80211_ageq.c Modified: head/sys/net80211/ie

svn commit: r195426 - head/sys/dev/ath/ath_hal/ar5416

2009-07-07 Thread Sam Leffler
Author: sam Date: Tue Jul 7 18:11:05 2009 New Revision: 195426 URL: http://svn.freebsd.org/changeset/base/195426 Log: Fix ar5416 and later parts on big-endian platforms: setup the h/w byte swizzler using the same technique used everywhere else. Approved by: re (kib) Modified: head/sy

svn commit: r195418 - head/sys/dev/ath

2009-07-06 Thread Sam Leffler
Author: sam Date: Mon Jul 6 20:51:54 2009 New Revision: 195418 URL: http://svn.freebsd.org/changeset/base/195418 Log: Fix AR5416 and later parts when building with AH_DEBUG or similar defined: always define OS_REG_UNSWAPPED and use it in ath_hal_reg_{read,write}. Approved by: re (kib)

svn commit: r195383 - head/sys/modules/wlan

2009-07-05 Thread Sam Leffler
Author: sam Date: Sun Jul 5 21:19:10 2009 New Revision: 195383 URL: http://svn.freebsd.org/changeset/base/195383 Log: catchup with action+ageq additions Submitted by: "Paul B. Mahol" Approved by: re (implicit) Modified: head/sys/modules/wlan/Makefile Modified: head/sys/modules/wlan

svn commit: r195381 - head/sys/conf

2009-07-05 Thread Sam Leffler
Author: sam Date: Sun Jul 5 20:44:50 2009 New Revision: 195381 URL: http://svn.freebsd.org/changeset/base/195381 Log: add missing bit of r195379 Approved by: re (kensmith) Modified: head/sys/conf/files Modified: head/sys/conf/files =

svn commit: r195379 - head/sys/net80211

2009-07-05 Thread Sam Leffler
ddr[1] << 8; + a += addr[0]; + + mix(a, b, c); + + return c; +} +#undef mix Added: head/sys/net80211/ieee80211_ageq.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/net80211/ieee80211_ageq.c Sun Jul 5 18:17:37 2009 (r

svn commit: r195377 - in head/sys: conf dev/mwl net80211

2009-07-05 Thread Sam Leffler
0211_action.cSun Jul 5 17:59:19 2009 (r195377) @@ -0,0 +1,291 @@ +/*- + * Copyright (c) 2009 Sam Leffler, Errno Consulting + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the followin

svn commit: r195376 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include

2009-07-05 Thread Sam Leffler
Author: sam Date: Sun Jul 5 17:45:48 2009 New Revision: 195376 URL: http://svn.freebsd.org/changeset/base/195376 Log: Cleanup ALIGNED_POINTER: o add to platforms where it was missing (arm, i386, powerpc, sparc64, sun4v) o define as "1" on amd64 and i386 where there is no restriction o mak

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Sam Leffler
Marc Balmer wrote: Am 30.06.2009 um 21:36 schrieb M. Warner Losh: wake really is too generic a name for this. Why didn't the wol port get committed anyway, it seems to be better than this... wake is a short, mnemonic and imperative name that describes what the command does. It is exactly t

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Sam Leffler
Marc Balmer wrote: Am 30.06.2009 um 21:07 schrieb Sam Leffler: Martin Blapp wrote: Author: mbr Date: Tue Jun 30 18:51:22 2009 New Revision: 195200 URL: http://svn.freebsd.org/changeset/base/195200 Log: Add wake, a tool to send Wake on LAN frames to hosts on a local Ethernet network

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Sam Leffler
Martin Blapp wrote: Author: mbr Date: Tue Jun 30 18:51:22 2009 New Revision: 195200 URL: http://svn.freebsd.org/changeset/base/195200 Log: Add wake, a tool to send Wake on LAN frames to hosts on a local Ethernet network Submitted by: Marc Balmer Reviewed by:rwatson Approved b

Re: svn commit: r195181 - in head/sys: nfsclient nfsserver

2009-06-30 Thread Sam Leffler
M. Warner Losh wrote: In message: <20090630051641.t22...@maildrop.int.zabbadoz.net> bz0...@zabbadoz.net writes: : On Tue, 30 Jun 2009, John Baldwin wrote: : : > Author: jhb : > Date: Tue Jun 30 03:18:51 2009 : > New Revision: 195181 : > URL: http://svn.freebsd.org/changeset/base/195

svn commit: r195114 - in head/sys/dev/ath: . ath_hal ath_hal/ar5212 ath_hal/ar5416

2009-06-27 Thread Sam Leffler
Author: sam Date: Sat Jun 27 20:06:56 2009 New Revision: 195114 URL: http://svn.freebsd.org/changeset/base/195114 Log: Add HAL_RX_FILTER_BSSID support (to disable bssid match): o add HAL_CAP_BSSIDMATCH to identify parts that have the support for disabling bssid match o honor capability f

Re: svn commit: r194909 - head/sys/dev/mxge

2009-06-25 Thread Sam Leffler
Andrew Gallatin wrote: > Sam Leffler wrote: > >> There's something else wrong. This is just covering up the real bug. > > I'm pretty sure the "real bug" is in bpf, but I'm not sure its a bug, > and I suspect there are probably other, similar, b

Re: svn commit: r195029 - head/etc

2009-06-25 Thread Sam Leffler
Doug Barton wrote: Sam Leffler wrote: Using device names is a bad idea. Take a look at wpa_supplicant (for example) for how to check the media status to determine whether a device is wireless. I agree that it's not optimal, and I would prefer a dynamic solution as opposed to a s

Re: svn commit: r195029 - head/etc

2009-06-25 Thread Sam Leffler
Doug Barton wrote: Author: dougb Date: Fri Jun 26 01:27:16 2009 New Revision: 195029 URL: http://svn.freebsd.org/changeset/base/195029 Log: rtsol should not be run on the wireless NIC interfaces directly, it will run on wlan0 instead. Modified: head/etc/network.subr Modified: head/etc/ne

svn commit: r194983 - head/sys/arm/conf

2009-06-25 Thread Sam Leffler
Author: sam Date: Thu Jun 25 18:07:19 2009 New Revision: 194983 URL: http://svn.freebsd.org/changeset/base/194983 Log: temporarily disable optional uarts; apparently we hang when probing them (and they are not present) Modified: head/sys/arm/conf/CAMBRIA.hints Modified: head/sys/arm/conf/C

Re: svn commit: r194909 - head/sys/dev/mxge

2009-06-24 Thread Sam Leffler
Andrew Gallatin wrote: Author: gallatin Date: Wed Jun 24 21:09:56 2009 New Revision: 194909 URL: http://svn.freebsd.org/changeset/base/194909 Log: Add a dying flag to prevent races at detach. I tried re-ordering ether_ifdetach(), but this created a new race where sometimes, when under

svn commit: r194873 - head/tools/tools/ath/athpoke

2009-06-24 Thread Sam Leffler
Author: sam Date: Wed Jun 24 18:24:37 2009 New Revision: 194873 URL: http://svn.freebsd.org/changeset/base/194873 Log: add a link named athpeek since my fingers keep typing it Modified: head/tools/tools/ath/athpoke/Makefile Modified: head/tools/tools/ath/athpoke/Makefile

svn commit: r194872 - head/tools/tools/ath/athpoke

2009-06-24 Thread Sam Leffler
Author: sam Date: Wed Jun 24 18:24:20 2009 New Revision: 194872 URL: http://svn.freebsd.org/changeset/base/194872 Log: read back the written value and display Modified: head/tools/tools/ath/athpoke/athpoke.c Modified: head/tools/tools/ath/athpoke/athpoke.c ===

svn commit: r194753 - head/sys/arm/xscale/ixp425

2009-06-23 Thread Sam Leffler
Author: sam Date: Tue Jun 23 19:29:23 2009 New Revision: 194753 URL: http://svn.freebsd.org/changeset/base/194753 Log: Now that we have UARTs running with fast interrupt handlers the ata driver's i/o ops must be locked to avoid chaos. Extend the cambria bus tag to support ata and add a spin

svn commit: r194752 - head/sys/arm/xscale/ixp425

2009-06-23 Thread Sam Leffler
Author: sam Date: Tue Jun 23 19:05:02 2009 New Revision: 194752 URL: http://svn.freebsd.org/changeset/base/194752 Log: use consistent style Modified: head/sys/arm/xscale/ixp425/ixp425.c Modified: head/sys/arm/xscale/ixp425/ixp425.c

svn commit: r194673 - head/sys/arm/conf

2009-06-22 Thread Sam Leffler
Author: sam Date: Mon Jun 22 23:22:38 2009 New Revision: 194673 URL: http://svn.freebsd.org/changeset/base/194673 Log: kill left over cruft Modified: head/sys/arm/conf/CAMBRIA.hints Modified: head/sys/arm/conf/CAMBRIA.hints

svn commit: r194671 - head/sys/arm/conf

2009-06-22 Thread Sam Leffler
Author: sam Date: Mon Jun 22 22:54:44 2009 New Revision: 194671 URL: http://svn.freebsd.org/changeset/base/194671 Log: enable optional GPS+RS485 uarts Modified: head/sys/arm/conf/CAMBRIA.hints Modified: head/sys/arm/conf/CAMBRIA.hints =

svn commit: r194670 - head/sys/arm/xscale/ixp425

2009-06-22 Thread Sam Leffler
xp_space.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/xscale/ixp425/cambria_exp_space.c Mon Jun 22 22:54:13 2009(r194670) @@ -0,0 +1,95 @@ +/*- + * Copyright (c) 2009 Sam Leffler. All rights reserved. + * + * Redistribution and use in source

svn commit: r194669 - head/sys/arm/conf

2009-06-22 Thread Sam Leffler
Author: sam Date: Mon Jun 22 22:47:06 2009 New Revision: 194669 URL: http://svn.freebsd.org/changeset/base/194669 Log: fix typo Modified: head/sys/arm/conf/CAMBRIA.hints Modified: head/sys/arm/conf/CAMBRIA.hints == -

svn commit: r194668 - in head/sys/arm: conf xscale/ixp425

2009-06-22 Thread Sam Leffler
Author: sam Date: Mon Jun 22 22:46:37 2009 New Revision: 194668 URL: http://svn.freebsd.org/changeset/base/194668 Log: o remove hack to write UUE+RTOIE in the uart's IER; force them with hints o honor hints for the rclk Modified: head/sys/arm/conf/AVILA.hints head/sys/arm/conf/CAMBRIA.hin

svn commit: r194656 - head/sys/arm/xscale/ixp425

2009-06-22 Thread Sam Leffler
Author: sam Date: Mon Jun 22 20:57:51 2009 New Revision: 194656 URL: http://svn.freebsd.org/changeset/base/194656 Log: hook arm_post_filter to ACK GPIO interrupts; this fixes the interrupt storm observed on the GPS+RS485 uarts on Gateworks Cambria boards Reviewed by: cognet Modified:

svn commit: r194655 - head/sys/arm/xscale/ixp425

2009-06-22 Thread Sam Leffler
Author: sam Date: Mon Jun 22 20:42:28 2009 New Revision: 194655 URL: http://svn.freebsd.org/changeset/base/194655 Log: always define Cambria GPS+RS485 mappings as they are no longer conditional Modified: head/sys/arm/xscale/ixp425/ixp425.c Modified: head/sys/arm/xscale/ixp425/ixp425.c ==

svn commit: r194654 - head/sys/arm/xscale/ixp425

2009-06-22 Thread Sam Leffler
Author: sam Date: Mon Jun 22 20:41:02 2009 New Revision: 194654 URL: http://svn.freebsd.org/changeset/base/194654 Log: map the optional GPS and RS485 uart's on the Gateworks Cambria board (may want to make these conditional) Modified: head/sys/arm/xscale/ixp425/avila_machdep.c head/sys/ar

svn commit: r194653 - head/sys/arm/xscale/ixp425

2009-06-22 Thread Sam Leffler
Author: sam Date: Mon Jun 22 20:38:55 2009 New Revision: 194653 URL: http://svn.freebsd.org/changeset/base/194653 Log: add ixp425_set_gpio to program the gpio interrupt type Modified: head/sys/arm/xscale/ixp425/avila_ata.c head/sys/arm/xscale/ixp425/ixp425.c head/sys/arm/xscale/ixp425/ixp

svn commit: r194652 - head/sys/arm/xscale/ixp425

2009-06-22 Thread Sam Leffler
Author: sam Date: Mon Jun 22 20:36:22 2009 New Revision: 194652 URL: http://svn.freebsd.org/changeset/base/194652 Log: rewrite arm_get_next_irq to always make forward progress (should be optimized) Modified: head/sys/arm/xscale/ixp425/ixp425.c Modified: head/sys/arm/xscale/ixp425/ixp425.c ==

svn commit: r194651 - head/sys/arm/xscale/ixp425

2009-06-22 Thread Sam Leffler
Author: sam Date: Mon Jun 22 20:34:50 2009 New Revision: 194651 URL: http://svn.freebsd.org/changeset/base/194651 Log: kill stray whitespace Modified: head/sys/arm/xscale/ixp425/ixp425.c Modified: head/sys/arm/xscale/ixp425/ixp425.c ===

svn commit: r194650 - head/sys/arm/xscale/ixp425

2009-06-22 Thread Sam Leffler
Author: sam Date: Mon Jun 22 20:33:59 2009 New Revision: 194650 URL: http://svn.freebsd.org/changeset/base/194650 Log: move logic to ACK a GPIO to a separate function Modified: head/sys/arm/xscale/ixp425/ixp425.c Modified: head/sys/arm/xscale/ixp425/ixp425.c =

svn commit: r194649 - head/sys/arm/xscale/ixp425

2009-06-22 Thread Sam Leffler
Author: sam Date: Mon Jun 22 20:31:06 2009 New Revision: 194649 URL: http://svn.freebsd.org/changeset/base/194649 Log: swap order in ddb show gpio printf Modified: head/sys/arm/xscale/ixp425/ixp425.c Modified: head/sys/arm/xscale/ixp425/ixp425.c ==

  1   2   3   4   5   6   7   >