This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:developers:documentation:mac80211:ratecontrol:minstrel [2016/01/11 18:02] Valent Turkovic I noticed that there are 27 files and not 6 so I updated the list, but I don't have description for them. |
en:developers:documentation:mac80211:ratecontrol:minstrel [2016/01/12 08:07] Johannes Berg old revision restored (2015/03/31 00:04) |
||
---|---|---|---|
Line 120: | Line 120: | ||
<code># mount -t debugfs debugfs /sys/kernel/debug/</code> | <code># mount -t debugfs debugfs /sys/kernel/debug/</code> | ||
- | Inside the <code>/sys/kernel/debug/ieee80211/phy0/stations/</code> directory there will be subdirectories, where the subdirectory corresponds to each node that we are associated with. The name of the subdirectory is the mac address of the associated node. Take for example (from a box here) the directory <code>/sys/kernel/debug/ieee80211/phy0/stations/00:02:6f:49:41:01</code>. There are 27 different files | + | Inside the <code>/sys/kernel/debug/ieee80211/phy0/stations/</code> directory there will be subdirectories, where the subdirectory corresponds to each node that we are associated with. The name of the subdirectory is the mac address of the associated node. Take for example (from a box here) the directory <code>/sys/kernel/debug/ieee80211/phy0/stations/00:02:6f:49:41:01</code>. There are 6 different files |
<code>agg_status report of different parameters for the remote station | <code>agg_status report of different parameters for the remote station | ||
- | beacon_loss_count | ||
- | connected_time | ||
- | current_tx_rate | ||
- | dev | ||
- | driver_buffered_tids | ||
flags Auth, Assoc, ps authorized preamble, wme, wds, mfp | flags Auth, Assoc, ps authorized preamble, wme, wds, mfp | ||
- | ht_capa | ||
inactive_ms time (ms) since received a last packet | inactive_ms time (ms) since received a last packet | ||
- | last_ack_signal | ||
- | last_rx_rate | ||
last_seq_ctrl for each RX q, last rx seq/frag number from the remote station | last_seq_ctrl for each RX q, last rx seq/frag number from the remote station | ||
- | last_signal | ||
num_ps_buf_frames number of ps frames to transmit to the remote station | num_ps_buf_frames number of ps frames to transmit to the remote station | ||
- | rc_stats A table of loss/success rates for each data rates | + | rc_stats A table of loss/success rates for each data rates</code> |
- | rx_bytes | + | |
- | rx_dropped | + | |
- | rx_duplicates | + | |
- | rx_fragments | + | |
- | rx_packets | + | |
- | tx_bytes | + | |
- | tx_filtered | + | |
- | tx_fragments | + | |
- | tx_packets | + | |
- | tx_retry_count | + | |
- | tx_retry_failed | + | |
- | vht_capa</code> | + | |
The most interesting file is the <code>rc_stats</code> file, as it contains the working information that Minstrel uses to determine the rate for the next packet, and is a report on which rates work well/badly. While developing Minstrel, the following command: | The most interesting file is the <code>rc_stats</code> file, as it contains the working information that Minstrel uses to determine the rate for the next packet, and is a report on which rates work well/badly. While developing Minstrel, the following command: | ||