linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "voncken" <cedric.voncke@acksys.fr>
To: "'Janusz Dziedzic'" <janusz.dziedzic@gmail.com>,
	"Cedric VONCKEN" <cedric.voncken@acksys.fr>
Cc: "'linux-wireless'" <linux-wireless@vger.kernel.org>
Subject: RE: [MAC80211] Radar detection management issue
Date: Mon, 7 Apr 2014 14:04:51 +0200	[thread overview]
Message-ID: <00dc01cf5259$94fd02d0$bef70870$@acksys.fr> (raw)
In-Reply-To: <CAFED-j=nyEnfg7n=OF0oA_Geh11DR_XYNPTLeb603jKNNUxv0g@mail.gmail.com>

> >
> >         I don't know how fix this issue. For the moment I disable the
> > channel when the NL80211_RRF_DFS is set (in map_regdom_flags).
> >
> 
> This seems like a bug in ath9k (init.c) driver, when register interface
> combinations.
> Seems RADAR combination should be registered only in case when
> ATH9K_DFS_CERTIFIED is set.
	
	Thanks for the answer. 

	The ATH9K_HW_CAP_DFS is set in hw.c only  if the function
ath9k_hw_dfs_tested return true.

	In the ath9k/init.c, the function ath9k_set_hw_capab do not set any
flags in hw->flags relevant to DFS.

	I'm looking for a similar line
	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_DFS)
      	hw->flags |= IEEE80211_HW_xxxx;
	
	But I don't found. 

	I'm looking in net/mac80211.h the IEEE80211 flag relevant to DFS (to
add the test in ath9k init), but I don't found it.

	It seem the mac80211 do not know the hardware capability to detect
radar.

	Cedric.
> 
> BR
> Janusz


  reply	other threads:[~2014-04-07 15:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-07  9:30 [MAC80211] Radar detection management issue Cedric VONCKEN
2014-04-07 11:09 ` Janusz Dziedzic
2014-04-07 12:04   ` voncken [this message]
2014-04-07 12:53     ` Janusz Dziedzic
2014-04-07 13:48       ` voncken

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='00dc01cf5259$94fd02d0$bef70870$@acksys.fr' \
    --to=cedric.voncke@acksys.fr \
    --cc=cedric.voncken@acksys.fr \
    --cc=janusz.dziedzic@gmail.com \
    --cc=linux-wireless@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).