我的主板是 TP-Link Archer Tx50e,配备英特尔 Wi-Fi 6 AX200。
信息列表给出 5Ghz 频段上所有无 IR 的频率:
Frequencies:
* 5180 MHz [36] (22.0 dBm) (no IR)
* 5200 MHz [40] (22.0 dBm) (no IR)
* 5220 MHz [44] (22.0 dBm) (no IR)
* 5240 MHz [48] (22.0 dBm) (no IR)
* 5260 MHz [52] (22.0 dBm) (no IR, radar detection)
* 5280 MHz [56] (22.0 dBm) (no IR, radar detection)
* 5300 MHz [60] (22.0 dBm) (no IR, radar detection)
* 5320 MHz [64] (22.0 dBm) (no IR, radar detection)
* 5340 MHz [68] (disabled)
* 5360 MHz [72] (disabled)
* 5380 MHz [76] (disabled)
* 5400 MHz [80] (disabled)
* 5420 MHz [84] (disabled)
* 5440 MHz [88] (disabled)
* 5460 MHz [92] (disabled)
* 5480 MHz [96] (disabled)
* 5500 MHz [100] (22.0 dBm) (no IR, radar detection)
* 5520 MHz [104] (22.0 dBm) (no IR, radar detection)
* 5540 MHz [108] (22.0 dBm) (no IR, radar detection)
* 5560 MHz [112] (22.0 dBm) (no IR, radar detection)
* 5580 MHz [116] (22.0 dBm) (no IR, radar detection)
* 5600 MHz [120] (22.0 dBm) (no IR, radar detection)
* 5620 MHz [124] (22.0 dBm) (no IR, radar detection)
* 5640 MHz [128] (22.0 dBm) (no IR, radar detection)
* 5660 MHz [132] (22.0 dBm) (no IR, radar detection)
* 5680 MHz [136] (22.0 dBm) (no IR, radar detection)
* 5700 MHz [140] (22.0 dBm) (no IR, radar detection)
* 5720 MHz [144] (22.0 dBm) (no IR, radar detection)
* 5745 MHz [149] (22.0 dBm) (no IR)
* 5765 MHz [153] (22.0 dBm) (no IR)
* 5785 MHz [157] (22.0 dBm) (no IR)
* 5805 MHz [161] (22.0 dBm) (no IR)
* 5825 MHz [165] (22.0 dBm) (no IR)
* 5845 MHz [169] (disabled)
* 5865 MHz [173] (disabled)
* 5885 MHz [177] (disabled)
* 5905 MHz [181] (disabled)
此外,iw reg 获得:
phy#0 (self-managed)
country 00: DFS-UNSET
...
我尝试将 regdomain 更改为 CA,因此我在 /etc/default/crda 中执行了此操作。上传驱动程序并再次加载,然后信息列表我有:
Frequencies:
* 5180 MHz [36] (22.0 dBm)
* 5200 MHz [40] (22.0 dBm)
* 5220 MHz [44] (22.0 dBm)
* 5240 MHz [48] (22.0 dBm)
* 5260 MHz [52] (22.0 dBm)
* 5280 MHz [56] (22.0 dBm)
* 5300 MHz [60] (22.0 dBm)
* 5320 MHz [64] (22.0 dBm)
* 5340 MHz [68] (22.0 dBm)
* 5360 MHz [72] (22.0 dBm)
* 5380 MHz [76] (22.0 dBm)
* 5400 MHz [80] (22.0 dBm)
* 5420 MHz [84] (22.0 dBm)
* 5440 MHz [88] (22.0 dBm)
* 5460 MHz [92] (22.0 dBm)
* 5480 MHz [96] (22.0 dBm)
* 5500 MHz [100] (22.0 dBm)
* 5520 MHz [104] (22.0 dBm)
* 5540 MHz [108] (22.0 dBm)
* 5560 MHz [112] (22.0 dBm)
* 5580 MHz [116] (22.0 dBm)
* 5600 MHz [120] (22.0 dBm)
* 5620 MHz [124] (22.0 dBm)
* 5640 MHz [128] (22.0 dBm)
* 5660 MHz [132] (22.0 dBm)
* 5680 MHz [136] (22.0 dBm)
* 5700 MHz [140] (22.0 dBm)
* 5720 MHz [144] (22.0 dBm)
* 5745 MHz [149] (22.0 dBm)
* 5765 MHz [153] (22.0 dBm)
* 5785 MHz [157] (22.0 dBm)
* 5805 MHz [161] (22.0 dBm)
* 5825 MHz [165] (22.0 dBm)
* 5845 MHz [169] (22.0 dBm)
* 5865 MHz [173] (22.0 dBm)
* 5885 MHz [177] (22.0 dBm)
* 5905 MHz [181] (22.0 dBm)
很酷吧?但事实并非如此... 一旦我启动 hostapd,所有 5G 频率都会恢复到无 IR,并且 hostapd 当然会说:
通道 149(主通道)不允许用于 AP 模式,标志:0x20053 NO-IR
那么,似乎没有办法让 5G 适用于 AP 模式?
在这篇文章中似乎有人成功做到了这一点,但在我的情况下却没有(https://unix.stackexchange.com/questions/636667/why-cant-hostapd-service-start-ap-configured-in-5-ghz-band-using-intel-ax200-ba/637706)。
所以,我想问一下:硬件中也设置了 regdomain 吗?为什么我无法更改它?
目前我的网络由 systemd-network 管理(我选择使用它,即使这个版本是带有 KDE Neon 的桌面版本)。
提前致谢。
答案1
我遇到了完全相同的问题,但我认为没有解决方案(我甚至与英特尔高级支持进行了长时间的“友好”讨论)。
因此,我不知道这是否是公开知识,但英特尔推出了一项名为 DRS(动态监管解决方案)的功能: https://blogs.intel.com/technology/2015/01/intel-drs-wi-fi-trouble-international-travelers/
基本上,这意味着他们不再像以前一样允许您控制监管。卡会在启动时自行扫描您的环境并确定其所在位置(我认为这是基于信标帧中的国家代码)。如果无法确定,则卡将设置为 GLOBAL。
哦!而且这个功能无法禁用,它内置于预编译的专有 iwlwifi 固件中。所以,我们无能为力。仅供参考,所有英特尔 WiFi 6 卡都嵌入了此功能。
答案2
我建议你尝试一下:
sudo -i
echo "options cfg80211 ieee80211_regdom=CA" > /etc/modprobe.d/cfg80211.conf
exit
重启。
我相信这会正确地将监管范围设置为 CA;但是,我完全不确定它是否会暴露非 IR 通道。在美国不会。检查:
iw list
以我的美国机器为例:
Frequencies:
* 5180 MHz [36] (22.0 dBm) (no IR)
* 5200 MHz [40] (22.0 dBm) (no IR)
* 5220 MHz [44] (22.0 dBm) (no IR)
* 5240 MHz [48] (22.0 dBm) (no IR)
* 5260 MHz [52] (22.0 dBm) (no IR, radar detection)
* 5280 MHz [56] (22.0 dBm) (no IR, radar detection)
* 5300 MHz [60] (22.0 dBm) (no IR, radar detection)
* 5320 MHz [64] (22.0 dBm) (no IR, radar detection)
* 5500 MHz [100] (22.0 dBm) (no IR, radar detection)
* 5520 MHz [104] (22.0 dBm) (no IR, radar detection)
* 5540 MHz [108] (22.0 dBm) (no IR, radar detection)
* 5560 MHz [112] (22.0 dBm) (no IR, radar detection)
* 5580 MHz [116] (22.0 dBm) (no IR, radar detection)
* 5600 MHz [120] (22.0 dBm) (no IR, radar detection)
* 5620 MHz [124] (22.0 dBm) (no IR, radar detection)
* 5640 MHz [128] (22.0 dBm) (no IR, radar detection)
* 5660 MHz [132] (22.0 dBm) (no IR, radar detection)
* 5680 MHz [136] (22.0 dBm) (no IR, radar detection)
* 5700 MHz [140] (22.0 dBm) (no IR, radar detection)
* 5720 MHz [144] (22.0 dBm) (no IR, radar detection)
* 5745 MHz [149] (22.0 dBm) (no IR)
* 5765 MHz [153] (22.0 dBm) (no IR)
* 5785 MHz [157] (22.0 dBm) (no IR)
* 5805 MHz [161] (22.0 dBm) (no IR)
* 5825 MHz [165] (22.0 dBm) (no IR)