svn commit: r213321 - head/sys/net80211

2010-10-01 Thread Adrian Chadd
Author: adrian Date: Fri Oct 1 09:18:30 2010 New Revision: 213321 URL: http://svn.freebsd.org/changeset/base/213321 Log: Fix background roaming to actually work in AUTO roaming mode. IEEE80211_F_BGSCAN is a vap flag, not a channel flag. So although bgscan occured, sta_roam_check() would

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

2011-11-19 Thread Adrian Chadd
Author: adrian Date: Sat Nov 19 21:05:31 2011 New Revision: 227740 URL: http://svn.freebsd.org/changeset/base/227740 Log: Begin breaking apart the receive setup/stop path in preparation for more "correct" handling of frames in the RX pending queue during interface transitions. * ath_sto

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

2011-11-19 Thread Adrian Chadd
Author: adrian Date: Sat Nov 19 21:12:35 2011 New Revision: 227741 URL: http://svn.freebsd.org/changeset/base/227741 Log: Add some (totally untested!) code to correctly set the RF half/quarter mode configuration registers. This is apparently required for correct behaviour, but also requires

svn commit: r227780 - head/sys/mips/conf

2011-11-20 Thread Adrian Chadd
Author: adrian Date: Mon Nov 21 06:45:12 2011 New Revision: 227780 URL: http://svn.freebsd.org/changeset/base/227780 Log: Always leave the -current kernel debugging options on. Modified: head/sys/mips/conf/AR91XX_BASE Modified: head/sys/mips/conf/AR91XX_BASE =

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

2011-11-21 Thread Adrian Chadd
Author: adrian Date: Mon Nov 21 21:59:01 2011 New Revision: 227804 URL: http://svn.freebsd.org/changeset/base/227804 Log: Fix some whitespace pollution. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ===

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

2011-11-21 Thread Adrian Chadd
Author: adrian Date: Mon Nov 21 22:57:28 2011 New Revision: 227806 URL: http://svn.freebsd.org/changeset/base/227806 Log: Use the correct lock when calling msleep(). This fixes panics that users have been seeing when operating in station mode, where the interface undergoes a lot more rese

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

2011-11-22 Thread Adrian Chadd
Author: adrian Date: Wed Nov 23 05:00:25 2011 New Revision: 227868 URL: http://svn.freebsd.org/changeset/base/227868 Log: Flesh out the TX aggregation completion statistics. * Failall is now named just that. * Add TX ok and TX fail, for aggregate frame sub-frames. This will break ath

svn commit: r227869 - head/tools/tools/ath/athstats

2011-11-22 Thread Adrian Chadd
Author: adrian Date: Wed Nov 23 05:01:23 2011 New Revision: 227869 URL: http://svn.freebsd.org/changeset/base/227869 Log: Add the new statistics introduced in r227868. Sponsored by: Hobnob, Inc. Modified: head/tools/tools/ath/athstats/athstats.c Modified: head/tools/tools/ath/athstats/a

svn commit: r227870 - head/tools/tools/ath/athstats

2011-11-22 Thread Adrian Chadd
Author: adrian Date: Wed Nov 23 05:03:27 2011 New Revision: 227870 URL: http://svn.freebsd.org/changeset/base/227870 Log: Tidy up the statistic documentation. Sponsored by: Hobnob, Inc. Modified: head/tools/tools/ath/athstats/athstats.c Modified: head/tools/tools/ath/athstats/athstats.c

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

2011-11-22 Thread Adrian Chadd
Author: adrian Date: Wed Nov 23 07:12:26 2011 New Revision: 227872 URL: http://svn.freebsd.org/changeset/base/227872 Log: Re-lock the ath lock after ath_reset() has been called. The calibrate callout is done with the sc lock held. This only showed up when using an older NIC (AR5212) whose

svn commit: r227917 - head/sys/mips/conf

2011-11-23 Thread Adrian Chadd
Author: adrian Date: Thu Nov 24 04:19:02 2011 New Revision: 227917 URL: http://svn.freebsd.org/changeset/base/227917 Log: Slim the default build down a little: * Disable the NFS client, it's not needed for booting off of flash. * Don't compile in softdep, snapshots, ufs acls and directory

svn commit: r227918 - head/sys/mips/conf

2011-11-23 Thread Adrian Chadd
Author: adrian Date: Thu Nov 24 04:21:19 2011 New Revision: 227918 URL: http://svn.freebsd.org/changeset/base/227918 Log: Flip on these debugging options by default. This is -HEAD after all. Modified: head/sys/mips/conf/PB92 Modified: head/sys/mips/conf/PB92 =

svn commit: r227919 - head/sys/mips/conf

2011-11-23 Thread Adrian Chadd
Author: adrian Date: Thu Nov 24 04:23:42 2011 New Revision: 227919 URL: http://svn.freebsd.org/changeset/base/227919 Log: Add a comment documenting where the WMAC hangs off of. At some point it would be nice to correctly update the bus glue to make this "correct", including having the DDR

