[Prism54-devel] SIOCGIWNAME usage
Jens Maurer
Jens.Maurer@gmx.net
Sun, 04 Jan 2004 19:17:52 +0100
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.
Jens Maurer