In the 4.16.4-1 kernel we don't need this line `options iwlwifi power_save=0 11n_disable=1` in the file `/etc/modprobe.d/iwlwifi.conf`.
I tested with the power_save and 11n_disable and my WiFi speed was 21 Mbps when I delete it then I got the 114 Mbps which is my max Internet bandwidth.
事情是这样的,我给我自己的NUC换上了deepin os,我的9260ac只能跑到54Mbps。看modprobe信息,显示没有开启HT功能,MIMO也没开,整个WIFI都是残的,kernel log狂喷iwlwifi相关的错误,第一时间直接怀疑是驱动问题,到intel官网上更新了firmware,重启,速度依旧缓慢。
论坛上之前有一篇帖子,说是修改/etc/modprobe.d/iwlwifi文件,把11n_disable项调到8,我更新firmware,这么操作后,直接导致5G功能无法使用,看起来root cause不在这。
检查了下deepin的kernel版本还在4.16,万事不决先升kernel。从ubuntu的源上捞了个4.19.36,升级完后,不但没能解决问题,还导致我的kernel log狂喷键盘/鼠标的log,这简直就是一场灾难。紧接着我访问了askubuntu论坛,buglist等,发现了这个https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1772467 ,
https://askubuntu.com/questions/1067205/ubuntu-18-04-1-lts-intel-wireless-is-very-slow-with-kernel-4-15 ,
这里说升级内核到4.16解决,然而我觉得这个confirmed就是在搞笑,毕竟kernel是不会打出bug来的,弃之。
从某种角度上讲,既然manjaro上的wifi是正常的,那么deepin应该也能解决,既然它解决了,那就肯定会有人发buglist,翻了下相关的error,和iwlwifi相关的有一个https://bbs.archlinux.org/viewtopic.php?id=236093,显示速度只有21Mbps,卡也是9260,问题也是被resolved,good,楼主自己给自己打了resolved,very good,于是看到了一行:
IMPORTANT:
In the 4.16.4-1 kernel we don't need this line `options iwlwifi power_save=0 11n_disable=1` in the file `/etc/modprobe.d/iwlwifi.conf`.
I tested with the power_save and 11n_disable and my WiFi speed was 21 Mbps when I delete it then I got the 114 Mbps which is my max Internet bandwidth.
想起来之前有吧友说11n_disable改为1,或许就是,改了后,这行执行了,该参数无效,阴差阳错,速度也就正常了。我直接把这行删掉,重启,速度正常,问题解决,发文。虽然找到了解决方法,但是还是需要找个rootcase。希望deepin能看看这个是否是正解,如果是,也应该在下个版本修一下。
所谓开源社区,大家发现问题,一起解决,再方便他人,回馈社区,也是开源的魅力之处。