diff options
author | sam <sam@FreeBSD.org> | 2007-11-14 21:28:48 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2007-11-14 21:28:48 +0000 |
commit | 48737e6e4fcc05f5621f61d317e69cd794d23941 (patch) | |
tree | c8f33b8b1ca204e6744c69ee7c4e9ff128711232 /sys/net80211/ieee80211.h | |
parent | 4b290fe097cd667bda22db5b208b26a219e4f971 (diff) | |
download | FreeBSD-src-48737e6e4fcc05f5621f61d317e69cd794d23941.zip FreeBSD-src-48737e6e4fcc05f5621f61d317e69cd794d23941.tar.gz |
correct MIMO power save action frame format;
this one really is from the D2.04 spec
MFC after: 3 days
Diffstat (limited to 'sys/net80211/ieee80211.h')
-rw-r--r-- | sys/net80211/ieee80211.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h index 0fc7078..8f0efd2 100644 --- a/sys/net80211/ieee80211.h +++ b/sys/net80211/ieee80211.h @@ -326,10 +326,16 @@ struct ieee80211_action_ht_txchwidth { /* HT - MIMO Power Save (NB: D2.04) */ struct ieee80211_action_ht_mimopowersave { struct ieee80211_action am_header; - uint8_t am_enable; - uint8_t am_mode; + uint8_t am_control; } __packed; +#define IEEE80211_A_HT_MIMOPWRSAVE_ENA 0x01 /* PS enabled */ +#define IEEE80211_A_HT_MIMOPWRSAVE_MODE 0x02 +#define IEEE80211_A_HT_MIMOPWRSAVE_MODE_S 1 +#define IEEE80211_A_HT_MIMOPWRSAVE_DYNAMIC 0x02 /* Dynamic Mode */ +#define IEEE80211_A_HT_MIMOPWRSAVE_STATIC 0x00 /* no SM packets */ +/* bits 2-7 reserved */ + /* Block Ack actions */ #define IEEE80211_ACTION_BA_ADDBA_REQUEST 0 /* ADDBA request */ #define IEEE80211_ACTION_BA_ADDBA_RESPONSE 1 /* ADDBA response */ |