All of lore.kernel.org
 help / color / mirror / Atom feed
* Any news regarding multicast rate configuration?
@ 2010-04-08 13:45 Joerg Pommnitz
  2010-04-08 19:43 ` Jouni Malinen
  0 siblings, 1 reply; 5+ messages in thread
From: Joerg Pommnitz @ 2010-04-08 13:45 UTC (permalink / raw)
  To: linux-wireless

Hello all,
sometime ago I asked about a way to configure the multicast
data rate for mac80211 based drivers. At the time the answer
was, that the groundwork was in place but that this still
needed an API that would make this feature accessible for
users.
Is there any progress in this regard? What needs to be done?
-- 
Regards
       Joerg

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Any news regarding multicast rate configuration?
  2010-04-08 13:45 Any news regarding multicast rate configuration? Joerg Pommnitz
@ 2010-04-08 19:43 ` Jouni Malinen
  2010-04-08 20:07   ` AW: " Joerg Pommnitz
  0 siblings, 1 reply; 5+ messages in thread
From: Jouni Malinen @ 2010-04-08 19:43 UTC (permalink / raw)
  To: Joerg Pommnitz; +Cc: linux-wireless

On Thu, Apr 08, 2010 at 06:45:15AM -0700, Joerg Pommnitz wrote:
> sometime ago I asked about a way to configure the multicast
> data rate for mac80211 based drivers. At the time the answer
> was, that the groundwork was in place but that this still
> needed an API that would make this feature accessible for
> users.
> Is there any progress in this regard? What needs to be done?

If you are fine with disabling the lowest rates for both unicast and
multicast frames, then yes, you should be able to do this with
NL80211_CMD_SET_TX_BITRATE_MASK. As an example, removing rates 1, 2,
5.5, and 11 Mbps from the mask would make multicast frames go out at 6
Mbps in case of 802.11g.
 
-- 
Jouni Malinen                                            PGP id EFC895FA

^ permalink raw reply	[flat|nested] 5+ messages in thread

* AW: Any news regarding multicast rate configuration?
  2010-04-08 19:43 ` Jouni Malinen
@ 2010-04-08 20:07   ` Joerg Pommnitz
  2010-04-09  8:36     ` Jouni Malinen
  0 siblings, 1 reply; 5+ messages in thread
From: Joerg Pommnitz @ 2010-04-08 20:07 UTC (permalink / raw)
  To: Jouni Malinen; +Cc: linux-wireless

Jouni,
do you mean that I can't configure a separate rate
for multicast frames? I thought that the rate bitmask
was a way to tell the RC algorithm what rates to
consider. Since multicast frames do not get acknowledged
they are not subject to the automatic rate selection.

In fact, I'm perfectly happy to leave the rate selection
for unicast frames in the capable hands of Minstrel, but
I need something better than 1Mb/s for multicast. The
lowest data rate just isn't enough for live video feeds.

What I need is a way to tell mac80211 to use one specific
basic rate for broadcast and multicast. 
 -- 
Regards 
Joerg 




----- Ursprüngliche Mail ----
> Von: Jouni Malinen <j@w1.fi>
> An: Joerg Pommnitz <pommnitz@yahoo.com>
> CC: linux-wireless@vger.kernel.org
> Gesendet: Donnerstag, den 8. April 2010, 21:43:49 Uhr
> Betreff: Re: Any news regarding multicast rate configuration?
> 
> On Thu, Apr 08, 2010 at 06:45:15AM -0700, Joerg Pommnitz wrote:
> sometime 
> ago I asked about a way to configure the multicast
> data rate for 
> mac80211 based drivers. At the time the answer
> was, that the groundwork 
> was in place but that this still
> needed an API that would make this 
> feature accessible for
> users.
> Is there any progress in this 
> regard? What needs to be done?

