signal and hardware level control

7 posts / 0 new
Last post
fangq
fangq's picture
signal and hardware level control

hi,

I am wondering if it is possible to set the signal gains or frequency of the rounter via the driver or provided software interfaces? the reason I ask this question is that I want to do some study to test router/antennas performances under difference shielding conditions. I want to measure the signal variations due to the presence of shielding or obstacles. 

Do I have access to the drivers or software interface with which I can extract the signal intensity, gain,or basic antenna information? or anyone know where I can get these detailed information (like developer's manual etc)?

thank you very much 

Qianqian 

Nachi
Nachi's picture
In WGR614L please connect the

In WGR614L please connect the serial ports (check the open source guide). Once you have an access to the shell, you can change the trasnmit power, antenna diversity etc.

wl txpwr1

is the command to set/get trasmit power.

wl channel

to set the channel/frequencies.

wl antdiv

is to set antenna diversity. WGR614L has on internal and one extenal antenna. But nothing much to control the rx antenna gain though.

A better option may be to use to solder some wires get the anttanna output from the boards and use an SMA cable to external antennas. After that you can add some attenuator to get the proper gains etc.

--Nachi

Brandon C
Brandon C's picture
Nachi,

Nachi,

You are wayyyyy over my head on that one.

Wpuld not it be better to use and aftermarket firmware that shows wireless status like DD-WRT does? Like this...

fangq
fangq's picture
that is cool! thank you very

that is cool! thank you very much Nachi. I will play with it when I get time.

I also have a NetGear WG111 USB adapter, currently I can only use it on windows. I want do some programming and get receive signal levels (basically using it as a receiver probe). Does anyone know if I can get the programming interface or developer guide for this adapter? any physical specfication of this adapter? (SNR, gain, side-lobe etc)

thanks

Nachi
Nachi's picture
Definitely for most this type

Definitely for most this type of interfaces are ok. In fact you may watch the thread at dd-wrt

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=27947&highlight=wgr614l

about the progress of dd-wrt firmware for wgr614l. It seems dd-wrt team is already working on this.

But, in some cases you may need to programmatically and automatically change these paramters particularly for advanced testing (e.g. you want to change the transmit power each 500 milliseconds so that you can simulate a situation like you are moving away with you WiFi iPhone from the access point. In those cases, someone needs to something really specific.

kaustab
kaustab's picture
BrandonC said: Nachi, You

BrandonC said: Nachi, You are wayyyyy over my head on that one. Wpuld not it be better to use and aftermarket firmware that shows wireless status like DD-WRT does? Like this...

 This page basically shows you the current status - You can not set the channel, frequncies through this page. If you need to change those attributes you need to follow Nachi's suggestion

kaustab
kaustab's picture
fangq,

fangq,

I guess you are trying to get received signal level from the wireless USB adapter. Probabaly you are not interested in the router part but only on the client adapter. I guess you can have this data from the driver using ioctl. In face 'iwconfig' should also display the signal level. I do not know the list of ioctls supported by the WG111 driver. If anybody has an idea about this, please share the info.

thanks