GithubHelp home page GithubHelp logo

tpruvot / android_system_wlan_ti Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 8.0 5.02 MB

Texas Instruments wl127x external wifi modules sources - For motorola omap devices

Home Page: http://sourceforge.net/projects/moto-defy.motorola/files/

C++ 0.86% C 99.13% Shell 0.01%

android_system_wlan_ti's Introduction

# execute this script in root of motorola OSS android tree (with kernel)
#   or use CyanogenDefy kernel-omap kernel tree in CM7.

# 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

# or if you have the kernel-omap tree in a CM7 repo :

    . build/envsetup.sh
    lunch cyanogen_jordan-eng

    make ext_kernel_modules

# 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 :
- Update SDIO part
- added implementation of CONFIG_HAS_EARLYSUSPEND,  DTIM skipping feature
- Fix Tests frame size warnings

- tiap_drv : update sdio driver code

# March 2012 :

the tiwlan_drv.ko is currently used in CyanogenMod 7/9 Roms

# Current Status (April 2012) :

tiap_drv is now working, but "reverted" to milestone 2 latest oss sources
some patches were reapplied, but TI sources are really badly commited and
its a hell to cherry pick with the indentation and trailing spaces...

todo :
   add missing commands like "set tx power" causing dmesg errors (warnings)

android_system_wlan_ti's People

Contributors

tpruvot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.