NOTICE: The Processors Wiki will End-of-Life in December of 2020. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

How to test USB wifi

From Texas Instruments Wiki
Jump to: navigation, search

Please follow the steps below for this.

Compiling Linux kernel and Ralink driver for DWA-125 module[edit]

  • Download the DWA-125 driver from ralink website.
  • Untar the driver
  • $ vi Makefile and do below changes
  * Enable "PLATFORM = DM6446" If your platform is not mentioned there. Usually DM6446 can be enabled for all TI platforms.
  * Set linux source path at "LINUX_SRC" for chosen platform
  * Set compile tool chain detail for chosen platform. 
  • $ vi os/linux/config.mk
  * Export CFLAGS for chosen platform. We added "EXTRA_CFLAGS := $(WFLAGS) -I$(RT28xx_DIR)/include -I$(LINUX_SRC)/include" for DM6446.
  * Enable "HAS_WPA_SUPPLICANT=y"
  * Enable "HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y"
  • Enable below config in linux kernel tree and compile the kernel first.

You can just enable CONFIG_USB_ZD1201 at Drivers->Network driver->Wireless-> and that will enable all below.

  * CONFIG_WIRELESS=y
  * CONFIG_WIRELESS_EXT=y
  * CONFIG_WEXT_PRIV=y
  * CONFIG_WLAN=y
  • Do a make to build ralink module
  * $ make
  * Should see rt3070sta.ko

Setting up a WiFi router[edit]

  * Assign a SSID to WiFi router
  * Choose OPEN and encryption mode as NONE

Testing DWA-125 module[edit]

  * insmod rt3070rta.ko
  * ifconfig ra0 up
  * ./iwlist ra0 scan /* it should shop up the WiFi network */
  * ./iwpriv ra0 set AuthMode=OPEN
  * ./iwpriv ra0 set EncrypType=NONE
  * ./iwpriv ra0 set SSID="SSID name of WiFi network"
  * either run dhcp to get new ip address OR use statically defined ip address if dhcp is disabled in router setting.
  * run tftp server on a laptop which is also connected to same WiFi network.
  * Transfer files from target board to PC using tftp command.
E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article How to test USB wifi here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article How to test USB wifi here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article How to test USB wifi here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article How to test USB wifi here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article How to test USB wifi here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article How to test USB wifi here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article How to test USB wifi here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article How to test USB wifi here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article How to test USB wifi here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity