originally from motorola froyo source
C Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
WiLink_AP
lib
sta_dk_4_0_4_32
wilink_6_1
Android.mk
CleanSpec.mk
README

README

# execute this script in root of motorola kernel

# steps required : 
#   Edit target/board/generic/BoardConfig.mk
#   and set wifi parameters :

# Wifi related defines
# BOARD_WPA_SUPPLICANT_DRIVER := CUSTOM
# BOARD_WPA_SUPPLICANT_PRIVATE_LIB := libCustomWifi
# BOARD_WLAN_DEVICE := tiwlan0
# BOARD_WLAN_TI_STA_DK_ROOT := system/wlan/ti/wilink_6_1
# WIFI_DRIVER_MODULE_PATH     := "/system/lib/modules/tiwlan_drv.ko"
# WIFI_DRIVER_MODULE_ARG      := ""
# WIFI_DRIVER_MODULE_NAME     := "tiwlan_drv"
# WIFI_FIRMWARE_LOADER        := "wlan_loader"
# WPA_SUPPLICANT_VERSION := VER_0_6_X

# then :

    export PLATFORM_DIR=$(pwd)
    export ARCH=arm
    export CROSS_COMPILE=arm-eabi-
    export TARGET_OUT_INTERMEDIATES=out

    cd $PLATFORM_DIR
    . build/envsetup.sh
    choosecombo 1 1 generic eng

# cleanup
cd system/wlan/ti
find . | grep "\.o" | xargs rm

# build modules
cd $PLATFORM_DIR
make MOTO_PREBUILT_DIR= tiwlan_drv
cp system/wlan/ti/wilink_6_1/platforms/os/linux/tiwlan_drv.ko ./

make MOTO_PREBUILT_DIR= tiap_drv
cp system/wlan/ti/WiLink_AP/platforms/os/linux/tiap_drv.ko ./


# Last changes :

Apr 2012 :
- added implementation of CONFIG_HAS_EARLYSUSPEND,  DTIM skipping feature
- Fix Tests frame size warnings