Linux wireless drivers development
 help / color / mirror / Atom feed
* Incoerency in iw (or mac80211 or drivers) behavior
@ 2012-12-19 16:41 Danilo
  2012-12-20 10:25 ` Incoherency in iw (or mac80211 or drivers) behavior -- possible BUG in iwl4965 Danilo
  0 siblings, 1 reply; 4+ messages in thread
From: Danilo @ 2012-12-19 16:41 UTC (permalink / raw)
  To: linux-wireless

Hello,
I figured out that the command: 

iw dev wlan0 set bitrates legacy-5 24

has different behaviors in different devices.

With iwl3945 wireless cards, it fixes the rate at 24Mbps ALSO for multicast 
frames while in iwl4965 cards, it doesn't.


In both cases I tried with ubuntu linux 12.04 and kernel-3.2.0-32-generic using  
iwl4965/iwl_legacy driver for 4965 and iwl3945/iwl_legacy driver for 3945.


I've also tried with compat-wireless-3.6, same result.

What's the expected behavior? 

Thanks in advance,
 D. Tardioli





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

* Re: Incoherency in iw (or mac80211 or drivers) behavior -- possible BUG in iwl4965
  2012-12-19 16:41 Incoerency in iw (or mac80211 or drivers) behavior Danilo
@ 2012-12-20 10:25 ` Danilo
  2012-12-20 10:28   ` Gábor Stefanik
  0 siblings, 1 reply; 4+ messages in thread
From: Danilo @ 2012-12-20 10:25 UTC (permalink / raw)
  To: linux-wireless

Danilo <dantard@...> writes:

> 
> Hello,
> I figured out that the command: 
> 
> iw dev wlan0 set bitrates legacy-5 24
> 
> has different behaviors in different devices.
> 
> With iwl3945 wireless cards, it fixes the rate at 24Mbps ALSO for multicast 
> frames while in iwl4965 cards, it doesn't.
> 
> In both cases I tried with ubuntu linux 12.04 and kernel-3.2.0-32-generic 
using  
> iwl4965/iwl_legacy driver for 4965 and iwl3945/iwl_legacy driver for 3945.
> 
> I've also tried with compat-wireless-3.6, same result.
> 
> What's the expected behavior? 
> 
> Thanks in advance,
>  D. Tardioli
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@...
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

Hello,
I answer myself:
I've tried with ath5k-compatible card and it behaves like iwl3945.
It means that when fixed the bitrates with a single value, the card always use 
that bitrate ALSO for broadcast frames.

The iwl4965 doesn't behave this way.
Any suggestion on how to solve the problem?

Regards.




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

* Re: Incoherency in iw (or mac80211 or drivers) behavior -- possible BUG in iwl4965
  2012-12-20 10:25 ` Incoherency in iw (or mac80211 or drivers) behavior -- possible BUG in iwl4965 Danilo
@ 2012-12-20 10:28   ` Gábor Stefanik
  2012-12-20 12:58     ` Danilo
  0 siblings, 1 reply; 4+ messages in thread
From: Gábor Stefanik @ 2012-12-20 10:28 UTC (permalink / raw)
  To: Danilo; +Cc: linux-wireless

On Thu, Dec 20, 2012 at 11:25 AM, Danilo <dantard@unizar.es> wrote:
> Danilo <dantard@...> writes:
>
>>
>> Hello,
>> I figured out that the command:
>>
>> iw dev wlan0 set bitrates legacy-5 24
>>
>> has different behaviors in different devices.
>>
>> With iwl3945 wireless cards, it fixes the rate at 24Mbps ALSO for multicast
>> frames while in iwl4965 cards, it doesn't.
>>
>> In both cases I tried with ubuntu linux 12.04 and kernel-3.2.0-32-generic
> using
>> iwl4965/iwl_legacy driver for 4965 and iwl3945/iwl_legacy driver for 3945.
>>
>> I've also tried with compat-wireless-3.6, same result.
>>
>> What's the expected behavior?
>>
>> Thanks in advance,
>>  D. Tardioli
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> the body of a message to majordomo@...
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>
>
> Hello,
> I answer myself:
> I've tried with ath5k-compatible card and it behaves like iwl3945.
> It means that when fixed the bitrates with a single value, the card always use
> that bitrate ALSO for broadcast frames.
>
> The iwl4965 doesn't behave this way.
> Any suggestion on how to solve the problem?

IIRC iwl4965 uses its own rate control algorithm (a while ago, it was
called "iwl-agn-rs", before the iwlegacy split). I think you should
look for the problem there.

-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

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

* Re: Incoherency in iw (or mac80211 or drivers) behavior -- possible BUG in iwl4965
  2012-12-20 10:28   ` Gábor Stefanik
@ 2012-12-20 12:58     ` Danilo
  0 siblings, 0 replies; 4+ messages in thread
From: Danilo @ 2012-12-20 12:58 UTC (permalink / raw)
  To: linux-wireless

Gábor Stefanik <netrolller.3d@...> writes:


> 
> IIRC iwl4965 uses its own rate control algorithm (a while ago, it was
> called "iwl-agn-rs", before the iwlegacy split). I think you should
> look for the problem there.
> 

Thanks for the answer.
In fact I looked at it as well and I tried to force iwl4965 to use 'minstrel' or 
'pid' algorithm hacking the code of the mac80211 with scarce success.
Do you know what is the correct way of selecting the desire rate control 
algorithm?

Thanks again.





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

end of thread, other threads:[~2012-12-20 12:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-19 16:41 Incoerency in iw (or mac80211 or drivers) behavior Danilo
2012-12-20 10:25 ` Incoherency in iw (or mac80211 or drivers) behavior -- possible BUG in iwl4965 Danilo
2012-12-20 10:28   ` Gábor Stefanik
2012-12-20 12:58     ` Danilo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox