ieee80211_ht.h (207370) | ieee80211_ht.h (219456) |
---|---|
1/*- 2 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * | 1/*- 2 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * |
25 * $FreeBSD: head/sys/net80211/ieee80211_ht.h 207370 2010-04-29 15:19:11Z rpaulo $ | 25 * $FreeBSD: head/sys/net80211/ieee80211_ht.h 219456 2011-03-10 18:17:24Z bschmidt $ |
26 */ 27#ifndef _NET80211_IEEE80211_HT_H_ 28#define _NET80211_IEEE80211_HT_H_ 29 30/* 31 * 802.11n protocol implementation definitions. 32 */ 33 --- 120 unchanged lines hidden (view full) --- 154void ieee80211_ht_announce(struct ieee80211com *); 155 156struct ieee80211_mcs_rates { 157 uint16_t ht20_rate_800ns; 158 uint16_t ht20_rate_400ns; 159 uint16_t ht40_rate_800ns; 160 uint16_t ht40_rate_400ns; 161}; | 26 */ 27#ifndef _NET80211_IEEE80211_HT_H_ 28#define _NET80211_IEEE80211_HT_H_ 29 30/* 31 * 802.11n protocol implementation definitions. 32 */ 33 --- 120 unchanged lines hidden (view full) --- 154void ieee80211_ht_announce(struct ieee80211com *); 155 156struct ieee80211_mcs_rates { 157 uint16_t ht20_rate_800ns; 158 uint16_t ht20_rate_400ns; 159 uint16_t ht40_rate_800ns; 160 uint16_t ht40_rate_400ns; 161}; |
162extern const struct ieee80211_mcs_rates ieee80211_htrates[16]; | 162extern const struct ieee80211_mcs_rates ieee80211_htrates[]; |
163const struct ieee80211_htrateset *ieee80211_get_suphtrates( 164 struct ieee80211com *, const struct ieee80211_channel *); 165 166struct ieee80211_node; 167int ieee80211_setup_htrates(struct ieee80211_node *, 168 const uint8_t *htcap, int flags); 169void ieee80211_setup_basic_htrates(struct ieee80211_node *, 170 const uint8_t *htinfo); --- 33 unchanged lines hidden --- | 163const struct ieee80211_htrateset *ieee80211_get_suphtrates( 164 struct ieee80211com *, const struct ieee80211_channel *); 165 166struct ieee80211_node; 167int ieee80211_setup_htrates(struct ieee80211_node *, 168 const uint8_t *htcap, int flags); 169void ieee80211_setup_basic_htrates(struct ieee80211_node *, 170 const uint8_t *htinfo); --- 33 unchanged lines hidden --- |