Monday, July 11, 2011

Expected Transmission Count (ETX) Metric

ETX probably was the first metrics explicitly designed for MANETs. Hop count is not optimal for wireless networks thus ETX was proposed. ETX gives the expected number of transmissions (including retransmissions) required to send a packet successfully. The route with minimum hop count may not be the best route so to overcome this problem, OLSRd (OLSR daemon) is extended with ETX quality metric as a means for accounting for packet loss. Similar to the hop count metric, with ETX metric also the path with minimum ETX value is selected.

The OLSRd obtains the ETX value through the use of hello messages, link qualities (LQ) and neighbor link qualities (NLQ).As each node sends out hello messages to find and detect their direct neighbors, LQs and NLQs can be calculated based on the fraction of packet loss, thus the probabilities of a successful transmission. So, LQ represents the quality of link in the direction from a node's neighbor to the node itself. Similarly, NLQ assesses how good a given link is in the direction from the node to the node's neighbor. These values can be communicated back and forth between the node and its neighbor through hello messages. Once, these direct neighbors are found, the ETX value for a node and its neighbor is calculated.

ETX = 1/(LQ * NLQ)

The ETX value is the same for both directions. 

We can configure parameter "LinkQualityLevel" in olsrd.conf  according to which metric we are using.
If LinkQualityLevel = 0, then disables the link quality extensions
If LinkQualityLevel = 1, then enables the link quality extensions and tells olsrd to select MPRs based on the link quality information
If LinkQualityLevel = 2, then not only selects MPRs based on link quality but also considers link quality information when calculating the routing table





No comments:

Post a Comment