I'm wondering if there's a clear reference for wmediumd error codes provided by the connector.
For reference, I'm testing some code which is attempting to adjust range and create adhoc links after the network is started (as nodes with additional wireless interfaces do not seem to allow them to be adjusted before the network is started)-
...
ndn.net.addLink(ndn.net[f"sta{i}"], cls=adhoc, intf=f"sta{i}-wlan1", ssid='adhocNet', mode='g', channel=2)
File "/usr/local/lib/python3.10/dist-packages/mininet_wifi-2.6-py3.10.egg/mn_wifi/net.py", line 650, in addLink
link = cls(node=node1, **params)
File "/usr/local/lib/python3.10/dist-packages/mininet_wifi-2.6-py3.10.egg/mn_wifi/link.py", line 1790, in __init__
self.setTxPower(self.txpower)
File "/usr/local/lib/python3.10/dist-packages/mininet_wifi-2.6-py3.10.egg/mn_wifi/link.py", line 339, in setTxPower
self.setTXPowerWmediumd()
File "/usr/local/lib/python3.10/dist-packages/mininet_wifi-2.6-py3.10.egg/mn_wifi/link.py", line 190, in setTXPowerWmediumd
w_server.update_txpower(w_txpower(self.wmIface, self.txpower))
File "/usr/local/lib/python3.10/dist-packages/mininet_wifi-2.6-py3.10.egg/mn_wifi/wmediumdConnector.py", line 735, in update_txpower
raise WmediumdException("Received error code from wmediumd: "
mn_wifi.wmediumdConnector.WmediumdException: Received error code from wmediumd: code 66
I cannot find any clear evidence of a constant 66 in the Mininet-Wifi or wmediumd source code, so I'm unsure if it's encoded differently or if there's potentially an issue in decoding the output. Any assistance would be appreciated.
Thanks,
Alex Lane