Is it possible to run a wifi6 AP on Rock 5c?

Hello. I’m trying to create a wifi6 AP on my Rock 5c lite, using hostapd. I can’t get it to work. Maybe it’s not possible. Does anybody know??

Yes, it’s possible,you can refer to this page https://docs.radxa.com/en/zero/zero3/radxa-os/ap

@Peter.Wang That is not wifi6??

  • Wi-Fi 1 : 802.11b (1999) – Operates at 2.4 GHz, up to 11 Mbps.
  • Wi-Fi 3 : 802.11g (2003) – Operates at 2.4 GHz, up to 54 Mbps.
  • Wi-Fi 4 : 802.11n (2009) – Supports both 2.4 GHz and 5 GHz, and speeds up to 600 Mbps.

I believe hostapd has support for wifi6 but i cant get it to work with the rock5c board.

The steps should be the same. does the step not work?

@Peter.Wang No it seems you are wrong. There is nowhere to choose wifi6 in your link. Only older standards. That is why i’m using hostapd instead.

Most wifi6 cards add a number of restrictions to the ap in the firmware for compliance purposes, for example the ax210 does not allow the wifi6 ap to be turned on when not connected to the wifi6 network

@ChenJaly What do you mean? In AP mode it is connected locally??? Please just tell me if it’s possible or not, so I can disgard the board and use something else if neccesary…

Most wireless cards will not turn on a wifi 6 AP when not connected to a wifi 6 network, this is determined by the manufacturer’s closed source firmware and we can’t change it.

@ChenJaly Ok. You’re just repeating. Why will you not answer my question?

What can I say, you can only turn on a wifi6 ap when connected to a wifi6 network

@ChenJaly Thanks. I get it. Very disappointing. Will never buy a radxa board again.

Sorry, my perception yesterday was wrong, when I projected other wireless cards based on my previous stereotypes of with intel ax series cards. You can use this hostapd configuration to turn on wifi 6 ap:

interface=wlan0
#bridge=br0
ssid=TEST-D80P-5gap
hw_mode=a
channel=36
auth_algs=1
driver=nl80211
wme_enabled=1
wpa=2
wpa_passphrase=12345678
ieee80211n=1
ieee80211ac=1
ieee80211ax=1
#ieee80211w=2
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=42
#vht_oper_centr_freq_seg1_idx=4
he_oper_chwidth=1
he_oper_centr_freq_seg0_idx=42
#he_oper_centr_freq_seg1_idx=8
he_basic_mcs_nss_set=65534
he_su_beamformee=1
he_twt_required=0
vht_capab=[SHORT-GI-80][VHT40+][MAX-A-MPDU-LEN-EXP7]
ht_capab=[SHORT-GI-20][SHORT-GI-40][HT40+]
#wpa_key_mgmt=SAE
#wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP

and with your favorite dhcp server, then use the following forwarding rules:

echo 'net.ipv4.ip_forward=1' | sudo tee > /etc/sysctl.d/99-ipforward.conf
sudo sysctl -a
sudo iptables -P FORWARD ACCEPT
sudo iptables -t nat -A POSTROUTING -o end1 -j MASQUERADE
3 Likes