Changeset View
Changeset View
Standalone View
Standalone View
sys/net80211/ieee80211.h
Show First 20 Lines • Show All 763 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* VHT MCS information. | * VHT MCS information. | ||||
* + rx_highest/tx_highest: optional; maximum long GI VHT PPDU | * + rx_highest/tx_highest: optional; maximum long GI VHT PPDU | ||||
* data rate. 1Mbit/sec units. | * data rate. 1Mbit/sec units. | ||||
* + rx_mcs_map/tx_mcs_map: bitmap of per-stream supported MCS; | * + rx_mcs_map/tx_mcs_map: bitmap of per-stream supported MCS; | ||||
* 2 bits each. | * 2 bits each. | ||||
*/ | */ | ||||
#define IEEE80211_VHT_MCS_SUPPORT_0_7 0 /* MCS0-7 */ | |||||
#define IEEE80211_VHT_MCS_SUPPORT_0_8 1 /* MCS0-8 */ | /* 802.11ac-2013, 8.4.2.160.3 Supported VHT-MCS and NSS Set field */ | ||||
#define IEEE80211_VHT_MCS_SUPPORT_0_9 2 /* MCS0-9 */ | enum ieee80211_vht_mcs_support { | ||||
#define IEEE80211_VHT_MCS_NOT_SUPPORTED 3 /* not supported */ | IEEE80211_VHT_MCS_SUPPORT_0_7 = 0, /* MCS0-7 */ | ||||
IEEE80211_VHT_MCS_SUPPORT_0_8 = 1, /* MCS0-8 */ | |||||
IEEE80211_VHT_MCS_SUPPORT_0_9 = 2, /* MCS0-9 */ | |||||
IEEE80211_VHT_MCS_NOT_SUPPORTED = 3 /* not supported */ | |||||
}; | |||||
struct ieee80211_vht_mcs_info { | struct ieee80211_vht_mcs_info { | ||||
uint16_t rx_mcs_map; | uint16_t rx_mcs_map; | ||||
uint16_t rx_highest; | uint16_t rx_highest; | ||||
uint16_t tx_mcs_map; | uint16_t tx_mcs_map; | ||||
uint16_t tx_highest; | uint16_t tx_highest; | ||||
} __packed; | } __packed; | ||||
▲ Show 20 Lines • Show All 684 Lines • Show Last 20 Lines |