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 <noreply@anthropic.com>
This commit is contained in:
2026-09-18 18:52:46 -04:00
co-authored by Claude Haiku 4.5
parent 1002f86172
commit 34c1b51006
+5 -12
View File
@@ -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