Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EDCA Contention Simulator

This simulator evaluates TXOP outage duration and outage occurrence interval under legacy EDCA and proposed AC_N variants.

Assumptions

  • Single AP uplink contention model.
  • All overlapping uplink transmissions collide at the AP.
  • Hidden-node probability affects sensing among STAs.
  • Full TXOP transmission can be enabled with --full-txop.
  • RTS/CTS can be enabled with --enable-rts.

Requirements

pip install numpy pandas matplotlib

Example commands

Legacy BE:

python edca_sim.py --stas 32 --acs AC_BE --txops 10000 --enable-rts --full-txop --no-plot

Proposed AC_N255:

python edca_sim.py --stas 32 --acs AC_N255 --txops 10000 --enable-rts --full-txop --no-plot

Hidden-node case:

python edca_sim.py --stas 32 --acs AC_N255 --txops 10000 --enable-rts --full-txop --hidden-prob 0.1

Outputs

The script writes results to results/<timestamp>_<pid>/, including:

  • txop_log.csv: per-TXOP start/end timestamps, STA, AC, RTS usage, duration
  • summary.txt: simulation arguments, sensing matrix, and aggregate statistics
  • Optional plots if --no-plot is not used

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages