mac80211: dynamic short slot time for MBSSs
PATCH v3 1/1 mac80211: dynamic short slot time for MBSSs
The standard mandates mesh STAs to set the ERP Short Slot Time capability info bit in beacons to 0. Even though this is their way of disallowing short slot time for mesh STAs, there should be no harm in enabling it if we determine all STAs in the current MBSS support ERP rates.
Increases throughput about 20% for legacy rates when enabled.
---
Initializing short_slot = false saves 2 lines vs. the inverse.
v2:
fix survey logic
v3:
tighten ERP rate check (Johannes)
net/mac80211/mesh.c | 5 ---- net/mac80211/mesh_plink.c | 63 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 5 deletions(-)
net/mac80211/mesh.c +0 -5
@@ -629,11 +629,6 @@ void ieee80211_start_mesh(struct ieee80211_sub_if_data *sdata) sdata->vif.bss_conf.basic_rates =ieee80211_mandatory_rates (local, band); -if (band ==IEEE80211_BAND_5GHZ ) { - sdata->vif.bss_conf.use_short_slot = true; - changed |=BSS_CHANGED_ERP_SLOT ; - } -ieee80211_bss_info_change_notify (sdata, changed);netif_carrier_on (sdata->dev);
net/mac80211/mesh_plink.c +63 -0
87 lines not on this page · raw message
Signature · 1 line
1.7.10.4
Quoted 8 lines · Thomas Pedersen
The standard mandates mesh STAs to set the ERP Short Slot Time capability info bit in beacons to 0. Even though this is their way of disallowing short slot time for mesh STAs, there should be no harm in enabling it if we determine all STAs in the current MBSS support ERP rates.
Increases throughput about 20% for legacy rates when enabled.
Applied.
johannes