1. 18 Mar, 2014 3 commits
    • Johannes Berg's avatar
      iwlwifi: mvm: remove using max_duration in firmware API · 65d66628
      Johannes Berg authored
      The firmware decided to not implement this API in this way,
      so for now remove setting the field completely. This will
      allow the firmware to change how to use this field later.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      65d66628
    • Emmanuel Grumbach's avatar
      iwlwifi: mvm: BT Coex - add debugfs hook to set BT Tx priority · cdb00563
      Emmanuel Grumbach authored
      In order to debug the firmware, we need to be able to set
      the BT priority of WiFi packets. This priority is set based
      on the type of the packet (control frames, EAPOL etc...).
      For debugging purposes, allow to override this priority by
      a debugfs controlled value.
      Enable this feature that needs this priority to be able to
      test it.
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      cdb00563
    • Emmanuel Grumbach's avatar
      iwlwifi: mvm: send udev event upon firmware error to dump logs · 1bd3cbc1
      Emmanuel Grumbach authored
      When the firmware asserts, the driver will dump the firmware
      state to an internal buffer. This buffer is kept aside until
      it is dumped through debugfs. Once an external application
      fetched the data, the buffer is freed and a new buffer can
      be allocated in case another assert occurs.
      
      A udev event is sent to trigger an external application.
      
      A simple rule like:
      DRIVER=="iwlwifi", ACTION=="change", RUN+="/sbin/dump_sram.sh"
      
      can fetch the data from debugfs.
      
      Here is my dump_sram.sh:
      
      phyname=$(basename ${DEVPATH})
      date=$(date +%F_%H_%M)
      filename=/var/log/iwl-sram-${phyname}-${date}.bin
      cat /sys/kernel/debug/ieee80211/${phyname}/iwlwifi/iwlmvm/fw_error_dump > ${filename}
      
      The current SRAM size is 80KB so, currently:
      $ ls -lh iwl-sram-phy0-2014-03-16_13_14.bin
      -rw-r--r-- 1 emmanuel emmanuel 81K Mar 16 13:15 iwl-sram-phy0-2014-03-16_13_14.bin
      
      and after compression:
      $ ls -lh iwl-sram-phy0-2014-03-16_13_14.bin.xz
      -rw-r--r-- 1 emmanuel emmanuel 13K Mar 16 13:15 iwl-sram-phy0-2014-03-16_13_14.bin.xz
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      1bd3cbc1
  2. 16 Mar, 2014 10 commits
  3. 11 Mar, 2014 4 commits
  4. 09 Mar, 2014 12 commits
  5. 28 Feb, 2014 11 commits