summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2011-03-07 20:14:23 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-03-09 22:10:56 +0100
commit80751e2b8ffcbbe065e850d943301aa1ab219599 (patch)
tree454176f57e0765986809009c71076ff483160ce4 /include
parentmwl8k: use kcalloc instead of kmalloc & memset (diff)
downloadlinux-80751e2b8ffcbbe065e850d943301aa1ab219599.tar.xz
linux-80751e2b8ffcbbe065e850d943301aa1ab219599.zip
ieee80211: add IEEE80211_COUNTRY_STRING_LEN definition
and make use of it in wireless drivers Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ieee80211.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 294169e31364..2d1c6117d92c 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1325,6 +1325,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