Just "make", and you will get executable file "rtwpriv".
[Android - Speradtrum platform]
Step 1. put rtwpriv directory to idh.code/external/.
Step 2. In root directory (idh.code/), run "./mk sp6820gb u adr external/rtwpriv/".
Step 3. The binary is installed on "out/target/product/hsdroid/system/bin/rtwpriv".
3.2.2 iwpriv tool
If you want to use “iwpriv” for Android system, we need to Build iwpriv(wireless
tools) for android.
And iwpriv use the “
wireless
-
extensions
” to ioctrl with
wlan driver, If your
Android
kernel disable
the wireless extensions,
Please rebuild kernel and enable the kernel config “
wireless
-
extensions
”
Networking support --->
-*- Wireless --->
[*] WIRELESS_EXT
[*] WEXT_PRIV
If your are use Linux kernel 3.x, maybe you can’t to select
and enable items on make
menuconfig, you can refer the following procedures:
Changed the followings in \linux-3.0.20\net\wireless\Kconfig:
before:
config WIRELESS_EXT
bool
...
config WEXT_PRIV
bool
to:
config WIRELESS_EXT
bool "WIRELESS_EXT"
...
config WEXT_PRIV
bool "WEXT_PRIV"
and selected the followings in "make menuconfig":
Networking support --->
-*- Wireless --->
[*] WIRELESS_EXT
[*] WEXT_PRIV
With these steps, kernel and WLAN driver seem to be compiled successfully.