Jordi Riera Ayala
2014-04-22 04:32:56 UTC
Hello,
I have established a simple mesh network with two Raspberry Pi using
Raspbian 3.10.25+ and each one uses a Wi-Pi adapter RT2870 with the
rt2800usb driver.
I am testing the speed and losses of the network using jperf, a Java GUI
for iperf. It was running well without power mode, but when one or both
nodes are set in light or deep sleep mode they ping succesfully at the
beginning but the connection gets broken somehow soon when they have to
exchange TCP or UDP frames (sometimes it works for a few seconds). After
that, ping just looses all packets or says Host Unreachable.
However if I just let the ping go eventually (maybe around 3 min) the
connection gets broken too, doing station dump still sees the nodes as
ESTAB and I realized that if I switch one of the two nodes (sometimes is
one and sometimes the other) back to active mode then immediatly the ping
is succesful and then I can go back to sleep mode but soon or later it will
happen the same.
I tried changing parameters like awake window and dtim period but I am not
sure if they affect this issue at all. Does anyone has succesfully used
power save mode with another device or can help me with that?
Thanks in advance
Jordi
PS: Reading the Mesh Power Implementation Notes.. how can I measure the
power or current consumption of the usb?
I have established a simple mesh network with two Raspberry Pi using
Raspbian 3.10.25+ and each one uses a Wi-Pi adapter RT2870 with the
rt2800usb driver.
I am testing the speed and losses of the network using jperf, a Java GUI
for iperf. It was running well without power mode, but when one or both
nodes are set in light or deep sleep mode they ping succesfully at the
beginning but the connection gets broken somehow soon when they have to
exchange TCP or UDP frames (sometimes it works for a few seconds). After
that, ping just looses all packets or says Host Unreachable.
However if I just let the ping go eventually (maybe around 3 min) the
connection gets broken too, doing station dump still sees the nodes as
ESTAB and I realized that if I switch one of the two nodes (sometimes is
one and sometimes the other) back to active mode then immediatly the ping
is succesful and then I can go back to sleep mode but soon or later it will
happen the same.
I tried changing parameters like awake window and dtim period but I am not
sure if they affect this issue at all. Does anyone has succesfully used
power save mode with another device or can help me with that?
Thanks in advance
Jordi
PS: Reading the Mesh Power Implementation Notes.. how can I measure the
power or current consumption of the usb?