linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mesh powersave code layout
@ 2012-11-13 19:06 Marco Porsch
  2012-11-14  9:29 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Porsch @ 2012-11-13 19:06 UTC (permalink / raw)
  To: Johannes Berg, kvalo, Luis R. Rodriguez, Javier Cardona; +Cc: linux-wireless

Hi,

I had a presentation on mesh powersave during the Barcelona Wireless 
summit. In the following discussion Kalle Valo pointed out to me, that 
there was interest in generally moving powersave code out of mac80211.

Now I am unsure where to place my mesh PS code before submission.
Currently my code layout for the mesh mode powersave is like this:

mac80211:
-mesh PS mode setting and state logic
-mesh PS mode indication towards neighbors
-neighbor PS mode tracking
-frame buffering
-frame release in Peer Service Periods
-driver configuration

drivers (ath9k, ath9k_htc, ...):
-configuration
-tracking of neighbors' beacon TBTTs
-determining next wakeup TBTT and hardware configuration for wakeup
-awake window after own beacon (software timer)


Javier Cardona recommended changing that and moving all the mesh PS code 
to mac80211 for easy maintenance. So (if possible) the idea would be to 
create new ieee80211_ops ála:
-void (*radio_sleep) (struct ieee80211_hw *hw, u64 until_tbtt);
-void (*radio_wakeup)(struct ieee80211_hw *hw);

So, where should the parts go, that are currently planned for the 
driver? Is there any general preference?

Regards,
Marco


PS:
My code is available on github: 
https://github.com/cozybit/open80211s/tree/ft-powersave .
My presentation slides should show up on linuxwireless in the following 
days.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-14  9:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-13 19:06 mesh powersave code layout Marco Porsch
2012-11-14  9:29 ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).