All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Radar Detection and DFS status
@ 2009-02-11 17:00 mementux
  2009-02-11 21:41   ` Luis R. Rodriguez
  0 siblings, 1 reply; 21+ messages in thread
From: mementux @ 2009-02-11 17:00 UTC (permalink / raw)
  To: ath9k-devel

Hi!

I would like to make an outdoor radio link at 5GHz between my house and one
of my neighbors. Because I live near an airport, I've looked for European in
force regulation regarding radar detection. I've discovered that ETSI has
released a new normative on Dicember 2008 (EN 301 893 v1.5). This normative
requires that WLAN devices with DFS capability must detect pulse width down
to 0.8us across the bands from 5250 to 5350MHz and from 5470 to 5725 MHz;
moreover they must detect staggered Pulse Repetition Frequency (PRF) radars
with 3 PRF value (I don't excactly know what it means).

I have two devices with Atheros 5414 radio module, so I've looked for
support of radar detection (and 802.11h) in madwifi driver. I've seen that
the -dfs branch supports the EN 301 893 v1.4.1 and it implements 802.11h
protocol. Looking into the madwifi-dfs code I've seen that the hardware does
the pulse detection and the driver detects the radar recognizing the pulse
patterns (ath/if_ath_radar.c and ath/if_ath_radar.h).

Because the pulse detection is done in hardware, I suppose that for
detecting pulse width down to 0.8us I need radio modules with newer chipset
like AR9xxx. Is it right? Can't I use my AR5414 radio modules?
So, I've searched in the code of ath9k and mac80211 but I don't find any
implementation of radar detection and 802.11h. Am I wrong? I've read on
http://wireless.kernel.org/en/users/Drivers/ath9k that 802.11h is a feature
of ath9k driver (and consecutively of mac80211, right?).

I there any way to make an outdoor radio link at 5GHz compliant to the
European regulation with Linux? :-)

Thanks,
Albert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090211/e23254fa/attachment.htm 

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [ath9k-devel] Radar Detection and DFS status
@ 2010-04-28  9:27 Robert Meschke
  2010-04-28 16:34 ` Luis R. Rodriguez
  0 siblings, 1 reply; 21+ messages in thread
From: Robert Meschke @ 2010-04-28  9:27 UTC (permalink / raw)
  To: ath9k-devel

Hi,

I want to use GHz channels for outdoor WLAN communications in Germany. In this regdomain all outdoor 5GHz channels are DFS channels. I need 11n connection speeds. What's the status of DFS and Radar Detection in ath9k and mac80211 at this time? 
I am using OpenWrt and the only known issue is: "Currently 5 GHz channels do not work with mac80211 based drivers due to DFS regulatory issues."

How complex would it be to implement DFS for the AP mode myself? Advices would be extremely helpful. Thanks in advance

Regards
RM

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [ath9k-devel] Radar Detection and DFS status
@ 2010-04-29 12:34 Robert Meschke
  2010-04-29 20:15 ` Benoit PAPILLAULT
  0 siblings, 1 reply; 21+ messages in thread
From: Robert Meschke @ 2010-04-29 12:34 UTC (permalink / raw)
  To: ath9k-devel

Hi,

thank you for your immediate response, Luis. It's a pity that DFS is not supposed to work in the near future. A can provide more specific information. I am working on a project, where I really need the 5 Ghz band and have to respect national laws.
I am using Ubiquiti Networks SR71-A MIMO mini pci radios, based on the Atheros AR 9160 bb/mac chip and AR5133 RF chip. I am really willing to implement DFS if it is somehow possible for me. 
Former in this thread it was mentioned that Radar Pulse Detection is done by hardware itself and is supported by madwifi. I've checked the madwifi-hal and the one of Sam Leffler for Radar Detection stuff. The AR9160 is declared as compatible with AR5416 in the ah_devid.h:

/* AR5416 compatible devid's  */
#define AR5416_DEVID_PCI    0x0023          /* AR5416 PCI (MB/CB) Owl */
#define AR5416_DEVID_PCIE    0x0024          /* AR5416 PCI-E (XB) Owl */
#define AR9160_DEVID_PCI    0x0027          /* AR9160 PCI Sowl */
#define AR9280_DEVID_PCI    0x0029          /* AR9280 PCI Merlin */
#define AR9280_DEVID_PCIE    0x002a          /* AR9280 PCI-E Merlin */
#define AR9285_DEVID_PCIE    0x002b          /* AR9285 PCI-E Kite */

Register adresses for Radar Detection are defined for AR5211+ in if_ath_radar.h. In the if_ath_radar.c this can be found:

if (ar_device(sc) >= 5211) {

...

}

It implies to me that Radar Detection performed by the madwifi Driver could possibly work for AR5416 (and therefore for AR9160, too).

It has to be mentioned that there are register adress definitions for Radar Detection in the hal of Sam Leffler but only for AR5211 and AR5212 and I've read in forum that the AR5416 does not have Radar Detection caps. 

Are the hardware interfaces for Radar Detection of AR9160 and AR5211/12 the same and is there any chance for madwifi code to work for ath9k too (after necessary modifications)?

Have anybody else information on this topic? I have access to signal generators an spectrum analysers, so I could verify compliance with DFS but I need the exact hardware specifications.
Thanks in advance.

my warm regards
Robert      

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2010-05-06 20:55 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-11 17:00 [ath9k-devel] Radar Detection and DFS status mementux
2009-02-11 21:41 ` Luis R. Rodriguez
2009-02-11 21:41   ` Luis R. Rodriguez
2009-02-12  2:15   ` Sujith
2009-02-12  2:15     ` Sujith
2009-02-12 12:56   ` Alberto Pollastro
2009-02-12 12:56     ` Alberto Pollastro
2009-02-12 15:53     ` Luis R. Rodriguez
2009-02-12 15:53       ` Luis R. Rodriguez
2009-02-12 20:39       ` Alberto Pollastro
2009-02-12 20:39         ` Alberto Pollastro
2009-02-12 21:31         ` Luis R. Rodriguez
2009-02-12 21:31           ` Luis R. Rodriguez
  -- strict thread matches above, loose matches on Subject: below --
2010-04-28  9:27 Robert Meschke
2010-04-28 16:34 ` Luis R. Rodriguez
2010-04-29 12:34 Robert Meschke
2010-04-29 20:15 ` Benoit PAPILLAULT
2010-05-01  9:50   ` Robert Meschke
2010-05-06 20:11     ` Alexander Egorenkov
2010-05-06 20:36   ` Alexander Egorenkov
2010-05-06 20:55     ` Luis R. Rodriguez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.