If you are fine with disabling the lowest 
> rates for both unicast and
multicast frames, then yes, you should be able to 
> do this with
NL80211_CMD_SET_TX_BITRATE_MASK. As an example, removing rates 
> 1, 2,
5.5, and 11 Mbps from the mask would make multicast frames go out at 
> 6
Mbps in case of 802.11g.

-- 
Jouni Malinen      
>                       
>                 PGP id EFC895FA

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Any news regarding multicast rate configuration?
  2010-04-08 20:07   ` AW: " Joerg Pommnitz
@ 2010-04-09  8:36     ` Jouni Malinen
  2010-04-09  9:34       ` Joerg Pommnitz
  0 siblings, 1 reply; 5+ messages in thread
From: Jouni Malinen @ 2010-04-09  8:36 UTC (permalink / raw)
  To: Joerg Pommnitz; +Cc: linux-wireless

On Thu, Apr 08, 2010 at 01:07:36PM -0700, Joerg Pommnitz wrote:
> do you mean that I can't configure a separate rate
> for multicast frames? I thought that the rate bitmask
> was a way to tell the RC algorithm what rates to
> consider. Since multicast frames do not get acknowledged
> they are not subject to the automatic rate selection.

At least for now, there is no separate configuration option for
multicast frames, i.e., the same TX rate mask will apply to rate
selection for both unicast and multicast frames. Multicast frames are
subject to rate selection; the current mac80211 rate algorithms may not
do much in that area, though, apart from letting the lowest available
rate be selected. By changing which rates are enabled, you can change
that lowest rate..

> In fact, I'm perfectly happy to leave the rate selection
> for unicast frames in the capable hands of Minstrel, but
> I need something better than 1Mb/s for multicast. The
> lowest data rate just isn't enough for live video feeds.

Like I said in the previous mail, as long as you are fine dropping 1
Mbps from unicast rates, you can get higher rate for multicast..

> What I need is a way to tell mac80211 to use one specific
> basic rate for broadcast and multicast. 

Why would the currently available mechanism not work for you?

-- 
Jouni Malinen                                            PGP id EFC895FA

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Any news regarding multicast rate configuration?
  2010-04-09  8:36     ` Jouni Malinen
@ 2010-04-09  9:34       ` Joerg Pommnitz
  0 siblings, 0 replies; 5+ messages in thread
From: Joerg Pommnitz @ 2010-04-09  9:34 UTC (permalink / raw)
  To: Jouni Malinen; +Cc: linux-wireless

--- Jouni Malinen <j@w1.fi> wrote:

> 
> At least for now, there is no separate configuration option for
> multicast frames, i.e., the same TX rate mask will apply to rate
> selection for both unicast and multicast frames. Multicast frames are
> subject to rate selection; the current mac80211 rate algorithms may not
> do much in that area, though, apart from letting the lowest available
> rate be selected. By changing which rates are enabled, you can change
> that lowest rate..

I think there is a serious problem. Unicast and multicast have
different characteristics and should have different "rate pools"
to select rates from. 

> 
> Why would the currently available mechanism not work for
> you?

For multicast the situation is the following: the selection of available
data rates affects all stations. If I drop the lower data rates to force 
multicast traffic at 11Mbit/s, then the stations close to the sender will 
be able to receive a video feed. Stations further away won't get it, but 
this is a trade off between data rate (e.g. quality) and coverage.
However, I'd still like to reach them over unicast, even if the data 
rate is only 1Mb/s. The current approach would prevent this, despite
the fact that it would be physically possible.

So, I would really prefer a solution were multicast and unicast data
rates can be selected independently of each other.

Kind regards
  Joerg

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-09  9:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-08 13:45 Any news regarding multicast rate configuration? Joerg Pommnitz
2010-04-08 19:43 ` Jouni Malinen
2010-04-08 20:07   ` AW: " Joerg Pommnitz
2010-04-09  8:36     ` Jouni Malinen
2010-04-09  9:34       ` Joerg Pommnitz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.