bigrushdog

wpa info

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