Subject: Re: CVS commit: basesrc
To: None <onoe@netbsd.org>
From: None <itojun@iijlab.net>
List: source-changes
Date: 07/05/2000 13:36:05
>Modified Files:
> basesrc/sbin/ifconfig: ifconfig.c
> syssrc/sys/dev/ic: awi.c
> syssrc/sys/dev/pcmcia: if_ray.c if_wi.c if_wivar.h
> syssrc/sys/net: if_ieee80211.h
>
>Log Message:
>change the argument of SIOCS80211NWID and SIOCG80211NWID ioctls from
>u_int8_t array to struct ieee80211_nwid to prepend length field.
>The length field is necessary because IEEE 802.11 spec doesn't prohibit
>even '\0' for SSID.
>Though the name and the value of SIOC... macro is unchanged, this change
>breaks binary compatibility. The only affected userland program on the
>tree is ifconfig(8).
>As Jason suggested on tech-net, it is better than live with problems
>since there are no releases for this ioctls yet.
i'm not sure if I'm correct, but I thought that jason suggested to
deprecate the old ioctl number and assign new ioctl number to
SIOCS80211NWID, so that:
- old binary would get EINVAL on new kernel
- new binary works happy with new kernel
itojun