Closed systemcrash closed 3 years ago
Thanks for the detailed review. I just updated the page, please let me know if you see any issues remaining.
This code block is still confusing, and I think needs delineating:
# See help info on this option
]# cat /sys/kernel/debug/ieee80211/wiphy0/ath10k/set_rates
This is to set fixed bcast, mcast, and beacon rates. Normal rate-ctrl
is handled through normal API using 'iw', etc.
To set a value, you specify the dev-name, type, band and rate-code:
types: bcast, mcast, beacon
bands: 2, 5, 60
rate-codes: 0x43 1M, 0x42 2M, 0x41 5.5M, 0x40 11M, 0x3 6M, 0x7 9M, 0x2 12M, 0x6 18M, 0x1 24M, 0x5 36M, 0x0 48M, 0x4 54M, 0xFF default
For example, to set beacon to 18Mbps on wlan0: echo "wlan0 beacon 2 0x6" > /debug/..../set_rates
# Set beacons to use 18Mbps encoding
echo "wlan0 beacon 2 0x6" > /sys/kernel/debug/ieee80211/wiphy0/ath10k/set_rates
For the more adventurous, you can figure out HT and VHT rate codes by looking
at how the ath10k driver builds/decodes them. I am not sure HT or VHT rates can
be used successfully for these frames currently, however.
e.g.
# See help info on this option
]# cat /sys/kernel/debug/ieee80211/wiphy0/ath10k/set_rates
This is to set fixed bcast, mcast, and beacon rates. Normal rate-ctrl is handled through normal API using 'iw', etc. To set a value, you specify the dev-name, type, band and rate-code:
types: bcast, mcast, beacon
bands: 2, 5, 60
rate-codes: 0x43 1M, 0x42 2M, 0x41 5.5M, 0x40 11M, 0x3 6M, 0x7 9M, 0x2 12M, 0x6 18M, 0x1 24M, 0x5 36M, 0x0 48M, 0x4 54M, 0xFF default
For example, to set beacon to 18Mbps on wlan0:
echo "wlan0 beacon 2 0x6" > /debug/..../set_rates
EDIT: is the above a dupe?
# Set beacons to use 18Mbps encoding
echo "wlan0 beacon 2 0x6" > /sys/kernel/debug/ieee80211/wiphy0/ath10k/set_rates
For the more adventurous, you can figure out HT and VHT rate codes by looking at how the ath10k driver builds/decodes them. I am not sure HT or VHT rates can be used successfully for these frames currently, however.
Edit: I realise that cat /sys/kernel/debug/ieee80211/wiphy0/ath10k/set_rates
dumps a whole wad of text, but it helps readability like suggested 😃
Also:
Due to some register setting commands which I do not full understand,
as
Due to some register setting commands which I do not fully understand,
😄
Please try now.
Last
For the more adventurous, you can figure out HT and VHT rate codes by looking
at how the ath10k driver builds/decodes them. I am not sure HT or VHT rates can
be used successfully for these frames currently, however.
can be un-commented, otherwise great! Thank you for the clarifications.
ok, I tweaked that. Let me know if you see anything else.
OK - will comment here if I do. Otherwise closing.
https://www.candelatech.com/ath10k-ug.php
Description of the problem (how to configure, how to reproduce, how often it happens).
Seems like there is a problem with formatting under this heading:
Set multicast, broadcast, beacon tx rates.
Contradiction in docu above
e.g.
Which one is actually disable?
which one should disable? Or same string works for both, as a toggle?
Is this docu old, or better maintained elsewhere?
Under the heading
Enable IBSS CCA hack
, this string (that = relative object pronoun):At one point, I suspected that decreased performance, but futher testing was inconclusive.
is clearer asAt one point, I suspected that this decreased performance, but further testing was inconclusive.
also
Currently the antenna_pattern is limitted to 5 bits, but that might change as needed.
asCurrently the antenna_pattern is limited to 5 bits, but that might change as needed.
TIA