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 > Nin Wifi short range & Open/Shared Mode

#94776 - Snowy? - Wed Jul 26, 2006 2:42 am

Hi there as you may have been reading I've started my fun path to learning about wifi.
Anyway while trying to consolidate the latest drivers Ralink + MSI drivers (for the Gateway function) I was going through adding the Nintendo Wifi Device Id's etc to the USB drivers when I came across a possiable reason for Nintendo's own drivers having crap range....

Nintendo's 1.04 rt2500usb.inf
Code:
;
; Use Tx power
;
HKR, ,                            TxPower,       3, "3"
HKR, Default,                     RTSThresh,       0, "3"
HKR, NDI\params\Txpower,        ParamDesc,       0, "Tx power"
HKR, NDI\params\Txpower,        type,            0, "int"
HKR, Ndi\params\Txpower,        default,         0, "3"
HKR, NDI\params\Txpower,        min,             0, "1"
HKR, NDI\params\Txpower,        max,             0, "4"
HKR, NDI\params\Txpower,        step,            0, "1"
HKR, NDI\params\Txpower,        optional,        0, "0"

Latest Ralink 3.02.0.0 rt2500usb.inf
Code:
;
; TX Power
;
HKR, ,                            TXPower,         0, "0"
HKR, Default,                     TXPower,         0, "0"

So I thought that's funny...further inversigation lead me to believe the Ralink drivers set their own TXPower level on connection this usually being around 27!!! More investigation and I found this which says the rt2500 has 32 levels for the TXPower value and as you can see Nintendo set it to a default of 3 with a max value of 4!?!

The last question I have in my mind though is are the TXPower levels somehow valued differently in Nintendo's drivers???

Plus what is with that line shown above in the Nintendo drivers....
Code:
HKR, Default,                     RTSThresh,       0, "3"

Surely it should be...
Code:
HKR, Default,                     TxPower,       0, "3"


Edit see below new test

PS I tested adding the menu to my own PCi drivers and got about 10% more signal (according to Wifi_lib_test 0.3) and seemed to get a nice full signal further away - I reset it to zero again though as I think I need to find out what will happen to my card if I permanently leave it on max power.

PPS almost finished the MSI + Ralink updated drivers will need PCI and USB testers - though I'm pritty sure the PCI one is fine... hmmm I'll have to make some setup instructions for the Gateway too

Edit sorry about the wait there just added a quick TXT of how-to to it :)[/url]


Last edited by Snowy? on Thu Jul 27, 2006 2:08 pm; edited 1 time in total

#94781 - Snowy? - Wed Jul 26, 2006 3:01 am

Post a message on here if you get batter range from the test :) Thanks

(Goes off to see what other setting you can add to the Ralink drivers)

Edit Last thought I could be wrong about getting extra out of mine at 31 I may hve gotted more signal becuase it's night time here but ..... I just tested a few values in the newer Ralink drivers the settings value doe not seem to make a difference

#94792 - tepples - Wed Jul 26, 2006 3:54 am

It might be on purpose, to make sure that strangers don't use your Internet connection. It might also be not to blanket other people's Wi-Fi networks.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#94858 - Snowy? - Wed Jul 26, 2006 2:10 pm

Further enquiry (I've checked through atleast 6 different manufactures drivers now) led me to the Linksys driver....
Code:
HKR, NDI\params\Txpower,          ParamDesc,          0, "Tx power"
HKR, NDI\params\TxPower,          type,               0, "enum"
HKR, NDI\params\TxPower,          default,            0, "0"
HKR, NDI\params\TxPower\enum,     0,                  0, "Auto"
HKR, NDI\params\TxPower\enum,     1,                  0, "100%"
HKR, NDI\params\TxPower\enum,     2,                  0, "75%"
HKR, NDI\params\TxPower\enum,     3,                  0, "50%"
HKR, NDI\params\TxPower\enum,     4,                  0, "25%"
HKR, NDI\params\TxPower\enum,     5,                  0, "10%"
HKR, NDI\params\TxPower\enum,     6,                  0, "6%"

Now it would make sence that Nintendo would just limit it to modes 1 through 4 (since Auto my of caused their old driver problems & all you need is 100% max eh)

So this should probably get you more range (without changing any drivers)...
Click 'Start'
Click 'Run'
Type in devmgmt.msc hit Enter (this opens the 'Device Manager')

Make sure your Nintendo Wi-Fi USB Connector is plugged in

Find your "Nintendo Wi-Fi USB Connector" in the device list
Right-click on it and click on 'Properties'
Click on 'Advanced'
Click on 'Tx Power'
Change the value in the right hand box to '1' for 100%
Click on 'Ok'
You will probably need to
Restart the Nintendo Ap service or your PC since any changes to the Advance tab seem to mean you have to reboot the AP/Gateway software (That seems to be common to all the Ralink based software)

Tepples I hear ya and I'm investigating MIMO (when I get the time - it's just more than one Antenna to remove noise right??) but if there on differnet channels and considering the signal profile of most of these devices aerials I'm not sure where the problem would be...

Oh and these are cool...
Ralink USB wifi adapter external antenna modification
Poor Man's WiFi - DIY antenna's
I think I need to make a dish change my profile... I wonder if anyone has made a combo antenna with an omni tracker (an array of them to triangulate?) and a single directional dish to lock on motorised of course lol but then MIMO makes it pointless but then there would be a little more security and more distance no? - just a thought :)

#94860 - daninski - Wed Jul 26, 2006 2:36 pm

when i was messing around behind the top screen of my dslite i noticed that they've put a massive coil antenna in the top screen now. what'd happen if i extended that? are there any power issues and stuff?

#94871 - Mighty Max - Wed Jul 26, 2006 3:37 pm

daninski wrote:
when i was messing around behind the top screen of my dslite i noticed that they've put a massive coil antenna in the top screen now. what'd happen if i extended that? are there any power issues and stuff?


The range will reduce if you don't know what you do.

WiFi sends at ~2.4GHz. Which is a lambda of ~12.5cm. To have an effective antenna, you should allways use an antenna of a length that is a multiple of lambda/4. As the Lite is 14.9cm width, its likely that the antenna size ios allready optimal.

Interesting would by an Yagi-Antenna for directional focusing. ... Interesting at least how i'd look like *g*
_________________
GBAMP Multiboot

#94873 - Snowy? - Wed Jul 26, 2006 3:39 pm

As far as I can see/know I would think that if you used a better antenna or a mroe directional one you should be able to pick up a signal from a further distance.

I'm just a novice at this stuff though so Tepples or someone else might have a better idea

#95039 - Snowy? - Thu Jul 27, 2006 2:06 pm

Well I hear'd back from DevilHawk who said changing the value to 1 gave him an extra 3 feet (not much but every little helps) anyway he mentioned not being able to run Homebrew...

The current Nin DS wifi libs seem to only like it when you run your AP in Open mode and the DS games only let you use WEP in Shared mode.
Well this is down to just one value in the registry (lol I've seen it because I'm trying to fix MSI's buggy drivers to save settings lol - I think there missing some DLL's lol - fun stuff for later today) anyway so I made a test 2 driver which should add in the option of switching from Shared to Open, however once again I cannot test it so if someone wants to... test2

It may be flawed though as What I think happens is Nintendow EXE sets the value for Shared and Ralink software in XP seems to need a reload when you play with the settings of the device in device manager.
Worth a sho for those who don't want to switch from the Nintendo Software.

#95141 - ssj4android - Fri Jul 28, 2006 12:25 am

Nintendo games won't work with SoftAP in open mode. However, they will work with my router in open mode. SoftAP is obviously doing something differently.

#95170 - Snowy? - Fri Jul 28, 2006 3:29 am

ssj4android wrote:
Nintendo games won't work with SoftAP in open mode. However, they will work with my router in open mode. SoftAP is obviously doing something differently.

And homebrew will only work through the Software AP in open mode so I adjusted the driver so you should be able to switch the mode over :)

And yeah they do things differently... very shittily differently (Ralink) lol so many different exe's lol and even if they have the same version number they can be different!

Anyway a little more to be added now to my MSI/Ralink modded uber driver (I want to cover all the RT2500 devices with it) hopefully tomorrow I'll be done :) PS most of these dam exe's/drivers for RT2500 devices are subsys specific (device specific) and loose functionality if you use a different manufactures driver for your 'same chipset' card! 0_0

EDIT to clarify...
Quote:
Nintendo games won't work with SoftAP in open mode with WEP on.
They will work in Open mode but not with WEP on (Although I haven't yet read anything on why if WEP is off does the mode (Open/Shared) effect the connection)