Date: Mon, 30 Jan 2006 21:24:19 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 90714 for review Message-ID: <200601302124.k0ULOJZA052356@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=90714 Change 90714 by sam@sam_ebb on 2006/01/30 21:23:17 add missing burst ioctl code Affected files ... .. //depot/projects/wifi/sys/net80211/ieee80211_ioctl.c#58 edit Differences ... ==== //depot/projects/wifi/sys/net80211/ieee80211_ioctl.c#58 (text+ko) ==== @@ -889,6 +889,9 @@ case IEEE80211_IOC_MACCMD: error = ieee80211_ioctl_getmaccmd(ic, ireq); break; + case IEEE80211_IOC_BURST: + ireq->i_val = (ic->ic_flags & IEEE80211_F_BURST) != 0; + break; default: error = EINVAL; break; @@ -1989,6 +1992,15 @@ ic->ic_fragthreshold = ireq->i_val; error = IS_UP(ic) ? ic->ic_reset(ic->ic_ifp) : 0; break; + case IEEE80211_IOC_BURST: + if (ireq->i_val) { + if ((ic->ic_caps & IEEE80211_C_BURST) == 0) + return EINVAL; + ic->ic_flags |= IEEE80211_F_BURST; + } else + ic->ic_flags &= ~IEEE80211_F_BURST; + error = ENETRESET; /* XXX maybe not for station? */ + break; default: error = EINVAL; break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601302124.k0ULOJZA052356>