summaryrefslogtreecommitdiffstats
path: root/net/mac80211/trace.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-01-14 09:14:34 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-01-18 15:55:38 -0500
commita65240c1013222dbf41166c8b2c5ed2720c807c3 (patch)
tree782ebe013571cbf1b83c306964372faffe348b42 /net/mac80211/trace.h
parent0a214d3f7e5041685ebff054628a4354bedd78c3 (diff)
mac80211: allow drivers to access IPv6 information
To be able to implement NS response offloading (in regular operation or while in WoWLAN) drivers need to know the IPv6 addresses assigned to interfaces. Implement an IPv6 notifier in mac80211 to call the driver when addresses change. Unlike for IPv4, implement it as a callback rather than as a list in the BSS configuration, that is more flexible. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/trace.h')
-rw-r--r--net/mac80211/trace.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h
index e9f95913c6f0..2a2c2e20307d 100644
--- a/net/mac80211/trace.h
+++ b/net/mac80211/trace.h
@@ -1437,6 +1437,14 @@ DEFINE_EVENT(local_only_evt, drv_restart_complete,
1437 TP_ARGS(local) 1437 TP_ARGS(local)
1438); 1438);
1439 1439
1440#if IS_ENABLED(CONFIG_IPV6)
1441DEFINE_EVENT(local_sdata_evt, drv_ipv6_addr_change,
1442 TP_PROTO(struct ieee80211_local *local,
1443 struct ieee80211_sub_if_data *sdata),
1444 TP_ARGS(local, sdata)
1445);
1446#endif
1447
1440/* 1448/*
1441 * Tracing for API calls that drivers call. 1449 * Tracing for API calls that drivers call.
1442 */ 1450 */