Bugzilla – Bug 2605
A HT/VHT station transmitting to a legacy access point results in a null throughput
Last modified: 2017-01-11 14:39:44 UTC
Created attachment 2726 [details] test script to reproduce When a HT/VHT station is transmitting data to a legacy access point (a/b/g), I obtain a throughput of 0 Mbit/s. From traces, it points to the fact the station attempts to associate using a HT rate, so it cannot be understood by the AP. See test script to reproduce the issue.
Created attachment 2727 [details] patch to fix There are several issues that are fixed by the attached match: - Any HT/VHT stations assume MCS 0 is widely supported. Based on beacon capabilities, they do not tell the station managers to discard all MCS. - HT/VHT stations always enable HT/VHT support without checking HT/VHT capabilities are valid. - ADDBA is sent to the AP regardless whether AP does support QoS or not.
This blocks 2 other bugs and the fix is quite obvious, I suggest to push to mainstream this weekend.
Created attachment 2739 [details] patch to fix Adapted previous fix because m_htSupported is local and is not part of serialization process. Instead, we check whether it supports at least default mcs 0.
I agree with the patch; it would be nice to also commit the example and instrument our test runner to try various combinations and to check that sane output is obtained (i.e. more than just checking for zero). We have a bug open on this topic but discussion died out: https://www.nsnam.org/bugzilla/0
Created attachment 2740 [details] patch to fix Previous fix was not handling VHT case.
(In reply to Tom Henderson from comment #4) > I agree with the patch; it would be nice to also commit the example and > instrument our test runner to try various combinations and to check that > sane output is obtained (i.e. more than just checking for zero). > > We have a bug open on this topic but discussion died out: > https://www.nsnam.org/bugzilla/0 I will add this example to the regression. The only reason I compare with 0 is that there are still issues with HT Minstrel and Ideal. Once fixed we could change this.
Fixed in changeset 12525:e0b63ca01399