Skip to content

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.

Update timer deletion to use the new timer_delete_sync() interface
introduced in Linux commit 9b13df3f ("timers: Rename del_timer_sync() to
timer_delete_sync()"), which replaces the older del_timer_sync() for
naming consistency.

The legacy del_timer_sync() interface remains as an inline wrapper but
is discouraged for new code. Compatibility is maintained using a version
check against KERNEL_VERSION(6, 1, 84).
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