Author: adrian
Date: Wed Mar 23 23:48:44 2011
New Revision: 219942
URL: http://svn.freebsd.org/changeset/base/219942
Log:
Make the ar2133ForceBias() call controllable at runtime.
At least one AR5416 user has reported measurable throughput drops
with this option. For now, disable it and ma
Author: adrian
Date: Thu Mar 24 04:57:35 2011
New Revision: 219948
URL: http://svn.freebsd.org/changeset/base/219948
Log:
Fix a completely wrong variable reference.
Modified:
head/sys/dev/ath/ah_osdep.c
Modified: head/sys/dev/ath/ah_osdep.c
===
Author: adrian
Date: Thu Mar 24 15:27:15 2011
New Revision: 219961
URL: http://svn.freebsd.org/changeset/base/219961
Log:
Fix a WME corner case found by the FreeBSD 802.11n testing crew.
The symptom: sometimes 11n (and non-11n) throughput is great.
Sometimes it isn't. Much teeth gnashing
Author: adrian
Date: Thu Mar 24 16:06:54 2011
New Revision: 219962
URL: http://svn.freebsd.org/changeset/base/219962
Log:
Flip back HT/40 and Short-GI (for 40mhz operation). These are now verified to
work.
Modified:
head/sys/dev/ath/if_ath_tx_ht.c
Modified: head/sys/dev/ath/if_ath_tx_ht.c
=
Author: adrian
Date: Fri Mar 25 00:03:21 2011
New Revision: 219975
URL: http://svn.freebsd.org/changeset/base/219975
Log:
Bring over interrupt mitigation changes from ath9k.
* The existing interrupt mitigation code didn't mitigate anything - the
per-packet TX/RX interrupts are still occ
Author: adrian
Date: Fri Mar 25 00:05:26 2011
New Revision: 219976
URL: http://svn.freebsd.org/changeset/base/219976
Log:
Add some more AR_PCU_MISC_MODE2 register settings - these are SOWL or later.
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar5416.h
Modified: head/sys/dev/ath/ath_hal/ar5416/
Author: adrian
Date: Fri Mar 25 00:06:19 2011
New Revision: 219977
URL: http://svn.freebsd.org/changeset/base/219977
Log:
oops, commited the wrong file change.
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar5416.h
Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416.h
==
Author: adrian
Date: Fri Mar 25 00:06:58 2011
New Revision: 219978
URL: http://svn.freebsd.org/changeset/base/219978
Log:
The right commit - add a couple more AR_PCU_MISC_MODE2 register bits -
SOWL specific.
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h
Modified: head/sys/dev/ath/a
Author: adrian
Date: Fri Mar 25 00:40:08 2011
New Revision: 219979
URL: http://svn.freebsd.org/changeset/base/219979
Log:
Flip ANI on for the AR5416 and later chips. I haven't verified it on
the AR9285 so I'll leave it off for that.
Ath9k sources indiciate that one of the ANI modes interf
Author: adrian
Date: Fri Mar 25 00:45:24 2011
New Revision: 219980
URL: http://svn.freebsd.org/changeset/base/219980
Log:
After discussion with Felix Fietkau (nbd) about the ath9k Merlin LNA bit
settings, it seems that our defines are backwards and don't match what
is in the EEPROM documenta
Author: adrian
Date: Fri Mar 25 04:15:30 2011
New Revision: 219981
URL: http://svn.freebsd.org/changeset/base/219981
Log:
Re-disable the setting of 2040/shortgi bits for now.
This seems to work fine for STA but not HT/20 AP mode.
Further discussion with net80211 people will need to tak
Author: adrian
Date: Fri Mar 25 10:53:13 2011
New Revision: 219984
URL: http://svn.freebsd.org/changeset/base/219984
Log:
I broke periodic adc calibrations - so restore them to working order.
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c
Modified: head/sys/dev/ath/ath_hal/ar5416/ar5
Author: adrian
Date: Fri Mar 25 10:55:25 2011
New Revision: 219985
URL: http://svn.freebsd.org/changeset/base/219985
Log:
After discussing with Bernhard, the "right" way in net80211 to check
the channel width is ni->ni_chw, which is set to the negotiated channel
width. ni->ni_htflags is the
Author: adrian
Date: Sat Mar 26 02:52:04 2011
New Revision: 220019
URL: http://svn.freebsd.org/changeset/base/220019
Log:
Update ath_hal.4 to include the latest chipset support.
ath_hal needs a lot more work to encompass the list of supported
cards, as the AR5416/AR9160/AR9280/AR9285 list
Author: adrian
Date: Sat Mar 26 07:15:35 2011
New Revision: 220022
URL: http://svn.freebsd.org/changeset/base/220022
Log:
Shuffle around the HAL_RX_FILTER bits to be slightly more sensible.
The phyerr, radar and bssid-match bits aren't real bits, they map
to enabling bits in other registe
Author: adrian
Date: Sat Mar 26 07:29:48 2011
New Revision: 220025
URL: http://svn.freebsd.org/changeset/base/220025
Log:
Put these two back to mirror what ath9k does.
Even though they map to setting the error filter register,
ath9k also writes them untouched to AR_RX_FILTER.
The For
Author: adrian
Date: Sat Mar 26 10:47:17 2011
New Revision: 220027
URL: http://svn.freebsd.org/changeset/base/220027
Log:
Introduce hardware PS-POLL support in the HAL.
Linux ath9k only enables this for AR9280 and later NICs; so
create a capability for it so it isn't enabled for earlier
Author: adrian
Date: Sat Mar 26 10:52:37 2011
New Revision: 220029
URL: http://svn.freebsd.org/changeset/base/220029
Log:
Add in the hardware PS-POLL frame reception setting, but leave it disabled
by default.
Adventourous souls with an AR9220/AR9280 or later and who have a device
that s
Author: adrian
Date: Sat Mar 26 11:58:29 2011
New Revision: 220033
URL: http://svn.freebsd.org/changeset/base/220033
Log:
If 802.11n is enabled, bump the number of buffers used up to a larger
level.
This is important for AMPDU RX as each burst is multiple packets in a row.
Modified:
he
Author: adrian
Date: Sat Mar 26 11:59:18 2011
New Revision: 220034
URL: http://svn.freebsd.org/changeset/base/220034
Log:
This was missing from the previous HAL commit - it fixes a typo and
introduces the PS-POLL hardware support.
Modified:
head/sys/dev/ath/ath_hal/ah_internal.h
Modified:
Author: adrian
Date: Sat Mar 26 13:06:43 2011
New Revision: 220035
URL: http://svn.freebsd.org/changeset/base/220035
Log:
.. And another missed commit - add the PSPOLL capability.
Modified:
head/sys/dev/ath/ath_hal/ah.h
Modified: head/sys/dev/ath/ath_hal/ah.h
Author: adrian
Date: Sun Mar 27 08:32:47 2011
New Revision: 220051
URL: http://svn.freebsd.org/changeset/base/220051
Log:
Add some missing flags needed for AR913x/AR724x USB to correctly operate.
The AR913x/AR724x USB lives at a different offset to the AR71xx
USB, so this needs to be eith
Author: adrian
Date: Sun Mar 27 08:44:27 2011
New Revision: 220052
URL: http://svn.freebsd.org/changeset/base/220052
Log:
Add an option - AR71XX_REALMEM - which overrides the amount of
memory detected from Redboot, or overrides the "otherwise" case
if no Redboot information was found.
S
Author: adrian
Date: Sun Mar 27 08:47:55 2011
New Revision: 220053
URL: http://svn.freebsd.org/changeset/base/220053
Log:
Rename AH_ENABLE_11N to ATH_ENABLE_11 - the HAL supports 11n by
default but the ath driver doesn't. This is a much more consistent
name.
Modified:
head/sys/conf/option
Author: adrian
Date: Sun Mar 27 10:35:39 2011
New Revision: 220054
URL: http://svn.freebsd.org/changeset/base/220054
Log:
Fix typo.
Modified:
head/sys/dev/ath/if_ath.c
Modified: head/sys/dev/ath/if_ath.c
==
--- head/
Author: adrian
Date: Sun Mar 27 13:55:35 2011
New Revision: 220056
URL: http://svn.freebsd.org/changeset/base/220056
Log:
Refactor out the ar71xx mac address code into something that's
just for Redboot.
At some point we're going to need to build options for different
boot environments -
Author: adrian
Date: Mon Mar 28 09:10:59 2011
New Revision: 220096
URL: http://svn.freebsd.org/changeset/base/220096
Log:
The previous commit didn't completely rename this to what it should be.
Modified:
head/sys/mips/atheros/ar71xx_machdep.c
Modified: head/sys/mips/atheros/ar71xx_machdep.c
Author: adrian
Date: Mon Mar 28 11:48:49 2011
New Revision: 220098
URL: http://svn.freebsd.org/changeset/base/220098
Log:
Add in HT protection but disable it by default.
I'll clear how it's supposed to work with Bernhard and then look
at enabling this in the correct situations.
But t
Author: adrian
Date: Tue Mar 29 15:59:07 2011
New Revision: 220132
URL: http://svn.freebsd.org/changeset/base/220132
Log:
According to ath9k recv.c, one shouldn't be doing self-linked descriptors
in the RX path when doing 11n and block-ack'ed frames. Apparently, the MAC
will loop over that s
Author: adrian
Date: Thu Mar 31 02:36:22 2011
New Revision: 220180
URL: http://svn.freebsd.org/changeset/base/220180
Log:
Implement AR724x USB initialisation code.
This (again) still requires an offset for the AR913x/AR724x before USB will
function.
Submitted by: Luiz Otavio O Souzau
/if_ath_ahb.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/dev/ath/if_ath_ahb.c Thu Mar 31 08:07:13 2011
(r220185)
@@ -0,0 +1,287 @@
+/*-
+ * Copyright (c) 2002-2008
Author: adrian
Date: Thu Mar 31 08:32:53 2011
New Revision: 220187
URL: http://svn.freebsd.org/changeset/base/220187
Log:
Document the ath glue changes.
Modified:
head/UPDATING
Modified: head/UPDATING
==
--- head/UPD
Author: adrian
Date: Thu Mar 31 08:48:05 2011
New Revision: 220188
URL: http://svn.freebsd.org/changeset/base/220188
Log:
Introduce AH_AR5416_INTERRUPT_MITIGATION which enables interrupt mitigation
for
the AR5416 and later. Rename the older HAL option to use this.
Modified:
head/sys/conf/o
Author: adrian
Date: Thu Mar 31 12:03:30 2011
New Revision: 220190
URL: http://svn.freebsd.org/changeset/base/220190
Log:
ath_ahb shouldn't be compiled normally; it is atheros chip specific.
Remove it from here; users can compile it manually if needed.
Modified:
head/sys/modules/Makefile
M
Author: adrian
Date: Sat Apr 2 00:24:13 2011
New Revision: 220258
URL: http://svn.freebsd.org/changeset/base/220258
Log:
Add some more debugging
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar2133.c
Modified: head/sys/dev/ath/ath_hal/ar5416/ar2133.c
Author: adrian
Date: Sat Apr 2 00:27:22 2011
New Revision: 220259
URL: http://svn.freebsd.org/changeset/base/220259
Log:
From ath9k - clear the RX descriptor status before recycling it.
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c
Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_
Author: adrian
Date: Sat Apr 2 03:48:15 2011
New Revision: 220260
URL: http://svn.freebsd.org/changeset/base/220260
Log:
A handful of the openwrt devices use a MAC address that's at a hard-coded
offset in the flash.
Some devices (eg the TPLink WR-1043ND) don't have a flash environment
Author: adrian
Date: Sat Apr 2 09:46:09 2011
New Revision: 220275
URL: http://svn.freebsd.org/changeset/base/220275
Log:
Add missing include.
Reported by: Ulrich Sporlein
Modified:
head/sys/modules/ath_pci/Makefile
Modified: head/sys/modules/ath_pci/Makefile
==
Author: adrian
Date: Sun Apr 3 11:55:48 2011
New Revision: 220292
URL: http://svn.freebsd.org/changeset/base/220292
Log:
Import nvram2env, a device driver which imports various NVRAM-style
environments into the kernel environment.
The eventual aim is to replace these with specific driver
Author: adrian
Date: Sun Apr 3 11:59:52 2011
New Revision: 220293
URL: http://svn.freebsd.org/changeset/base/220293
Log:
Add an explanation of the inivals
Modified:
head/sys/dev/ath/ath_hal/ar9001/ar9160.ini
Modified: head/sys/dev/ath/ath_hal/ar9001/ar9160.ini
==
Author: adrian
Date: Sun Apr 3 12:02:49 2011
New Revision: 220294
URL: http://svn.freebsd.org/changeset/base/220294
Log:
Import a fix from the ath9k - reduce the TX FIFO size for Kite (AR9285.)
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
Modified: head/sys/dev/ath/ath_hal/ar541
Author: adrian
Date: Sun Apr 3 13:19:58 2011
New Revision: 220295
URL: http://svn.freebsd.org/changeset/base/220295
Log:
Commit configuration files for the AR913x SoC and the TP-Link WR-1043ND.
The AR91XX_BASE{,.hints} files define all the common parameters for
the AR913x SoC systems.
Author: adrian
Date: Sun Apr 3 14:34:28 2011
New Revision: 220296
URL: http://svn.freebsd.org/changeset/base/220296
Log:
Add in some missing flags in the EHCI initialisation code,
needed to get USB working on the AR913x/AR724x.
Modified:
head/sys/mips/atheros/ar71xx_ehci.c
Modified: head/
Author: adrian
Date: Sun Apr 3 14:39:55 2011
New Revision: 220297
URL: http://svn.freebsd.org/changeset/base/220297
Log:
Import the initial CPU support for the MIPS RALink RT305x SoC.
This is a MIPS4KC CPU with various embedded peripherals, including
wireless and ethernet support.
This
Author: adrian
Date: Sun Apr 3 17:36:32 2011
New Revision: 220298
URL: http://svn.freebsd.org/changeset/base/220298
Log:
Add in the clock timing calculation when Merlin is using the 5ghz fast clock.
This is a 44mhz clock, not a 40mhz clock like normal for 5ghz operation.
Modified:
head/sys
Author: adrian
Date: Sun Apr 3 20:15:41 2011
New Revision: 220302
URL: http://svn.freebsd.org/changeset/base/220302
Log:
I missed committing this last time - it's needed for the 5ghz fast clock
calculation.
Modified:
head/sys/dev/ath/ath_hal/ah_internal.h
head/sys/dev/ath/ath_hal/ar5416/a
Author: adrian
Date: Mon Apr 4 11:01:53 2011
New Revision: 220323
URL: http://svn.freebsd.org/changeset/base/220323
Log:
At least set the coverage class value here; worry about populating the
register values at a later date.
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c
Modified
Author: adrian
Date: Mon Apr 4 14:52:31 2011
New Revision: 220324
URL: http://svn.freebsd.org/changeset/base/220324
Log:
Add a HAL capability bit for supporting self-linked RX descriptors and
disable it for the 11n chipsets.
From the ath9k source:
==
11N: we can no longer afford
Author: adrian
Date: Mon Apr 4 14:53:36 2011
New Revision: 220325
URL: http://svn.freebsd.org/changeset/base/220325
Log:
Commit missing bits from the last commit:
* add the hal capability flag
* make sure its disabled for the ar9280/ar9285.
Modified:
head/sys/dev/ath/ath_hal/ah_intern
Author: adrian
Date: Mon Apr 4 22:30:12 2011
New Revision: 220346
URL: http://svn.freebsd.org/changeset/base/220346
Log:
Add a manpage for the nvram2env driver.
Added:
head/share/man/man4/nvram2env.4 (contents, props changed)
Modified:
head/share/man/man4/Makefile
Modified: head/share/m
Author: adrian
Date: Tue Apr 5 05:15:48 2011
New Revision: 220354
URL: http://svn.freebsd.org/changeset/base/220354
Log:
Begin fleshing out a functioning debugging setup for if_arge.
I'm seeing TX hangs when doing large amounts of TX traffic;
an interface reset fixes it. This will hopefu
Author: adrian
Date: Tue Apr 5 05:29:10 2011
New Revision: 220355
URL: http://svn.freebsd.org/changeset/base/220355
Log:
Put the ARGE_DEBUG behind a kernel config option.
Modified:
head/sys/conf/options.mips
head/sys/mips/atheros/if_arge.c
Modified: head/sys/conf/options.mips
Author: adrian
Date: Tue Apr 5 06:33:35 2011
New Revision: 220356
URL: http://svn.freebsd.org/changeset/base/220356
Log:
* Add some more debugging to if_arge
* Make doubly sure that IFF_DRV_OACTIVE is set if the hardware TX queue is
full
Modified:
head/sys/mips/atheros/if_arge.c
head/sy
Author: adrian
Date: Tue Apr 5 06:46:07 2011
New Revision: 220357
URL: http://svn.freebsd.org/changeset/base/220357
Log:
if_arge has had a strange bug that only appears during high traffic
levels. TX would hang, RX wouldn't. A bit of digging showed the interface
send queue was full, but IFF
Author: adrian
Date: Tue Apr 5 13:14:17 2011
New Revision: 220360
URL: http://svn.freebsd.org/changeset/base/220360
Log:
The xpaBiasLvlFreq[] fields in the modal header also need swapping
when the EEPROM contents are byte-swapped.
Modified:
head/sys/dev/ath/ath_hal/ah_eeprom_v14.c
Modifie
code.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/tools/ath/arcode/arcode.cTue Apr 5 15:11:09 2011
(r220364)
@@ -0,0 +1,116 @@
+/*
+ * Copyright (c) 2011 Adrian Chadd, Xenion Pty Ltd.
+ *
+ * Permission
Author: adrian
Date: Tue Apr 5 16:12:38 2011
New Revision: 220366
URL: http://svn.freebsd.org/changeset/base/220366
Log:
* re-enable marker stuff, I accidentally disabled it during debugging
* correct arg check
Modified:
head/tools/tools/ath/arcode/arcode.c
Modified: head/tools/tools/ath/
Author: adrian
Date: Tue Apr 5 16:14:54 2011
New Revision: 220367
URL: http://svn.freebsd.org/changeset/base/220367
Log:
Make the alq log path tunable
Modified:
head/sys/dev/ath/ah_osdep.c
Modified: head/sys/dev/ath/ah_osdep.c
Author: adrian
Date: Thu Apr 7 13:14:51 2011
New Revision: 220423
URL: http://svn.freebsd.org/changeset/base/220423
Log:
Add some more OS_MARK probes to the RX DMA setup/teardown code path.
I'm trying to debug the RX DMA path and help the ath9k guys with
"RX dma abort stuck" issue that b
Author: adrian
Date: Fri Apr 8 06:29:41 2011
New Revision: 220438
URL: http://svn.freebsd.org/changeset/base/220438
Log:
Extend the RX descriptor block to include two more EVM words.
This will be needed for later AR93xx/AR94xx 3-stream devices.
Modified:
head/sys/dev/ath/ath_hal/ah_desc
Author: adrian
Date: Fri Apr 8 06:58:01 2011
New Revision: 220442
URL: http://svn.freebsd.org/changeset/base/220442
Log:
Export the per-chain ctl/ext noise floor values, raw and uncut, to the
upper-level HAL.
Right now the per-chain noise floor values aren't used anywhere in
the upper-
Author: adrian
Date: Fri Apr 8 07:44:00 2011
New Revision: 220443
URL: http://svn.freebsd.org/changeset/base/220443
Log:
Begin fleshing out a public HAL routine to export the per-chain
ctl/ext noise floor values.
This routine doesn't check to see whether the radio is MIMO
capable - ins
Author: adrian
Date: Fri Apr 8 08:49:50 2011
New Revision: 220444
URL: http://svn.freebsd.org/changeset/base/220444
Log:
Fix the completely wrong types I used in the previous commit.
Modified:
head/sys/dev/ath/ath_hal/ah.c
head/sys/dev/ath/ath_hal/ah.h
head/sys/dev/ath/ath_hal/ah_interna
Author: adrian
Date: Fri Apr 8 09:20:45 2011
New Revision: 220445
URL: http://svn.freebsd.org/changeset/base/220445
Log:
Add initial support for MIMO statistics to net80211.
This introduces struct ieee80211_rx_stats - which stores the various kinds
of RX statistics which a MIMO and non-M
Author: adrian
Date: Fri Apr 8 09:56:31 2011
New Revision: 220446
URL: http://svn.freebsd.org/changeset/base/220446
Log:
Re-add the pad[2] I deleted by accident.
Modified:
head/sys/net80211/_ieee80211.h
Modified: head/sys/net80211/_ieee80211.h
===
Author: adrian
Date: Mon Apr 11 06:53:45 2011
New Revision: 220534
URL: http://svn.freebsd.org/changeset/base/220534
Log:
Generate opt_ah.h now for all ath tools, a recent HAL change of mine
now requires it.
Modified:
head/tools/tools/ath/athdecode/Makefile
head/tools/tools/ath/athkey/Mak
Author: adrian
Date: Mon Apr 11 11:15:34 2011
New Revision: 220539
URL: http://svn.freebsd.org/changeset/base/220539
Log:
De-dup the ar5416 rates array definition.
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar5416.h
head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
head/sys/dev/ath/ath_hal/ar
Author: adrian
Date: Tue Apr 12 08:10:25 2011
New Revision: 220559
URL: http://svn.freebsd.org/changeset/base/220559
Log:
Introduce geom_map, a GEOM provider designed for use by
embedded flash stores.
Some devices - notably those with uboot - don't have an
explicit partition table (eg l
(empty, because file is newly added)
+++ head/sys/dev/ath/ath_hal/ar9002/ar9285_phy.cWed Apr 13 02:40:45
2011(r220587)
@@ -0,0 +1,98 @@
+/*
+ * Copyright (c) 2008-2010 Atheros Communications Inc.
+ * Copyright (c) 2010-2011 Adrian Chadd, Xenion Pty Ltd.
+ *
+ * Redistribution a
On 13 April 2011 02:18, Andrew Thompson wrote:
> +struct map_desc {
> > + uint8_t name [16];/* null-terminated name */
> > + uint32_toffset; /* offset in flash */
> > + uint32_taddr; /* address in memory */
> > + uint32_tsize; /* i
Author: adrian
Date: Wed Apr 13 03:05:15 2011
New Revision: 220588
URL: http://svn.freebsd.org/changeset/base/220588
Log:
Add OS_REG_RMW, which mirrors ath9k's REG_RMW.
This macro does a read-modify-write pass with register bits to set and clear.
Modified:
head/sys/dev/ath/ath_hal/ah_int
Author: adrian
Date: Wed Apr 13 03:05:42 2011
New Revision: 220589
URL: http://svn.freebsd.org/changeset/base/220589
Log:
Add new fields to the v4k EEPROM modal header.
Modified:
head/sys/dev/ath/ath_hal/ah_eeprom_v4k.h
Modified: head/sys/dev/ath/ath_hal/ah_eeprom_v4k.h
=
Author: adrian
Date: Wed Apr 13 04:40:59 2011
New Revision: 220590
URL: http://svn.freebsd.org/changeset/base/220590
Log:
Port over a TX gain fix from ath9k specific to the AR9285 (Kite) and AR9271.
Note: this HAL currently only supports the AR9285.
From Linux ath9k:
The problem is t
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/dev/ath/ath_hal/ar9002/ar9285_diversity.c Wed Apr 13 11:32:15
2011(r220593)
@@ -0,0 +1,594 @@
+/*
+ * Copyright (c) 2008-2010 Atheros Communications Inc.
+ * Copyright (c) 2011 Adrian Chadd, Xenion Pty Ltd.
+
Author: adrian
Date: Wed Apr 13 14:51:07 2011
New Revision: 220598
URL: http://svn.freebsd.org/changeset/base/220598
Log:
Change this to be less noisy.
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
==
Author: adrian
Date: Wed Apr 13 15:08:51 2011
New Revision: 220599
URL: http://svn.freebsd.org/changeset/base/220599
Log:
More kite diversity related changes.
* add a diversity flag to the HAL debugging section
* add a check to make sure the kite diversity code doesn't run
on boards t
Author: adrian
Date: Wed Apr 13 15:12:48 2011
New Revision: 220600
URL: http://svn.freebsd.org/changeset/base/220600
Log:
Add in the last bit of the HAL support for Kite diversity.
* add a new method, specifically for doing per-RX packet
antenna diversity
* set that HAL method only if
Author: adrian
Date: Wed Apr 13 15:17:23 2011
New Revision: 220601
URL: http://svn.freebsd.org/changeset/base/220601
Log:
Add in the AR9285 (Kite) diversity to if_ath, enabling TX/RX antenna
diversity.
This is bit dirty and likely should be revised at a later date,
with an eye to unifyi
Author: adrian
Date: Sat Apr 16 11:59:37 2011
New Revision: 220713
URL: http://svn.freebsd.org/changeset/base/220713
Log:
Remove some duplicate code from the AR9285 TX power configuration path.
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar5416.h
head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
Author: adrian
Date: Sat Apr 16 12:46:46 2011
New Revision: 220718
URL: http://svn.freebsd.org/changeset/base/220718
Log:
Disable classic-style fast diversity on the AR5416 and later.
Antenna diversity on the >= AR5416 is implemented differently than the
AR5212 and previous chips. So for
Author: adrian
Date: Sat Apr 16 13:47:17 2011
New Revision: 220722
URL: http://svn.freebsd.org/changeset/base/220722
Log:
Don't do Kite antenna switch selection this way (for now); antenna
diversity is done elsewhere now.
Modified:
head/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c
Modified:
Author: adrian
Date: Sun Apr 17 13:46:13 2011
New Revision: 220738
URL: http://svn.freebsd.org/changeset/base/220738
Log:
Mark the PHY as inactive before the chip is reset.
It's also marked inactive by the initvals, and enabled after
the baseband/PLL has been configured, but before the RF
Author: adrian
Date: Mon Apr 18 12:15:43 2011
New Revision: 220772
URL: http://svn.freebsd.org/changeset/base/220772
Log:
Add global TX timeout handling.
The global TX timeout counter increments whenever a frame is ready
to be transmitted and the medium is busy.
Modified:
head/sys/dev/
Author: adrian
Date: Mon Apr 18 14:03:05 2011
New Revision: 220779
URL: http://svn.freebsd.org/changeset/base/220779
Log:
Rework the Global TX timeout handling to look more like ath9k.
It correctly now sets the AR_IMR BCNMISC register, along with
the GTT register in AR_IMR_S2.
Modified:
Author: adrian
Date: Mon Apr 18 14:03:37 2011
New Revision: 220780
URL: http://svn.freebsd.org/changeset/base/220780
Log:
Bump pad, I'm adding more statistics.
Modified:
head/sys/dev/ath/if_athioctl.h
Modified: head/sys/dev/ath/if_athioctl.h
==
Author: adrian
Date: Mon Apr 18 14:06:18 2011
New Revision: 220782
URL: http://svn.freebsd.org/changeset/base/220782
Log:
Add TX carrier sense timeout statistics.
Modified:
head/sys/dev/ath/if_ath.c
head/sys/dev/ath/if_ath_sysctl.c
head/sys/dev/ath/if_athioctl.h
Modified: head/sys/dev/at
Author: adrian
Date: Mon Apr 18 14:14:54 2011
New Revision: 220784
URL: http://svn.freebsd.org/changeset/base/220784
Log:
For now, only enable GTT. CST is firing very frequently during local tests;
I'll figure out what's going on before re-enabling this as it does add
to the interrupt load.
Author: adrian
Date: Thu Apr 21 03:47:40 2011
New Revision: 220907
URL: http://svn.freebsd.org/changeset/base/220907
Log:
Change the MIMO userland export ABI to include flags, number of radio chains,
extended EVM statistics and EXT channel data.
ifconfig still displays 3 chains worth of c
03:59:37 2011
(r220908)
@@ -0,0 +1,144 @@
+/*-
+ * Copyright (c) 2011 Adrian Chadd, Xenion Lty Ltd
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1
Author: adrian
Date: Thu Apr 21 08:20:56 2011
New Revision: 220915
URL: http://svn.freebsd.org/changeset/base/220915
Log:
Convert to new ieee80211_mimo_info format.
Modified:
head/sys/dev/mwl/if_mwl.c
Modified: head/sys/dev/mwl/if_mwl.c
===
Author: adrian
Date: Fri Apr 22 00:44:27 2011
New Revision: 220935
URL: http://svn.freebsd.org/changeset/base/220935
Log:
Revert r220907 and r220915.
Changing the size of struct ieee80211_mimo_info changes
the STA info data, breaking ifconfig in general.
Modified:
head/sbin/ifconfig/if
Author: adrian
Date: Fri Apr 22 10:57:46 2011
New Revision: 220946
URL: http://svn.freebsd.org/changeset/base/220946
Log:
Bring over a pdadc calibration fix from ath9k - unused power detector
gain values should be 58, not the previous values.
Obtained From:linux ath9k
Modified:
Author: adrian
Date: Fri Apr 22 10:59:20 2011
New Revision: 220947
URL: http://svn.freebsd.org/changeset/base/220947
Log:
The second regdomain word is a set of bitflags describing
regulatory domain behaviour. Document what the v14 EEPROM
flags are.
Modified:
head/sys/dev/ath/ath_hal/ah_ee
Author: adrian
Date: Fri Apr 22 17:57:13 2011
New Revision: 220955
URL: http://svn.freebsd.org/changeset/base/220955
Log:
Fix the merlin LNA configuration code - these are bit flags, not raw values
to be
written into the registers.
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
Author: adrian
Date: Sat Apr 23 06:37:09 2011
New Revision: 220966
URL: http://svn.freebsd.org/changeset/base/220966
Log:
Fix a corner-case of interrupt handling which resulted in potentially
spurious (and fatal) interrupt errors.
One user reported seeing this:
Apr 22 18:04:24 ceres
Author: adrian
Date: Sun Apr 24 14:50:29 2011
New Revision: 220988
URL: http://svn.freebsd.org/changeset/base/220988
Log:
Eliminate code duplication between AR5416/AR9160/AR9280 and AR9285.
Writing the TX power registers is the same between all of these chips
and later NICs (AR9287, AR927
Author: adrian
Date: Sun Apr 24 15:48:07 2011
New Revision: 220989
URL: http://svn.freebsd.org/changeset/base/220989
Log:
Use the refactored ar5416WriteTxPowerRateRegisters() call in the ar9285 code.
Modified:
head/sys/dev/ath/ath_hal/ar9002/ar9285_reset.c
Modified: head/sys/dev/ath/ath_hal/
Author: adrian
Date: Sun Apr 24 15:53:57 2011
New Revision: 220990
URL: http://svn.freebsd.org/changeset/base/220990
Log:
Break out the PLL setup into an overridable method.
The only method right now is ar5416InitPLL() which handles multiple
chipsets; this can now be overridden by newer c
Author: adrian
Date: Mon Apr 25 15:51:49 2011
New Revision: 221019
URL: http://svn.freebsd.org/changeset/base/221019
Log:
Wrap the MIMO stuff in #ifdef AH_SUPPORT_AR5416, as the channel
state doesn't have MIMO stuff in it by default.
Modified:
head/sys/dev/ath/ath_hal/ah.c
Modified: head/s
Author: adrian
Date: Thu Apr 28 11:13:26 2011
New Revision: 221160
URL: http://svn.freebsd.org/changeset/base/221160
Log:
Add the IP2 DDR flush handlers.
These aren't yet used in the interrupt handler path but should be.
Modified:
head/sys/mips/atheros/ar724x_chip.c
head/sys/mips/ather
301 - 400 of 4159 matches
Mail list logo