Open lightningfasttt opened 1 week ago
In the context of mac80211_hwsim, the @MAC80211_HWSIM_TX_RC_USE_RTS_CTS flag indicates that the simulation can signal that data transmission should use the RTS/CTS exchange for media access control. This flag is used internally to instruct the mac80211_hwsim driver to simulate enabling RTS/CTS for certain transmissions, even if full RTS/CTS behavior is not supported as in physical hardware.
We can see that RTS/CTS is supported by mac80211_hwsim but it is not being sent through the simulated channel. However, it can be implemented in the same fashion as the broadcom stack. It could be a contribution to the hwsim kernel module.
Hello, I’ve been attempting to simulate a hidden terminal problem in mininet_wifi. However, I’ve encountered an issue where when I examine the packets captured on the hwsim interface, I can’t locate the RTS/CTS packets generated by the stations or anywhere else. I’ve provided the code below for your reference.
!/usr/bin/python
import sys from mininet.node import Controller from mininet.log import setLogLevel, info from mn_wifi.cli import CLI from mn_wifi.net import Mininet_wifi from mininet.term import makeTerm from mn_wifi.link import wmediumd from mn_wifi.wmediumdConnector import interference import time import os
def topology(): "Create a network." net = Mininet_wifi(controller=Controller, link=wmediumd, wmediumd_mode=interference)
if name == 'main': setLogLevel('info') topology()
Dibyajyoti Deka