Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
andrew500
Old
(Last edited by andrew500; 8th June 2010 at 05:25 AM.)
#1  
Member - OP
Thanks Meter 0
Posts: 39
Join Date: Mar 2009
Default WORKING: Infrastructure Mode AP!

Hello All,

I have gotten infrastructure mode working on my EVO. I compiled support for the SIOCSIWPRIV AP_PROFILE_SET system call into iwconfig and lo and behold:

After unloading and reloading the _ap.bin firmware using insmod while wifi-tether is running I issue the following command:

Command: # ./ultraiwconfig eth0 mode master

Response in kernel log:
Code:
<4>[19452.040679] penguin, get AP_PROFILE_SET
<4>[19452.041076] wl_iw: set ap profile:
<4>[19452.041442]       ssid = AndrewsAndroidAP
<4>[19452.042144]       security = wpa-psk
<4>[19452.042510]       key = 1234567890
<4>[19452.042877]       channel = 0
<4>[19452.043243]       max scb = 2
<4>[19454.110931] Set auto channel = 1
<4>[19454.112182] wl_iw_setap: do passhash...
<4>[19454.210723] [00]: aa2f2f2c
<4>[19454.210845] [01]: f4081ab1
<4>[19454.211059] [02]: ccc1d613
<4>[19454.211181] [03]: 887fd525
<4>[19454.211273] [04]: b51d0c01
<4>[19454.211395] [05]: 781b89b1
<4>[19454.211608] [06]: b5de9c57
<4>[19454.211730] [07]: 2f8812e2
<4>[19454.211853] wl_iw_setap: passphase = 2c2f2faab11a08f413d6c1cc25d57f88010c1db5b1891b78579cdeb5e212882f
<4>[19454.222106] ap setup done
<4>[19454.224487] send AP_UP
And proceed to assign IP information and bring the interface up.

The interface then appears on my Windows 7 laptop in infrastructure mode fully supporting wpa.

I will be working with Harald in the coming days to integrate this functionality into android-wifi-tether!
Attached Thumbnails
Click image for larger version

Name:	tether.png
Views:	716
Size:	22.7 KB
ID:	339334  
 
apristel
Old
#2  
apristel's Avatar
Senior Member
Thanks Meter 153
Posts: 782
Join Date: Feb 2009
Location: Green Bay
That is the shiz. Exellent work and I am sure it will be appreciated!
 
iammuze
Old
#3  
Member
Thanks Meter 35
Posts: 99
Join Date: Jul 2008
that's awesome. wow. nexus support?
htc one s - cm10.1
nexus 7 - cm10.1
woot android.
 
andrew500
Old
#4  
Member - OP
Thanks Meter 0
Posts: 39
Join Date: Mar 2009
Quote:
Originally Posted by iammuze View Post
that's awesome. wow. nexus support?
Very likely, can you give me a quick summary of the state of nexus hotspotability? How does the native froyo app work on it?
 
geeserver
Old
#5  
Senior Member
Thanks Meter 33
Posts: 123
Join Date: Dec 2005
Location: PHX, AZ

 
DONATE TO ME
NICE! this would be the first phone to do this right. Good option, dont really like the computer to computer mode. Thanks
 
spurnout
Old
#6  
Senior Member
Thanks Meter 8
Posts: 233
Join Date: Sep 2007
Can't believe I don't know this but this would make wifi-tether look like a real WAP instead of ad-hoc?
 
Shadow591
Old
#7  
Senior Member
Thanks Meter 0
Posts: 256
Join Date: Feb 2010
Quote:
Originally Posted by spurnout View Post
Can't believe I don't know this but this would make wifi-tether look like a real WAP instead of ad-hoc?
Yea this sums it up right
 
mrono
Old
#8  
mrono's Avatar
Senior Member
Thanks Meter 1
Posts: 1,557
Join Date: Jun 2009

 
DONATE TO ME
Quote:
Originally Posted by spurnout View Post
Can't believe I don't know this but this would make wifi-tether look like a real WAP instead of ad-hoc?
yes
[10char]
Sprint Evo 4G(Rooted)

Evo Links - NAND Root - 2.2 Root - (un)Root - Recovery - Roms - Radio - NexTANG Theme

 
Konfuzion
Old
#9  
Senior Member
Thanks Meter 25
Posts: 196
Join Date: Oct 2008
Location: Monrovia
Great news! Thanks for your hard work!
 
MagnusRagnarok
Old
#10  
MagnusRagnarok's Avatar
Recognized Developer
Thanks Meter 627
Posts: 1,739
Join Date: Dec 2009
Location: CYBERTRON

 
DONATE TO ME
great contribution



@ANDROID.IS.KING



BLOGGER




 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more

One Stop Guide Shop for the Newbie and Dev

It’s been well established that XDA-Developers isthedestination for resources relating to … more

What Happened at Google I/O 2013 – XDA Developer TV

Unless you just emerged from a deep, dark, dank cavern under the Earth, you know … more

Forums Added for the LG Optimus G Pro and Sony Xperia Tablet Z

Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more