From: Johannes Berg <johannes@sipsolutions.net>
To: "Goldenshtein, Victor" <victorg@ti.com>
Cc: Stanislaw Gruszka <sgruszka@redhat.com>,
linux-wireless@vger.kernel.org, kgiori@qca.qualcomm.com,
mcgrof@frijolero.org, zefir.kurtisi@neratec.com,
adrian.chadd@gmail.com, j@w1.fi, coelho@ti.com, assaf@ti.com,
yoni.divinsky@ti.com, igalc@ti.com, adrian@freebsd.org,
nbd@nbd.name, simon.wunderlich@s2003.tu-chemnitz.de
Subject: Re: [PATCH v3 2/7] mac80211: add radar detection command/event
Date: Mon, 10 Sep 2012 12:54:28 +0200 [thread overview]
Message-ID: <1347274468.4272.9.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <CAK80WHb2Cu_3AfEt5cUa8uX=3FriCdbbTZfqmgaPU-jLrreNJg@mail.gmail.com>
On Mon, 2012-08-20 at 10:21 +0300, Goldenshtein, Victor wrote:
> On Mon, Aug 13, 2012 at 10:36 AM, Stanislaw Gruszka <sgruszka@redhat.com> wrote:
> > On Sun, Aug 12, 2012 at 10:31:40AM +0300, Goldenshtein, Victor wrote:
> >> On Fri, Aug 10, 2012 at 7:28 PM, Stanislaw Gruszka <sgruszka@redhat.com> wrote:
> >> > On Wed, Aug 08, 2012 at 02:53:38PM +0300, Victor Goldenshtein wrote:
> >> >> --- a/include/net/mac80211.h
> >> >> +++ b/include/net/mac80211.h
> >> >> @@ -2262,6 +2262,10 @@ enum ieee80211_rate_control_changed {
> >> >> * The callback will be called before each transmission and upon return
> >> >> * mac80211 will transmit the frame right away.
> >> >> * The callback is optional and can (should!) sleep.
> >> >> + *
> >> >> +* @start_radar_detection: Start radar detection on current operational
> >> >> + * channel, once started it will continuously monitor for radars as long
> >> >> + * as the channel active.
> >> >> */
> >> >> struct ieee80211_ops {
> >> >> void (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb);
> >> >> @@ -2404,6 +2408,10 @@ struct ieee80211_ops {
> >> >>
> >> >> void (*mgd_prepare_tx)(struct ieee80211_hw *hw,
> >> >> struct ieee80211_vif *vif);
> >> >> +
> >> >> + int (*start_radar_detection)(struct ieee80211_hw *hw,
> >> >> + struct ieee80211_vif *vif,
> >> >> + struct ieee80211_channel *chan);
> >> >
> >> > Why we need new callback? I.e. why this can be done by ->config ?
> >> >
> >>
> >> See proposed RFC and previous threads.
> >
> > I can not find mail where this is explained, could you please provide
> > link.
> >
>
> http://article.gmane.org/gmane.linux.kernel.wireless.general/83760/match=
Well, that doesn't really explain it, but I do think that it's easier
for drivers to implement as a separate callback and we can then also
tell whether it's supported or not.
johannes
next prev parent reply other threads:[~2012-09-10 10:53 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-08 11:53 [PATCH v3 0/7] nl/cfg/mac80211: add DFS master ability Victor Goldenshtein
2012-08-08 11:53 ` [PATCH v3 1/7] nl80211/cfg80211: add radar detection command/event Victor Goldenshtein
2012-08-09 11:51 ` Stanislaw Gruszka
2012-08-09 12:08 ` Goldenshtein, Victor
2012-08-10 16:25 ` Stanislaw Gruszka
2012-08-12 7:31 ` Goldenshtein, Victor
2012-08-20 10:33 ` Johannes Berg
2012-09-10 10:53 ` Johannes Berg
2012-10-03 13:53 ` Goldenshtein, Victor
2012-10-09 18:46 ` Johannes Berg
2012-10-14 13:29 ` Victor Goldenshtein
2012-08-08 11:53 ` [PATCH v3 2/7] mac80211: " Victor Goldenshtein
2012-08-10 16:28 ` Stanislaw Gruszka
2012-08-12 7:31 ` Goldenshtein, Victor
2012-08-13 7:36 ` Stanislaw Gruszka
2012-08-20 7:21 ` Goldenshtein, Victor
2012-09-10 10:54 ` Johannes Berg [this message]
2012-09-10 11:17 ` Johannes Berg
2012-10-03 13:53 ` Goldenshtein, Victor
2012-08-08 11:53 ` [PATCH v3 3/7] nl80211/cfg80211: add ability to enable TX on op-channel Victor Goldenshtein
2012-08-08 11:53 ` [PATCH v3 4/7] mac80211: " Victor Goldenshtein
2012-09-10 11:20 ` Johannes Berg
2012-10-03 13:53 ` Goldenshtein, Victor
2012-08-08 11:53 ` [PATCH v3 5/7] nl80211/cfg80211: add ap channel switch command Victor Goldenshtein
2012-09-10 11:23 ` Johannes Berg
2012-10-03 13:53 ` Goldenshtein, Victor
2012-10-09 18:44 ` Johannes Berg
2012-10-14 13:29 ` Victor Goldenshtein
2012-08-08 11:53 ` [PATCH v3 6/7] mac80211: add ap channel switch command/event Victor Goldenshtein
2012-08-10 16:36 ` Stanislaw Gruszka
2012-08-12 7:31 ` Goldenshtein, Victor
2012-08-13 7:34 ` Stanislaw Gruszka
2012-08-20 10:32 ` Johannes Berg
2012-09-10 11:25 ` Johannes Berg
2012-10-03 13:54 ` Goldenshtein, Victor
2012-10-04 15:42 ` Goldenshtein, Victor
2012-08-08 11:53 ` [PATCH v3 7/7] mac80211: add DFS support to monitor interface Victor Goldenshtein
2012-09-10 11:26 ` Johannes Berg
2012-10-03 13:54 ` Goldenshtein, Victor
2012-10-09 18:42 ` Johannes Berg
2012-10-14 13:29 ` Victor Goldenshtein
2012-09-07 15:47 ` [PATCH v3 0/7] nl/cfg/mac80211: add DFS master ability Simon Wunderlich
2012-09-07 16:04 ` Johannes Berg
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=1347274468.4272.9.camel@jlt4.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=adrian.chadd@gmail.com \
--cc=adrian@freebsd.org \
--cc=assaf@ti.com \
--cc=coelho@ti.com \
--cc=igalc@ti.com \
--cc=j@w1.fi \
--cc=kgiori@qca.qualcomm.com \
--cc=linux-wireless@vger.kernel.org \
--cc=mcgrof@frijolero.org \
--cc=nbd@nbd.name \
--cc=sgruszka@redhat.com \
--cc=simon.wunderlich@s2003.tu-chemnitz.de \
--cc=victorg@ti.com \
--cc=yoni.divinsky@ti.com \
--cc=zefir.kurtisi@neratec.com \
/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).