All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Ben Greear <greearb@candelatech.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: A good way to get CSI info to user-space?
Date: Tue, 24 Oct 2017 15:38:30 +0200	[thread overview]
Message-ID: <1508852310.2639.29.camel@sipsolutions.net> (raw)
In-Reply-To: <d1746cd6-d889-a253-3638-8011d1ebd4fb@candelatech.com>

On Tue, 2017-10-24 at 06:36 -0700, Ben Greear wrote:
> 
> On 10/23/2017 10:54 PM, Johannes Berg wrote:
> > On Mon, 2017-10-23 at 13:59 -0700, Ben Greear wrote:
> > 
> > > > The CSI data has variable length [1] but it's fundamentally always tied
> > > > to a specific frame and as such we've always attached it to that frame
> > > > using a radiotap vendor namespace.
> > > > 
> > > > You can easily implement that in a mac80211 driver since it has support
> > > > for that via RX_FLAG_RADIOTAP_VENDOR_DATA and the associated struct
> > > > ieee80211_vendor_radiotap that you put into the skb's head.
> > > > 
> > > > Why should anything else be needed?
> > > 
> > > So this would only show up in user-space in something like a pkt-capture?
> > 
> > Sure. But since you can easily add virtual monitor interfaces at any
> > time, that doesn't really mean anything.
> 
> Adding a monitor device is a pretty big hammer on ath10k, at least, and
> probably not something one would want running continuously in a production
> environment.

We keep having this discussion. You need to fix this, it should be
really simple to fix this - just remove all checks for CONF_MONITOR
from ath10k and make it use WANT_MONITOR_VIF instead if it doesn't
already.

> The CSI data is one part, but tx-beamforming is another area of interest.
> 
> If I get a chance, I'll try to add a way to pass some of this opaque
> info up through netlink events.  I'm thinking something like:
> 
> mac80211_nl_send_opaque_event(mac80211-handle, int data-type, u8* data, int data_len);

I will not accept this upstream.

johannes

  reply	other threads:[~2017-10-24 13:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-23 17:54 A good way to get CSI info to user-space? Ben Greear
2017-10-23 20:30 ` Johannes Berg
2017-10-23 20:59   ` Ben Greear
2017-10-24  5:54     ` Johannes Berg
2017-10-24 13:36       ` Ben Greear
2017-10-24 13:38         ` Johannes Berg [this message]
2017-10-24 13:50           ` Ben Greear
2017-10-24 13:55             ` Johannes Berg
2017-10-24 20:15               ` Ben Greear
2017-10-25 14:30               ` Zefir Kurtisi
2017-10-25 14:43                 ` Ben Greear
2017-10-25 15:35                   ` Zefir Kurtisi

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=1508852310.2639.29.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=greearb@candelatech.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 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.