Pavel Roskin | 1 Apr 01:02 2004
Picon

[PATCH] hostap_rid pints zeroes on error

Hello!

The hostap_rid utility prints many zeroes if it fails to read the data.
It shouldn't print anything but the error message.  The patch is attached.

-- 
Regards,
Pavel Roskin
--- utils/hostap_rid.c
+++ utils/hostap_rid.c
 <at>  <at>  -51,6 +51,7  <at>  <at>  static int get_rid(const char *dev, u16 
 	}
 	if (res == ENODATA) {
 		printf("Get RID did not return any data.\n");
+		return -1;
 	} else if (res) {
 		printf("Could not communicate with the kernel driver.\n");
 		return -1;
_______________________________________________
HostAP mailing list
HostAP <at> shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap
Pavel Roskin | 1 Apr 01:35 2004
Picon

Re: TX power - growl!

On Tue, 30 Mar 2004 mike-hostap <at> tiedyenetworks.com wrote:

> 	So why is the subject of TX power such a dark mysterious secret?
> I've got some seano/engenius cards (pcmcia) and some I use in access
> point configurations, and others I use in client devices. But in either
> mode, setting the tx power using the iwpriv wlan0 prism2_param 6 x
> command doesn't seem to have any effect whatsoever on the power output
> of the card. Yes my testing is suspect because I don't have a spectrum
> analyzer at my disposal and I was only able to test by associating with
> a cisco AP and reading the 'received signal strength', but still I can't
> detect any change wether I use 1, 50, 126, 129 or 254. I also tried the
> wlan-ng drivers (for client mode) and they claim no tx powers are
> available.. so I'm just lost.

See comments in hostap sources.  Support for txpower setting was removed
in version 0.0.4 because it wasn't implemented correctly.  The code is
still in the driver, but it's disabled.  Look for RAW_TXPOWER_SETTING.  In
particular, read this comment from the driver:

"Note! This TX power controlling is experimental and should not be used in
production use. It just sets raw power register and does not use any kind
of feedback information from the measured TX power (CR58). This is now
commented out to make sure that it is not used by accident. TX power
configuration will be enabled again after proper algorithm using feedback
has been implemented."

By the way, TX power is implemented using registers of the baseband
processor.  It's a very hackish approach because it circumvents the
firmware.  No other driver doesn't even attempt to regulate tx power on
Prism chipset.
(Continue reading)

Gargi D | 1 Apr 16:28 2004

CIS for Prism based chipset

Hi All,

The CIS structure consists of some tuples which are predefined.  As a
part of the FUNCE tuple provided by the CIS structure wer are supposed
to get MAC address used by the NIC.

The MAC Address of my card is however dfferent from what CIS reports
from this particular field,

Can someone provide more insight into this?

Regards, 

Gargi 
Sophal Sun | 1 Apr 21:12 2004
Picon

Hardware for Hostap

Hello All

Wich kind of pcmcia cards do you recommend .

In this url http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/

They just give the manufacturer link not the exact product .

By the way If you have some PCI cards reference ...

Thanks in advance
Pavel Roskin | 1 Apr 22:23 2004
Picon

Re: CIS for Prism based chipset

On Thu, 1 Apr 2004, Gargi D wrote:

> The CIS structure consists of some tuples which are predefined.  As a
> part of the FUNCE tuple provided by the CIS structure wer are supposed
> to get MAC address used by the NIC.
>
> The MAC Address of my card is however dfferent from what CIS reports
> from this particular field,
>
> Can someone provide more insight into this?

The MAC address is hardcoded in 3 placed - CIS, PDA and secondary
firmware.  The one that in the secondary firmware is the default used by
the card.  When you reflash the firmware or just load firmware into the
card memory, the MAC address is taken from the PDA.

The address in the CIS is not used by the card.  I've seen hex records
that flash the CIS using the MAC address from the PDA.  Some manufacturers
are lazy and write the same CIS to all cards.  Usually the MAC address in
the CIS consists of all zeroes in this case.

You can look up the addresses in the MAC address database in the Ethereal
sources.  Maybe it will explain something.

--

-- 
Regards,
Pavel Roskin
jar | 1 Apr 22:59 2004
Picon
Picon

Rx invalid crypt

Hello

I am using hostap version 0.1.3 with prism2 cards (fw 1.5.6). When the
driver is in Managed mode the iwconfig (ver 26,WE15) shows that I have 
Rx invalid crypt count 3. But I don't use the WEP at all. So what could 
be the Rx invalid crypt:3 in this case ?

Regards,
Jar
x86processor | 2 Apr 02:31 2004
Picon

Help: smc2532-wb suse 9

Hi!

I really, really need some help and I am new to
wireless and kernel stuff.

I bought a SMC 2532-W-B wireless card to use with my
laptop. Yes, its a prism2 chipset. I am running SuSE 9
2.4.21-99-default kernel. I would like to install the
hostap drivers and i can't understand head or tail of
the installation in the readme. I only want to
install, load the driver and use it in monitor mode.

I am not sure if i have pcmcia support in kernel or if
i have to install external pcmcia-cs package (or how
to install it too).

If someone can give me detailed step-by-step
instructions, it will be really helpful,

Please let me know,

Thanks,

x86

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/
(Continue reading)

John Breeden | 2 Apr 06:23 2004

Re: Hardware for Hostap

Sophal Sun wrote:

> Hello All
>
> Wich kind of pcmcia cards do you recommend .
>
> In this url http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/
>
> They just give the manufacturer link not the exact product .
>
> By the way If you have some PCI cards reference ...
>
> Thanks in advance
>
> _______________________________________________
> HostAP mailing list
> HostAP <at> shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>
http://www.netgate.com
sankpal_manisha | 2 Apr 06:56 2004

transmission power issue

Hello All,

hostap driver version 0.0.4 and 0.1.3 do't seem to provide the txpower info using iwconfig wlan0 txpower?

so i tried iwpriv. But i m get confused by seeing the output? It will be greatful if someone provide more
insight on the following command 

iwpriv wlan0 getxpower
<mapping sub-ioctl getxpower to cmd 0x8BE1-6>
wlan0     getxpower:186

i also tried with the following command 
iwpriv wlan0 readmif 62
wlan0     readmif:186

186 means how many dBm (or watt)? what is the formula to convert the value?

is there any way to check and change the transmission power in driver version 0.0.4 and 0.1.3?

Thanks in advance
Manisha Sankpal
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com

Bid for for Air Tickets  <at>  Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and
Bid Now!
Denis Vlasenko | 2 Apr 09:08 2004
Picon

Re: Help: smc2532-wb suse 9

On Friday 02 April 2004 03:31, x86processor wrote:
> Hi!
>
> I really, really need some help and I am new to
> wireless and kernel stuff.
>
> I bought a SMC 2532-W-B wireless card to use with my
> laptop. Yes, its a prism2 chipset. I am running SuSE 9
> 2.4.21-99-default kernel. I would like to install the
> hostap drivers and i can't understand head or tail of
> the installation in the readme. I only want to

Which part you don't understand? Let us improve it
by letting us know.

> install, load the driver and use it in monitor mode.
>
> I am not sure if i have pcmcia support in kernel or if
> i have to install external pcmcia-cs package (or how
> to install it too).
>
> If someone can give me detailed step-by-step
> instructions, it will be really helpful,
--
vda

Gmane