From: Kalle Valo <kvalo@adurom.com>
To: Arik Nemtsov <arik@wizery.com>
Cc: linux-wireless@vger.kernel.org,
Johannes Berg <johannes@sipsolutions.net>
Subject: Re: [PATCH] mac80211: allow setting default U-APSD queues/max_sp_len for STA
Date: Wed, 23 May 2012 17:22:52 +0300 [thread overview]
Message-ID: <87ipfn6koz.fsf@purkki.adurom.net> (raw)
In-Reply-To: <CA+XVXfc3R8CrMfercPpRfYGjvKDdDkwJax+oLiaMrQQPwLCc0Q@mail.gmail.com> (Arik Nemtsov's message of "Wed, 23 May 2012 14:13:25 +0300")
Arik Nemtsov <arik@wizery.com> writes:
> On Wed, May 23, 2012 at 1:59 PM, Kalle Valo <kvalo@adurom.com> wrote:
>>> We want to change this in wlcore. We've encountered compatibility
>>> problems with some APs when we set ACs other than VO to U-APSD mode.
>>
>> Sounds like a hack to do this in the driver. Why can't mac80211 do it?
>
> Well it may be an issue specific to our HW. We didn't want to change
> the default behavior of all other mac80211 drivers.
I would prefer to consider all drivers first. But as you are not even
describing the problem and which APs are broken it's difficult for
anyone comment. Being verbose in the commit log doesn't hurt, quite the
opposite.
> I'm not sure what you mean by "hack" here.
Wikipedia has a good description:
"a kludge (or often a "hack") is a solution to a problem, doing a task,
or fixing a system that is inefficient, inelegant, or even unfathomable,
but which nevertheless (more or less) works."
I'm sure the solution you propose works but it's not elegant.
> We just enable the driver to override a default value, which is used
> by mac80211.
You are moving logic from mac80211 to the driver but it should be the
opposite, the driver should be dumb and mac80211 should control
everything. Didn't we have a similar discussion last year when talking
about controlling dynamic power save?
I would have expected to see a user space interface for controlling
these parameters, but not a driver interface.
--
Kalle Valo
next prev parent reply other threads:[~2012-05-23 14:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-23 8:13 [PATCH] mac80211: allow setting default U-APSD queues/max_sp_len for STA Arik Nemtsov
2012-05-23 10:44 ` Kalle Valo
2012-05-23 10:49 ` Arik Nemtsov
2012-05-23 10:59 ` Kalle Valo
2012-05-23 11:13 ` Arik Nemtsov
2012-05-23 14:22 ` Kalle Valo [this message]
2012-05-23 14:35 ` Arik Nemtsov
2012-05-24 5:12 ` Kalle Valo
2012-05-24 5:32 ` Arik Nemtsov
2012-05-24 6:05 ` Janusz Dziedzic
2012-05-24 6:39 ` Kalle Valo
2012-05-25 5:37 ` Arik Nemtsov
2012-05-25 9:59 ` Janusz Dziedzic
2012-05-24 6:36 ` Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ipfn6koz.fsf@purkki.adurom.net \
--to=kvalo@adurom.com \
--cc=arik@wizery.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox