Linux wireless drivers development
 help / color / mirror / Atom feed
From: "Luis R. Rodriguez" <mcgrof@gmail.com>
To: "Tomas Winkler" <tomasw@gmail.com>
Cc: "Johannes Berg" <johannes@sipsolutions.net>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	"John W. Linville" <linville@tuxdriver.com>,
	compat-masters@lists.madwifi.org,
	"Tim Gardner" <tim.gardner@canonical.com>,
	"Ron Rindjunsky" <ron.rindjunsky@intel.com>
Subject: Re: [compat-masters] Backported MQ requirement on 802.11n for older kernels
Date: Wed, 11 Jun 2008 04:03:10 -0700	[thread overview]
Message-ID: <43e72e890806110403nddfca7cn66b91a938919e1f0@mail.gmail.com> (raw)
In-Reply-To: <43e72e890806102136jb8e695fla98a8594dde14396@mail.gmail.com>

On Tue, Jun 10, 2008 at 9:36 PM, Luis R. Rodriguez <mcgrof@gmail.com> wrote:
> On Tue, Jun 10, 2008 at 9:32 PM, Luis R. Rodriguez <mcgrof@gmail.com> wrote:
>> On Tue, Jun 10, 2008 at 4:57 PM, Tomas Winkler <tomasw@gmail.com> wrote:
>>> On Mon, Jun 9, 2008 at 1:25 PM, Luis R. Rodriguez <mcgrof@gmail.com> wrote:
>>>> On Mon, Jun 9, 2008 at 2:01 AM, Luis R. Rodriguez <mcgrof@gmail.com> wrote:
>>>>> On Mon, Jun 9, 2008 at 1:56 AM, Johannes Berg <johannes@sipsolutions.net> wrote:
>>>>>> On Mon, 2008-06-09 at 10:53 +0300, Ron Rindjunsky wrote:
>>>>>>> >
>>>>>>> > I just finished trying to backport CONFIG_NETDEVICES_MULTIQUEUE
>>>>>>> > requirement for 802.11n to older kernels by relying on the old
>>>>>>> > internal mac80211 hacked up MQ support. I've tested the build on
>>>>>>> > 2.6.22, 2.6.23, and 2.6.24. Let me know if you get to test this,
>>>>>>> > particularly iwl4965 using 11n on 2.6.22.
>>>>>>> >
>>>>>>>
>>>>>>> in config.mk you put MAC80211_QOS=m, and i guess that the intention was to put
>>>>>>> CONFIG_MAC80211_QOS=m
>>>>>>> if this is the case then the compilation fails
>>>>>>
>>>>>> It should be "y"
>>>>>>
>>>>>> johannes
>>>>>>
>>>>>
>>>>> Danke
>>>>
>>>> OK found some more issues. v4.2 pushed out and new tarball
>>>> regenerated. This has been tested by Intel on 802.11n on iwl4965.
>>>
>>> I couldn't  make wme.c compiled for kernels > 22 unless I've added the
>>> else statement  bellow into confg.mk
>>> You've reported that it worked for you so what did I wrong?
>>>
>>> ifeq ($(CONFIG_NETDEVICES_MULTIQUEUE),)
>>> $(warning "WARNING: You are running a kernel >= 2.6.23, you should
>>> enable CONFIG_NETDEVICES_MULTIQUEUE for 802.11n support")
>>> else
>>> CONFIG_MAC80211_QOS=y
>>
>> Well this is forcing this option on kernels where it probably was
>> available. I don't recall where we added this but I was relying on
>> your .config. We forced this for older kernels as we are providing the
>> infrastructure within the code but for newer kernels you need MQ
>> support and NET_SCHED. If we force enable it and if those options are
>> not enabled it'll fail. This is why we have this big fat warning if MQ
>> is detected as disabled for >= 2.6.23.
>>
>> Let me know what you think.
>
> OK I guess we should just enable it if MQ is enabled, point taken.
> Committed and pushed, thanks.

Actually no, take that back. CONFIG_MAC80211_QOS should probably just
be enabled if NET_SCHED is present.

Johannes -- why do we have the requirement for NETDEVICES_MULTIQUEUE
on CONFIG_MAC80211_QOS? My current config doesn't have it it and
CONFIG_MAC80211_QOS still works right now enabled. Of course the
driver I'm testing doesn't have 11n though.

Shouldn't we just make MAC80211_QOS depend on NET_SCHED and figure out
we can't support 11n based on NETDEVICES_MULTIQUEUE?

  Luis

  reply	other threads:[~2008-06-11 11:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-08 15:55 Backported MQ requirement on 802.11n for older kernels Luis R. Rodriguez
2008-06-09  7:53 ` Ron Rindjunsky
2008-06-09  8:56   ` Johannes Berg
2008-06-09  9:01     ` Luis R. Rodriguez
2008-06-09 10:25       ` Luis R. Rodriguez
2008-06-10 23:57         ` [compat-masters] " Tomas Winkler
2008-06-11  4:32           ` Luis R. Rodriguez
2008-06-11  4:36             ` Luis R. Rodriguez
2008-06-11 11:03               ` Luis R. Rodriguez [this message]
2008-06-11 11:55                 ` Tomas Winkler
2008-06-11 12:56                   ` Luis R. Rodriguez
2008-06-11 12:12                 ` Johannes Berg
2008-06-11 12:58                   ` Luis R. Rodriguez
2008-06-11 13:27                     ` Tomas Winkler
2008-06-11 13:46                       ` Luis R. Rodriguez
2008-06-11 14:49                         ` Luis R. Rodriguez
2008-06-11 20:02                           ` Luis R. Rodriguez
2008-06-11 20:50                       ` Stefanik Gábor
2008-06-11 20:59                         ` Luis R. Rodriguez

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=43e72e890806110403nddfca7cn66b91a938919e1f0@mail.gmail.com \
    --to=mcgrof@gmail.com \
    --cc=compat-masters@lists.madwifi.org \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=ron.rindjunsky@intel.com \
    --cc=tim.gardner@canonical.com \
    --cc=tomasw@gmail.com \
    /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