diff options
| author | Mahesh Palivela <maheshp@posedge.com> | 2012-10-10 07:25:40 -0400 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-17 05:02:13 -0400 |
| commit | d4950281d72d8845225e3a39dbeb366c40c824c9 (patch) | |
| tree | 57396a72a205ed8d3b30993f6be44c7766b9722c /include/linux | |
| parent | 1258d97616fdca9abc0c21f2edeb1d5b21dcb128 (diff) | |
ieee80211: Rename VHT cap struct
Rename struct ieee80211_vht_capabilities to ieee80211_vht_cap
and renamed its member vht_capabilities_info to vht_cap_info.
Signed-off-by: Mahesh Palivela <maheshp@posedge.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ieee80211.h | 45 |
1 files changed, 31 insertions, 14 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 2385119f8bb0..8c803f0e4925 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h | |||
| @@ -1107,20 +1107,6 @@ struct ieee80211_ht_operation { | |||
| 1107 | #define WLAN_HT_SMPS_CONTROL_STATIC 1 | 1107 | #define WLAN_HT_SMPS_CONTROL_STATIC 1 |
| 1108 | #define WLAN_HT_SMPS_CONTROL_DYNAMIC 3 | 1108 | #define WLAN_HT_SMPS_CONTROL_DYNAMIC 3 |
| 1109 | 1109 | ||
| 1110 | #define VHT_MCS_SUPPORTED_SET_SIZE 8 | ||
| 1111 | |||
| 1112 | struct ieee80211_vht_capabilities { | ||
| 1113 | __le32 vht_capabilities_info; | ||
| 1114 | u8 vht_supported_mcs_set[VHT_MCS_SUPPORTED_SET_SIZE]; | ||
| 1115 | } __packed; | ||
| 1116 | |||
| 1117 | struct ieee80211_vht_operation { | ||
| 1118 | u8 vht_op_info_chwidth; | ||
| 1119 | u8 vht_op_info_chan_center_freq_seg1_idx; | ||
| 1120 | u8 vht_op_info_chan_center_freq_seg2_idx; | ||
| 1121 | __le16 vht_basic_mcs_set; | ||
| 1122 | } __packed; | ||
| 1123 | |||
| 1124 | /** | 1110 | /** |
| 1125 | * struct ieee80211_vht_mcs_info - VHT MCS information | 1111 | * struct ieee80211_vht_mcs_info - VHT MCS information |
| 1126 | * @rx_mcs_map: RX MCS map 2 bits for each stream, total 8 streams | 1112 | * @rx_mcs_map: RX MCS map 2 bits for each stream, total 8 streams |
| @@ -1141,6 +1127,37 @@ struct ieee80211_vht_mcs_info { | |||
| 1141 | __le16 tx_highest; | 1127 | __le16 tx_highest; |
| 1142 | } __packed; | 1128 | } __packed; |
| 1143 | 1129 | ||
| 1130 | /** | ||
| 1131 | * struct ieee80211_vht_cap - VHT capabilities | ||
| 1132 | * | ||
| 1133 | * This structure is the "VHT capabilities element" as | ||
| 1134 | * described in 802.11ac D3.0 8.4.2.160 | ||
| 1135 | * @vht_cap_info: VHT capability info | ||
| 1136 | * @supp_mcs: VHT MCS supported rates | ||
| 1137 | */ | ||
| 1138 | struct ieee80211_vht_cap { | ||
| 1139 | __le32 vht_cap_info; | ||
| 1140 | struct ieee80211_vht_mcs_info supp_mcs; | ||
| 1141 | } __packed; | ||
| 1142 | |||
| 1143 | /** | ||
| 1144 | * struct ieee80211_vht_operation - VHT operation IE | ||
| 1145 | * | ||
| 1146 | * This structure is the "VHT operation element" as | ||
| 1147 | * described in 802.11ac D3.0 8.4.2.161 | ||
| 1148 | * @chan_width: Operating channel width | ||
| 1149 | * @center_freq_seg1_idx: center freq segment 1 index | ||
| 1150 | * @center_freq_seg2_idx: center freq segment 2 index | ||
| 1151 | * @basic_mcs_set: VHT Basic MCS rate set | ||
| 1152 | */ | ||
| 1153 | struct ieee80211_vht_operation { | ||
| 1154 | u8 chan_width; | ||
| 1155 | u8 center_freq_seg1_idx; | ||
| 1156 | u8 center_freq_seg2_idx; | ||
| 1157 | __le16 basic_mcs_set; | ||
| 1158 | } __packed; | ||
| 1159 | |||
| 1160 | |||
| 1144 | #define IEEE80211_VHT_MCS_ZERO_TO_SEVEN_SUPPORT 0 | 1161 | #define IEEE80211_VHT_MCS_ZERO_TO_SEVEN_SUPPORT 0 |
| 1145 | #define IEEE80211_VHT_MCS_ZERO_TO_EIGHT_SUPPORT 1 | 1162 | #define IEEE80211_VHT_MCS_ZERO_TO_EIGHT_SUPPORT 1 |
| 1146 | #define IEEE80211_VHT_MCS_ZERO_TO_NINE_SUPPORT 2 | 1163 | #define IEEE80211_VHT_MCS_ZERO_TO_NINE_SUPPORT 2 |
