summaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-11-08 17:51:52 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-11-08 17:51:52 +0100
commitfa8e2458ecfc959cd627e25ba86d8eddcb63c887 (patch)
treed8c9dec3dac8e97e8591e6507a619959449d6344 /include/net/cfg80211.h
parentInput: pwm-beeper - add devicetree probing support (diff)
parentLinux 3.7-rc4 (diff)
downloadlinux-fa8e2458ecfc959cd627e25ba86d8eddcb63c887.tar.xz
linux-fa8e2458ecfc959cd627e25ba86d8eddcb63c887.zip
Merge tag 'v3.7-rc4' into next to sync up Wacom bits
Linux 3.7-rc4
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index f8cd4cf3fad8..7d5b6000378b 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -2652,6 +2652,15 @@ unsigned int ieee80211_get_hdrlen_from_skb(const struct sk_buff *skb);
unsigned int __attribute_const__ ieee80211_hdrlen(__le16 fc);
/**
+ * ieee80211_get_mesh_hdrlen - get mesh extension header length
+ * @meshhdr: the mesh extension header, only the flags field
+ * (first byte) will be accessed
+ * Returns the length of the extension header, which is always at
+ * least 6 bytes and at most 18 if address 5 and 6 are present.
+ */
+unsigned int ieee80211_get_mesh_hdrlen(struct ieee80211s_hdr *meshhdr);
+
+/**
* DOC: Data path helpers
*
* In addition to generic utilities, cfg80211 also offers