Re: [PATCH] tests: add a test for mesh gate forwarding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 05, 2016 at 09:38:25PM +0200, Jouni Malinen wrote:
> How does that work? Have you some other changes in timing here? The log
> shows this:
> 
> 2016-03-05 18:18:25,744 DEBUG wlan2: CTRL: DATA_TEST_CONFIG 1
> 2016-03-05 18:18:25,776 DEBUG wlan2: CTRL: DATA_TEST_TX 02:11:22:33:44:55 02:00:00:00:02:00 0
> 2016-03-05 18:18:25,785 DEBUG wlan2: CTRL: DATA_TEST_CONFIG 0
> 2016-03-05 18:18:36,682 DEBUG wlan0(global): IFNAME=wlan0 <3>DATA-TEST-RX 02:00:00:00:00:00 02:00:00:00:02:00
> 2016-03-05 18:18:36,688 DEBUG wlan0(global): IFNAME=wlan0 <3>DATA-TEST-RX ff:ff:ff:ff:ff:ff 02:00:00:00:02:00
> 2016-03-05 18:18:36,692 DEBUG wlan0: CTRL: NOTE TEST-STOP wpas_mesh_gate_forwarding
> 
> 
> How did it wait almost 11 seconds there between transmitting that test
> frame and stopping the test case? Does it really take so long in your
> setup to start tshark?

It would seem my tshark will actually tail the file:

2016-03-05 20:26:49.967094 making gates
2016-03-05 20:26:50.051072 sleeping
2016-03-05 20:26:51.053181 sending frame
2016-03-05 20:26:51.137571 check frame starting tshark
2016-03-05 20:26:57.349248 check frame got response [Frame 228: 1566
byte...]
2016-03-05 20:26:57.350583 check frame starting tshark
2016-03-05 20:27:03.268300 check frame got response [Frame 226: 1566
byte...]
PASS wpas_mesh_gate_forwarding 15.838021 2016-03-05 20:27:04.162179
passed all 1 test case(s)

... TShark 1.12.7 (Git Rev Unknown from unknown)

Anyway, I take it this would probably not be desirable to rely upon.
Should I just wait for the RX event first?

-- 
Bob Copeland %% http://bobcopeland.com/

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux