intrig-unicamp / mininet-wifi

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

Resubmitting with fixes: patch to automatically update txpower to what it is calculated as for the given range. #540

Closed ZekeLewis closed 1 week ago

ZekeLewis commented 1 month ago

When a Station is initialized when accessing its txpower variable, previously a default value would always be returned. Now txpower is automatically updated when calling the GetTxPowerGivenRange function from IntfWireless in link.py. I also added txpower as a float in the logging message rather than an int. Thanks

ZekeLewis commented 2 weeks ago

There seemed to have been some changes merged into the main branch about 3 months ago which are now reflected this PR.