aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ieee80211.h
diff options
context:
space:
mode:
authorJavier Cardona <javier@cozybit.com>2010-12-16 20:37:49 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-12-20 14:46:57 -0500
commitc80d545da3f7c0e534ccd4a780f322f80a92cff1 (patch)
treeedd5c51676b4677fc1a0b2fc692ffe97df863f25 /include/linux/ieee80211.h
parent24bdd9f4c9af75b33b438d60381a67626de0128d (diff)
mac80211: Let userspace enable and configure vendor specific path selection.
Userspace will now be allowed to toggle between the default path selection algorithm (HWMP, implemented in the kernel), and a vendor specific alternative. Also in the same patch, allow userspace to add information elements to mesh beacons. This is accordance with the Extensible Path Selection Framework specified in version 7.0 of the 802.11s draft. Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r--include/linux/ieee80211.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 7f2354534242..cd681681d211 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1291,6 +1291,31 @@ enum ieee80211_key_len {
1291 WLAN_KEY_LEN_AES_CMAC = 16, 1291 WLAN_KEY_LEN_AES_CMAC = 16,
1292}; 1292};
1293 1293
1294/**
1295 * enum - mesh path selection protocol identifier
1296 *
1297 * @IEEE80211_PATH_PROTOCOL_HWMP: the default path selection protocol
1298 * @IEEE80211_PATH_PROTOCOL_VENDOR: a vendor specific protocol that will
1299 * be specified in a vendor specific information element
1300 */
1301enum {
1302 IEEE80211_PATH_PROTOCOL_HWMP = 0,
1303 IEEE80211_PATH_PROTOCOL_VENDOR = 255,
1304};
1305
1306/**
1307 * enum - mesh path selection metric identifier
1308 *
1309 * @IEEE80211_PATH_METRIC_AIRTIME: the default path selection metric
1310 * @IEEE80211_PATH_METRIC_VENDOR: a vendor specific metric that will be
1311 * specified in a vendor specific information element
1312 */
1313enum {
1314 IEEE80211_PATH_METRIC_AIRTIME = 0,
1315 IEEE80211_PATH_METRIC_VENDOR = 255,
1316};
1317
1318
1294/* 1319/*
1295 * IEEE 802.11-2007 7.3.2.9 Country information element 1320 * IEEE 802.11-2007 7.3.2.9 Country information element
1296 * 1321 *