aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 86583ce97b1b..c6964572890f 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -2666,6 +2666,15 @@ unsigned int ieee80211_get_hdrlen_from_skb(const struct sk_buff *skb);
2666unsigned int __attribute_const__ ieee80211_hdrlen(__le16 fc); 2666unsigned int __attribute_const__ ieee80211_hdrlen(__le16 fc);
2667 2667
2668/** 2668/**
2669 * ieee80211_get_mesh_hdrlen - get mesh extension header length
2670 * @meshhdr: the mesh extension header, only the flags field
2671 * (first byte) will be accessed
2672 * Returns the length of the extension header, which is always at
2673 * least 6 bytes and at most 18 if address 5 and 6 are present.
2674 */
2675unsigned int ieee80211_get_mesh_hdrlen(struct ieee80211s_hdr *meshhdr);
2676
2677/**
2669 * DOC: Data path helpers 2678 * DOC: Data path helpers
2670 * 2679 *
2671 * In addition to generic utilities, cfg80211 also offers 2680 * In addition to generic utilities, cfg80211 also offers