wifi not working with android on Beagle board

Hi,
We are trying to make wifi on beagle board with android 1.6, with
Linux version 2.6.29-rc3-omap1-gb7a2014-dirty. When i connect Belkin
USB adapter i getting following messges:

usb 2-2.1: new high speed USB device using ehci-omap and address 6
usb 2-2.1: configuration #1 chosen from 1 choice
usb 2-2.1: reset high speed USB device using ehci-omap and address 6
wmaster0 (zd1211rw): not using net_device_ops yet
wlan0 (zd1211rw): not using net_device_ops yet
zd1211rw 2-2.1:1.0: phy2

If i give ifconfig wlan0 up
i am getting

usb 2-2.1: firmware: requesting zd1211/zd1211b_ub
init: untracked pid 1747 exited
usb 2-2.1: firmware: requesting zd1211/zd1211b_uphr
init: untracked pid 1750 exited
zd1211rw 2-2.1:1.0: firmware version 4725
zd1211rw 2-2.1:1.0: zd1211b chip 050d:705c v4810 high 00-1c-df
AL2230_RF pa0 g--N-
ADDRCONF(NETDEV_UP): wlan0: link is not ready

2. If i run netcfg command its showinlo UP 127.0.0.1
255.0.0.0 0x00000049
sit0 DOWN 0.0.0.0 0.0.0.0 0x00000080
wmaster0 UP 0.0.0.0 0.0.0.0 0x00001043
wlan0 UP 0.0.0.0 0.0.0.0 0x00001003

Now the problem is i am not getting the ipaddress.
If i give netcfg wlan0 dhcp up its giving

action 'dhcp' failed (Timer expired)

From the logcat i can see following lines for wifi.

I/SystemServer( 824): Starting NetStat Service.
I/SystemServer( 824): Starting Connectivity Service.
I/WifiService( 824): WifiService starting up with Wi-Fi disabled
I/SystemServer( 824): Starting Accessibility Manager.
D/DHCP ( 1820): ===== DHCP message:
D/DHCP ( 1820): op = BOOTREQUEST (1), htype = 1, hlen = 6, hops = 0
D/DHCP ( 1820): xid = 0x88811400 secs = 0, flags = 0x8000 optlen =
14
D/DHCP ( 1820): ciaddr = 0.0.0.0
D/DHCP ( 1820): yiaddr = 0.0.0.0
D/DHCP ( 1820): siaddr = 0.0.0.0
D/DHCP ( 1820): giaddr = 0.0.0.0
D/DHCP ( 1820): chaddr = { 00 1c df de 0a 08 }
D/DHCP ( 1820): sname = ''
D/DHCP ( 1820): file = ''
D/DHCP ( 1820): op 53 len 1 { 01 } discover
D/DHCP ( 1820): op 55 len 4 { 01 03 06 1c }
D/DHCP ( 1820): TIMEOUT
D/DHCP ( 1820): ===== DHCP message:
D/DHCP ( 1820): op = BOOTREQUEST (1), htype = 1, hlen = 6, hops = 0
D/DHCP ( 1820): xid = 0x88811400 secs = 0, flags = 0x8000 optlen =
14
D/DHCP ( 1820): ciaddr = 0.0.0.0
D/DHCP ( 1820): yiaddr = 0.0.0.0
D/DHCP ( 1820): siaddr = 0.0.0.0
D/DHCP ( 1820): giaddr = 0.0.0.0
D/DHCP ( 1820): chaddr = { 00 1c df de 0a 08 }
D/DHCP ( 1820): sname = ''
D/DHCP ( 1820): file = ''
D/DHCP ( 1820): op 53 len 1 { 01 } discover
D/DHCP ( 1820): op 55 len 4 { 01 03 06 1c }
D/dalvikvm( 824): GC freed 10990 objects / 525328 bytes in 74ms
D/DHCP ( 1820): TIMEOUT
D/DHCP ( 1820): ===== DHCP message:
D/DHCP ( 1820): op = BOOTREQUEST (1), htype = 1, hlen = 6, hops = 0
D/DHCP ( 1820): xid = 0x88811400 secs = 0, flags = 0x8000 optlen =
14
D/DHCP ( 1820): ciaddr = 0.0.0.0
D/DHCP ( 1820): yiaddr = 0.0.0.0
D/DHCP ( 1820): siaddr = 0.0.0.0
D/DHCP ( 1820): giaddr = 0.0.0.0
D/DHCP ( 1820): chaddr = { 00 1c df de 0a 08 }
D/DHCP ( 1820): sname = ''
D/DHCP ( 1820): file = ''
D/DHCP ( 1820): op 53 len 1 { 01 } discover
D/DHCP ( 1820): op 55 len 4 { 01 03 06 1c }

In filesystem i am not seeing wpa_supplicant or wpa_passphrase
executables.
And also when i compile android source code with wpa_supplicant
enabled its not compiling it.

Can anybody tell me the steps to make wifi up on beagle board with
android for Belkin adapter.

Thanks and regards