Re: [PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-09-25 Thread Johannes Berg
On Fri, 2006-09-22 at 08:54 -0500, Larry Finger wrote: > That sounds perfect as nl80211 seems to be the coming userspace client. Let > me know how to help. I'll have to read up on what it actually needs to provide first :) johannes - To unsubscribe from this list: send the line "unsubscribe net

Re: [PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-09-22 Thread Larry Finger
Johannes Berg wrote: On Fri, 2006-09-22 at 08:24 -0500, Larry Finger wrote: That project is on hold now, but I'm willing to share the information I have and to participate in further developments. The database seems useful, maybe nl80211 could subsume the userspace interface? That sounds pe

Re: [PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-09-22 Thread Johannes Berg
On Fri, 2006-09-22 at 08:24 -0500, Larry Finger wrote: > That project is on hold now, but I'm willing to share the information I have > and to participate in > further developments. The database seems useful, maybe nl80211 could subsume the userspace interface? johannes - To unsubscribe from t

Re: [PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-09-22 Thread Larry Finger
Jiri Benc wrote: Thu, 21 Sep 2006 15:39:40 -0700, mabbas pise: if the stack handle it then no need to know. When I call ieee80211_register_hw with driver's channel, rate and txpower info. the txpower values are overwritten by ieee80211_init_client. I get all the txpower info from EEPROMin the

Re: [PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-09-22 Thread Jiri Benc
Thu, 21 Sep 2006 15:39:40 -0700, mabbas pise: > if the stack handle it then no need to know. When I call > ieee80211_register_hw with driver's channel, rate and txpower info. the > txpower values are overwritten by ieee80211_init_client. I get all the > txpower info from EEPROMin the NIC and the

Re: [PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-09-21 Thread mabbas
Jiri Benc wrote: On Thu, 21 Sep 2006 12:57:01 -0700, mabbas wrote: if the user set txpoer using iwconfig command, the driver will clap all txpower to this value for all available channels if channels original txpower is higher than txpower value. Looks like a job for the stack. If th

Re: [PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-09-21 Thread Jiri Benc
On Thu, 21 Sep 2006 12:57:01 -0700, mabbas wrote: > if the user set txpoer using iwconfig command, the driver will clap all > txpower to this > value for all available channels if channels original txpower is higher > than txpower value. Looks like a job for the stack. If the stack takes care a

Re: [PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-09-21 Thread mabbas
Jiri Benc wrote: Thu, 21 Sep 2006 09:43:31 -0700, mabbas pise: What about adding a new callback function fot txpower. ieee80211_hw_config callback still confusing if txpower was changed for channel change or because the user setting txpower limit. Why should the driver care? Jiri

Re: [PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-09-21 Thread Jiri Benc
Thu, 21 Sep 2006 09:43:31 -0700, mabbas pise: > What about adding a new callback function fot txpower. > ieee80211_hw_config callback still confusing if txpower was > changed for channel change or because the user setting txpower limit. Why should the driver care? Jiri -- Jiri Benc SUSE Labs

Re: [PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-09-21 Thread mabbas
Jiri Benc wrote: Hi, sorry for the long delay. On Mon, 28 Aug 2006 13:45:18 -0700, mabbas wrote: [...] +static int ieee80211_ioctl_siwtxpow(struct net_device *dev, + struct iw_request_info *info, +union iwreq_data *wrqu, +char *extra) +{ +

Re: [PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-09-21 Thread Jiri Benc
Hi, sorry for the long delay. On Mon, 28 Aug 2006 13:45:18 -0700, mabbas wrote: > [...] > +static int ieee80211_ioctl_siwtxpow(struct net_device *dev, > + struct iw_request_info *info, > + union iwreq_data *wrqu, > +

[PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-08-28 Thread mabbas
This patch modify d80211 to add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER. This is not a complete soluation but add the hook for them. Signed-off-by: Mohamed Abbas <[EMAIL PROTECTED]> diff --git a/include/net/d80211.h b/include/net/d80211.h index 42fdbf7..bc5eb87 100644 --- a/i