lwfinger/rtl8852au

5GHz AP mode?

Closed this issue · 1 comments

Apologies if this is the wrong place to ask this and thank you for supporting this driver.

I'm wondering if anyone has managed to get this driver to work in AP mode for 5GHz channels. I have a hostapd conf that works for 2.4Ghz, but if I change the hw_mode to a, and channel to something like 36, I get this error:

wlx788cb56ee1f0: IEEE 802.11 Configured channel (36) or frequency (5180) (secondary_channel=-1) not found from the channel list of the current mode (2) IEEE 802.11a

The channels I've tried all do appear in the band 2 capabilities of the device (via iw list).

The module does seem to have some settable variables, but I only tried rtw_dfs_region_domain=1 which didn't help.

Here is my test conf file for hostapd (2.4GHz, working):

interface=wlx788cb56ee1f0
driver=nl80211
bridge=br0
ssid=TESTSSID
hw_mode=g
channel=10
wmm_enabled=1
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=******
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
ieee80211d=1
country_code=US
ieee80211n=1
ieee80211ac=1
ieee80211ax=1
require_ht=1
ht_capab=[HT20][HT40-][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40]

I ended up returning the hardware and getting a Mediatek based solution. Sorry about the noise.