Closed Sean861026 closed 3 years ago
This is due to the values added from TC to bw, loss and delay to the wlan interface. You can confirm this by running examples/wmediumd_interference.py
cause this code uses wmediumd instead of tc.
You can also delete the rules with ap1 tc qdisc del dev ap1-wlan1 root
and then queue-stats
will work.
if i use wmediumd, can i set the link bw and delay?
You cannot set link parameters when using wmediumd because they are defined by the propagation model. You cannot use TC and OVS queues together either.
ok, got it. thank you! i'll close this issue after this.
sorry, i use tc qdisc del dev ap1-wlan1
root and then create ovs queue. But it always on default queue, is this situation normal?
I suggest you to check the ovs doc.
sorry for bother again. i try to use tc directly but i got nothing after i add a filter.
sudo tc qdisc del dev ap2-wlan1 root handle 1:0 htb
sudo tc qdisc add dev ap2-wlan1 root handle 1:0 htb
sudo tc class add dev ap2-wlan1 parent 1:0 classid 1:1 htb rate 75mbps ceil 75mbps
sudo tc class add dev ap2-wlan1 parent 1:1 classid 1:11 htb rate 20mbps ceil 20mbps
sudo tc filter add dev ap2-wlan1 protocol ip parent 1:1 prio 1 u32 match ip dst 192.168.2.2 flowid 1:11
sudo tc filter show dev ap2-wlan1
Please read the tc doc!! This is not a mn-wifi issue.
Have you ever tried tc filter show dev ap-wlan1 parent 1:1
??
ok, thank you