netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gertjan van Wingerde <gwingerde@home.nl>
To: "Feldman, Scott" <scott.feldman@intel.com>
Cc: netdev@oss.sgi.com
Subject: Re: [RFC] Wireless extensions rethink
Date: Tue, 15 Jun 2004 18:39:26 +0200	[thread overview]
Message-ID: <40CF263E.70009@home.nl> (raw)
In-Reply-To: <C6F5CF431189FA4CBAEC9E7DD5441E0103AF626C@orsmsx402.amr.corp.intel.com>

Scott,

Sounds like a good idea. I'll start refactoring my work towards that approach. Please bear
with me for a couple of days and I'll post a draft patch for this.

--- Gertjan.


Feldman, Scott wrote:
>>I was thinking along the same lines, however I was taking the 
>>ethtool interface as the starting point (using a single ioctl 
>>for all wireless operations). The private handlers would just 
>>have to be converted to plain ioctls handled by the driver itself.
>>
>>The attached patch can be used as a starting point for this.
>>It is not complete (not by far), but it shows the basic structure.
>>I've called the structure wlantool_ops, again using the 
>>example set by ethtool.
>>
>>Comments?
> 
> 
> What if we just use the ethtool ioctl that's already defined, and extend
> ethtool with a wireless option:
> 
> ethtool -w DEVNAME \
> 	[ nwid N|off|on} ] \
> 	[ freq x.xx ] \
> 	[ mode ad-hoc|managed|master|repeater|... ] \
> 	[ sens N ] \
> 	[ ... ]
> 
> Each one of the sub-options to -w would have it's own ETHTOOL_[G|S]W...
> command as well as a type-safe ethtool_op.
> 
> Running ethtool DEVNAME dumps ETHTOOL_GW... :
> 
> Wireless settings for eth0:
>         nwid: AB34
>         freq: 2.422G
>         mode: managed
>         sens: -80
> 
> Good/bad idea?
> 
> -scott        
> 
> 

  reply	other threads:[~2004-06-15 16:39 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-11 18:49 [RFC] Wireless extensions rethink Feldman, Scott
2004-06-15 16:39 ` Gertjan van Wingerde [this message]
2004-06-15 17:22   ` Vladimir Kondratiev
2004-06-16  9:13   ` Scott Feldman
2004-06-16 15:28     ` Gerald Britton
2004-06-16 17:40       ` Vladimir Kondratiev
2004-06-16 17:53       ` Scott Feldman
2004-06-16 19:06         ` Gerald Britton
2004-06-17  5:57         ` Luis R. Rodriguez
2004-06-16 17:46     ` Gertjan van Wingerde
2004-06-16 19:06       ` Scott Feldman
2004-06-16 19:49         ` Jeff Garzik
2004-06-16 22:25           ` Scott Feldman
2004-06-16 20:50         ` Jean Tourrilhes
2004-06-16 20:42       ` Jean Tourrilhes
2004-06-16 21:36         ` Jeff Garzik
2004-06-16 22:33           ` Jean Tourrilhes
2004-06-16 23:06             ` Jeff Garzik
2004-06-16 23:11               ` Jean Tourrilhes
2004-06-17 17:47               ` Jean Tourrilhes
2004-06-17 18:23                 ` Jeff Garzik
2004-06-17 18:26                   ` Jeff Garzik
2004-06-17 18:30                     ` Gertjan van Wingerde
2004-06-17 18:51                     ` Stephen Hemminger
2004-06-17 19:00                       ` Jean Tourrilhes
2004-06-17 19:10                         ` Jeff Garzik
2004-06-17 18:58                     ` Jean Tourrilhes
2004-06-17 19:02                       ` Jeff Garzik
2004-06-17 19:13                         ` Jean Tourrilhes
2004-06-17 19:34                           ` Jeff Garzik
2004-06-17 19:44                             ` Jean Tourrilhes
2004-06-17 20:06                               ` Jeff Garzik
2004-06-17 20:39                                 ` Jean Tourrilhes
2004-06-17 18:56                   ` Jean Tourrilhes
2004-06-17 19:09                     ` Jeff Garzik
2004-06-17 19:11                       ` Jeff Garzik
2004-06-17 19:31                       ` Jean Tourrilhes
2004-06-17 19:52                         ` Jeff Garzik
2004-06-17 20:46                           ` Jean Tourrilhes
2004-06-18 22:11                             ` Andrew Morton
2004-06-18 22:54                               ` Jeff Garzik
2004-06-16 22:48         ` Scott Feldman
  -- strict thread matches above, loose matches on Subject: below --
2004-06-07 19:51 Gertjan van Wingerde
2004-06-07 20:52 ` Ben Greear
2004-06-07 18:33 Feldman, Scott
2004-06-07 18:39 ` Stephen Hemminger
2004-06-08 11:19 ` Herbert Xu

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=40CF263E.70009@home.nl \
    --to=gwingerde@home.nl \
    --cc=netdev@oss.sgi.com \
    --cc=scott.feldman@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).