* Can 'iw' show the current tx-power? @ 2010-10-02 4:37 Ben Greear 2010-10-02 15:21 ` Maxim Levitsky 0 siblings, 1 reply; 8+ messages in thread From: Ben Greear @ 2010-10-02 4:37 UTC (permalink / raw) To: linux-wireless@vger.kernel.org It seems it can set it, but I don't see any command to print out the current value? Thanks, Ben -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can 'iw' show the current tx-power? 2010-10-02 4:37 Can 'iw' show the current tx-power? Ben Greear @ 2010-10-02 15:21 ` Maxim Levitsky 2010-10-02 17:23 ` Ben Greear 0 siblings, 1 reply; 8+ messages in thread From: Maxim Levitsky @ 2010-10-02 15:21 UTC (permalink / raw) To: Ben Greear; +Cc: linux-wireless@vger.kernel.org On Fri, 2010-10-01 at 21:37 -0700, Ben Greear wrote: > 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can 'iw' show the current tx-power? 2010-10-02 15:21 ` Maxim Levitsky @ 2010-10-02 17:23 ` Ben Greear 2010-10-02 18:48 ` Maxim Levitsky 0 siblings, 1 reply; 8+ messages in thread From: Ben Greear @ 2010-10-02 17:23 UTC (permalink / raw) To: Maxim Levitsky; +Cc: linux-wireless@vger.kernel.org On 10/02/2010 08:21 AM, Maxim Levitsky wrote: > On Fri, 2010-10-01 at 21:37 -0700, Ben Greear wrote: >> 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 > > Best regards, > Maxim Levitsky -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can 'iw' show the current tx-power? 2010-10-02 17:23 ` Ben Greear @ 2010-10-02 18:48 ` Maxim Levitsky 2010-10-04 1:27 ` Jonathan Guerin 0 siblings, 1 reply; 8+ messages in thread From: Maxim Levitsky @ 2010-10-02 18:48 UTC (permalink / raw) To: Ben Greear; +Cc: linux-wireless@vger.kernel.org On Sat, 2010-10-02 at 10:23 -0700, Ben Greear wrote: > On 10/02/2010 08:21 AM, Maxim Levitsky wrote: > > On Fri, 2010-10-01 at 21:37 -0700, Ben Greear wrote: > >> 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'... iw wlan0 link shows that. Best regards, Maxim Levitsky ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can 'iw' show the current tx-power? 2010-10-02 18:48 ` Maxim Levitsky @ 2010-10-04 1:27 ` Jonathan Guerin 2010-10-04 1:43 ` Bruno Randolf 0 siblings, 1 reply; 8+ messages in thread From: Jonathan Guerin @ 2010-10-04 1:27 UTC (permalink / raw) To: Maxim Levitsky; +Cc: Ben Greear, linux-wireless@vger.kernel.org On Sun, Oct 3, 2010 at 4:48 AM, Maxim Levitsky <maximlevitsky@gmail.com> wrote: > On Sat, 2010-10-02 at 10:23 -0700, Ben Greear wrote: >> On 10/02/2010 08:21 AM, Maxim Levitsky wrote: >> > On Fri, 2010-10-01 at 21:37 -0700, Ben Greear wrote: >> >> 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'... > > 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. > > Best regards, > Maxim Levitsky > > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Thanks, -- Jonathan Guerin ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can 'iw' show the current tx-power? 2010-10-04 1:27 ` Jonathan Guerin @ 2010-10-04 1:43 ` Bruno Randolf 2010-10-04 1:46 ` Jonathan Guerin 0 siblings, 1 reply; 8+ messages in thread From: Bruno Randolf @ 2010-10-04 1:43 UTC (permalink / raw) To: Jonathan Guerin Cc: Maxim Levitsky, Ben Greear, linux-wireless@vger.kernel.org On Mon October 4 2010 10:27:47 Jonathan Guerin wrote: > On Sun, Oct 3, 2010 at 4:48 AM, Maxim Levitsky <maximlevitsky@gmail.com> wrote: > > On Sat, 2010-10-02 at 10:23 -0700, Ben Greear wrote: > >> On 10/02/2010 08:21 AM, Maxim Levitsky wrote: > >> > On Fri, 2010-10-01 at 21:37 -0700, Ben Greear wrote: > >> >> 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'... > > > > 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. 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can 'iw' show the current tx-power? 2010-10-04 1:43 ` Bruno Randolf @ 2010-10-04 1:46 ` Jonathan Guerin 2010-10-04 2:07 ` Bruno Randolf 0 siblings, 1 reply; 8+ messages in thread From: Jonathan Guerin @ 2010-10-04 1:46 UTC (permalink / raw) To: Bruno Randolf; +Cc: Maxim Levitsky, Ben Greear, linux-wireless@vger.kernel.org On Mon, Oct 4, 2010 at 11:43 AM, Bruno Randolf <br1@einfach.org> wrote: > On Mon October 4 2010 10:27:47 Jonathan Guerin wrote: >> On Sun, Oct 3, 2010 at 4:48 AM, Maxim Levitsky <maximlevitsky@gmail.com> > wrote: >> > On Sat, 2010-10-02 at 10:23 -0700, Ben Greear wrote: >> >> On 10/02/2010 08:21 AM, Maxim Levitsky wrote: >> >> > On Fri, 2010-10-01 at 21:37 -0700, Ben Greear wrote: >> >> >> 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'... >> > >> > 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. > > 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". 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? > > bruno > Thanks, -- Jonathan Guerin ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can 'iw' show the current tx-power? 2010-10-04 1:46 ` Jonathan Guerin @ 2010-10-04 2:07 ` Bruno Randolf 0 siblings, 0 replies; 8+ messages in thread From: Bruno Randolf @ 2010-10-04 2:07 UTC (permalink / raw) To: Jonathan Guerin Cc: Maxim Levitsky, Ben Greear, linux-wireless@vger.kernel.org On Mon October 4 2010 10:46:45 you wrote: > On Mon, Oct 4, 2010 at 11:43 AM, Bruno Randolf <br1@einfach.org> wrote: > > On Mon October 4 2010 10:27:47 Jonathan Guerin wrote: > >> On Sun, Oct 3, 2010 at 4:48 AM, Maxim Levitsky <maximlevitsky@gmail.com> > > > > wrote: > >> > On Sat, 2010-10-02 at 10:23 -0700, Ben Greear wrote: > >> >> On 10/02/2010 08:21 AM, Maxim Levitsky wrote: > >> >> > On Fri, 2010-10-01 at 21:37 -0700, Ben Greear wrote: > >> >> >> 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'... > >> > > >> > 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. > > > > 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". > > 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. > 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 <johannes@sipsolutions.net> 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-10-04 2:07 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-10-02 4:37 Can 'iw' show the current tx-power? Ben Greear 2010-10-02 15:21 ` Maxim Levitsky 2010-10-02 17:23 ` Ben Greear 2010-10-02 18:48 ` Maxim Levitsky 2010-10-04 1:27 ` Jonathan Guerin 2010-10-04 1:43 ` Bruno Randolf 2010-10-04 1:46 ` Jonathan Guerin 2010-10-04 2:07 ` Bruno Randolf
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).