Atheros DFS radar detection

Wright, Brett Brett.Wright at cooperindustries.com
Fri Aug 3 02:13:35 UTC 2012



> -----Original Message-----
> From: adrian.chadd at gmail.com [mailto:adrian.chadd at gmail.com] On Behalf
> Of Adrian Chadd
> Sent: Friday, 3 August 2012 11:16 AM
> To: Wright, Brett
> Cc: freebsd-wireless at freebsd.org
> Subject: Re: Atheros DFS radar detection
> 
> How've you been testing with diversity turned off?
> 
> It looks like the FreeBSD HAL doesn't have the bits to disable fast
> diversity. Let me go hunt down what the code is and try it out.

#define AR_PHY_CCK_DETECT_BB_ENABLE_ANT_FAST_DIV 0x2000
#define AR_PHY_CCK_DETECT 0xA208

I am turning diversity off by clearing
AR_PHY_CCK_DETECT_BB_ENABLE_ANT_FAST_DIV bit in register
AR_PHY_CCK_DETECT (not sure if the CCK labeling indicates this stuff is
invalid for an 802.11a only radio)? 

Also setting the rx antenna using:
#define AR_DEF_ANTENNA 0x8058
The above register and setting bits 0..2 to either 1 or 2 (for main or
aux)

> 
> Which legacy NICs are you using too? I can give it a whirl locally and
> see if I see the same issues as you.
> 

I am using AR5213A on a ubiquity SR5.

Thanks
Brett



More information about the freebsd-wireless mailing list