All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@gmail.com>
To: Varka Bhadram <varkabhadram@gmail.com>
Cc: linux-wpan - ML <linux-wpan@vger.kernel.org>
Subject: Re: Power Management support for IEEE-802.15.4 drivers
Date: Fri, 21 Nov 2014 17:53:40 +0100	[thread overview]
Message-ID: <20141121165337.GD20364@omega> (raw)
In-Reply-To: <CAEUmHyayKKHF0RfjZvMDM0WjNj=vP7hL5B8h69ZaVv=Y59t0iQ@mail.gmail.com>

On Mon, Nov 17, 2014 at 02:56:09PM +0530, Varka Bhadram wrote:
> Hi,
> 
> None of IEEE-802.15.4 drivers implement power management. But devices
> (AT86RF230, CC2520) will operate in different power modes.
> 
> Why cant we add these functionalities to the driver, so that we can
> save the overall system power.
> 

For power management we only support currently "interface down all wpan
interfaces?". For at86rf230 this will go into the TRX_OFF state which
has less power usage. There exist also some SLEEP mode, but then I would
need the slp_tr pin to awake maybe the transceiver. Yea we _could_ do
that, but for now I doesn't care about that.

So you could do into some sleep modes on (*stop) and out in (*start).


For REAL power management, this is much complicated. The buzzword for
802.15.4 networks is here "beacon enabled networks" just google it. This
has a lot of todo with GTS (Guaranteed Time Slots).

For now I am NOT an expert into this and we are far away to support such
functionality! We can't parse beacon frames at all and the current
parsing functions are optimize to parse data frames only. This need to
be a lot of work inside mac802154 and we need to create a complete
infrastructure for this.

Currently it's important to save what we have right now. Beacon enabled
networks is a new topic for the future. But I don't want to stop you. If
you like to implement such functionality go ahead and send patches.

I don't know much currently about "beacon enabled networks" I just know
that something like this exists and nothing more. In my opinion a lot of
other things need to be done to implement such functionality.

- Alex

  reply	other threads:[~2014-11-21 16:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-17  9:26 Power Management support for IEEE-802.15.4 drivers Varka Bhadram
2014-11-21 16:53 ` Alexander Aring [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-11-17  9:15 Varka Bhadram

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=20141121165337.GD20364@omega \
    --to=alex.aring@gmail.com \
    --cc=linux-wpan@vger.kernel.org \
    --cc=varkabhadram@gmail.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 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.