[Prism54-devel] SIOCGIWNAME usage
Herbert Valerio Riedel
hvr@hvrlab.org
Mon, 5 Jan 2004 14:15:44 +0100
On Sun, Jan 04, 2004 at 07:17:52PM +0100, Jens Maurer wrote:
>
> Shawn Anderson wrote:
> >#define SIOCGIWNAME 0x8B01 /* get name == wireless protocol */
> >/* SIOCGIWNAME is used to verify the presence of Wireless Extensions.
> > * Common values : "IEEE 802.11-DS", "IEEE 802.11-FH", "IEEE 802.11b"...
> > * Don't put the name of your driver there, it's useless. */
> >
> >I notice the prism54 driver assosiates the card model to this ioctl, I
> >wonder if its better to assign the card model to SIOCSIWNICKN /
> >SIOCGIWNICKN instead... and make SIOCGIWNAME return "IEEE 802.11g" or
> >similar.
> That sounds reasonable.
while I'm tempted to agree with the SIOCGIWNAME part... (which
actually just needs returns some dummy string - so there's absolutely
no requirement of returning anything useful...)...
I don't see, why SIOCGIWNICKN should return the model name (I
actually don't understand the meaning of this attribute, but my
intuition tells me, that using the model name as a nickname seems
strange...)
regards,
--
Herbert Valerio Riedel / Phone: (EUROPE) +43-1-58801-18840
Email: hvr@hvrlab.org / Finger hvr@gnu.org for GnuPG Public Key
GnuPG Key Fingerprint: 7BB9 2D6C D485 CE64 4748 5F65 4981 E064 883F 4142