14 | | |
15 | | {{{ |
16 | | <serviceGroup name="interference"> |
17 | | <info>Interference injection control service</info> |
18 | | <service name="awgn"> |
19 | | <info>Configures interference injection singal type to AWGN</info> |
20 | | <args> |
21 | | <arg name="bandwidth" value="noise BW in MHz"/></args> |
22 | | </service> |
23 | | |
24 | | <service name="initialize"> |
25 | | <info> Resets interference injection subsystem to default state </info> |
26 | | </service> |
27 | | |
28 | | <service name="set"> |
29 | | <info>Set global interference injection parameters</info> |
30 | | <args><arg name="power" value="noise power in dBm"/> |
31 | | <arg name="channel" value="802.11 channel number"/> |
32 | | <arg name="frequency" value="interference center frequency"/> |
33 | | <arg name="antenna-atten-1" value="attenuation in db"/> |
34 | | <arg name="antenna-atten-2" value="attenuation in db"/> |
35 | | <arg name="antenna-atten-3" value="attenuation in db"/> |
36 | | <arg name="antenna-atten-4" value="attenuation in db"/> |
37 | | </args> |
38 | | </service> |
39 | | |
40 | | <service name="start"> |
41 | | <info>Turn on interference injection</info> |
42 | | </service> |
43 | | |
44 | | <service name="status"> |
45 | | <info>Show current status of the interference injection subsystem</info> |
46 | | </service> |
47 | | |
48 | | <service name="stop"> |
49 | | <info>Turn off interference injection</info> |
50 | | </service> |
51 | | |
52 | | |
53 | | </serviceGroup> |
54 | | }}} |
55 | | |
56 | | == Example == |
57 | | To set AWGN on channel 36 at -30 dBm on all four antennas use the following sequence (either through a browser or '''wget'''). '''By default, the additional attenuation on all antennas is zero which means that the injected power is equally distributed. To create unequal distributions, users can use the antenna-atten-X option with the appropriate attenuation setting in dB to suppress noise in parts of the grid as desired''' |
58 | | |
59 | | * Step 1: Initialize the "interference" mode of the service |
60 | | {{{ |
61 | | wget http://instrument1.orbit-lab.org:5012/interference/initialize |
62 | | }}} |
63 | | * Step 2: Select AWGN bandwidth (channel bw for 802.11a/b/g is 20 Mhz) |
64 | | {{{ |
65 | | wget http://instrument1.orbit-lab.org:5012/interference/awgn?bandwidth=20 |
66 | | }}} |
67 | | * Step 3: Set power level to -30 dBm and channel number to 36 (PLEASE AVOID SETTING POWER OVER 0dBm) |
68 | | {{{ |
69 | | wget http://instrument1.orbit-lab.org:5012/interference/set?power=-30&channel=36 |
70 | | }}} |
71 | | * Step 4: Start RF injection |
72 | | {{{ |
73 | | wget http://instrument1.orbit-lab.org:5012/interference/start |
74 | | }}} |
75 | | |
76 | | At the end of the experiment, |
77 | | * Step 5: Stop RF injection |
78 | | {{{ |
79 | | wget http://instrument1.orbit-lab.org:5012/interference/stop |
80 | | }}} |