forked from iptux/android_device_xiaomi_mione_plus
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathmione_bcm43xx.mk
38 lines (31 loc) · 1.44 KB
/
mione_bcm43xx.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# mione_bcm43xx.mk
# bcm43xx config for mione device
#
# Author: Alex.wang
# Create: 2013-04-06 17:54
# common bcm43xx
BOARD_LEGACY_NL80211_STA_EVENTS := true
BOARD_HOSTAPD_DRIVER := NL80211
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
BOARD_WLAN_DEVICE := bcmdhd
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
WIFI_BAND := 802_11_ABG
WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
WPA_SUPPLICANT_VERSION := VER_0_8_X
# old mione device have bcm4329 chip (M1, M1CU, M1C1, M1youth)
WIFI_DRIVER_MODULE_NAME := bcmdhd
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcmdhd.ko"
WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/firmware/fw_bcm4329.bin nvram_path=/system/etc/firmware/nvram.txt"
WIFI_DRIVER_FW_PATH_STA := "/system/etc/firmware/fw_bcm4329.bin"
WIFI_DRIVER_FW_PATH_AP := "/system/etc/firmware/fw_bcm4329_apsta.bin"
# new mione device have bcm4330 chip (M1S, M1Syouth)
WIFI_DRIVER_MODULE_NAME_DHD := bcmdhd
WIFI_DRIVER_MODULE_PATH_DHD := "/system/lib/modules/bcmdhd.ko"
WIFI_DRIVER_MODULE_ARG_DHD := "firmware_path=/system/etc/firmware/fw_bcmdhd.bin nvram_path=/system/etc/firmware/bcmdhd.cal"
WIFI_DRIVER_FW_PATH_STA_DHD := "/system/etc/firmware/fw_bcmdhd.bin"
WIFI_DRIVER_FW_PATH_AP_DHD := "/system/etc/firmware/fw_bcmdhd_apsta.bin"
# flag for xiaomi
BOARD_USE_XIAOMI_MIONE_WIFI := true
PRODUCT_PACKAGES += \
libnetcmdiface