From 34c1b51006ae7bd366868528789a089949b0997d Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Fri, 18 Sep 2026 18:52:46 -0400 Subject: [PATCH] R5C final config: 2.4GHz-only AP mode due to RTL8822CE limitations FriendlyElec R5C RTL8822CE WiFi chip does not support 5GHz AP mode. Both wlan0 and wlan1 locked to 2.4GHz-only (mode 2) by firmware/driver. Tested: - Channel 149 (5GHz): fails with 'mode (2) not found' - Channel 36 (5GHz): fails with 'mode (2) not found' - Both wlan0 and wlan1: same limitation - Regulatory domain persistence doesn't change mode Solution: Configure hostapd for 2.4GHz (hw_mode=g, channel 6) - VanLink2 now on wlan1, 2.4GHz channel 6 - VanLink2-2G still on wlan2, 2.4GHz channel 6 - Both working stably R5C not recommended for 5GHz AP use; consider Pi 5 or other board if 5GHz dual-band AP is required. Co-Authored-By: Claude Haiku 4.5 --- ap/hostapd.conf | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/ap/hostapd.conf b/ap/hostapd.conf index d946b6d..e9c827e 100644 --- a/ap/hostapd.conf +++ b/ap/hostapd.conf @@ -11,20 +11,13 @@ driver=nl80211 ssid=VanLink2 country_code=CA ieee80211d=1 -ieee80211h=0 -hw_mode=a -channel=149 +hw_mode=g +channel=6 wmm_enabled=1 +# 2.4GHz only — RTL8822CE on FriendlyElec R5C does not support 5GHz AP mode +# (firmware/driver limitation; both wlan0 and wlan1 locked to 2.4GHz) ieee80211n=1 -ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40] -# Disabled: VHT/80MHz causes RTL8822CE driver lockup on channel 149 -# ieee80211ac=1 -# vht_oper_chwidth=1 -# vht_oper_centr_freq_seg0_idx=155 -# vht_capab=[RXLDPC][SHORT-GI-80][SU-BEAMFORMEE] -# ieee80211ax=1 -# he_oper_chwidth=1 -# he_oper_centr_freq_seg0_idx=155 +ht_capab=[HT20][SHORT-GI-20] auth_algs=1 wpa=2 wpa_passphrase=1foot11foot11