aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/trace.h')
-rw-r--r--net/wireless/trace.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/net/wireless/trace.h b/net/wireless/trace.h
index 625a6e6d1168..8e4f8f04332d 100644
--- a/net/wireless/trace.h
+++ b/net/wireless/trace.h
@@ -801,6 +801,51 @@ TRACE_EVENT(rdev_dump_mpath,
801 MAC_PR_ARG(next_hop)) 801 MAC_PR_ARG(next_hop))
802); 802);
803 803
804TRACE_EVENT(rdev_get_mpp,
805 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev,
806 u8 *dst, u8 *mpp),
807 TP_ARGS(wiphy, netdev, dst, mpp),
808 TP_STRUCT__entry(
809 WIPHY_ENTRY
810 NETDEV_ENTRY
811 MAC_ENTRY(dst)
812 MAC_ENTRY(mpp)
813 ),
814 TP_fast_assign(
815 WIPHY_ASSIGN;
816 NETDEV_ASSIGN;
817 MAC_ASSIGN(dst, dst);
818 MAC_ASSIGN(mpp, mpp);
819 ),
820 TP_printk(WIPHY_PR_FMT ", " NETDEV_PR_FMT ", destination: " MAC_PR_FMT
821 ", mpp: " MAC_PR_FMT, WIPHY_PR_ARG, NETDEV_PR_ARG,
822 MAC_PR_ARG(dst), MAC_PR_ARG(mpp))
823);
824
825TRACE_EVENT(rdev_dump_mpp,
826 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, int idx,
827 u8 *dst, u8 *mpp),
828 TP_ARGS(wiphy, netdev, idx, mpp, dst),
829 TP_STRUCT__entry(
830 WIPHY_ENTRY
831 NETDEV_ENTRY
832 MAC_ENTRY(dst)
833 MAC_ENTRY(mpp)
834 __field(int, idx)
835 ),
836 TP_fast_assign(
837 WIPHY_ASSIGN;
838 NETDEV_ASSIGN;
839 MAC_ASSIGN(dst, dst);
840 MAC_ASSIGN(mpp, mpp);
841 __entry->idx = idx;
842 ),
843 TP_printk(WIPHY_PR_FMT ", " NETDEV_PR_FMT ", index: %d, destination: "
844 MAC_PR_FMT ", mpp: " MAC_PR_FMT,
845 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->idx, MAC_PR_ARG(dst),
846 MAC_PR_ARG(mpp))
847);
848
804TRACE_EVENT(rdev_return_int_mpath_info, 849TRACE_EVENT(rdev_return_int_mpath_info,
805 TP_PROTO(struct wiphy *wiphy, int ret, struct mpath_info *pinfo), 850 TP_PROTO(struct wiphy *wiphy, int ret, struct mpath_info *pinfo),
806 TP_ARGS(wiphy, ret, pinfo), 851 TP_ARGS(wiphy, ret, pinfo),