Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > > > Anyways few pointers to get you started:
- >
- > > > 1. wpa_supplicant relies heavly on private ioctls specially for
- > > > scanning and other purposes. Make sure either yourwifidriver is
- > > > supporting those ioctl or use this workaround fromhttp://blog.linuxconsulting.ro/https://gitorious.org/picopc-android-g......
- >
- > > > 2. By default Android also requires you to build yourwifidriver as a
- > > > module which can be inserted/removed at the time you enable/disable
- > > >wififrom UI. Do that or use this workaround (same source) if driver
- > > > is built into the kernel itselfhttps://gitorious.org/picopc-android-gingerbread/hardware-libhardware...
- >
- > > > 3. Set the correctwifioptions and paths for driver & firmware in
- > > > Boardconfig.mk
- > > > e.g.
- > > > BOARD_WPA_SUPPLICANT_DRIVER := {CUSTOM or WEXT etc}
- > > > WPA_SUPPLICANT_VERSION := VER_0_6_X
- > > > WIFI_DRIVER_MODULE_PATH := "path_to_wifi_driver.ko if built as a module"
- > > > WIFI_DRIVER_MODULE_NAME := ""
- > > > WIFI_FIRMWARE_LOADER := "firmware_loader_if_you_need_any"
- > > > WIFI_DRIVER_MODULE_ARG := ""
- > > > WIFI_DRIVER_FW_STA_PATH := "path_to_firmware_location"
- >
- > > > 4. Correct permissions are applied to corresponding files in init.rc
Advertisement
Add Comment
Please, Sign In to add comment