open-sdr / openwifi

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

Configuration for 802.11n AP #107

Closed Jason414 closed 2 years ago

Jason414 commented 2 years ago

I am using Zedboard running with openwifi on it. I am willing to run it as 802.11n (or 802.11g) AP with 2.4GHz. I have changed file hostapd-openwifi.conf as following

interface=sdr0 driver=nl80211 country_code=US ssid=openwifi hw_mode=n channel=6 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

But after I run command ./fosdem.sh, it says Configuration file: hostapd-openwifi.conf Line 5: unknown hw_mode 'n'

Could anyone help to correct the configuration file to access 2.4GHz frequency?

JiaoXianjun commented 2 years ago

Can you try hw_mode a or g when you use 2.4GHz channel?

JiaoXianjun commented 2 years ago

Have you tried it successfully?

JiaoXianjun commented 2 years ago

If no further questions, I will close this issue.