open-sdr / openwifi

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

AP Mode 11n not working #262

Closed rookiebeotch closed 1 year ago

rookiebeotch commented 1 year ago
  1. Could you send email to xianjun.jiao@ugent.be to introduce your self?

  2. Our image is used directly or you build your own image? direct image 1.3.1

  3. What is your own modification? none

  4. Versions: OS, Vivado, openwifi/openwifi-hw repo branch and commit revision 1.3.1 master

  5. Board/hardware type zed board and FCOMMS4

  6. WiFi channel number 44

  7. Steps to reproduce the issue, and the related error message, screenshot, etc run wdg.sh then fosdem.sh

here is config file for hostapd. -----start config---- interface=sdr0 driver=nl80211 country_code=BE ssid=openwifi5g hw_mode=a

hw_mode=g

channel=5

channel=44

supported_rates=60 90 120 180 240 360 480 540

basic_rates=60 90 120 180

ieee80211n=1

ht_capab=[SHORT-GI-20]

require_ht=1

ieee80211d=1

ieee80211h=1

wpa=2

wpa_passphrase=myrabbit

wpa_key_mgmt=WPA-PSK

logger_syslog=-1 logger_syslog_level=2

-----end config----

  1. Describe your debug efforts by Linux native tools, such as tcpdump and "cat /proc/interrupts" i have spectrum analyzer connected to output of FCOMMS4 board. The packets are coming out in 11g mode but the configuration file is set for 11n in hostapd.
    the client mode works correctly. I have two zed boards. one ap and one client. What is interesting is the client is sending in 11n and the AP is sending in 11g/a. I can see this on the spectrum analyzer.

  2. Describe your debug efforts by: https://github.com/open-sdr/openwifi/blob/master/doc/README.md#Debug-methods

  3. Any other thing we need to know for helping you better?

JiaoXianjun commented 1 year ago

Even in 11n AP, the beacon is sent in 11g mode. That is normal. If you really want 11n packet tx, you need to run some traffic from AP to client (like iperf tcp/udp). Or do it via packet injection: https://github.com/open-sdr/openwifi/blob/master/doc/app_notes/inject_80211.md

rookiebeotch commented 1 year ago

oh. ok i will try that. i didn't think about that. thanks

jorge

On Sun, Feb 12, 2023, 1:07 PM Jiao Xianjun @.***> wrote:

Even in 11n AP, the beacon is sent in 11g mode. That is normal. If you really want 11n packet tx, you need to run some traffic from AP to client (like iperf tcp/udp). Or do it via packet injection:

https://github.com/open-sdr/openwifi/blob/master/doc/app_notes/inject_80211.md

— Reply to this email directly, view it on GitHub https://github.com/open-sdr/openwifi/issues/262#issuecomment-1427095917, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEW6RIUSQSNYATISVBH5DOLWXERFLANCNFSM6AAAAAATSOW34M . You are receiving this because you authored the thread.Message ID: @.***>