Skip to content

WiFi Data Rates based on MCS, GI, Bandwidth and Spatial Streams

Notifications You must be signed in to change notification settings

tsalisbury0/wifimcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wi-Fi MCS Speed Calculator

This is a Python script with a graphical user interface (GUI) that allows you to calculate MCS (Modulation and Coding Scheme) speeds for various Wi-Fi standards, including 802.11a, 802.11b, 802.11g/SuperG, 802.11n, 802.11ad, 802.11ac, 802.11af, 802.11ah, 802.11ax, and 802.11be. You can select the desired parameters such as bandwidth, guard interval, spatial streams, and MCS index to determine the data rate.

Features

  • Calculate MCS speeds for different Wi-Fi standards.
  • Support for various bandwidth options (1MHz, 2MHz, 4MHz, 6MHz, 8MHz, 16MHz, 20MHz, SuperG, 40MHz, 80MHz, 160MHz, 320MHz, 2.16GHz).
  • Choose between different guard intervals (400ns, 800ns, 1600ns, 3200ns).
  • Specify the number of spatial streams.
  • Select the MCS index within the supported range.

Prerequisites

  • Python 3.x installed on your system.
  • Python3 tkinter module

How to Use

  1. Clone or download this repository to your local machine.

  2. Open a terminal and navigate to the directory where the script is located.

  3. Run the script using the following command:

  • 802.11n: python3 wifi4.py
  • 802.11ac: python3 wifi5.py
  • 802.11ax: python3 wifi6.py
  • 802.11be: python3 wifi7.py
  • Selectable standard: python3 wifi.py
  1. The GUI will open, and you can start using the MCS speed calculator.

Usage

  1. Select the desired bandwidth from the available options (1MHz, 2MHz, 4MHz, 6MHz, 8MHz, 16MHz, 20MHz, SuperG, 40MHz, 80MHz, 160MHz, 320MHz, 2.16GHz).

  2. Choose the guard interval (e.g., 400ns, 800ns, 1600ns, 3200ns).

  3. Specify the number of spatial streams you want to consider (typically 1 or more).

  4. Enter the MCS index you wish to calculate (within the supported range).

  5. Click the "Calculate MCS Speed" button to view the calculated MCS speed in Mbps.

  6. The result will be displayed in the GUI.

Supported Wi-Fi Standards

  • 802.11a (1999)
  • 802.11b (1999)
  • 802.11g (2003)
  • 802.11n (2009)
  • 802.11ad (2012)
  • 802.11ac (2013)
  • 802.11af (2014)
  • 802.11ah (2017)
  • 802.11ax (2021)
  • 802.11be (2024)

Disclaimer

This script provides a simplified model for educational purposes and does not account for real-world complexities in wireless networks. The calculated MCS speeds may not precisely match actual Wi-Fi performance due to various environmental factors and channel conditions.

To Be Added

Will take time to gather data on 802.11ay but I intend to add it soon. With WiFi 8 being drafted too I'll add it once the MCS chart gets released.

Acknowledgments

  • Inspired by the 802.11a, 802.11b, 802.11g/SuperG, 802.11n, 802.11ad, 802.11ac, 802.11af, 802.11ah, 802.11ax, and 802.11be Wi-Fi standards.

Author

Tyler