Date: Thu, 18 Mar 2010 16:55:47 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r205282 - stable/7/sys/net80211 Message-ID: <201003181655.o2IGtlgE081356@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rpaulo Date: Thu Mar 18 16:55:47 2010 New Revision: 205282 URL: http://svn.freebsd.org/changeset/base/205282 Log: Fix HTCAP's SM power save bits to match the ones in HEAD. PR: 144476 Submitted by: Alexander Egorenkov <egorenar at gmail.com> Modified: stable/7/sys/net80211/ieee80211.h Modified: stable/7/sys/net80211/ieee80211.h ============================================================================== --- stable/7/sys/net80211/ieee80211.h Thu Mar 18 15:28:17 2010 (r205281) +++ stable/7/sys/net80211/ieee80211.h Thu Mar 18 16:55:47 2010 (r205282) @@ -531,10 +531,10 @@ struct ieee80211_ie_htcap { #define IEEE80211_HTCAP_LDPC 0x0001 /* LDPC supported */ #define IEEE80211_HTCAP_CHWIDTH40 0x0002 /* 20/40 supported */ #define IEEE80211_HTCAP_SMPS 0x000c /* SM Power Save mode */ -#define IEEE80211_HTCAP_SMPS_OFF 0x0000 /* none (static mode) */ +#define IEEE80211_HTCAP_SMPS_OFF 0x000c /* disabled */ #define IEEE80211_HTCAP_SMPS_DYNAMIC 0x0004 /* send RTS first */ /* NB: SMPS value 2 is reserved */ -#define IEEE80211_HTCAP_SMPS_ENA 0x000c /* enabled */ +#define IEEE80211_HTCAP_SMPS_ENA 0x0000 /* enabled (static mode) */ #define IEEE80211_HTCAP_GREENFIELD 0x0010 /* Greenfield supported */ #define IEEE80211_HTCAP_SHORTGI20 0x0020 /* Short GI in 20MHz */ #define IEEE80211_HTCAP_SHORTGI40 0x0040 /* Short GI in 40MHz */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003181655.o2IGtlgE081356>