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

From: mabbas <[email-masked]>
Date: Thu, 21 Sep 2006 15:39:40 -0700

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 the stack takes care about that and always pass the correct value to a
> driver, is there still a reason for the driver to know where the request
> originated from?
>
>  Jiri
>
>   
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 they are different that what 
d80211 default to. Is there is away to keep the value the driver passed 
in ieee80211_register_hw?
Mohamed