[Babel-users] breaking the ath9k in adhoc mode with the new fq_codel implementation
Dave Taht
dave.taht at gmail.com
Mon Mar 28 18:41:31 UTC 2016
So, thank you for exposing a bug in my code today. The new ath9k
fq_codel code at the 802.11 mac layer bypasses the qdisc...
root at dancer:~/Pictures# tc -s qdisc show dev wlp2s0
qdisc noqueue 0: root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
and somewhere IFF_RUNNING is no longer being set when iwconfig is in
adhoc mode... so I ended up with the infinit txcost
root at dancer:~/Pictures# ifconfig wlp2s0
wlp2s0 Link encap:Ethernet HWaddr 00:21:63:2f:f2:f4
inet addr:172.26.17.246 Bcast:255.255.255.255 Mask:255.255.255.255
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:41177 errors:0 dropped:0 overruns:0 frame:0
TX packets:27218 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13436569 (13.4 MB) TX bytes:11838910 (11.8 MB)
root at dancer:~/Pictures# iwconfig wlp2s0
wlp2s0 IEEE 802.11abgn ESSID:"babel"
Mode:Ad-Hoc Frequency:2.437 GHz Cell: 32:DD:4C:C7:F8:87
Tx-Power=16 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
and after I unwedge the darn thing out of adhoc and back into sta...
life is much better.
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
http://www.taht.net/~d/unwedged.png
http://www.taht.net/~d/unwedged_eth0down.png
Checking around, I am seeing no "running" field on the rpi2 which
might explain why it's wifi doesn't work with babel - that's running
the base OS and a "panda" usb stick in adhoc.
I AM seeing the running field on the rpi3, but that has kernel issues...
I can try to sum up everything that broke on every machine, but my
head hurts, and I'm going back to what I was doing in the first place.
Dave Täht
Let's go make home routers and wifi faster! With better software!
https://www.gofundme.com/savewifi
More information about the Babel-users
mailing list