intrig-unicamp / mininet-wifi

Emulator for Software-Defined Wireless Networks
https://mn-wifi.readthedocs.io/
Other
438 stars 239 forks source link

Add reassocation hook and thread locks #322

Closed jrandallclark closed 4 years ago

jrandallclark commented 4 years ago

Adds association callback as discussed in 232.

Thread locks added as mininet is single-threaded and this can cause concurrency issues. This problem occurs independent of the callback addition and can be reproduced in current mininet-wifi build by running a command from the CLI (such as ping) on a mobile node that tries to de-associate from an AP while the CLI command is still running.