We want to android OS can compatible with two different wifi module

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

We want to android OS can compatible with two different wifi module

2,487 次查看
charleshuang
Senior Contributor II

Target O/S: Android

Target Software Package: android_jb4.2.2_1.0.0

If we want to make the Android system compatible with two different wifi module(Atheros and Intel),

which means we can use intel wifi module , and when we use atheros wifi module to replace the intel module,it can also be worked without modifying the source code,and rebuild it.

Could you tell us how to modify source code so that the android system can be compatible with both wifi module?

标签 (4)
标记 (2)
0 项奖励
回复
2 回复数

1,210 次查看
JayTu
NXP Employee
NXP Employee

We have this in JB4.3. You can refer to device/fsl/sabresd_6dq/BoardConfig.mk (and related) as below.

# UNITE is a virtual device support both atheros and realtek wifi(ar6103 and rtl8723as)

BOARD_WLAN_DEVICE            := UNITE

WPA_SUPPLICANT_VERSION       := VER_0_8_UNITE

TARGET_KERNEL_MODULES        := \

                                kernel_imx/drivers/net/wireless/rtl8723as/8723as.ko:system/lib/modules/8723as.ko \

                                kernel_imx/net/wireless/cfg80211.ko:system/lib/modules/cfg80211_realtek.ko

BOARD_WPA_SUPPLICANT_DRIVER  := NL80211

BOARD_HOSTAPD_DRIVER         := NL80211

BOARD_HOSTAPD_PRIVATE_LIB_QCOM              := lib_driver_cmd_qcwcn

BOARD_WPA_SUPPLICANT_PRIVATE_LIB_QCOM       := lib_driver_cmd_qcwcn

BOARD_HOSTAPD_PRIVATE_LIB_RTL               := lib_driver_cmd_rtl

BOARD_WPA_SUPPLICANT_PRIVATE_LIB_RTL        := lib_driver_cmd_rtl

0 项奖励
回复

1,210 次查看
jamesbone
NXP TechSupport
NXP TechSupport

I don´t think you need to modify source code, you need to add both Linux Wifi Drivers of the different devices that you are planning to have in your system, just like you do it, in a  PC.  Once you attach the Wifi Device the driver will take care of configuration.

0 项奖励
回复