gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > WEP/WPA Route -> PSP -> DS?

#138965 - OOPMan - Fri Aug 31, 2007 9:30 am

Hey all, I was just wondering whether anyone could tell me if the follow concept is sound. Keep in mind, everything outlined below is Hypothetical ->

Anyway, the hypothetical situation...

I have a wireless router that supports WEP/WPA. Alas, the DS can not connect to this router. However, the PSP can.

Would it be possible, in theory, to write a piece of software for the PSP that would act as a "thunking" layer to the wireless router for the DS.

In other words, the software in question would connect to the internet via the wireless router and then wait for the DS to attempt to communicate with it (The PSP). Upon recieving data from the DS (Which would see the PSP as a standard WEP access point) it would think send data through to the actual router which would send it outwards into the wide internet.

In essence, the idea would be to use the PSP as a NAT-layer for the DS...

So...how far out of the realm of plausability is this? :-)

I guess it hinges on whether the wireless chip in the PSP can be made to present itself as a WEP wireless access point to the DS. Possibly?

#138968 - jerbob92 - Fri Aug 31, 2007 10:22 am

I really don't think this will work, PSP and NDS are made for connecting to an acces-point not being one.

#138973 - Dan2552 - Fri Aug 31, 2007 11:14 am

As far as I know it's *possible* as long as the PSP has a sophisticated custom application, basically emulating some kind of gateway, which sends all it's packets as if it had 2 wifi connections at a time - sending the right packets to the right thing...

From what I understand, if it's able to send data on the right frequency - an 'emulated' access point could be made.

#138977 - OOPMan - Fri Aug 31, 2007 11:48 am

So, the PSP could act as a Soft AP then?
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI

You can find my NDS homebrew projects here...

#138978 - sonny_jim - Fri Aug 31, 2007 12:01 pm

I think that is asking a lot. Not only will you need to make the PSP act as an AP, you'll have to make the PSP act as a wireless client as well and on top of all that do some kind of NAT as well.

I've never heard of one wireless card acting as two devices at the same time.

#138990 - pas - Fri Aug 31, 2007 2:24 pm

Maybe it would be easier to make the DS support WPA...

#138994 - jerbob92 - Fri Aug 31, 2007 2:32 pm

i think it's a hardware limit(not sure) :P

#138998 - Tikker - Fri Aug 31, 2007 2:43 pm

i'm not sure that you can make a wireless device talk to 2 different encryption methods at the same time


essentially you want to turn the psp into a wireless bridge, but I'm not sure it's possible

#139040 - seoushi - Fri Aug 31, 2007 11:17 pm

It's not possible, in order to make a network bridge you would need the psp to have two wireless devices, one for ds and one for the internet. The only way I see this possible is if you connect to one device at a time but that is going to be extremely slow and not worth the effort.

#139169 - Dood77 - Mon Sep 03, 2007 2:24 am

sonny_jim wrote:
I've never heard of one wireless card acting as two devices at the same time.

Erm... ad-hoc?
Okay, okay, I'm not a Wifi genius.
_________________
If I use a term wrong or something then feel free to correct, I?m not much of a programmer.

Original DS Phat obtained on day of release + flashme v7
Supercard: miniSD, Kingston 1GB, Kingston 2GB
Ralink chipset PCI NIC

#139255 - Dan2552 - Tue Sep 04, 2007 12:34 am

Continuing from my post,

Keeping 2 concurrent connections with one device would probably cause a major slow-down. Causing time-outs with basically anything useful.

#139261 - calcprogrammer1 - Tue Sep 04, 2007 1:55 am

If the PSP has an 11MBPS (802.11B) chip (I don't own a PSP), all it has to serve the DS is 2MBPS, so IF the PSP could connect to the AP, but only connect at 2MBPS, then it would theoretically have 9MBPS to work with, but there's probably packet authentication and stuff and other information that keeps the PSP connected to the router, and it would have to be emulated.

It'd be easier just to turn WPA off, and use WEP instead :)
_________________
DS Firmware 1, Datel Games n' Music card / Chism's FW hacked GBA MP v2 CF

There's no place like 127.0.0.1.

#139387 - Tikker - Wed Sep 05, 2007 7:38 pm

calcprogrammer1 wrote:
If the PSP has an 11MBPS (802.11B) chip (I don't own a PSP), all it has to serve the DS is 2MBPS, so IF the PSP could connect to the AP, but only connect at 2MBPS, then it would theoretically have 9MBPS to work with, but there's probably packet authentication and stuff and other information that keeps the PSP connected to the router, and it would have to be emulated.

It'd be easier just to turn WPA off, and use WEP instead :)


that's not how wireless works at all

#139401 - Mighty Max - Wed Sep 05, 2007 9:34 pm

Why not implement WPA in software on the DS instead?
_________________
GBAMP Multiboot

#139479 - TJ - Thu Sep 06, 2007 6:20 pm

There is some serious misinformation bouncing around in this topic...

The bottom line is, a wireless device can only be in one mode at a time. It can't connect to the AP and simultaneously act as a secondary AP for the DS to connect to, it just isn't possible.

Microsoft has an experimental project called VirtualWiFi, which allows one device to connect to multiple networks at the same time, but it does that by rapidly switching between them on demand. It doesn't make a constant connection to them all, so it would be no use for routing Internet traffic over.

Moreover, even if you connected to the Internet via USB on the PSP, the PSP's hardware still doesn't support operating in master mode to connect to the DS. The best you will get on the PSP is Ad-Hoc, and the DS's can't get online through Ad-Hoc.

#139487 - Mighty Max - Thu Sep 06, 2007 7:42 pm

TJ wrote:

The bottom line is, a wireless device can only be in one mode at a time. It can't connect to the AP and simultaneously act as a secondary AP for the DS to connect to, it just isn't possible.


That is not true.

A wlan system can implement the state machine as defined in 802.11 for stations and accespoints on the same machine. Actually Ad-Hoc Mode (IBSS) is a very similiar principle, where each station implements a subset of AP functions as well as the usual station functions.

The only real limitation is that one receiver/transmitter hardware can only be present at one channel at a time, but the number of (I)BSS on one channel is not directly limited by the protocol. (alltho limited by the physical capacity until collisions break the channel)
_________________
GBAMP Multiboot

#139528 - Dood77 - Fri Sep 07, 2007 4:21 am

Mighty Max wrote:
Actually Ad-Hoc Mode (IBSS) is a very similiar principle

Woo!
(Maybe I am a Wifi Genius?!)
_________________
If I use a term wrong or something then feel free to correct, I?m not much of a programmer.

Original DS Phat obtained on day of release + flashme v7
Supercard: miniSD, Kingston 1GB, Kingston 2GB
Ralink chipset PCI NIC