svn commit: r227920 - head/sys/mips/conf

2011-11-23 Thread Adrian Chadd
Author: adrian Date: Thu Nov 24 04:34:04 2011 New Revision: 227920 URL: http://svn.freebsd.org/changeset/base/227920 Log: Compile in the right bits so the AR9130 WMAC support functions correctly. A previous commit disabled compiling the AR9130 support in the default HAL build in the kerne

svn commit: r227921 - head/sys/mips/conf

2011-11-23 Thread Adrian Chadd
Author: adrian Date: Thu Nov 24 04:39:01 2011 New Revision: 227921 URL: http://svn.freebsd.org/changeset/base/227921 Log: Flesh out a geom_map setup, so the kernel can be squeezed _onto_ the device. The default flash layout gives only 1 megabyte for the kernel, gzipped. The uboot firmware

svn commit: r227922 - head/sys/conf

2011-11-23 Thread Adrian Chadd
Author: adrian Date: Thu Nov 24 06:27:47 2011 New Revision: 227922 URL: http://svn.freebsd.org/changeset/base/227922 Log: Don't compile in the AR9130 embedded WMAC code into the HAL by default. This won't work unless AH_SUPPORT_AR9130 which can't be enabled - it breaks the other 11n chips

svn commit: r227924 - in head/sys: conf mips/atheros

2011-11-23 Thread Adrian Chadd
Author: adrian Date: Thu Nov 24 07:32:52 2011 New Revision: 227924 URL: http://svn.freebsd.org/changeset/base/227924 Log: Introduce a new (global, sorry!) option which controls whether the ar71xx platform code should assume a uboot or redboot environment. The current code gets very confus

svn commit: r227925 - head/sys/mips/conf

2011-11-23 Thread Adrian Chadd
Author: adrian Date: Thu Nov 24 07:33:41 2011 New Revision: 227925 URL: http://svn.freebsd.org/changeset/base/227925 Log: Flip on AR71XX_ENV_UBOOT so the environment variables are properly processed. (Which is to say they're currently ignored.) Modified: head/sys/mips/conf/TP-WN1043ND Modi

svn commit: r227926 - head/sys/mips/conf

2011-11-23 Thread Adrian Chadd
Author: adrian Date: Thu Nov 24 07:37:19 2011 New Revision: 227926 URL: http://svn.freebsd.org/changeset/base/227926 Log: Now that I've brought up FreeBSD via flash, I've discovered that the second-last 64k seems to be the default firmware board configuration area. Since I have no idea

svn commit: r227938 - head/sys/mips/conf

2011-11-24 Thread Adrian Chadd
Author: adrian Date: Thu Nov 24 15:12:57 2011 New Revision: 227938 URL: http://svn.freebsd.org/changeset/base/227938 Log: I've had verification that the second-last 64k is actually used by the tplink firmware to store configuration data. It's safe to overwrite it. Modified: head/sys/mi

Re: svn commit: r228050 - head/sys/mips/atheros

2011-11-28 Thread Adrian Chadd
On 28 November 2011 16:10, Gleb Smirnoff wrote: > Author: glebius > Date: Mon Nov 28 08:10:12 2011 > New Revision: 228050 > URL: http://svn.freebsd.org/changeset/base/228050 > > Log: >  Fix build, fininshing r228018. Thanks, Adrian ___ svn-src-all@fre

svn commit: r228257 - head/sys/dev/iicbus

2011-12-04 Thread Adrian Chadd
Author: adrian Date: Sun Dec 4 11:55:33 2011 New Revision: 228257 URL: http://svn.freebsd.org/changeset/base/228257 Log: Allow the i2c node requirements to be slightly relaxed. These realtek switch PHYs speak a variant of i2c with some slightly modified handling. From the submitter,

svn commit: r228258 - head/sys/dev/gpio

2011-12-04 Thread Adrian Chadd
Author: adrian Date: Sun Dec 4 12:10:24 2011 New Revision: 228258 URL: http://svn.freebsd.org/changeset/base/228258 Log: Modify the GPIO i2c bus code to allow for arbitrary data/clock pins, rather than defaulting to 0 and 1. This way the pin order can be reversed. It is reversed with th

svn commit: r228450 - head/sys/mips/atheros

2011-12-12 Thread Adrian Chadd
Author: adrian Date: Tue Dec 13 05:13:51 2011 New Revision: 228450 URL: http://svn.freebsd.org/changeset/base/228450 Log: Style(9) changes. Modified: head/sys/mips/atheros/ar71xx_chip.c head/sys/mips/atheros/ar724x_chip.c head/sys/mips/atheros/ar91xx_chip.c Modified: head/sys/mips/athero

svn commit: r228514 - head/sys/net80211

2011-12-14 Thread Adrian Chadd
Author: adrian Date: Thu Dec 15 00:52:30 2011 New Revision: 228514 URL: http://svn.freebsd.org/changeset/base/228514 Log: Modify the ACL code slightly to support a few nifty things: * Call it before sending probe responses, so the ACL code has the chance to reject sending them. * P

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

2011-12-14 Thread Adrian Chadd
Author: adrian Date: Thu Dec 15 00:54:11 2011 New Revision: 228515 URL: http://svn.freebsd.org/changeset/base/228515 Log: Use the correct RF version probe routine. Obtained from:Atheros Sponsored by: Hobnob, Inc. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Modifi

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

2011-12-14 Thread Adrian Chadd
Author: adrian Date: Thu Dec 15 00:55:27 2011 New Revision: 228516 URL: http://svn.freebsd.org/changeset/base/228516 Log: Print out the radio RF version at startup, so I can better see which RF frontend versions people have when they submit problem reports. Sponsored by: Hobnob, Inc. Mod

svn commit: r228517 - in head/sys/dev/ath/ath_hal: ar5416 ar9002

2011-12-14 Thread Adrian Chadd
Author: adrian Date: Thu Dec 15 00:59:11 2011 New Revision: 228517 URL: http://svn.freebsd.org/changeset/base/228517 Log: Add the 11n chipset RF frontends to the linker set, even though they're not attached this way. The AR5212 based NICs have a variety of RF frontends, so there's a linke

svn commit: r228518 - head/sys/mips/atheros

2011-12-14 Thread Adrian Chadd
Author: adrian Date: Thu Dec 15 01:03:49 2011 New Revision: 228518 URL: http://svn.freebsd.org/changeset/base/228518 Log: Re-jiggle the GPIO code a little to remove the hard-coded AR71xx GPIO config and function mask setup. * "gpiomask" now specifies which GPIO pins to enable, for devices

svn commit: r228519 - head/sys/mips/conf

2011-12-14 Thread Adrian Chadd
Author: adrian Date: Thu Dec 15 01:05:38 2011 New Revision: 228519 URL: http://svn.freebsd.org/changeset/base/228519 Log: * Add in the gpio/gpioled drivers into AR91XX_BASE. * Add in a default GPIO section for AR91XX_BASE.hints, which doesn't define the GPIO function masks or any GPIO pine

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

2011-12-15 Thread Adrian Chadd
On 15 December 2011 00:02, Bernhard Schmidt wrote: > Why didn't you remove the mac argument? It is assign from wh->i_addr2 > anyways, seems rather too redundant to me. Because the semantics for that right now are "check that MAC", so it's the callers responsibility to determine which MAC in the

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

2011-12-15 Thread Adrian Chadd
On 15 December 2011 02:15, Bernhard Schmidt wrote: >> So in short: if you're happy removing it, remove it. :) > > I agree on passing the frame as an argument to iac_check() and obtain > the mac from there, that definitely is required for more advanced > ACLs. Passing both tough, is imho not requi

svn commit: r228725 - in head/sys: dev/gpio mips/atheros

2011-12-19 Thread Adrian Chadd
Author: adrian Date: Tue Dec 20 00:33:56 2011 New Revision: 228725 URL: http://svn.freebsd.org/changeset/base/228725 Log: Remove these locks - they aren't strictly needed and cause measurable performance issues. * Access to the GPIO bus is already locked by requesting and releasing th

svn commit: r228728 - head/sys/dev/iicbus

2011-12-19 Thread Adrian Chadd
Author: adrian Date: Tue Dec 20 02:49:01 2011 New Revision: 228728 URL: http://svn.freebsd.org/changeset/base/228728 Log: IIC bitbang changes - prepare to make the bit delay configurable; debug print changes. * Right now the delay is hard coded at 10uS. This is a bit long when doing lots

svn commit: r228729 - head/sys/dev/gpio

2011-12-19 Thread Adrian Chadd
Author: adrian Date: Tue Dec 20 03:25:11 2011 New Revision: 228729 URL: http://svn.freebsd.org/changeset/base/228729 Log: Fix broken locking that I introduced in the previous commit. Modified: head/sys/dev/gpio/gpioiic.c Modified: head/sys/dev/gpio/gpioiic.c =

Re: svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-21 Thread Adrian Chadd
Erm, why did you do this without first getting clearance from someone who has the hardware to test it? Just because it looks obviously wrong to you, doesn't at all mean that it's "wrong". It's quite possible that the driver _requires_ those bits to be written to the hardware as 0. I'd appreciate

Re: svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-21 Thread Adrian Chadd
On 21 December 2011 14:00, John Baldwin wrote: > I agree it should be reviewed, but if you are seriously depending on > the fact that the shifted values are beyond the edge of the word boundary > and so the result "wraps" to zero, then I'd question the sanity of your code. I agree, but this is a

Re: svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-21 Thread Adrian Chadd
On 21 December 2011 15:27, Alexander Best wrote: >> I agree it should be reviewed, but if you are seriously depending on >> the fact that the shifted values are beyond the edge of the word boundary >> and so the result "wraps" to zero, then I'd question the sanity of your code. > > i disagree. >

Re: svn commit: r228783 - head/sys/conf

