| 1 | [wiki:Documentation] |
| 2 | | !virtualMobility |
| 3 | |
| 4 | = Virtual Mobility and Arbitrary Topologies = |
| 5 | |
| 6 | The ORBIT lab has several tools to support the creation of arbitrary topologies and mobility. The first is a series of interference generators, and the second is a system of virtual 'off-grid' nodes that can have their packets sent/received from an arbitrary node in the grid. This approach can be used to create a 'step-like' mobility. |
| 7 | |
| 8 | The method described here is a third way. It is implemented as a modification to the madwifi driver. Basically what it does is allows incoming packets to be filtered by sending MAC address. These filtered packets can have an arbitrary RSSI assigned to them and an arbitrary percent of these incoming packets can be ignored in order to simulate a poor radio environment. |
| 9 | |
| 10 | The format for the command looks like this: |
| 11 | iwpriv orbitfilter [MAC] [PercentRecvd] [RSSI] |
| 12 | |
| 13 | an example where 75% of packets are allowed through and the RSSI is set to 55. |
| 14 | {{{ |
| 15 | node1-2:~# iwpriv ath1 orbitfilter 0x00 0x60 0xb3 0x25 0xc0 0x27 75 55 |
| 16 | }}} |
| 17 | |
| 18 | to remove a filter completely, simply set the percent and RSSI to 0xFF. |
| 19 | {{{ |
| 20 | node1-2:~# iwpriv ath1 orbitfilter 0x00 0x60 0xb3 0x25 0xc0 0x27 0xFF 0xFF |
| 21 | }}} |
| 22 | |
| 23 | |