From owner-svn-src-projects@FreeBSD.ORG Sat Jun 27 15:33:39 2009 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A11D4106566C; Sat, 27 Jun 2009 15:33:39 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8F54E8FC12; Sat, 27 Jun 2009 15:33:39 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5RFXd21081377; Sat, 27 Jun 2009 15:33:39 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5RFXdjZ081375; Sat, 27 Jun 2009 15:33:39 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <200906271533.n5RFXdjZ081375@svn.freebsd.org> From: Rui Paulo Date: Sat, 27 Jun 2009 15:33:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r195106 - projects/mesh11s/sys/net80211 X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2009 15:33:39 -0000 Author: rpaulo Date: Sat Jun 27 15:33:39 2009 New Revision: 195106 URL: http://svn.freebsd.org/changeset/base/195106 Log: * allow chaging bintval and dtim perion on mesh vaps. Sponsored by: The FreeBSD Foundation Modified: projects/mesh11s/sys/net80211/ieee80211_ioctl.c Modified: projects/mesh11s/sys/net80211/ieee80211_ioctl.c ============================================================================== --- projects/mesh11s/sys/net80211/ieee80211_ioctl.c Sat Jun 27 15:03:50 2009 (r195105) +++ projects/mesh11s/sys/net80211/ieee80211_ioctl.c Sat Jun 27 15:33:39 2009 (r195106) @@ -2856,6 +2856,7 @@ ieee80211_ioctl_set80211(struct ieee8021 break; case IEEE80211_IOC_DTIM_PERIOD: if (vap->iv_opmode != IEEE80211_M_HOSTAP && + vap->iv_opmode != IEEE80211_M_MBSS && vap->iv_opmode != IEEE80211_M_IBSS) return EINVAL; if (IEEE80211_DTIM_MIN <= ireq->i_val && @@ -2867,6 +2868,7 @@ ieee80211_ioctl_set80211(struct ieee8021 break; case IEEE80211_IOC_BEACON_INTERVAL: if (vap->iv_opmode != IEEE80211_M_HOSTAP && + vap->iv_opmode != IEEE80211_M_MBSS && vap->iv_opmode != IEEE80211_M_IBSS) return EINVAL; if (IEEE80211_BINTVAL_MIN <= ireq->i_val &&