2011-12-22 Thread Adrian Chadd
.. and once this LLVM regression has been fixed, do you plan on reverting this change to conf? Adrian On 21 December 2011 09:01, Dimitry Andric wrote: > Author: dim > Date: Wed Dec 21 17:01:13 2011 > New Revision: 228783 > URL: http://svn.freebsd.org/changeset/base/228783 > > Log: >  When build

Re: svn commit: r228800 - in head/sys/dev/ath/ath_hal: ar5212 ar5416

2011-12-22 Thread Adrian Chadd
Just to be silly :) I reviewed this patchset early this morning and it's fine. Nothing in the FreeBSD HAL uses the compression code, so unless someone out there has proprietary extensions which does, this patch is fine. I promise to get the AR5210 and AR5211 stuff tested tonight. The AR5210 at le

Re: svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-22 Thread Adrian Chadd
On 22 December 2011 10:08, Alexander Best wrote: >> You don't think changes should be reviewed (that's what I said above, I did >> not necessarily say it should be reverted)?  That's way out in left field if >> that is what you really think. > > no of course not. let's handle it this way: > > kee

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

2011-12-22 Thread Adrian Chadd
Author: adrian Date: Thu Dec 22 21:54:53 2011 New Revision: 228817 URL: http://svn.freebsd.org/changeset/base/228817 Log: Use the correct types when calling the decompression mask function. There's currently no public code which uses this feature and the current reference driver doesn't e

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

2011-12-22 Thread Adrian Chadd
Author: adrian Date: Fri Dec 23 02:21:22 2011 New Revision: 228829 URL: http://svn.freebsd.org/changeset/base/228829 Log: Add a temporary debugging statement in order to try and identify what's going on with the occasional garbage rs_antenna field reported by AR9285 users. I've discover

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

2011-12-22 Thread Adrian Chadd
Author: adrian Date: Fri Dec 23 02:40:35 2011 New Revision: 228830 URL: http://svn.freebsd.org/changeset/base/228830 Log: Make some more of the 11n specific code conditional. This doesn't fix compilation w/out AH_SUPPORT_AR5416 as all of the software aggregation support in if_ath_tx.c and

svn commit: r228831 - head/tools/tools/ath

2011-12-22 Thread Adrian Chadd
Author: adrian Date: Fri Dec 23 02:57:18 2011 New Revision: 228831 URL: http://svn.freebsd.org/changeset/base/228831 Log: Add in ath_ee_9287_print. Modified: head/tools/tools/ath/Makefile Modified: head/tools/tools/ath/Makefile

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

2011-12-22 Thread Adrian Chadd
Author: adrian Date: Fri Dec 23 03:59:49 2011 New Revision: 228832 URL: http://svn.freebsd.org/changeset/base/228832 Log: Rework this ugly mess that tries to handle reset serialisation. Some users were reporting concurrent resets _were_ occuring - ie, either two ath_reset()s ran at the sa

svn commit: r228833 - head/sys/dev/ath/ath_hal/ar9002

2011-12-22 Thread Adrian Chadd
Author: adrian Date: Fri Dec 23 04:05:39 2011 New Revision: 228833 URL: http://svn.freebsd.org/changeset/base/228833 Log: Remove unused #define's. Pointy hat to: adrian, for not properly reading things when he copied ar9285.h to ar9287.h. Modified: head/sys/dev/ath/ath_hal/ar9002/ar9

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

2011-12-23 Thread Adrian Chadd
Author: adrian Date: Fri Dec 23 08:32:53 2011 New Revision: 228834 URL: http://svn.freebsd.org/changeset/base/228834 Log: Port over some GPIO and LED fixes. * As a preparation for AR9287 GPIO support, add in the AR9287 GPIO mask. * Fix the association mask values; these are post-shift val

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

2011-12-23 Thread Adrian Chadd
Author: adrian Date: Fri Dec 23 08:53:22 2011 New Revision: 228836 URL: http://svn.freebsd.org/changeset/base/228836 Log: Port over some more GPIO fixes from the atheros reference HAL. * Bring the AR5416 GPIO mux mask code in line with the code from the HAL. * Add HAL_DEBUG_GPIO de

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

2011-12-23 Thread Adrian Chadd
Author: adrian Date: Fri Dec 23 09:09:10 2011 New Revision: 228837 URL: http://svn.freebsd.org/changeset/base/228837 Log: Disable the code which hard-sets the LEDs on. This prevents the LED state from correctly updating things. The reference driver directly enables/disables the LED state

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

2011-12-25 Thread Adrian Chadd
Author: adrian Date: Mon Dec 26 05:26:35 2011 New Revision: 228886 URL: http://svn.freebsd.org/changeset/base/228886 Log: Do a quick style(9) pass of some of the code introduced with 802.11n support. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ==

svn commit: r228887 - in head/sys: conf dev/ath modules/ath

2011-12-25 Thread Adrian Chadd
Author: adrian Date: Mon Dec 26 05:37:09 2011 New Revision: 228887 URL: http://svn.freebsd.org/changeset/base/228887 Log: First pass of LED related code changes. Migrate the LED code out of if_ath.c and into if_ath_led.c. These routines are _all_ software based LED blinking. Added: hea

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

