[Prism54-devel] SIOCGIWNAME usage

Shawn Anderson sa@xmission.com
Fri, 2 Jan 2004 21:48:18 -0700


Hi,

I was reading the linux wireless extensions, it says:

#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.

Any thoughts on this?