Skip to content

Add HT MCS table and bitrate lookup helper #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

horseface1110
Copy link
Contributor

This patch adds a static HT MCS table (indexes 0–31) for 802.11n in 20 MHz bandwidth, covering both long GI (0.8 µs) and short GI (0.4 µs) variants.

Also introduces get_ht_bitrate_kbps() for retrieving the bitrate based on the configured GI and current MCS index in vwifi_vif.

Introduce a static table for 802.11n HT MCS indexes 0 to 31, covering
20 MHz bandwidth with both 0.8 µs and 0.4 µs guard intervals. This table
defines the modulation and coding scheme parameters used for HT mode.

Provide a helper function to compute bitrate in Kbps based on the
currently selected MCS index and guard interval from the bitrate mask.

This update lays the groundwork for features such as transmission delay
simulation and reporting bitrate via station information
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant