I know that many here are interested in simulating 802.11 networks and possibly modifying the channel access protocol. While ns-3 provides a great full-TCP/IP stack implementation, actually changing the code of the WiFi module may be daunting. So, I would like to share two alternative Python simulators focused on 802.11’s channel access:
https://szymonszott.github.io/post/dcf-simulators/
The code of both simulators should be easy to follow and they can be used as playgrounds for implementing and testing alternative channel access mechanisms.
Best,
Szymon