Android Wifi-Tethering

250 views
Skip to first unread message

daniel.h...@googlemail.com

unread,
Aug 5, 2010, 4:49:31 AM8/5/10
to android-porting
We are currently adjusting Android's wifi tethering to support our
Wifi Hardware (Ralink RT2500).
Since this driver uses the Linux nl80211 wireless driver framework we
currently use hostapd to set the wifi chip into master mode. The
problem is that iwconfig is not able to do this (because of nl80211)
and Android's netd daemon is also not able to achieve this. The
SoftapController uses the private functions of the Broadcom driver
which are not supported by our driver.
Now, my questions are where does Android do all the EAP Server and
WPA
Authenticator stuff? Is it done in native code or in java? Where can
I
find this code? Or is this entirely done by the Broadcom AP Wifi-
Firmware?

Irfan Sheriff

unread,
Aug 5, 2010, 9:34:38 AM8/5/10
to daniel.h...@googlemail.com, android-porting
Hey Daniel,

and Android's netd daemon is also not able to achieve this. The
SoftapController uses the private functions of the Broadcom driver
which are not supported by our driver.

> Yeah, the  current code is pretty broadcom specific. Going forward, we will be using hostapd to 
provide more generic driver support.
 
Now, my questions are where does Android do all the EAP Server and
WPA
Authenticator stuff? Is it done in native code or in java? Where can
I
find this code? Or is this entirely done by the Broadcom AP Wifi-
Firmware?

> There is no EAP support for soft ap, but the WPA authentication happens in the broadcom firmware.

The way you could go about porting is by hooking the java APIs to netd go through hostapd.

 

--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting

daniel.h...@googlemail.com

unread,
Aug 5, 2010, 2:49:28 PM8/5/10
to android-porting
ok, thank's very much! Now the Ralink Wifi chip works pretty fine with
netd and some changes to SoftapController to support hostapd :-)
> > unsubscribe: android-porti...@googlegroups.com<android-porting%2Bunsubscribe@ googlegroups.com>
> > website:http://groups.google.com/group/android-porting
Reply all
Reply to author
Forward
0 new messages