2011-12-25 Thread Adrian Chadd
Author: adrian Date: Mon Dec 26 05:46:22 2011 New Revision: 22 URL: http://svn.freebsd.org/changeset/base/22 Log: Refactor out the software LED config code into a common function, called ath_led_config(). The eventual aim is to have both software and hardware based LED configura

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

2011-12-25 Thread Adrian Chadd
Author: adrian Date: Mon Dec 26 06:07:21 2011 New Revision: 228889 URL: http://svn.freebsd.org/changeset/base/228889 Log: Update the hardware LED blinking code to do something useful rather than relying on what the register defaults are. This forces the blink mode to be proportional to th

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

2011-12-25 Thread Adrian Chadd
Author: adrian Date: Mon Dec 26 06:25:12 2011 New Revision: 228890 URL: http://svn.freebsd.org/changeset/base/228890 Log: Setup the initial LED state on attach and resume. Some of the NICs I have here power up with the LEDs blinking, which is incorrect. The blinking should only occur when

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

2011-12-25 Thread Adrian Chadd
Author: adrian Date: Mon Dec 26 07:47:05 2011 New Revision: 228891 URL: http://svn.freebsd.org/changeset/base/228891 Log: Flesh out configurable hardware based LED blinking. The hardware (MAC) LED blinking involves a few things: * Selecting which GPIO pins map to the MAC "power" and "n

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

2011-12-25 Thread Adrian Chadd
Author: adrian Date: Mon Dec 26 07:48:29 2011 New Revision: 228892 URL: http://svn.freebsd.org/changeset/base/228892 Log: Since the only thing with a mux is the AR5416 and later, and we're now doing split software/hardware LED configuration, we can now simply treat "softled" as an "output" m

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

2011-12-26 Thread Adrian Chadd
Author: adrian Date: Mon Dec 26 08:21:29 2011 New Revision: 228893 URL: http://svn.freebsd.org/changeset/base/228893 Log: AR5416 has 14 GPIO pins, from 0->13. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c =

svn commit: r228903 - head/tools/tools/ath

2011-12-26 Thread Adrian Chadd
Author: adrian Date: Mon Dec 26 19:41:46 2011 New Revision: 228903 URL: http://svn.freebsd.org/changeset/base/228903 Log: Oops, my bad. Fix a broken thing I introduced earlier. Modified: head/tools/tools/ath/Makefile Modified: head/tools/tools/ath/Makefile ==

svn commit: r228944 - head/sys/mips/conf

2011-12-28 Thread Adrian Chadd
Author: adrian Date: Thu Dec 29 05:51:48 2011 New Revision: 228944 URL: http://svn.freebsd.org/changeset/base/228944 Log: Break out the AR71XX config file into _BASE and board specific bits. The ROUERSTATION and RSPRO variants contain: * the board specific bits (eg the RTC for RSPRO,

svn commit: r228945 - head/sys/mips/conf

2011-12-28 Thread Adrian Chadd
Author: adrian Date: Thu Dec 29 06:07:24 2011 New Revision: 228945 URL: http://svn.freebsd.org/changeset/base/228945 Log: Flesh out the RSPRO GPIO config, including the RF LED. Modified: head/sys/mips/conf/AR71XX_BASE head/sys/mips/conf/RSPRO.hints Modified: head/sys/mips/conf/AR71XX_BASE

svn commit: r228987 - head/sys/mips/conf

2011-12-30 Thread Adrian Chadd
Author: adrian Date: Fri Dec 30 09:39:24 2011 New Revision: 228987 URL: http://svn.freebsd.org/changeset/base/228987 Log: Add a couple of missing wlan modules. Modified: head/sys/mips/conf/AR71XX_BASE Modified: head/sys/mips/conf/AR71XX_BASE ==

svn commit: r228988 - head/sys/mips/conf

2011-12-30 Thread Adrian Chadd
Author: adrian Date: Fri Dec 30 09:48:35 2011 New Revision: 228988 URL: http://svn.freebsd.org/changeset/base/228988 Log: Add a configuration file for the Atheros PB47 reference board. This is an AR71xx based board with 8MB flash, 64MB RAM, a Mini-PCI+ slot (see below) and a single 10/100/10

Re: svn commit: r228986 - in head: share/man/man4 sys/net

2011-12-30 Thread Adrian Chadd
This just broke wlan. Please consider fixing this patch :) Adrian *** Interface: wlan0: start can't re-use a leaf (wlan0)! panic: bpfattach tscfgoid KDB: enter: panic [ thread pid 166 tid 100048 ]Stopped at kdb_enter+0x4c: lui at,0x8048 db> db> bt Tracing pid 166 tid 100048 td 0x80c3790

Re: svn commit: r228986 - in head: share/man/man4 sys/net

