]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove assumptions about the max # channels in ioctl's:
authorSam Leffler <sam@FreeBSD.org>
Tue, 27 Jan 2009 23:42:14 +0000 (23:42 +0000)
committerSam Leffler <sam@FreeBSD.org>
Tue, 27 Jan 2009 23:42:14 +0000 (23:42 +0000)
commit8658b18b828d184f0cb04b42bce9303d662f3812
tree1b17c29fdd54d05da1600cf8e10ab2600e8205fe
parent5fe9f04492f7b48e272b8ff46dc0d06ea7b0cff7
Remove assumptions about the max # channels in ioctl's:
o change ioctl's that pass channel lists in/out to handle variable-size
  arrays instead of a fixed (compile-time) value; we do this in a way
  that maintains binary compatibility
o change ifconfig so all channel list data structures are now allocated
  to hold MAXCHAN entries (1536); this, for example, allows the kernel
  to return > IEEE80211_CHAN_MAX entries for calls like IEEE80211_IOC_DEVCAPS
sbin/ifconfig/ifieee80211.c
sys/net80211/ieee80211_ioctl.c
sys/net80211/ieee80211_ioctl.h