Linux wireless drivers development
 help / color / mirror / Atom feed
From: "Tomas Winkler" <tomasw@gmail.com>
To: "Luis R. Rodriguez" <mcgrof@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 16:27:41 +0300	[thread overview]
Message-ID: <1ba2fa240806110627g467940b1k9ca4a43cd140506f@mail.gmail.com> (raw)
In-Reply-To: <20080611125857.GG17936@ruslug.rutgers.edu>

On Wed, Jun 11, 2008 at 3:58 PM, Luis R. Rodriguez <mcgrof@gmail.com> wrote:
> On Wed, Jun 11, 2008 at 02:12:41PM +0200, Johannes Berg wrote:
>>
>> > 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.
>>
>> because otherwise skb_get_queu_mapping always returns 0 and you use only
>> one queue.
>>
>> > Shouldn't we just make MAC80211_QOS depend on NET_SCHED and figure out
>> > we can't support 11n based on NETDEVICES_MULTIQUEUE?
>>
>> no, 11e also needs multiple queues.
>
> Thanks, since MAC80211_QOS was there before the issue is some
> kernels may have this enabled but they never got to MQ. This is why
> certain compiles will complain about missing symbols.
>
> So how about we disable it if we determine MQ and NET_SCHED are off?
> Like this:
>
> diff --git a/config.mk b/config.mk
> index e8dc469..b72e37e 100644
> --- a/config.mk
> +++ b/config.mk
> @@ -27,7 +27,16 @@ ifeq ($(shell test $(KERNEL_SUBLEVEL) -lt 23 && echo yes),yes)
>  CONFIG_MAC80211_QOS=y
>  else
>  ifeq ($(CONFIG_NETDEVICES_MULTIQUEUE),)
> -$(warning "WARNING: You are running a kernel >= 2.6.23, you should enable CONFIG_NETDEVICES_MULTIQUEUE for 802.11n support")
> +ifeq ($(CONFIG_NET_SCHED),)
> +$(warning "WARNING: You are running a kernel >= 2.6.23, you should enable CONFIG_NETDEVICES_MULTIQUEUE and CONFIG_NET_SCHED for 802.11[ne] support")
> +else
> +# Disable CONFIG_MAC80211_QOS if you had it enabled befofre in your old .config
> +$(warning "WARNING: You are running a kernel >= 2.6.23, you should enable CONFIG_NETDEVICES_MULTIQUEUE for 802.11[ne] support")
> +CONFIG_MAC80211_QOS=n
> +endif
> +else
> +# Disable CONFIG_MAC80211_QOS if you had it enabled befofre in your old .config
> +CONFIG_MAC80211_QOS=n
>  endif
>  endif
>  endif
>
One thing it's not clear for me. What do you mean by old .config
CONFIG_MAC80211_QOS flags is available only in wireless-testing?
The makefile is feed by compat.mk and DOTconfig from the target kernel
(KLIB) (in my case 2.6.25)
>From what I see the flags from wireless-testing  need to be always
reflected in compat.mk.

Thanks
Tomas

  reply	other threads:[~2008-06-11 13:27 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
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 [this message]
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=1ba2fa240806110627g467940b1k9ca4a43cd140506f@mail.gmail.com \
    --to=tomasw@gmail.com \
    --cc=compat-masters@lists.madwifi.org \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mcgrof@gmail.com \
    --cc=ron.rindjunsky@intel.com \
    --cc=tim.gardner@canonical.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