From owner-p4-projects@FreeBSD.ORG Mon Jan 30 21:24:20 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3763716A423; Mon, 30 Jan 2006 21:24:20 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEF9016A420 for ; Mon, 30 Jan 2006 21:24:19 +0000 (GMT) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CB4743D46 for ; Mon, 30 Jan 2006 21:24:19 +0000 (GMT) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k0ULOJNZ052363 for ; Mon, 30 Jan 2006 21:24:19 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0ULOJZA052356 for perforce@freebsd.org; Mon, 30 Jan 2006 21:24:19 GMT (envelope-from sam@freebsd.org) Date: Mon, 30 Jan 2006 21:24:19 GMT Message-Id: <200601302124.k0ULOJZA052356@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Cc: Subject: PERFORCE change 90714 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2006 21:24:20 -0000 X-List-Received-Date: Mon, 30 Jan 2006 21:24:20 -0000 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;