open-sdr / openwifi

open-source IEEE 802.11 WiFi baseband FPGA (chip) design: driver, software
GNU Affero General Public License v3.0
3.82k stars 647 forks source link

MCS problem #416

Closed jyskr closed 2 months ago

jyskr commented 3 months ago
  1. Could you send email to xianjun.jiao@ugent.be to introduce your self? Yes
  2. Our image is used directly or you build your own image? yours(openwifi-1.4.0-notter.img)
  3. What is your own modification? no modification
  4. Versions: OS, Vivado, openwifi/openwifi-hw repo branch and commit revision Ubantu 18.04 ,,Just use openwifi-1.4.0-notter.img for Quick start.
  5. Board/hardware type antsdr
  6. WiFi channel number Default 5g(11)
  7. Steps to reproduce the issue, and the related error message, screenshot, etc None.
  8. Describe your debug efforts by Linux native tools, such as tcpdump and "cat /proc/interrupts" None.
  9. Describe your debug efforts by: https://github.com/open-sdr/openwifi/blob/master/doc/README.md#Debug-methods None.
  10. Any other thing we need to know for helping you better? In high-throughput and non-high-throughput modes, you can control the Modulation and Coding Scheme (MCS) using ./sdrctl dev sdr0 0/1 x. In the sdrctl documentation, it is mentioned that when x is set to 0, the MCS is automatically controlled by Linux. I would like to know : If this automatic switching of the MCS is based on channel characteristics? Where exactly is the code that handles this?
JiaoXianjun commented 3 months ago

Please re-format the issue with our template. Thanks.

jyskr commented 3 months ago

Please re-format the issue with our template. Thanks.

Dear Dr.Jiao, I have re_formatted it and encountered two issues that I need help with.

HavingaThijs commented 2 months ago

If this automatic switching of the MCS is based on channel characteristics?

Linux uses the Minstel algorithm which looks at several metrics, including throughput estimation, see e.g.: https://wireless.wiki.kernel.org/en/developers/documentation/mac80211/ratecontrol/minstrel

Where exactly is the code that handles this?

For legacy packets, it would be here and for HT packets here.

jyskr commented 2 months ago

If this automatic switching of the MCS is based on channel characteristics?

Linux uses the Minstel algorithm which looks at several metrics, including throughput estimation, see e.g.: https://wireless.wiki.kernel.org/en/developers/documentation/mac80211/ratecontrol/minstrel

Where exactly is the code that handles this?

For legacy packets, it would be here and for HT packets here.

Thank you very much for your response! It will help me a lot.