11s mesh path setup problem

Monthadar Al Jaberi monthadar at gmail.com
Wed Jan 11 04:40:59 UTC 2012


Hi,

Current hwmp cant handle to setup a path between 4 nodes in a line
topology (among other things it cant handle)

Below you will find a small patch to correct this with some debug
output cleanup and comments.

After the patch, you should be able to e.g. ping from node 4 to node 1
and get a ping reply back, he is what the output from ifconfig list
mesh should look like on all 4 nodes after one ping packet.

Node1# ifconfig wlan1 list mesh
DEST    NEXT HOP  HOPS METRIC LIFETIME   MSEQ FLAGS
Node2    Node2         1         17018     5000          0         V
Node3    Node2         2         34036     5000          0         V
Node4    Node2         3         34036     5000          3         V

Node2# ifconfig wlan1 list mesh
DEST    NEXT HOP  HOPS METRIC LIFETIME   MSEQ FLAGS
Node1    Node1         1   17018     5000      3    V
Node3    Node3         1   17018     5000      0    V
Node4    Node3         2   17018     5000      3    V

Node3# ifconfig wlan1 list mesh
DEST    NEXT HOP  HOPS METRIC LIFETIME   MSEQ FLAGS
Node2    Node2         1         0            5000          0          V
Node4    Node4         1         0            5000          3          V
Node1    Node2         2         34036     5000          3          V

Node4# ifconfig wlan1 list mesh
DEST    NEXT HOP  HOPS METRIC LIFETIME   MSEQ FLAGS
Node3    Node3         1         0            5000          0          V
Node1    Node3         3         51054     5000          3          V

If anyone could try it that would be nice, either on real hardware as
I did above, or in a simulated environment
(https://github.com/monthadar/FreeBSD-IEEE80211s-simulator/wiki) :)

and please do test other scenarios :)

patch is attached.

-- 
Monthadar Al Jaberi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_11s_4_nodes_in_line.patch
Type: text/x-patch
Size: 13164 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-wireless/attachments/20120111/11f96b51/patch_11s_4_nodes_in_line.bin


More information about the freebsd-wireless mailing list