nNS 2 Implementation (based on DSR)
ØTwo parameters and one counter:
§the medium usage threshold
§the measurement time period
§overThresholdCounter
ØFunctions:
§For the router:
Upon receiving a route request, check medium usage in past measurement period. If over medium usage
threshold, increase the
overThresholdCounter by one.
§For the sender: Upon receiving the route replies, the sender chooses the route with the smallest
overThresholdCounter. If more than one path has the same smallest overThresholdCounter, the one
with fewer hops is
chosen. If more than one path has the same overThresholdCounter and the same number of
hops, the sender randomly
chooses one.