RTL8723BU BT&wifi

wifi module

rtl8723bu 源码被放置在/source/bluetooth_wifi/

1.linux driver是淘宝店家提供。/kernel_imx/drivers/net/wireless/rtlwifi/rtl8723bu。

menuconfig配置相应的宏定义,使其被编译成m。

2.修改device/fsl/sabresd_6dq/BoardConfig.mk,添加reatlek相关信息。
kernel_imx/drivers/net/wireless/rtlwifi/rtl8821as/8821as.ko:system/lib/modules/8821as.ko \

...

BOARD_HOSTAPD_PRIVATE_LIB_RTL               := lib_driver_cmd_rtl

BOARD_WPA_SUPPLICANT_PRIVATE_LIB_RTL        := lib_driver_cmd_rtl

...

WIFI_DRIVER_MODULE_PATH         := "/system/lib/modules/8723bu.ko"

WIFI_DRIVER_MODULE_NAME            := "8723bu"



/hardware/libhardware_legacy/wifi/wifi.c需要上面这些被定义的宏。

3.拷贝rtl8723b_fw和rtl8723bu_config到/system/etc/firmware/。



调试注意事项:

可通过insmod 8723bu.ko 是否成功判断内核驱动是否可用。

使用netcfg/ifconfig/iwconfig/iwlist等WiFi调试工具来验证内核驱动。

调试完成后,关闭wifi相关的多余打印信息。修改/kernel_imx/drivers/net/wireless/rtlwifi/rtl8723bu/include/autoconf.h.注释掉

#defined CONFIG_DEBUG




Realtek BT Android part

添加realtek BT库到hardware realtek目录,修改externel/bluetooth/bluedroid/hci/src/vendor.c,通过修改*get_vendor_lib()将realtek BT库链接到bluetooth,使得系统调用realtek的bt-vendor。

在/device/fsl/sabresd_6dq/BoardConfig.mk中添加默认蓝牙

vendor "ro.boot.btdev=realtek"



Bluetooth and wifi

realtek官方提供rlt8723驱动/source/bluetooth_wifi/realtek offical,见附件。

参照官方资料

xRealtek_Android5.0_USB_driver_Guide_Chinese.doc

Realtek_Wi-Fi_SDK_for_Android_L_5.x.pdf

wifi bug:在多次关闭和开启wifi后,不能打开wifi设备。






1. General Description 1-1. Product Overview and Functional Description AzureWave Technologies, Inc. introduces the first IEEE 802.11b/g/n WLAN & Bluetooth stamp module ---AW-NB300SM. The stamp module is targeted to mobile devices including Personal Digital ShenZhen Header Office Contact:JackyChen PhoneNo.,:13510094765.email:jackychen@flycastle.com flycastle@126.com Assistants (PDAs), Netbook, Tablet and Gaming Devices which need small package stamp module, low power consumption, multiple interfaces and OS support. By using AW-NB300SM, the customers can easily enable the Wi-Fi, and BT embedded applications with the benefits of high design flexibility, short development cycle, and quick time-to-market. Compliance with the IEEE 802.11b/g/n standard, the AW-NB300SM uses Direct Sequence Spread Spectrum (DSSS), Orthogonal Frequency Division Multiplexing (OFDM), DBPSK, DQPSK, CCK and QAM baseband modulation technologies. A high level of integration and full implementation of the power management functions specified in the IEEE 802.11 standard minimize the system power requirements by using AW-NB300SM. In addition to the support of WPA/WPA2 and WEP 64-bit and 128-bit encryption, the AW-NB300SM also supports the IEEE 802.11i security standard through the implementation of Advanced Encryption Standard (AES)/Counter Mode CBC-MAC Protocol (CCMP), Wired Equivalent Privacy (WEP) with Temporal Key Integrity Protocol (TKIP), Advanced Encryption Standard (AES)/Cipher-Based Message Authentication Code (CMAC), and WLAN Authentication and Privacy Infrastructure (WAPI) security mechanisms. For the video, voice and multimedia applications the AW-NB300SM support 802.11e Quality of Service (QoS). For Bluetooth operation, AW-NB300SM is Bluetooth 4.0, also complaint with Bluetooth 2.1 + Enhanced Data Rate (EDR). The AW-NB300SM supports SDIO for WLAN to the host processor. UART interface are available to connect the BT core the host processor. AW-NB300SM is suitable for multiple mobile processors for different applications. AW-NB300SM stamp module adopts Realtek latest highly-integrated WLAN & Bluetooth SoC---RTL8723BS. All the other components are implemented by all means to reach the mechanical specification required.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值