2011-12-30 Thread Adrian Chadd
Please file a PR for me? :) Adrian On 30 December 2011 23:02, Lawrence Stewart wrote: > On 12/31/11 11:13, Adrian Chadd wrote: >> >> This just broke wlan. Please consider fixing this patch :) >> >> >> Adrian >> >> *** Interface: wlan0: start >&g

svn commit: r229126 - head/sys/mips/conf

2011-12-31 Thread Adrian Chadd
Author: adrian Date: Sat Dec 31 15:56:00 2011 New Revision: 229126 URL: http://svn.freebsd.org/changeset/base/229126 Log: Oops - this was referencing a local file, which I've done away with. Modified: head/sys/mips/conf/ROUTERSTATION Modified: head/sys/mips/conf/ROUTERSTATION ===

svn commit: r229159 - in vendor/xz-embedded: . dist dist/linux dist/linux/Documentation dist/linux/include dist/linux/include/linux dist/linux/include/linux/decompress dist/linux/lib dist/linux/lib...

2011-12-31 Thread Adrian Chadd
Author: adrian Date: Sat Dec 31 22:35:46 2011 New Revision: 229159 URL: http://svn.freebsd.org/changeset/base/229159 Log: Import xz-embedded from git. This is from commit hash '48f4588342f4a4e0182a6740e25675fd8e6c6295'. Added: vendor/xz-embedded/ vendor/xz-embedded/dist/ vendor/xz-em

svn commit: r229160 - vendor/xz-embedded/48f4588342f4a4e0182a6740e25675fd8e6c6295

2011-12-31 Thread Adrian Chadd
Author: adrian Date: Sat Dec 31 22:37:12 2011 New Revision: 229160 URL: http://svn.freebsd.org/changeset/base/229160 Log: Tag git revision 48f4588342f4a4e0182a6740e25675fd8e6c6295. Added: vendor/xz-embedded/48f4588342f4a4e0182a6740e25675fd8e6c6295/ - copied from r229159, vendor/xz-embedd

svn commit: r229162 - head/sys/mips/conf

2011-12-31 Thread Adrian Chadd
Author: adrian Date: Sat Dec 31 23:41:19 2011 New Revision: 229162 URL: http://svn.freebsd.org/changeset/base/229162 Log: This particular work around isn't required any longer, now that the 11n radio backends are also added into the RF linker set. This saves around 7k from the kernel bina

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

2011-12-31 Thread Adrian Chadd
Author: adrian Date: Sun Jan 1 01:08:51 2012 New Revision: 229165 URL: http://svn.freebsd.org/changeset/base/229165 Log: If frames are dumped out of the queue, let's at least see what they are. This shows that the majority of the weird traffic I see here are probe frames that haven't bee

svn commit: r229211 - head/sys/contrib/xz-embedded

2012-01-01 Thread Adrian Chadd
Author: adrian Date: Sun Jan 1 21:32:25 2012 New Revision: 229211 URL: http://svn.freebsd.org/changeset/base/229211 Log: Initial copy of xz-embedded to sys/contrib/. The upcoming geom_compress module (a read-only gzip/ulzma translation layer, similar to what geom_uzip does) will leverage

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

2012-01-02 Thread Adrian Chadd
On 2 January 2012 08:02, Bernhard Schmidt wrote: > Author: bschmidt > Date: Mon Jan  2 16:02:30 2012 > New Revision: 229284 > URL: http://svn.freebsd.org/changeset/base/229284 > > Log: >  MCS32 equals 32, not 8*ic_txstream. Good catch! Can you MFC it to 9/8 ? Adrian

svn commit: r229464 - head/sys/dev/flash

2012-01-03 Thread Adrian Chadd
Author: adrian Date: Wed Jan 4 04:17:03 2012 New Revision: 229464 URL: http://svn.freebsd.org/changeset/base/229464 Log: Add a couple more SPI flash device IDs found in commercial consumer wireless kit. Submitted by: Stefan Bethke Modified: head/sys/dev/flash/mx25l.c Modified: head/

svn commit: r215226 - in head: rescue/rescue share/mk

2010-11-12 Thread Adrian Chadd
Author: adrian Date: Sat Nov 13 03:11:27 2010 New Revision: 215226 URL: http://svn.freebsd.org/changeset/base/215226 Log: Break out the rules which generate crunchgen'ed binaries into a separate .mk file so they can be reused. Introduce a new option, CRUNCH_BUILDTOOLS, which lists the bin

svn commit: r215411 - head/share/mk

2010-11-16 Thread Adrian Chadd
Author: adrian Date: Tue Nov 16 22:21:14 2010 New Revision: 215411 URL: http://svn.freebsd.org/changeset/base/215411 Log: Add in forgotten install rule. Modified: head/share/mk/Makefile Modified: head/share/mk/Makefile =

svn commit: r215412 - head/share/mk

2010-11-16 Thread Adrian Chadd
Author: adrian Date: Tue Nov 16 22:22:16 2010 New Revision: 215412 URL: http://svn.freebsd.org/changeset/base/215412 Log: .. and then notice that the list of mk files is ordered, and update to suit. Modified: head/share/mk/Makefile Modified: head/share/mk/Makefile ===

