mac80211: Set the correct values for hwmp (1) and airtimeLinkMetric (1)
authorJavier Cardona <javier@cozybit.com>
Thu, 12 Apr 2012 21:32:20 +0000 (14:32 -0700)
committerChristian Lamparter <chunkeey@googlemail.com>
Sat, 5 May 2012 17:13:03 +0000 (19:13 +0200)
Per sections 8.4.2.100.2 and 8.4.2.100.3 of Std 802.11-2012

Reported-by: Shinichi Hotori <hotorinn@gmail.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h

index b7de51388054b523032518203fc1a272ae716ca3..e4448caebc8b62835d5a064e1e6758335f17e4bf 100644 (file)
@@ -1488,7 +1488,7 @@ enum {
  * be specified in a vendor specific information element
  */
 enum {
-       IEEE80211_PATH_PROTOCOL_HWMP = 0,
+       IEEE80211_PATH_PROTOCOL_HWMP = 1,
        IEEE80211_PATH_PROTOCOL_VENDOR = 255,
 };
 
@@ -1500,7 +1500,7 @@ enum {
  * specified in a vendor specific information element
  */
 enum {
-       IEEE80211_PATH_METRIC_AIRTIME = 0,
+       IEEE80211_PATH_METRIC_AIRTIME = 1,
        IEEE80211_PATH_METRIC_VENDOR = 255,
 };