User Tools

Site Tools


en:users:drivers:iwlwifi:debugging

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:users:drivers:iwlwifi:debugging [2017/03/29 13:49]
Emmanuel Grumbach
en:users:drivers:iwlwifi:debugging [2019/01/23 03:50]
Emmanuel Grumbach [Privacy aspects]
Line 23: Line 23:
  
 <​code>​sudo trace-cmd record -e iwlwifi -e mac80211 -e cfg80211 -e iwlwifi_msg</​code>​ <​code>​sudo trace-cmd record -e iwlwifi -e mac80211 -e cfg80211 -e iwlwifi_msg</​code>​
-This records all the data that goes from and to the firmware. The output is a file: trace.dat which you can compress prior to sending. To enable tracing, [[https://​git.kernel.org/​cgit/​linux/​kernel/​git/​stable/​linux-stable.git/​tree/​drivers/​net/​wireless/​iwlwifi/​Kconfig#​n130|CONFIG_IWLWIFI_TRACING]] must be set.+This records all the data that goes from and to the firmware. The output is a file: trace.dat which you can compress prior to sending. To enable tracing, [[https://​git.kernel.org/​pub/scm/​linux/​kernel/​git/​stable/​linux.git/​tree/​drivers/​net/​wireless/intel/​iwlwifi/​Kconfig#​n139|CONFIG_IWLWIFI_TRACING]] must be set. 
 + 
 +**//Note: you must not remove the iwlwifi kernel module while tracing is running. You need to stop the tracing first!//**
  
 ==== Air sniffing ==== ==== Air sniffing ====
Line 112: Line 114:
 For instance: For instance:
  
-<​code>​gpg --encrypt -r 18D075865D915B5E386F660F2D0B96FE6E363201 -r C0EBC440F6DA091C884D8532E0F373F37BF9099A -r 1772CD7E06F604F5A6EBCB26A1479CA21A3CC5FA <​file_to_encrypt></​code>​+<​code>​ 
 +gpg --recv-keys C0EBC440F6DA091C884D8532E0F373F37BF9099A 1772CD7E06F604F5A6EBCB26A1479CA21A3CC5FA 18D075865D915B5E386F660F2D0B96FE6E363201 
 +gpg --encrypt -r 18D075865D915B5E386F660F2D0B96FE6E363201 -r C0EBC440F6DA091C884D8532E0F373F37BF9099A -r 1772CD7E06F604F5A6EBCB26A1479CA21A3CC5FA <​file_to_encrypt></​code>​
  
 This will generate a new, encrypted file that you should provide to us.  Any of, and only, these developers will be able to open the file.  Adding the three keys during encryption allows us to respond faster, since we're not restrained by a single developer'​s availability. This will generate a new, encrypted file that you should provide to us.  Any of, and only, these developers will be able to open the file.  Adding the three keys during encryption allows us to respond faster, since we're not restrained by a single developer'​s availability.
en/users/drivers/iwlwifi/debugging.txt · Last modified: 2022/05/30 08:07 by Johannes Berg