Search Linux Wireless

Re: [PATCH 1/3] iwlwifi: adding channels to sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 13, 2008 at 11:35 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
>
>> >>  drivers/net/wireless/iwlwifi/iwl4965-base.c |   58 ++++++++++++++++++++++++++-
>> >>  1 files changed, 56 insertions(+), 2 deletions(-)
>> >>
>> >> diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
>> >> index 81a1c22..c179b21 100644
>> >> --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
>> >> +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
>> >> @@ -4122,8 +4122,62 @@ static DEVICE_ATTR(power_level, S_IWUSR | S_IRUSR, show_power_level,
>> >>  static ssize_t show_channels(struct device *d,
>> >>                            struct device_attribute *attr, char *buf)
>> >>  {
>> >> -     /* all this shit doesn't belong into sysfs anyway */
>> >> -     return 0;
>> >
>> > Hehe. Do you really have to? You can query this information with
>> > nl80211. I don't know why you need all that sysfs stuff anyway.
>>
>> I'm not sure why Yi has cut off the log message but original was
>>
>> 'This patch returns channel list to sysfs. This is requirement
>> for validation purposes'
>>
>> Our automation is build around sysfs and wext and I'm not going to
>> rewrite it now.
>
> If you managed to get along without this for so long, why is it needed
> in upstream now?

We didn't run without it, We  were developing HW 5000 on older kernel
now I just merging it upstream. See my announcement  Try to imagine
that there is world on totally different planet with different
gravitation constant,

> Remember, sysfs is API. You don't get to change it gratuitously, so
> neither should you add to it gratuitously. And we already _have_ API for
> this particular thing which is not dependent on a particular
> hardware/driver to boot!
Agree. We've just returned what was there before
I think you understand what legacy means after your try to replace
wext. It will take time
till we switch to new API. Unfortunately cannot fix everything in one day.

Tomas


>
> johannes
>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux