From: "John W. Linville" <linville@tuxdriver.com>
To: "Miguel Botón" <mboton.lkml@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-wireless@vger.kernel.org, yi.zhu@intel.com
Subject: Re: [PATCH 1/2] mac80211: add power management support -v2
Date: Fri, 30 Nov 2007 17:55:25 -0500 [thread overview]
Message-ID: <20071130225525.GB31953@tuxdriver.com> (raw)
In-Reply-To: <200711170113.58396.mboton.lkml@gmail.com>
On Sat, Nov 17, 2007 at 01:13:58AM +0100, Miguel Bot=F3n wrote:
> This patch adds power management support in mac80211.
>=20
> This allows us to enable power management through the "iwconfig <devi=
ce> power <off/on>" command.
> The code is based on "mac80211-10.0.0" but it is a little bit modifie=
d.
>=20
> Signed-off-by: Miguel Bot=F3n <mboton@gmail.com>
>=20
> 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 man=
agement */
> };
> =20
> /**
I'm not overly happy with this. What about folding this into the
flags variable?
John
--=20
John W. Linville
linville@tuxdriver.com
-
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: "John W. Linville" <linville@tuxdriver.com>
To: "Miguel Botón" <mboton.lkml@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-wireless@vger.kernel.org, yi.zhu@intel.com
Subject: Re: [PATCH 1/2] mac80211: add power management support -v2
Date: Fri, 30 Nov 2007 17:55:25 -0500 [thread overview]
Message-ID: <20071130225525.GB31953@tuxdriver.com> (raw)
In-Reply-To: <200711170113.58396.mboton.lkml@gmail.com>
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
next prev parent reply other threads:[~2007-11-30 22:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-16 23:07 [PATCH 1/2] mac80211: add power management support -v2 Miguel Botón
2007-11-16 23:07 ` Miguel Botón
2007-11-17 0:13 ` Miguel Botón
2007-11-17 0:13 ` Miguel Botón
2007-11-30 22:55 ` John W. Linville [this message]
2007-11-30 22:55 ` John W. Linville
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=20071130225525.GB31953@tuxdriver.com \
--to=linville@tuxdriver.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=mboton.lkml@gmail.com \
--cc=yi.zhu@intel.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.