Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions tools/dut/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ Configuration files are provided in [`tools/dut/`](/tools/dut):

Once the test has run, the border router can be stopped using Ctrl+C.

### IPv6 addresses
## IPv6 addresses

The Border Router DUT IPv6 addresses can be retrieved using:

ip -6 addr show dev tunwsdut

### Multicast ICMPv6
## Multicast ICMPv6

The test `MULTICAST-ORIGINATOR-LBR-1` requires the following operation:

Expand All @@ -46,7 +46,7 @@ This is performed by the following command:

ping -c 1 -I tunwsdut ff03::1

### GTK Lifecycle
## GTK Lifecycle

The test `SEC-LIFECYCLE-2` requires the following operations:

Expand All @@ -58,7 +58,7 @@ border router, for example:

[lifecycle]: /tools/dut/sec/lifecycle.conf

### Pairwise Key Revocation
## Pairwise Key Revocation

The test `SEC-REVOKE-GTK-1` requires the following operations:

Expand Down Expand Up @@ -98,7 +98,7 @@ The same script is used, using the MAC address of device J:
[revoke-cnf]: /tools/dut/sec/revoke.conf
[revoke-sh]: /tools/dut/sec/revoke.bash

### Powercycle
## Powercycle

The test `POWERCYCLE-LBR-1` requires the following operation:

Expand All @@ -118,9 +118,17 @@ This is achieved by stopping the border router with Ctrl+C, and restarting it

[powercycle]: /tools/dut/sec/powercycle.conf

### LFN support
## LFN support

The test `CORE-LE-UNSUPPORTED-1` requires disabling LFN support. This is
achieved by adding `-o enable_lfn=false` to the command line:

sudo wsbrd -F dut.conf -F na/chan-plan-2-fixed.conf -F sec/gtk.conf -o enable_lfn=false

## Channel Exclusion

The test `DIRECT-EXC-CHAN-LISTEN-LBR-1` requires excluding channels according to 'Table 6-1 Channel Plan 0 DHC1CF'.

A special configuration file [`na/chan-excl.conf`](na/chan-excl.conf) is provided to `allow` the remaining channels. It should be added to the command which starts the border router, for example:

sudo wsbrd -F dut.conf -F na/chan-plan-0-dh1cf.conf -F na/chan-excl.conf
1 change: 1 addition & 0 deletions tools/dut/bz/chan-excl.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
allowed_channels = "0-4,10-38,47-255"
1 change: 1 addition & 0 deletions tools/dut/jp/chan-excl.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
allowed_channels = "0-5,10-12,15-255"
1 change: 1 addition & 0 deletions tools/dut/na/chan-excl.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
allowed_channels = "0-9,21-49,61-255"