Date: Tue, 21 Apr 2009 11:42:29 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r191354 - in projects/mesh11s/sys/dev: ath ral Message-ID: <200904211142.n3LBgTPm085216@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904211142.n3LBgTPm085216>