1. 16 10月, 2012 1 次提交
    • J
      iwlwifi: make data frame tracing optional · f042c2eb
      Johannes Berg 提交于
      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: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      f042c2eb
  2. 05 9月, 2012 1 次提交
  3. 25 6月, 2012 2 次提交
  4. 06 6月, 2012 1 次提交
  5. 08 3月, 2012 1 次提交
  6. 18 2月, 2012 1 次提交
  7. 25 1月, 2012 1 次提交
  8. 07 1月, 2012 1 次提交
  9. 20 12月, 2011 1 次提交
  10. 09 11月, 2011 1 次提交
  11. 30 8月, 2011 1 次提交
  12. 14 5月, 2011 2 次提交
    • W
      iwlagn: more ucode error log info · 50650547
      Wey-Yi Guy 提交于
      No functional changes, just logging more information when uCode crash, also
      change change the format.
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      50650547
    • J
      iwlagn: support multiple TBs per command · 4ce7cc2b
      Johannes Berg 提交于
      The current "huge" command handling is a bit
      confusing, and very limited since only one
      command may be huge at a time. Additionally,
      we often copy data around quite pointlessly
      since we could instead map the existing scan
      buffer for example and use it directly.
      
      This patch makes that possible. The first
      change is that multiple buffers may be given
      to each command (this change was prepared
      earlier so callsites don't need to change).
      Each of those can be mapped attached to a TB
      in the TFD, and the command header can use a
      TB (the first one) in the TFD as well.
      
      Doing this allows getting rid of huge commands
      in favour of mapping existing buffers. The
      beacon transmission is also optimised to not
      copy the SKB at all but use multiple TBs.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      4ce7cc2b
  13. 08 4月, 2011 1 次提交
  14. 07 8月, 2010 1 次提交
  15. 30 3月, 2010 1 次提交
    • T
      iwlwifi: don't include iwl-dev.h from iwl-devtrace.h · ed391f4e
      Tejun Heo 提交于
      iwl-devtrace.h is used to declare and define trace points and
      including iwl-dev.h from the file, which in turn includes other
      generic headers, can lead to problems like generating duplicate copies
      of generic trace points depending on the order of includes.  Don't
      include iwl-dev.h from iwl-devtrace.h but include it from its users -
      iwl-io.h and iwl-devtrace.c.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Acked-by: NReinette Chatre <reinette.chatre@intel.com>
      Cc: Zhu Yi <yi.zhu@intel.com>
      Cc: Intel Linux Wireless <ilw@linux.intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      ed391f4e
  16. 19 1月, 2010 1 次提交
  17. 22 12月, 2009 1 次提交
    • W
      iwlwifi: add continuous uCode event log capability · a9e1cb6a
      Wey-Yi Guy 提交于
      In order to help uCode debugging, adding the capability to provide
      continuous uCode event logging function.
      
      uCode events is located in round-robin event queue and filled by uCode,
      by enable continuous event logging, driver check the write pointer
      and log the newly added events in iwl_bg_ucode_trace() timer function.
      
      There is still possibility of missing events if event queue being
      wrapped before next event dump; but with this capability, we can have
      much better understanding of the uCode behavior during runtime; it can
      help to debug the uCode related issues.
      
      Methods to enable/disable the continuous event log:
      step 1: enable ucode trace timer
           "echo 1 >
      /sys/kernel/debug/ieee80211/phyX/iwlagn/debug/ucode_tracing"
      step 2: start ftrace
           sudo ./trace-cmd record -e iwlwifi_ucode:* sleep 1d
      step 3: stop ftrace
           sudo ./trace-cmd report trace.dat
      step 4: disable ucode trace timer
           "echo 0 >
      /sys/kernel/debug/ieee80211/phyX/iwlagn/debug/ucode_tracing"
      
      use "ucode_tracing" debugfs file to display number of event
      queue wrapped when driver attempt the continuous event logging. If event
      queue being wrapped more than once when driver has opportunity to log
      the event; it indicated there are events missing in the event log trace.
      
      This continuous event log function only available for 4965 and newer
      NICs.
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a9e1cb6a
  18. 24 11月, 2009 2 次提交
  19. 08 10月, 2009 1 次提交