svn commit: r215413 - head/share/mk

2010-11-16 Thread Adrian Chadd
Author: adrian Date: Tue Nov 16 22:23:20 2010 New Revision: 215413 URL: http://svn.freebsd.org/changeset/base/215413 Log: Re-enable generating links. Modified: head/share/mk/bsd.crunchgen.mk Modified: head/share/mk/bsd.crunchgen.mk

Re: svn commit: r215226 - in head: rescue/rescue share/mk

2010-11-16 Thread Adrian Chadd
This has apparently broken symlink generation. I thought I had tested that locally. Grr. In any case, I'll investigate this over the weekend. I have an exam tomorrow. Thanks, Adrian On 13 November 2010 11:11, Adrian Chadd wrote: > > Author: adrian > Date: Sat Nov 13 03:11

svn commit: r196723 - head/sys/i386/xen

2009-08-31 Thread Adrian Chadd
Author: adrian Date: Mon Aug 31 23:30:39 2009 New Revision: 196723 URL: http://svn.freebsd.org/changeset/base/196723 Log: Shuffle pagezero() into the same location as in sys/i386/i386/pmap.c. Modified: head/sys/i386/xen/locore.s head/sys/i386/xen/pmap.c Modified: head/sys/i386/xen/locore.s

svn commit: r196724 - head/sys/i386/xen

2009-08-31 Thread Adrian Chadd
Author: adrian Date: Mon Aug 31 23:35:59 2009 New Revision: 196724 URL: http://svn.freebsd.org/changeset/base/196724 Log: Revert previous commit; that was left-over junk in the tree. Modified: head/sys/i386/xen/locore.s Modified: head/sys/i386/xen/locore.s ===

svn commit: r196725 - head/sys/i386/xen

2009-08-31 Thread Adrian Chadd
Author: adrian Date: Tue Sep 1 03:44:25 2009 New Revision: 196725 URL: http://svn.freebsd.org/changeset/base/196725 Log: Fix broken build. Modified: head/sys/i386/xen/pmap.c Modified: head/sys/i386/xen/pmap.c == ---

svn commit: r196726 - head/sys/i386/xen

2009-08-31 Thread Adrian Chadd
Author: adrian Date: Tue Sep 1 05:15:45 2009 New Revision: 196726 URL: http://svn.freebsd.org/changeset/base/196726 Log: Merge in the pat_works work from sys/i386/i386/pmap.c - primarily to reduce diff size. Modified: head/sys/i386/xen/pmap.c Modified: head/sys/i386/xen/pmap.c ===

svn commit: r196728 - head/sys/i386/xen

2009-08-31 Thread Adrian Chadd
Author: adrian Date: Tue Sep 1 06:15:50 2009 New Revision: 196728 URL: http://svn.freebsd.org/changeset/base/196728 Log: Migrate to use cpuset_t. Modified: head/sys/i386/xen/pmap.c Modified: head/sys/i386/xen/pmap.c ===

svn commit: r196734 - head/sys/i386/xen

2009-09-01 Thread Adrian Chadd
Author: adrian Date: Tue Sep 1 12:17:47 2009 New Revision: 196734 URL: http://svn.freebsd.org/changeset/base/196734 Log: Delete whitespace not in i386/pmap.c Modified: head/sys/i386/xen/pmap.c Modified: head/sys/i386/xen/pmap.c ===

svn commit: r224907 - head/sys/net80211

2011-08-16 Thread Adrian Chadd
Author: adrian Date: Tue Aug 16 09:07:59 2011 New Revision: 224907 URL: http://svn.freebsd.org/changeset/base/224907 Log: Fix BAR frame TX completion - successful transmission is indicated by a status of 0. Approved by: re (kib) Modified: head/sys/net80211/ieee80211_ht.c Modified: he

svn commit: r225013 - head/sys/net80211

2011-08-19 Thread Adrian Chadd
Author: adrian Date: Fri Aug 19 15:21:13 2011 New Revision: 225013 URL: http://svn.freebsd.org/changeset/base/225013 Log: Correctly handle BAR TX failures. On a TX failure, ic_raw_xmit will still call ieee80211_node_free(). There's no need to call it here. Submitted by: moonlightak..

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

2011-08-23 Thread Adrian Chadd
Author: adrian Date: Tue Aug 23 13:36:09 2011 New Revision: 225111 URL: http://svn.freebsd.org/changeset/base/225111 Log: These timer registers are all 1uS in resolution in AR5416 or later. Previous hardware had some as TU, some as 1/8th TU. * Modify AR_NEXT_DBA and AR_NEXT_SWBA to use

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

2011-08-23 Thread Adrian Chadd
Author: adrian Date: Wed Aug 24 00:45:53 2011 New Revision: 225125 URL: http://svn.freebsd.org/changeset/base/225125 Log: TIM/Timer fixes for AR5416 and later: * Fix SLEEP1/SLEEP2 register definitions; the CAB/Beacon timeout fields have changed in AR5416 and later * The TIM_PERIOD and

