Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
From: anton@picapica.im
To: Alexander Aring <alex.aring@gmail.com>
Cc: linux-wpan@vger.kernel.org
Subject: Re: reading RSSI value
Date: Wed, 24 Jan 2018 18:24:34 +0100	[thread overview]
Message-ID: <20180124172434.GA5251@picapica.im> (raw)
In-Reply-To: <CAB_54W5qcYR4oyqAUv0Bc2nCjEbKHSgzpRF4i2xtLsTHaNw=2Q@mail.gmail.com>

On Mon, Jan 22, 2018 at 02:02:09PM -0500, Alexander Aring wrote:
> Hi,
> 
> 2018-01-21 12:59 GMT-05:00 Alexander Aring <alex.aring@gmail.com>:
> > Hi,
> >
> > 2018-01-21 7:24 GMT-05:00  <anton@picapica.im>:
> >> Hello
> >>
> >> Is it possible to somehow read RSSI (Received Signal Strength indicator) value for each ieee802154 frame
> >> received using raw socket? Quick grepping in kernel and wpan-tools sources says no, but just wanted to
> >
> > One note about raw sockets: you should use AF_PACKET RAW as socket type.
> >
> > The answer is no. A single RSSI value of a frame says nothing about
> > something... We want to collect them in kernelspace e.g. wireless
> > station dump and make some mapping from $NODE_ADDR (complicated
> > because short/extended mapping).
> > There exists some thesis branch on github which I did for my "thesis"
> > but not ready to bring upstream at all...
> >
> >> confirm. Could energy detection level value used instead? Also, is it possible to set transmitter power
> >
> > Also no energy detection and no LQI...
> >
> > Transmit power is possible (depends on driver support), but not per frame...
> >
> 
> got a new idea about to handle this per frame. Talked with one of the
> TC maintainers today... I think it would be nice to have a TC action
> where you can set a transmit power per classifier... not sure there
> exists many way how to handle it. Also there was an idea according to
> 6lowpan to handle it per ndisc entry. :-/
> 
> If you really want to set it per frame. 802.11 people might be
> interessted in the "wireless tx power TC action" as well...
> 
> - Alex


But changing transmit power is possible in runtime, isn't it?
I mean, without bringing interface down/up. Or not?
Is it supported by at86rf230 driver for at86rf212 chip? It seems that yes

Anton


  reply	other threads:[~2018-01-24 17:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-21 12:24 reading RSSI value anton
2018-01-21 17:59 ` Alexander Aring
2018-01-22 19:02   ` Alexander Aring
2018-01-24 17:24     ` anton [this message]
2018-01-24 19:30       ` Alexander Aring

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=20180124172434.GA5251@picapica.im \
    --to=anton@picapica.im \
    --cc=alex.aring@gmail.com \
    --cc=linux-wpan@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