Hi Javier,
Thanks for the patch. I tested it, and but it did not fix the problem.
By the time the delete handler is called, the peer entry is already gone.
I turn on some debug and compared the open mesh and secured mesh FSM 
transitions.

Here is the test I ran:
1 - Node 1 meshed to Node 2
2 - Reduced TX power to 0 dB on Node 2 so Node can't see Node 1
3 - Bring back power to auto on Node 2
4 - Added Node 3 to the mesh

Secured Mesh:

1 - Both Nodes are in ESTAB state
2 - Both Nodes are in ESTAB state, but on Node 1 inactivity counter 
keeps increasing until it times out.
      When the plink times out, Node 2 still shows a plink ESTAB
3 - Node 1 goes to LISTEN state and stays there, Node 2 remains in ESTAB 
state
4 - Node 3 meshed with Node 1 and 2 without any problem

Open Mesh:

1 - Both Nodes are in ESTAB state
2 - Both Nodes are in ESTAB state, but on Node 1 inactivity counter 
keeps increasing until it times out.
      When the plink times out on Node 1, Node 2 gets a CLS_ACPT event 
and goes to LISTEN state.
3 - Node 1 and 2 go to ESTAB state
4 - Node 3 meshed with Node 1 and 2 without any problem

The main difference here, is the CLS_ACPT event which allows the mesh to 
come back.
I do not seen this event in the secured mesh, this may be the reason why 
Node 2 stays in ESTAB state and
won't re-initiate the peering process.

--Fabrice
_______________________________________________
Devel mailing list
[email protected]
http://open80211s.com/mailman/listinfo/devel

Reply via email to