All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Porsch <marco.porsch@etit.tu-chemnitz.de>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: broadcast buffer / TIM map in mesh mode
Date: Mon, 01 Oct 2012 12:21:52 -0700	[thread overview]
Message-ID: <5069ED50.4050307@etit.tu-chemnitz.de> (raw)

Hi,

I am working on a mesh powersave implementation. One requirement for 
that is to buffer broadcasts, set the TIM map and count powersave 
neighbors. All of these routines are currently bound to the AP-specific 
ieee80211_if_ap structure.
Do you have any recommendations how to properly implement this for mesh 
interfaces?

a) allocate/free ieee80211_if_ap in 
iface.c:ieee80211_do_open/ieee80211_do_stop and bind to sdata->bss pointer?
b) include ieee80211_if_ap into ieee80211_if_mesh structure and use 
sdata->bss?
c) completely different?

Also, what is the purpose of the sdata->bss pointer? It seems to be used 
at times and not at others.

I have currently implemented a) here 
https://github.com/cozybit/open80211s/commit/66c40d36087c502f8c52b84861faad6f483ffeb8 
as part of a series 
https://github.com/cozybit/open80211s/compare/38555f9d78...ft-powersave .

Regards,
Marco


             reply	other threads:[~2012-10-01 19:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-01 19:21 Marco Porsch [this message]
2012-10-02  6:46 ` broadcast buffer / TIM map in mesh mode Johannes Berg
2012-10-02 22:38   ` [RFC] mac80211: make powersave independent of interface type Marco Porsch

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=5069ED50.4050307@etit.tu-chemnitz.de \
    --to=marco.porsch@etit.tu-chemnitz.de \
    --cc=johannes@sipsolutions.net \
    --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.