if_athrate.h (247508) | if_athrate.h (249578) |
---|---|
1/*- 2 * Copyright (c) 2004-2008 Sam Leffler, Errno Consulting 3 * Copyright (c) 2004 Video54 Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 13 unchanged lines hidden (view full) --- 22 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 23 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 26 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28 * THE POSSIBILITY OF SUCH DAMAGES. 29 * | 1/*- 2 * Copyright (c) 2004-2008 Sam Leffler, Errno Consulting 3 * Copyright (c) 2004 Video54 Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 13 unchanged lines hidden (view full) --- 22 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 23 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 26 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28 * THE POSSIBILITY OF SUCH DAMAGES. 29 * |
30 * $FreeBSD: head/sys/dev/ath/if_athrate.h 247508 2013-02-28 23:39:38Z adrian $ | 30 * $FreeBSD: head/sys/dev/ath/if_athrate.h 249578 2013-04-17 07:21:30Z adrian $ |
31 */ 32#ifndef _ATH_RATECTRL_H_ 33#define _ATH_RATECTRL_H_ 34 35/* 36 * Interface definitions for transmit rate control modules for the 37 * Atheros driver. 38 * --- 41 unchanged lines hidden (view full) --- 80#define ATH_RC_NUM 4 81 82#define ATH_RC_DS_FLAG 0x01 /* dual-stream rate */ 83#define ATH_RC_CW40_FLAG 0x02 /* use HT40 */ 84#define ATH_RC_SGI_FLAG 0x04 /* use short-GI */ 85#define ATH_RC_HT_FLAG 0x08 /* use HT */ 86#define ATH_RC_RTSCTS_FLAG 0x10 /* enable RTS/CTS protection */ 87#define ATH_RC_STBC_FLAG 0x20 /* enable STBC */ | 31 */ 32#ifndef _ATH_RATECTRL_H_ 33#define _ATH_RATECTRL_H_ 34 35/* 36 * Interface definitions for transmit rate control modules for the 37 * Atheros driver. 38 * --- 41 unchanged lines hidden (view full) --- 80#define ATH_RC_NUM 4 81 82#define ATH_RC_DS_FLAG 0x01 /* dual-stream rate */ 83#define ATH_RC_CW40_FLAG 0x02 /* use HT40 */ 84#define ATH_RC_SGI_FLAG 0x04 /* use short-GI */ 85#define ATH_RC_HT_FLAG 0x08 /* use HT */ 86#define ATH_RC_RTSCTS_FLAG 0x10 /* enable RTS/CTS protection */ 87#define ATH_RC_STBC_FLAG 0x20 /* enable STBC */ |
88#define ATH_RC_LDPC_FLAG 0x40 /* enable STBC */ | 88#define ATH_RC_TS_FLAG 0x40 /* triple-stream rate */ |
89 90struct ath_rc_series { 91 uint8_t rix; /* ratetable index, not rate code */ 92 uint8_t ratecode; /* hardware rate code */ 93 uint8_t tries; | 89 90struct ath_rc_series { 91 uint8_t rix; /* ratetable index, not rate code */ 92 uint8_t ratecode; /* hardware rate code */ 93 uint8_t tries; |
94 uint8_t flags; 95 uint32_t max4msframelen; | 94 uint8_t tx_power_cap; 95 uint16_t flags; 96 uint16_t max4msframelen; |
96}; 97 98/* 99 * State storage handling. 100 */ 101/* 102 * Initialize per-node state already allocated for the specified 103 * node; this space can be assumed initialized to zero. --- 64 unchanged lines hidden --- | 97}; 98 99/* 100 * State storage handling. 101 */ 102/* 103 * Initialize per-node state already allocated for the specified 104 * node; this space can be assumed initialized to zero. --- 64 unchanged lines hidden --- |