Skip to contentSkip to conversation

Can 'iw' show the current tx-power?

DISCUSSION Ben Greear 4 participants 8 messages Oct 2, 2010 – Oct 4, 2010

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

It seems it can set it, but I don't see any command to print out the current value?

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#1 lore raw
Quoted 6 lines · Ben Greear

It seems it can set it, but I don't see any command to print out the current value?

Thanks,
Ben

This is pretty much last missing feature from iw.

Best regards,
Maxim Levitsky

author
#2 lore raw
Quoted 8 lines · Maxim Levitsky
Quoted 6 lines · Ben Greear

It seems it can set it, but I don't see any command to print out the current value?

Thanks,
Ben

This is pretty much last missing feature from iw.

Maybe that and current operating transfer rate? I can't seem to find that anywhere other than 'iwconfig'...

Thanks,
Ben

Quoted 3 lines

Best regards,
Maxim Levitsky

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#3 lore raw
Quoted 5 lines · Ben Greear
Quoted 4 lines · Maxim Levitsky
Quoted 3 lines · Ben Greear

It seems it can set it, but I don't see any command to print out the current value?

Quoted 7 lines
Quoted 4 lines
Quoted 3 lines

Thanks,
Ben

This is pretty much last missing feature from iw.

Maybe that and current operating transfer rate? I can't seem to find that anywhere other than 'iwconfig'...

iw wlan0 link shows that.

Best regards,
Maxim Levitsky

#4 lore raw
Quoted 9 lines · Maxim Levitsky
Quoted 8 lines · Ben Greear
Quoted 7 lines · Maxim Levitsky
Quoted 6 lines · Ben Greear

It seems it can set it, but I don't see any command to print out the current value?

Thanks,
Ben

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

This is pretty much last missing feature from iw.

Maybe that and current operating transfer rate?  I can't seem to find that anywhere other than 'iwconfig'...

iw wlan0 link shows that.

This does not work in adhoc mode:

# iw dev wlan0 info
Interface wlan0
        ifindex 4
        type IBSS
# iw dev wlan0 link
Not connected.
Quoted 9 lines

Best regards,
       Maxim Levitsky

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Thanks,

--
Jonathan Guerin

#5 lore raw
Quoted 1 line · On Mon October 4 2010 10:27:47 Jonathan Guerin wrote:

On Sun, Oct 3, 2010 at 4:48 AM, Maxim Levitsky <[email protected]>

Quoted 18 lines · wrote:
Quoted 9 lines · Ben Greear
Quoted 8 lines · Maxim Levitsky
Quoted 7 lines · Ben Greear
Quoted 5 lines

It seems it can set it, but I don't see any command to print out the current value?

Thanks,
Ben

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

This is pretty much last missing feature from iw.

Maybe that and current operating transfer rate? I can't seem to find that anywhere other than 'iwconfig'...

iw wlan0 link shows that.

This does not work in adhoc mode:

Quoted 7 lines
# iw dev wlan0 info
Interface wlan0
        ifindex 4
        type IBSS
# iw dev wlan0 link
Not connected.

the TX rate is different for each station (and basically for each individual packet too) so it does not make sense to show that for the "link" (what ever "link" may mean in the context of ad-hoc...).

iw wlan0 station dump

can show you the last TX rate for each station, but again, the rate can and will change on a per-packet basis.

there is no such thing as a "current transfer rate".

bruno

#6 lore raw
Quoted 33 lines · Bruno Randolf
Quoted 1 line · On Mon October 4 2010 10:27:47 Jonathan Guerin wrote:

On Sun, Oct 3, 2010 at 4:48 AM, Maxim Levitsky <[email protected]>

Quoted 18 lines · wrote:
Quoted 9 lines · Ben Greear
Quoted 8 lines · Maxim Levitsky
Quoted 7 lines · Ben Greear
Quoted 5 lines

It seems it can set it, but I don't see any command to print out the current value?

Thanks,
Ben

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

This is pretty much last missing feature from iw.

Maybe that and current operating transfer rate?  I can't seem to find that anywhere other than 'iwconfig'...

iw wlan0 link shows that.

This does not work in adhoc mode:

Quoted 7 lines
# iw dev wlan0 info
Interface wlan0
        ifindex 4
        type IBSS
# iw dev wlan0 link
Not connected.

the TX rate is different for each station (and basically for each individual packet too) so it does not make sense to show that for the "link" (what ever "link" may mean in the context of ad-hoc...).

Quoted 6 lines

iw wlan0 station dump

can show you the last TX rate for each station, but again, the rate can and will change on a per-packet basis.

there is no such thing as a "current transfer rate".

With iwconfig, we can set a fixed rate, shouldn't this be what we expect to see as the 'rate'?

Speaking of, is there a particular reason why we still have to use iwconfig to set the rate as well?

Quoted 3 lines

bruno

Thanks,

--
Jonathan Guerin

#7 lore raw
Quoted 37 lines · On Mon October 4 2010 10:46:45 you wrote:
Quoted 36 lines · Bruno Randolf
Quoted 1 line · On Mon October 4 2010 10:27:47 Jonathan Guerin wrote:

On Sun, Oct 3, 2010 at 4:48 AM, Maxim Levitsky <[email protected]>

Quoted 18 lines · wrote:
Quoted 9 lines · Ben Greear
Quoted 8 lines · Maxim Levitsky
Quoted 7 lines · Ben Greear
Quoted 5 lines

It seems it can set it, but I don't see any command to print out the current value?

Thanks,
Ben

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

This is pretty much last missing feature from iw.

Maybe that and current operating transfer rate? I can't seem to find that anywhere other than 'iwconfig'...

iw wlan0 link shows that.

This does not work in adhoc mode:

Quoted 7 lines
# iw dev wlan0 info
Interface wlan0
        ifindex 4
        type IBSS
# iw dev wlan0 link
Not connected.

the TX rate is different for each station (and basically for each individual packet too) so it does not make sense to show that for the "link" (what ever "link" may mean in the context of ad-hoc...).

iw wlan0 station dump

Quoted 7 lines
Quoted 4 lines

can show you the last TX rate for each station, but again, the rate can and will change on a per-packet basis.

there is no such thing as a "current transfer rate".

With iwconfig, we can set a fixed rate, shouldn't this be what we expect to see as the 'rate'?

it only makes sense if you set a single fixed rate.

Quoted 2 lines

Speaking of, is there a particular reason why we still have to use iwconfig to set the rate as well?

a TX bitrate mask has been added to iw in version 0.9.21:

commit 0db5d893ecf2ce4538af6fdcae3d94f2f83757e2

Author: Johannes Berg <[email protected]>                                       
Date:   Fri Sep 24 17:44:07 2010 +0200                                                  

version 0.9.21

* transmit power support
* TX bitrate mask support
* more informative scan output
* make it build on old systems

you can use it like this, e.g.: "iw wlan0 set bitrates legacy-2.4 12 18 24"

this is much more flexible than the iwconfig way, as it allows a bitmap of TX rates which can be used. again this is a reason why it does not make sense to show a single TX bitrate, but i guess this TX bitmap could/should be shown somewhere.

bruno