All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benoit Papillault <benoit.papillault@free.fr>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [PATCH 3/4] ath9k: forward pulse events to DFS pulse detector
Date: Fri, 25 May 2012 17:16:46 +0200	[thread overview]
Message-ID: <4FBFA25E.4000502@free.fr> (raw)
In-Reply-To: <1335124223-15439-4-git-send-email-zefir.kurtisi@gmail.com>

Le 22/04/2012 21:50, Zefir Kurtisi a ?crit :
> From: Zefir Kurtisi<zefir.kurtisi@neratec.com>
>
>
> Signed-off-by: Zefir Kurtisi<zefir.kurtisi@neratec.com>
> ---
>   drivers/net/wireless/ath/ath9k/recv.c |    3 +++
>   1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c
> index ef45c0c..f647d0b 100644
> --- a/drivers/net/wireless/ath/ath9k/recv.c
> +++ b/drivers/net/wireless/ath/ath9k/recv.c
> @@ -1856,6 +1856,9 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp)
>   		    unlikely(tsf_lower - rs.rs_tstamp>  0x10000000))
>   			rxs->mactime += 0x100000000ULL;
>
> +		if (rs.rs_phyerr == ATH9K_PHYERR_RADAR)
> +			ath9k_dfs_process_phyerr(sc, hdr,&rs, rxs->mactime);
> +
>   		retval = ath9k_rx_skb_preprocess(common, hw, hdr,&rs,
>   						 rxs,&decrypt_error);
>   		if (retval)

Sorry to jump into this old thread. IMHO, rs.rs_phyerr is only valid if 
rs.rs_status & ATH9K_RXERR_PHY is set. So we should check for the later 
first, isn't it?

Regards,
Benoit

  reply	other threads:[~2012-05-25 15:16 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-22 19:50 [PATCH 0/4] ath9k: integrate DFS detection Zefir Kurtisi
2012-04-22 19:50 ` [ath9k-devel] " Zefir Kurtisi
2012-04-22 19:50 ` [PATCH 1/4] ath9k: set detector DFS domain in reg notifyer Zefir Kurtisi
2012-04-22 19:50   ` [ath9k-devel] " Zefir Kurtisi
2012-04-22 19:50 ` [PATCH 2/4] ath9k: set PHYRADAR in RX filter when on DFS channel Zefir Kurtisi
2012-04-22 19:50   ` [ath9k-devel] " Zefir Kurtisi
2012-04-22 20:00   ` Felix Fietkau
2012-04-22 20:00     ` [ath9k-devel] " Felix Fietkau
2012-04-23  9:12     ` Zefir Kurtisi
2012-04-23  9:12       ` [ath9k-devel] " Zefir Kurtisi
2012-04-23 17:23       ` Felix Fietkau
2012-04-23 17:23         ` [ath9k-devel] " Felix Fietkau
2012-04-23 17:27         ` Chadd, Adrian
2012-04-23 17:27           ` [ath9k-devel] " Chadd, Adrian
2012-04-23 18:28         ` Luis R. Rodriguez
2012-04-23 18:28           ` [ath9k-devel] " Luis R. Rodriguez
2012-04-23 17:29       ` Christian Lamparter
2012-04-23 17:29         ` [ath9k-devel] " Christian Lamparter
2012-04-22 19:50 ` [PATCH 3/4] ath9k: forward pulse events to DFS pulse detector Zefir Kurtisi
2012-04-22 19:50   ` [ath9k-devel] " Zefir Kurtisi
2012-05-25 15:16   ` Benoit Papillault [this message]
2012-04-22 19:50 ` [PATCH 4/4] ath9k: set radar config if switching to DFS channel Zefir Kurtisi
2012-04-22 19:50   ` [ath9k-devel] " Zefir Kurtisi
2012-04-27 20:50   ` Adrian Chadd
2012-04-27 20:50     ` [ath9k-devel] " Adrian Chadd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FBFA25E.4000502@free.fr \
    --to=benoit.papillault@free.fr \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.