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

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

 



On Fri, Mar 04, 2016 at 09:03:51PM +0200, Jouni Malinen wrote:
> On Sat, Feb 27, 2016 at 08:51:25PM -0500, Bob Copeland wrote:
> > This test checks that mesh nodes forward frames for unknown
> > destinations to the mesh gates.
> 
> Does this need some special kernel configuration or fixes?

Hmm, none that I can think of, other than mesh support.  I wrote this to
test some code refactoring I was doing in this area, but it should have
also worked before the changes.

I guess it could fail if the 'iw' command didn't work as expected, or if
there's a timing issue and the gate announcements aren't received.

> > +    # data frame from dev2 -> external sta should be sent to both gates
> > +    dev[2].request("DATA_TEST_CONFIG 1")
> > +    dev[2].request("DATA_TEST_TX {} {} 0".format(external_sta, addr2))
> > +    dev[2].request("DATA_TEST_CONFIG 0")
> 
> I see no sign of that frame in hwsim0.pcapng and the test case fails
> every time here:
> 
> > +    capfile = os.path.join(p['logdir'], "hwsim0.pcapng")
> > +    check_frame_at_gate(capfile, addr0, addr2, external_sta)
> 
> with:
> Exception: frame to gate 02:00:00:00:00:00 not observed

With today's wireless-testing, it's passing for me (the "+" is just for
some whitespace fixes that aren't upstream yet):

[    0.000000] Linux version 4.5.0-rc6-wt+ (bob@glass) (gcc version 5.3.1 20160101 (Debian 5.3.1-5) ) #14 SMP PREEMPT Fri Mar 4 14:49:21 EST 2016

Got a different kernel version or config I should try?

My config is here: http://bobcopeland.com/srcs/vmconfig.2016-03-04.txt

-- 
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