From ef6758ef6ab9ee47064582d6a013729f47ed9ac2 Mon Sep 17 00:00:00 2001 From: Bing Zhao Date: Mon, 7 Mar 2011 11:14:23 -0800 Subject: [PATCH] ieee80211: add IEEE80211_COUNTRY_STRING_LEN definition Signed-off-by: Bing Zhao Signed-off-by: John W. Linville Signed-off-by: Christian Lamparter --- include/linux/ieee80211.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 4fd6532..06749bd 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -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 -- 2.31.1