Ltest

Ltest utility allows precise test of a radio link. It is recommended for antenna alignment when installing a new device or for testing of existing radio link.

Ltest can work in standard, alignment and bandwidth modes.

Standard mode:

In standard mode Ltest measures signal levels, retries, lost packets and acks.

To start Ltest in this mode:

 lt rf5.0 <Mac-address of a device on the other side of the radio link>

When «ltest» command starts it will show you output information that contains testing results. You can see Ltest output below:

For success radio link establishing the following factors have to be considered:

  1. It is recommended to start antenna alignment with searching maximum signal level on a minimal possible bitrate.  Afterwards automatic MINT mechanisms will set the most appropriate bitrate if "autobitrate" mode will be enabled
  2. Current incoming signal level in «amp/max» columns (see “ltest” command output) must be between 12 and 40

    When it is more than 40 it is recommended to lower amplifier power.

    If maximal signal level is less than 12 it is recommended to lower bitrate or channel width (for example, from 20MHz to 10MHz on the both sides of the radio link).

    In some cases signal level that is less than 12 may be enough for radio link operation. In this case one has to be guided by such parameters as number of retries, number of undelivered packets and number of undelivered acks. If the number of undelivered packets and the number of undelivered acks is null, the number of retries is small and all these parameters are constant in time then the radio link, most often, will be operating properly.

  3. Number of retries value in «rt%» columns must be as close to zero as possible
  4. Number of undelivered packets value in «up%» columns must be zero; if this value is not zero then the radio link couldn’t be exploited
  5. Number of undelivered acks value in «ua%» columns must be zero; if this value is not zero then the radio link couldn’t be exploit. If this value is constantly not less then 50 then most probably «distance» parameter is set with a wrong value. If radio link distance is more than 20 km then «long» mode must be enabled.

ALL described parameters must be observed in the both ("Local" and "Remote") sections of the «ltest» command output.

Alignment mode (for Xm-series only)

The difference of this mode from the standard one is that «ant.amps» column is used instead of «amp/max». «Ant.amps» column indicates signal levels for each of two antennas of a devce divided by “:” correspondingly.

 To start Ltest in this mode:

lt rf5.0 <Mac-adress> -align [L,R]

Ltest output in alignment mode:

Bandwidth mode (Bandwidth meter)

Bandwidth meter is used to test the following radio link characteristics: throughput in kilobits per second, packets per second, number of retries and errors.

Use the following «ltest» command options for testing:

Seconds” parameter allows setting test period (5 seconds by default). Maximum value is 60 seconds.

To start Ltest in this mode:

lt rf5.0 <Mac-adress> -tb

ltest” command output in Bandwidth meter mode for "MINT" firmware:

ltest” command output in Bandwidth meter mode for "TDMA" firmware:

Muffer

The "muffer" module makes it possible to rapidly test the electromagnetic environment, visually estimate the efficiency of the utilization of the air links, reveal sources of interference, and estimate their power.

Several operating regimes of the "muffer" module provide for different levels of details in test results.

Review mode

This regime is enabled by the "review" option. It makes possible to have a general estimation of emissions and interference within specified frequency range.

 Normal operation of the radio is not possible in this mode.

This regime can be useful on the first steps of link configuration. One can observe the activity on the selected list of frequencies and make decisions of what frequencies can be used for the link so that the link did not interfere with other sources of signals.

 The scan is performed only for the packets corresponding with the standard of the radio module (802.11a for 5GHz devices and 802.11b for 2.4 GHz devices. Other sources of signals on the scanned frequencies stay unseen.

To run the "review" mode please type the following command:

muffer <IF-NAME> review

Once the link is established you can use this mode to review the activity on the configured for frequency for the link. If no activity is observed that means that the signal from the remote side is being broken by the interference sources or by the obstacles on the signal propagation path.

MAC2 mode

This regime performs MAC-addresses analysis to estimate the number of clients with different MAC addresses and the efficiency of their utilization of the air link. The analysis is carried out for all MAC addresses at the frequency previously specified by "rfconfig" command. The "mac2" regime checks both data packets and the link-level ACK messages sent by protocol supported devices. 

 Normal operation of the radio is not possible in this mode.

Like in review mode this regime provides with the information about a current activity but on the configured frequency.

To run the "review" mode please type the following command:

muffer <IF-NAME> mac2

Statistics

The statistics gathering is used for estimating link load intensity and per client. The amount of packets sent and received, and the number of retransmissions is shown for each MAC address participating in the data exchange.

The following decisions can be made by analyzing the outputted parameters:

The “muffer stat” command shows the statistics only from registered devices.

To view "statistics" type the following command:

muffer stat

To reset all counters please type:

muffer stat clear

Othet modes of muffer

The "muffer" also has the following modes:

Load Meter

Load meter is a powerful tool that allows estimating the load of a system interface specified by interface parameter. By default, the information is displayed on one line and updated every second; the load is measured in kilobytes.

Below picture shows the load meter output for the radio interface outputted in line-by-line mode with one second interval.

To run load meter like it is shown above, please type:

loadm –l<IF-NAME>

Acquiring interfaces statistics

Interface statistics can be acquired using "netstat" module which includes two modes:

Below picture shows the example of interfaces statistics output.

 If the interface has several aliases the statistics is still measured for physical interface in a whole. For example, see "rf5.0" or "eth0" interfaces above. The numbers shown in 4 right columns correspond in physical interface.