Traffic Balancing
r Implementation
Þ Two parameters and one counter:
the medium usage threshold
the measurement time period
overThresholdCounter
Þ Functions:
For the router: Upon receiving a route request, checking the medium
usage. If the medium usage is over the medium usage threshold, the node
increases 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.