您尚未登录。

楼主 #1 2018-12-07 23:02:00

605364021
会员
注册时间: 2018-10-23
已发帖子: 251
积分: 251

RTL8723bs同时开启STA和AP模式

https://www.cnblogs.com/rain-blog/p/rtl8723bs-driver-test.html

CONFIG_PLATFORM_ARM_SUNxI = n
CONFIG_PLATFORM_ARM_SUN6I = n
CONFIG_PLATFORM_ARM_SUN7I = n
CONFIG_PLATFORM_ARM_SUN8I = n

我想问下,licheepi zero选哪个平台架构?

离线

楼主 #3 2018-12-09 17:54:55

605364021
会员
注册时间: 2018-10-23
已发帖子: 251
积分: 251

Re: RTL8723bs同时开启STA和AP模式

CONFIG_PLATFORM_ARM_SUNxI = n
CONFIG_PLATFORM_ARM_SUN6I = n
CONFIG_PLATFORM_ARM_SUN7I = n
CONFIG_PLATFORM_ARM_SUN8I_W3P1 = y
CONFIG_PLATFORM_ARM_SUN8I_W5P1 = n

rtl8723bs驱动的Makefile选项,我编译出了8723bs.ko模块,但是加载在v3s中加载时出现了以下错误,有人遇到过吗?

insmod 8723bs.ko 
[    9.528318] 8723bs: loading out-of-tree module taints kernel.
[    9.542893] 8723bs: Unknown symbol wifi_pm_power (err 0)
[    9.548583] 8723bs: Unknown symbol wifi_pm_get_mod_type (err 0)
[    9.554821] 8723bs: Unknown symbol sunxi_mci_rescan_card (err 0)
[    9.561021] 8723bs: Unknown symbol script_get_item (err 0)
[    9.593651] 8723bs: Unknown symbol wifi_pm_power (err 0)
[    9.599345] 8723bs: Unknown symbol wifi_pm_get_mod_type (err 0)
[    9.605585] 8723bs: Unknown symbol sunxi_mci_rescan_card (err 0)
[    9.611807] 8723bs: Unknown symbol script_get_item (err 0)
insmod: can't insert '8723bs.ko': unknown symbol in module, or unknown parameter

离线

楼主 #5 2018-12-09 20:55:37

605364021
会员
注册时间: 2018-10-23
已发帖子: 251
积分: 251

Re: RTL8723bs同时开启STA和AP模式

晕哥 说:

你确认编译成功了?
我搜了一下, 主线 linux 根本没有这几个函数的定义,

linux3.4 倒是有这几个函数:

https://github.com/qq516333132/camdroid/blob/master/lichee/linux-3.4/drivers/misc/rf_pm/wifi_pm.c

 CC [M]  /home/share/r8723bs/rtl8723bs/hal/phydm/rtl8723b/phydm_rtl8723b.o
  CC [M]  /home/share/r8723bs/rtl8723bs/platform/platform_ops.o
  CC [M]  /home/share/r8723bs/rtl8723bs/platform/platform_ARM_SUNnI_sdio.o
  CC [M]  /home/share/r8723bs/rtl8723bs/core/rtw_mp.o
  CC [M]  /home/share/r8723bs/rtl8723bs/core/rtw_bt_mp.o
  LD [M]  /home/share/r8723bs/rtl8723bs/8723bs.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "script_get_item" [/home/share/r8723bs/rtl8723bs/8723bs.ko] undefined!
WARNING: "sunxi_mci_rescan_card" [/home/share/r8723bs/rtl8723bs/8723bs.ko] undefined!
WARNING: "wifi_pm_get_mod_type" [/home/share/r8723bs/rtl8723bs/8723bs.ko] undefined!
WARNING: "wifi_pm_power" [/home/share/r8723bs/rtl8723bs/8723bs.ko] undefined!
  CC      /home/share/r8723bs/rtl8723bs/8723bs.mod.o
  LD [M]  /home/share/r8723bs/rtl8723bs/8723bs.ko
make[1]: Leaving directory '/home/zhang/linux'

这是最后的编译信息,我的源码是从https://github.com/TinkerBoard/debian_kernel/tree/develop/drivers/net/wireless/rockchip_wlan/rtl8723bs进行修改编译的

离线

楼主 #8 2018-12-09 21:37:51

605364021
会员
注册时间: 2018-10-23
已发帖子: 251
积分: 251

Re: RTL8723bs同时开启STA和AP模式

晕哥 说:

这个驱动是能同时用作 AP 和 Station,
而 主线自带的驱动要么只能作为AP, 要么只能作为Station ?

加载主线驱动后,我只能开启一个端口,所以我觉得主线驱动应该只能使用一个功能

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn