Messages in this thread | | | Date | Fri, 30 Nov 2007 17:55:25 -0500 | From | "John W. Linville" <> | Subject | Re: [PATCH 1/2] mac80211: add power management support -v2 |
| |
On Sat, Nov 17, 2007 at 01:13:58AM +0100, Miguel Botón wrote:
> This patch adds power management support in mac80211. > > This allows us to enable power management through the "iwconfig <device> power <off/on>" command. > The code is based on "mac80211-10.0.0" but it is a little bit modified. > > Signed-off-by: Miguel Botón <mboton@gmail.com> > > diff --git a/include/net/mac80211.h b/include/net/mac80211.h > index 5fcc4c1..c82b6fa 100644 > --- a/include/net/mac80211.h > +++ b/include/net/mac80211.h > @@ -452,6 +452,8 @@ struct ieee80211_conf { > u8 antenna_max; > u8 antenna_sel_tx; > u8 antenna_sel_rx; > + > + u8 power_management_enable; /* flag to enable/disable power management */ > }; > > /**
I'm not overly happy with this. What about folding this into the flags variable?
John -- John W. Linville linville@tuxdriver.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |