hostapd问题解决
使用hostapd,配置wifi6模组为软AP模式
遇到的问题
运行报错
1 |
|
解决方法:
内核添加对应的驱动:
1 |
|
国家码设置不生效
不管设置什么,国家码都为00
解决方法:
由于内核版本在4.15以下,所以需要关闭CRDA,打开use statically compiled regulatory rules database
1 |
|
ax设置不生效
wifi模式配置ax不生效,原因是编译时配置没有打开
解决方法:
在defconfig中打开以下开关
1 |
|
在运行hostapd之前使用以下命令进行配置:
./mlanutl uap0 11axcfg 11axcfg_80-2x2.conf