linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] minstrel_ht should not override user supplied rts
@ 2012-01-28  7:17 Marek Lindner
  2012-01-28  7:17 ` [PATCH] mac80211: minstrel_ht should not override user supplied rts setting Marek Lindner
  0 siblings, 1 reply; 18+ messages in thread
From: Marek Lindner @ 2012-01-28  7:17 UTC (permalink / raw)
  To: linux-wireless; +Cc: nbd

Hi,

I recently noticed that mac80211 ignores my "iw phy0 set rts" setting. It took
me a while to find the culprit - minstrel_ht enables rts/cts by setting
the IEEE80211_TX_RC_USE_RTS_CTS flag in minstrel_ht_set_rate() regardless of 
the rts threshold configured on the commandline. Since I did not find any
explanation why minstrel_ht does what it does I hereby propose a patch to
make minstrel_ht respect the user supplied setting. You will notice the
minstrel_ht_set_rate() function now never is called with rtscts = true. A
future patch will remove this parameter entirely.

Regards,
Marek


^ permalink raw reply	[flat|nested] 18+ messages in thread
* iwlwifi updates for 3.6
@ 2012-06-11  9:52 Johannes Berg
  2012-06-11  9:53 ` [PATCH 09/13] iwlwifi: comment that setting driver_data overrides info->control Johannes Berg
  0 siblings, 1 reply; 18+ messages in thread
From: Johannes Berg @ 2012-06-11  9:52 UTC (permalink / raw)
  To: linux-wireless

Here's another set of iwlwifi updates. We continue some refactoring
and have a bunch of random updates all over.

I'll submit a pull request in a few days, but only after my you pull
my previous request, and maybe I'll combine more patches in too.

johannes


^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: [PATCH] mac80211: minstrel_ht should not override user supplied rts setting
@ 2014-09-23 11:44 Guido Gavilanes
  0 siblings, 0 replies; 18+ messages in thread
From: Guido Gavilanes @ 2014-09-23 11:44 UTC (permalink / raw)
  To: linux-wireless; +Cc: nbd

[-- Attachment #1: Type: text/plain, Size: 701 bytes --]

I write here since I am currently performing experiments in which I need
specifically to disable RTS frames. Intuitively, I tried to set 
iw phyXX set rts off
but btained counter-intuitive results, since RTS effectively
dissappeared
only for low traffic demands from upper layers (around 1Mbps  with 3
nodes). Testing with 3 Mbps makes the RTS appear despite the RTS "off"
setting from iw.
Is there a way to set minstrel_ht not to use RTS (no matter the clever
or not it be) ?
I have searched for a while on the archive but this seems the only
conversation that deals with that.

Thank you very much for any information!
Guido

-- 
Guido Gavilanes <gavilanes@ismb.it>
Istituto Superiore Mario Boella


[-- Attachment #2: Forwarded message - Re: [PATCH] mac80211: minstrel_ht should not override user supplied rts setting --]
[-- Type: message/rfc822, Size: 2452 bytes --]

From: Guido Gavilanes <gavilanes@ismb.it>
To: linux-wireless@vger.kernel.org
Cc: nbd@openwrt.org, simon.wunderlich@s2003.tu-chemnitz.de, lindner_marek@yahoo.de
Subject: Re: [PATCH] mac80211: minstrel_ht should not override user supplied rts setting
Date: Tue, 23 Sep 2014 12:10:50 +0200
Message-ID: <1411467050.11571.47.camel@MacGyver>

I write here since I am currently performing experiments in which I need
specifically to disable RTS frames. Intuitively, I tried to set 
iw phyXX set rts off
but btained counter-intuitive results, since RTS effectively dissappear
only for low traffic demands from upper layers (around 1Mbps  with 3
nodes). Testing with 3 Mbps make the RTS appeared despite the RTS
setting.
Is there a way to set minstrel_ht not to use RTS (no matter the clever
or not it is) ?
I have searched a bit on the archive but this seems the only
conversation that deals with that.

Thank you very much for any information!
Gui


On 2012-01-28 11:14 PM, Simon Wunderlich wrote:
> I agree to Marek here - if I want to disable RTS (for whatever
reason), I type
> 
> iw phy0 set rts off
> 
> I would expect to see no RTS frames coming from my WiFi card at all.
If the
> rate control algorithm (whether ath9k or minstrel_ht) wants to be
clever, it should
> still respect this decision. The oven in my kitchen also has a
temperature regulator,
> but if I turn it off I also don't want my oven to be too clever and
burn down the house. ;)
> 
> I know, apples and oranges, but I hope this makes this point
understandable. I also
> had quite a debugging night to find the reason for these "wild rts"
frames.
> 
> Can't we add something two states, like:
>  * "RTS really off" and
>  * "RTS usually off, but rc's may still use it" ?
If you send a patch for that, I'm ok with it. The default should be RTS
off, but rc may still use it.

- Feli
--
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

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

end of thread, other threads:[~2014-09-23 11:44 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-28  7:17 [RFC] minstrel_ht should not override user supplied rts Marek Lindner
2012-01-28  7:17 ` [PATCH] mac80211: minstrel_ht should not override user supplied rts setting Marek Lindner
2012-01-28 13:25   ` Felix Fietkau
2012-01-28 18:43     ` Marek Lindner
2012-01-28 18:51       ` Felix Fietkau
2012-01-28 19:17         ` Daniel Halperin
2012-01-28 19:28           ` Felix Fietkau
2012-01-28 19:58           ` Marek Lindner
2012-01-28 20:03             ` Daniel Halperin
2012-01-28 20:09               ` Marek Lindner
2012-01-28 20:26                 ` Daniel Halperin
2012-01-28 20:35                   ` Marek Lindner
2012-01-28 22:14                     ` Simon Wunderlich
2012-01-29  2:36                       ` Felix Fietkau
2012-01-28 20:20             ` Felix Fietkau
2012-01-28 20:23               ` Marek Lindner
  -- strict thread matches above, loose matches on Subject: below --
2012-06-11  9:52 iwlwifi updates for 3.6 Johannes Berg
2012-06-11  9:53 ` [PATCH 09/13] iwlwifi: comment that setting driver_data overrides info->control Johannes Berg
2014-09-23 10:10   ` [PATCH] mac80211: minstrel_ht should not override user supplied rts setting Guido Gavilanes
2014-09-23 11:44 Guido Gavilanes

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).