ieee80211: add IEEE80211_COUNTRY_STRING_LEN definition
authorBing Zhao <bzhao@marvell.com>
Mon, 7 Mar 2011 19:14:23 +0000 (11:14 -0800)
committerChristian Lamparter <chunkeey@googlemail.com>
Fri, 11 Mar 2011 01:03:13 +0000 (02:03 +0100)
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h

index 4fd6532bef45796e83ca2a3ceb45236ee3caf815..06749bda7600ff8d2e9da4ffd496c89c7f18f24a 100644 (file)
@@ -1355,6 +1355,9 @@ enum {
 /* Although the spec says 8 I'm seeing 6 in practice */
 #define IEEE80211_COUNTRY_IE_MIN_LEN   6
 
+/* The Country String field of the element shall be 3 octets in length */
+#define IEEE80211_COUNTRY_STRING_LEN   3
+
 /*
  * For regulatory extension stuff see IEEE 802.11-2007
  * Annex I (page 1141) and Annex J (page 1147). Also