c4780f2706
which is safer than the loop there used to be here. wi_mwrite_bap: if wi_write_bap fails, don't keep on going: this way you avoid writing garbage to the radio. First time you see an odd-length mbuf, copy the remainder of the chain to sc_txbuf and from there to the MAC. This way, you do not read an mbuf past the end of its data (occasionally you will cross a page doing that!) and you avoid expensive, excess seeks in the radio's own buffer chain. wi_rx_intr: clamp the frame length told to us by the driver to the most bytes we can fit in our mbuf cluster. I am still getting e-mails from my testers telling me how much better this makes things. |
||
---|---|---|
bin | ||
crypto | ||
dist | ||
distrib | ||
doc | ||
etc | ||
games | ||
gnu | ||
include | ||
lib | ||
libexec | ||
regress | ||
rescue | ||
sbin | ||
share | ||
sys | ||
tools | ||
usr.bin | ||
usr.sbin | ||
build.sh | ||
BUILDING | ||
Makefile | ||
Makefile.inc | ||
UPDATING |