> Date: Sat, 24 Apr 2010 14:04:35 +0100
> From: Stuart Henderson <s...@spacehopper.org>
> 
> On 2010/04/24 13:19, Luis Henriques wrote:
> > > Luis, can you send the latest version of your diff please. There were
> > > at least two and I'm not sure which one people should be testing.
> > > Then I'll test it on AR5213A 5.9 phy 4.3 rf2112a 4.6, WOR0W which works
> > > ok with the existing driver.
> > 
> > For testing the patch on this AR5213A, I would recommend you to use the
> > first version I sent which you can find at:
> > 
> > http://marc.info/?l=openbsd-tech&m=126438116226809&w=2
> > 
> > The reason for using this one is because it's the only one that makes
> > any difference.  All the other versions of this patch still work on
> > my card but made no big difference on the others.
> 
> you had another version in <20100126231526.ga4...@hades.my.domain>
> which fixes the rf id on 14.2 chips, which i think we should have.
> 
> > > Other people: if you have ath(4) devices please mail the full dmesg.
> > > In the subject line include the line from 'dmesg|grep ath0:' and
> > > write the word 'works' or 'broken' at the start of the subject.
> > > 
> > > e.g.
> > > 
> > > Subject: works: ath0: AR5213A 5.9 phy 4.3 rf2112a 4.6, WOR0W
> > > Subject: broken: ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR0W
> > > 
> > > For now I want these for the existing in-tree driver. Doesn't have
> > > to be current - 4.6 or newer would be ok.
> > 
> > I hope to be able to submit a new patch during the weekend but,
> > again, I can only guarantee it will work on my card.  Adam has
> > volunteered to test any new patches (and several others are also
> > available for testing) but this is a very slow process.  This is
> > what I call the _real_ remote debugging :-)
> 
> fwiw, looking over dmesglog, it seems like the 10.x phys are mainly
> just in apple machines, all the other 5424 I've seen are 14.x
> 
> been hunting for it, but I'm not sure where my 5424 is at the moment...

For what it is worth, my Apple Macmini1,1 has:

ath0 at pci2 dev 0 function 0 "Atheros AR5424" rev 0x01: apic 1 int 17 (irq 11)
ath0: AR5424 10.3 phy 6.1 rf 10.2, WORAW, address 00:14:51:ef:73:fb

which, in hostap mode works fairly well if I talk to it using an
athn(4), but is a bit unreliable with wpi(4).

I do have the attached diff in my tree.  I'm not sure if I actually
need it or if it's just something I did to experiment with getting
802.11g modes work.

Index: ar5212.c
===================================================================
RCS file: /cvs/src/sys/dev/ic/ar5212.c,v
retrieving revision 1.51
diff -u -p -r1.51 ar5212.c
--- ar5212.c    2 Jun 2009 12:39:02 -0000       1.51
+++ ar5212.c    24 Apr 2010 13:40:15 -0000
@@ -2860,7 +2860,7 @@ ar5k_ar5212_get_capabilities(struct ath_
 
                if (b)
                        hal->ah_capabilities.cap_mode |= HAL_MODE_11B;
-#if 0
+#if 1
                if (g)
                        hal->ah_capabilities.cap_mode |= HAL_MODE_11G;
 #endif

Reply via email to