ubuntu 23 下 intel 无线网卡创建 5G 热点的 patch

查看 19|回复 0
作者:pagxir   
这两天打算使用很久前的一个 mini PC 当作路由使用,然后这个机器内置的网卡是 intel 的无线网卡: Intel Corporation Wireless 3165 (rev 91)
然后不管使用 nmcli 还是使用 hostapd 都无法创建 5G hotspot, 而作为 station 连接 5G 是 OK 的,并且创建 2.4G 热点也没有问题。
使用 iw list 命令显示
                        * 5180 MHz [36] (20.0 dBm) (no IR, radar detection)
                        * 5200 MHz [40] (20.0 dBm) (no IR, radar detection)
                        * 5220 MHz [44] (20.0 dBm) (no IR, radar detection)
                        * 5240 MHz [48] (20.0 dBm) (no IR, radar detection)
                        * 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
                        * 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
                        * 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
                        * 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
                        * 5340 MHz [68] (20.0 dBm) (no IR, radar detection)
通过网络搜索信息显示是因为 lar 导致的,并且 intel 在新版的 kernel > 5.4 中,把 disable_lar 移除了。网络上也没有找到具体可以在新版 kernel 中使用方案。
最后是实在没有办法,只好尝试手动到修改,经过尝试后,终于可以了。
改动很简单,具体参见: https://github.com/pagxir/linux-patch/commit/819ac8cc0a4fdee32f2b9a881bced045a671af73
您需要登录后才可以回帖 登录 | 立即注册

返回顶部