Hello everyones , I'm new to NS3.
I modified the example file third.cc , and made it's topology just like
*
|
|
*
/ \
/ \
* *
ap1 ap2
*
STA
And make sure that the distance between ap1-sta is as long as ap2-sta .
I found that if they are in same channel and same ssid the STA can't connect to any ap , so I change 2 ap in different channel and ssid.
Then , I used Simulator::Schedule to install a new WifiNetDevice , but it didn't work well , I can't change the connection form ap1 to ap2 , how should I do .
And how to uninstall an older netdevice (i.e staDevices=wifi.install(phy , mac , wifistanode) how to uninstall or modify it?)
Simplify to said , I want to change the connection form ap1 to ap2 during runtime , how should i do?
Thank for any reply ,
Regards,
Tung