From owner-svn-src-projects@FreeBSD.ORG Tue Apr 21 11:42:30 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 4C13C10656A6; Tue, 21 Apr 2009 11:42:30 +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 939088FC33; Tue, 21 Apr 2009 11:42:29 +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 n3LBgTEs085220; Tue, 21 Apr 2009 11:42:29 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n3LBgTPm085216; Tue, 21 Apr 2009 11:42:29 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <200904211142.n3LBgTPm085216@svn.freebsd.org> From: Rui Paulo Date: Tue, 21 Apr 2009 11:42:29 +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: r191354 - in projects/mesh11s/sys/dev: ath ral 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: Tue, 21 Apr 2009 11:42:31 -0000 Author: rpaulo Date: Tue Apr 21 11:42:28 2009 New Revision: 191354 URL: http://svn.freebsd.org/changeset/base/191354 Log: Enable MBSS mode (not yet implemented). Sponsored by: The FreeBSD Foundation Modified: projects/mesh11s/sys/dev/ath/if_ath.c projects/mesh11s/sys/dev/ral/rt2560.c projects/mesh11s/sys/dev/ral/rt2661.c Modified: projects/mesh11s/sys/dev/ath/if_ath.c ============================================================================== --- projects/mesh11s/sys/dev/ath/if_ath.c Tue Apr 21 10:54:47 2009 (r191353) +++ projects/mesh11s/sys/dev/ath/if_ath.c Tue Apr 21 11:42:28 2009 (r191354) @@ -579,6 +579,7 @@ ath_attach(u_int16_t devid, struct ath_s | IEEE80211_C_MONITOR /* monitor mode */ | IEEE80211_C_AHDEMO /* adhoc demo mode */ | IEEE80211_C_WDS /* 4-address traffic works */ + | IEEE80211_C_MBSS /* mesh point link mode */ | IEEE80211_C_SHPREAMBLE /* short preamble supported */ | IEEE80211_C_SHSLOT /* short slot time supported */ | IEEE80211_C_WPA /* capable of WPA1+WPA2 */ @@ -924,6 +925,9 @@ ath_vap_create(struct ieee80211com *ic, } ic_opmode = IEEE80211_M_HOSTAP; break; + case IEEE80211_M_MBSS: + /* XXXRP TBD */ + break; default: device_printf(sc->sc_dev, "unknown opmode %d\n", opmode); goto bad; Modified: projects/mesh11s/sys/dev/ral/rt2560.c ============================================================================== --- projects/mesh11s/sys/dev/ral/rt2560.c Tue Apr 21 10:54:47 2009 (r191353) +++ projects/mesh11s/sys/dev/ral/rt2560.c Tue Apr 21 11:42:28 2009 (r191354) @@ -284,6 +284,7 @@ rt2560_attach(device_t dev, int id) | IEEE80211_C_MONITOR /* monitor mode */ | IEEE80211_C_AHDEMO /* adhoc demo mode */ | IEEE80211_C_WDS /* 4-address traffic works */ + | IEEE80211_C_MBSS /* mesh point link mode */ | IEEE80211_C_SHPREAMBLE /* short preamble supported */ | IEEE80211_C_SHSLOT /* short slot time supported */ | IEEE80211_C_WPA /* capable of WPA1+WPA2 */ @@ -396,6 +397,8 @@ rt2560_vap_create(struct ieee80211com *i case IEEE80211_M_AHDEMO: case IEEE80211_M_MONITOR: case IEEE80211_M_HOSTAP: + case IEEE80211_M_MBSS: + /* XXXRP: TBD */ if (!TAILQ_EMPTY(&ic->ic_vaps)) { if_printf(ifp, "only 1 vap supported\n"); return NULL; Modified: projects/mesh11s/sys/dev/ral/rt2661.c ============================================================================== --- projects/mesh11s/sys/dev/ral/rt2661.c Tue Apr 21 10:54:47 2009 (r191353) +++ projects/mesh11s/sys/dev/ral/rt2661.c Tue Apr 21 11:42:28 2009 (r191354) @@ -286,6 +286,7 @@ rt2661_attach(device_t dev, int id) | IEEE80211_C_MONITOR /* monitor mode */ | IEEE80211_C_AHDEMO /* adhoc demo mode */ | IEEE80211_C_WDS /* 4-address traffic works */ + | IEEE80211_C_MBSS /* mesh point link mode */ | IEEE80211_C_SHPREAMBLE /* short preamble supported */ | IEEE80211_C_SHSLOT /* short slot time supported */ | IEEE80211_C_WPA /* capable of WPA1+WPA2 */ @@ -392,6 +393,8 @@ rt2661_vap_create(struct ieee80211com *i case IEEE80211_M_AHDEMO: case IEEE80211_M_MONITOR: case IEEE80211_M_HOSTAP: + case IEEE80211_M_MBSS: + /* XXXRP: TBD */ if (!TAILQ_EMPTY(&ic->ic_vaps)) { if_printf(ifp, "only 1 vap supported\n"); return NULL;