在 5GHz 频段上为 Intel AX-200 WLAN 适配器启用 AP 模式

VRS*_*VRS 5 intel lubuntu hostapd

有没有人成功地在 5GHz 频段上为 Intel AX-200 WLAN 适配器启用 ap 模式?经过几周的尝试和搜索其他论坛后,还没有任何积极的消息表明这一壮举。详细信息如下:

Intel AX-200 M2 型 WLAN 适配器

$ lspci
02:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
Run Code Online (Sandbox Code Playgroud)

操作系统

$ uname -a
Linux survey 5.4.0-40-generic #44-Ubuntu SMP Tue Jun 23 00:01:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

英特尔驱动程序:

$ ls -al /lib/firmware/ | grep iwl
-rw-r--r--   1 root root 1044452 Jun 17 07:36 iwlwifi-cc-a0-46.ucode
-rw-r--r--   1 root root 1096704 Jun 17 07:36 iwlwifi-cc-a0-48.ucode
Run Code Online (Sandbox Code Playgroud)
$ lsmod | grep iwl
iwlmvm                380928  0
mac80211              843776  1 iwlmvm
iwlwifi               331776  1 iwlmvm
cfg80211              704512  3 iwlmvm,iwlwifi,mac80211
Run Code Online (Sandbox Code Playgroud)
$ iw dev
phy#1
        Interface wlp3s0
                ifindex 4
                wdev 0x100000001
                addr 84:c5:a6:3a:1b:c8
                type managed
                txpower 0.00 dBm
                multicast TXQ:
                        qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes        tx-packets
                        0       0       0       0       0       0       0       0               0
phy#0
        Interface wlp2s0
                ifindex 3
                wdev 0x1
                addr 60:f2:62:4d:c0:65
                type managed
                txpower 0.00 dBm
                multicast TXQ:
                        qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes        tx-packets
                        0       0       0       0       0       0       0       0               0
Run Code Online (Sandbox Code Playgroud)
$ cat /etc/default/crda | grep -v '^#'
REGDOMAIN=US
Run Code Online (Sandbox Code Playgroud)

主机APD

$ hostapd -v
hostapd v2.9
Run Code Online (Sandbox Code Playgroud)
$ cat /etc/hostapd/wlp2s0.conf | grep -v '^#' | grep -v '^$'
interface=wlp2s0
bridge=br0
driver=nl80211
ssid=survey
hw_mode=a
channel=5180
ignore_broadcast_ssid=0
country_code=US
ieee80211d=1
ieee80211h=1
ieee80211n=0
ieee80211ac=0
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
ctrl_interface=/var/run/hostapd
Run Code Online (Sandbox Code Playgroud)

的输出iw list可以单独提供,因为它的长度超过 14K 个字符,这导致它无法包含在原始帖子中。

当使用“Band1”(即 2.4GHz)时,该接口将作为 BSS 提供商(ap 模式)出现。当应用于“Band2”时,根据 hostapd 的配置方式,DFS 结果不会传回以显示可用频率,或者设备/资源始终报告繁忙

wlp2s0: Event SCAN_STARTED (47) received
Unknown event 47
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlp2s0
wlp2s0: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5720 5745 5765 5785 5805 5825
wlp2s0: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
wlp2s0: Event SURVEY (46) received
No survey data received
ACS: Trying survey-based ACS
ACS: Unable to collect survey data
ACS: All study options have failed
Interface initialization failed
Run Code Online (Sandbox Code Playgroud)

当禁用 DFS 或选择不正确的频率(FCC 域)时,接口会正确锁定所有 5GHz 频段

Channel 60 (primary) not allowed for AP mode, flags: 0x17b NO-IR RADAR
wlp2s0: IEEE 802.11 Configured channel (60) not found from the channel list of current mode (2) IEEE 802.11a
wlp2s0: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-3)
Run Code Online (Sandbox Code Playgroud)

小智 6

Intel 驱动程序根本支持 5GHz 频段上的 AP,原因我不得而知。尝试启动它只是浪费时间(在撰写本文时),所以如果您通过谷歌搜索结束于此 - 就不要这样做。

特征:

2.4GHz 上的 AP 模式(在 iwlmvm 驱动的设备上)

https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi

  • https://community.intel.com/t5/Wireless/Intel-AX210-Gentoo-Linux-OS-Unable-To-Enable-AP-Operation-at-Any/mp/1299236#M36809 (2认同)

小智 0

我曾经尝试在 Intel AX200 上启用 SOFAP 功能,但没有得到任何结果。但看到以下信息后,似乎他们不再支持该芯片上的此功能:

https://www.intel.com/content/www/us/en/support/articles/000023257/network-and-io/wireless-networking.html

虽然说是在Windows系统上,但我相信在Linux上也是一样的结果。至少我在我的平台上尝试过p2p连接是可行的。