svn commit: r225139 - head/sys/net80211

2011-08-24 Thread Adrian Chadd
Author: adrian Date: Wed Aug 24 08:53:33 2011 New Revision: 225139 URL: http://svn.freebsd.org/changeset/base/225139 Log: This patch fixes beacon frame sequence number generation. The code didn't set a sequence number; it didn't show up earlier because the hardware most people use for hostap

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

2011-08-24 Thread Adrian Chadd
Author: adrian Date: Wed Aug 24 14:11:00 2011 New Revision: 225145 URL: http://svn.freebsd.org/changeset/base/225145 Log: Fix a missing initialisation of bt_flags when setting up the TDMA beacon. The AR5212 HAL didn't check this field; timers are enabled a different way. The AR5416 H

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

2011-09-06 Thread Adrian Chadd
Author: adrian Date: Tue Sep 6 10:49:05 2011 New Revision: 225420 URL: http://svn.freebsd.org/changeset/base/225420 Log: Fix the addac serial load register write for AR5416. Obtained from:Linux, Atheros Approved by: re (kib) Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416.in

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

2011-09-06 Thread Adrian Chadd
Author: adrian Date: Tue Sep 6 10:54:56 2011 New Revision: 225421 URL: http://svn.freebsd.org/changeset/base/225421 Log: Fix 5ghz calibration logic when using AR9280 w/ fast clock. When the fast clock (44mhz) is enabled for 5ghz HT20, the dual ADCs aren't enabled. Trying to do the ADC ca

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

2011-09-06 Thread Adrian Chadd
Author: adrian Date: Wed Sep 7 03:00:58 2011 New Revision: 225431 URL: http://svn.freebsd.org/changeset/base/225431 Log: Add a definition for ASYNC_CAUSE_CLR. It's not used yet, but the reference driver does clear the async interrupts after each service. I'll tinker with this in a future co

svn commit: r225444 - in head/sys/dev/ath: . ath_hal ath_hal/ar5210 ath_hal/ar5211 ath_hal/ar5212 ath_hal/ar5416

2011-09-07 Thread Adrian Chadd
Author: adrian Date: Thu Sep 8 01:23:05 2011 New Revision: 225444 URL: http://svn.freebsd.org/changeset/base/225444 Log: Update the TSF and next-TBTT methods to work for the AR5416 and later NICs. This is another commit in a series of TDMA support fixes for the 11n NICs. * Move ath_hal_g

svn commit: r225473 - head/sys/dev/ath/ath_rate/sample

2011-09-11 Thread Adrian Chadd
Author: adrian Date: Sun Sep 11 09:43:13 2011 New Revision: 225473 URL: http://svn.freebsd.org/changeset/base/225473 Log: Fix the order of parameters passed to the HT frame duration calculation. Approved by: re (kib) Modified: head/sys/dev/ath/ath_rate/sample/sample.h Modified: head/sy

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

2011-09-15 Thread Adrian Chadd
Author: adrian Date: Thu Sep 15 08:42:06 2011 New Revision: 225570 URL: http://svn.freebsd.org/changeset/base/225570 Log: Ensure that ta_pending doesn't overflow u_short by capping its value at USHRT_MAX. If it overflows before the taskqueue can run, the task will be re-added to the task

svn commit: r225600 - in stable/8: share/man/man7 share/man/man9 sys/kern

2011-09-15 Thread Adrian Chadd
Author: adrian Date: Fri Sep 16 02:28:55 2011 New Revision: 225600 URL: http://svn.freebsd.org/changeset/base/225600 Log: Merge r225570 from HEAD - Ensure that ta_pending doesn't overflow u_short by capping its value at USHRT_MAX. If it overflows before the taskqueue can run, the task will

svn commit: r225686 - head/sys/dev/iwn

2011-09-19 Thread Adrian Chadd
Author: adrian Date: Tue Sep 20 04:30:23 2011 New Revision: 225686 URL: http://svn.freebsd.org/changeset/base/225686 Log: Manually set the channel when using monitor mode - the firmware doesn't select it automatically. Submitted by: nox Reviewed by: bschmidt Approved by: re PR:

svn commit: r225767 - stable/6/sys/pci

2011-09-26 Thread Adrian Chadd
Author: adrian Date: Mon Sep 26 15:26:59 2011 New Revision: 225767 URL: http://svn.freebsd.org/changeset/base/225767 Log: Update if_de(4) to fix bugs - a combination of bitrot and busdma changes. This commit is a merge of 197465, 197464, 197463, 197461, 177937 and 170389. Submitted by:

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

2011-09-27 Thread Adrian Chadd
Author: adrian Date: Wed Sep 28 02:54:42 2011 New Revision: 225818 URL: http://svn.freebsd.org/changeset/base/225818 Log: Update the default AIFS value for hostap mode. Obtained from:Linux ath9k, Atheros reference Modified: head/sys/dev/ath/if_athvar.h Modified: head/sys/dev/ath

  1   2   3   4   5   6   7   8   9   10   >