From: Johannes Berg <johannes@sipsolutions.net>
To: Holger Schurig <h.schurig@mn-solutions.de>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
Felix Fietkau <nbd@openwrt.org>
Subject: Re: RECAP: indication of channel noise
Date: Mon, 26 Oct 2009 14:52:12 +0100 [thread overview]
Message-ID: <1256565132.12462.9.camel@johannes.local> (raw)
In-Reply-To: <200910261442.44774.h.schurig@mn-solutions.de>
[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]
On Mon, 2009-10-26 at 14:42 +0100, Holger Schurig wrote:
> [snip descriptions]
sounds about right
> We did not yet come up with a clear API definition for this. My
> idea for an initial "retrieve site survey" response is:
>
> NL80211_CMD_NEW_SURVEY_RESULTS
> NL80211_ATTR_GENERATION
> NL80211_ATTR_IFINDEX
> NL80211_BSS_FREQUENCY
> NL80211_BSS_NOISE_MBM
>
> Of course this will extend over time, but that is easy due to
> nl80211.
I'm not really happy with having "BSS" in there. And the ifindex is
kinda not necessary either I think, you really want the wiphy index.
Also it's not necessary in the response since the request will contain
the wiphy index (or interface index).
I'd introduce a new
NL80211_CMD_GET_SURVEY_RESULT
which you use together with a dumpit call, for channels, which lists
channels one by one similar to nl80211_dump_scan()/nl80211_send_bss()
but with nl80211_dump_survey()/nl80211_send_survey_channel().
In this case I think a "last updated" value would be rather important
too.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
next prev parent reply other threads:[~2009-10-26 13:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-26 13:42 RECAP: indication of channel noise Holger Schurig
2009-10-26 13:52 ` Johannes Berg [this message]
2009-10-26 14:30 ` Holger Schurig
2009-10-27 3:45 ` Jouni Malinen
2009-10-27 7:03 ` 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=1256565132.12462.9.camel@johannes.local \
--to=johannes@sipsolutions.net \
--cc=h.schurig@mn-solutions.de \
--cc=linux-wireless@vger.kernel.org \
--cc=nbd@openwrt.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