]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: make data frame tracing optional
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Sep 2012 20:34:44 +0000 (22:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Oct 2012 14:30:45 +0000 (16:30 +0200)
commit07ea79c17407830e40b1475869217fcb5d3b96eb
treea4b66d869348a06214c0398da81869a65fe7a2e3
parent68876a66c2f1ab537068da50cd128cc0589cf6ea
iwlwifi: make data frame tracing optional

When tracing in iwlwifi, we get all data. Most of
the time, we don't need it, and it just takes up
a lot of extra space in the trace.

Make this optional by recording the data into two
separate trace events if it is needed. Without it,
record only the content of non-data and EAPOL TX
frames.

As a result, tracing without the data tracepoints
will record meta information including the 802.11
headers for all frames but will not record the
contents of data frames to reduce trace overhead.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/main.c
drivers/net/wireless/iwlwifi/iwl-devtrace.h
drivers/net/wireless/iwlwifi/iwl-trans.h
drivers/net/wireless/iwlwifi/pcie/rx.c
drivers/net/wireless/iwlwifi/pcie/trans.c