diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-07-10 09:04:05 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-07-10 09:04:05 +0200 |
commit | b5655b7247a657bd4b590218a68ed99bbab318f6 (patch) | |
tree | c1abbf0fb9b06ca100f857581d1254be5493d237 /sys/src/cmd/python/Python | |
parent | 4ec93f94c92eec46433a962eb0f86b6f27909e6c (diff) |
wifi: adjust transmit rate on error (for etheriwl), small mkfile changes
Wnode gets two new counters: txcount and txerror
and actrate pointer that will be between minrate
and maxrate.
driver should use actrate instead of maxrate for
transmission when it can provide error feedback.
when a driver detects a transmission failed, it calls
wifitxfail() with the original packet. wifitxfail() then
reduces wn->actrate.
every 256th packet, we optimistically increase wn->actrate
before transmitting.
Diffstat (limited to 'sys/src/cmd/python/Python')
0 files changed, 0 insertions, 0 deletions