Return-path: Received: from mail-la0-f53.google.com ([209.85.215.53]:43990 "EHLO mail-la0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750883AbaBTH1z (ORCPT ); Thu, 20 Feb 2014 02:27:55 -0500 Received: by mail-la0-f53.google.com with SMTP id e16so1060078lan.12 for ; Wed, 19 Feb 2014 23:27:54 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <1392226988-3878-1-git-send-email-janusz.dziedzic@tieto.com> Date: Thu, 20 Feb 2014 08:27:54 +0100 Message-ID: (sfid-20140220_082758_355897_F85887AD) Subject: Re: [PATCH] crda: handle AUTO bw setting in db2rd From: Janusz Dziedzic To: "Luis R. Rodriguez" Cc: Janusz Dziedzic , linux-wireless , Johannes Berg , "John W. Linville" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 19 February 2014 23:00, Luis R. Rodriguez wrote: > On Tue, Feb 18, 2014 at 10:12 PM, Janusz Dziedzic > wrote: >> 2014-02-19 1:33 GMT+01:00 Luis R. Rodriguez : >>> On Wed, Feb 12, 2014 at 9:43 AM, Janusz Dziedzic >>> wrote: >>>> Handle AUTO bandwidth setting in db2rd. >>>> Don't add NL80211_ATTR_FREQ_RANGE_MAX_BW attribute >>>> in case of AUTO bw calculation. >>>> >>>> Signed-off-by: Janusz Dziedzic >>> >>> Please elaborate more on this. Who deals with the automatic math on >>> the bandwidth? >>> >> cfg80211, >> >> Please check patch: >> cfg80211: regulatory introduce maximum bandwidth calculation > > OK, so we don't send the max bandwidth attribute now, what about > support for older kernels? > Yes, seems we should send this even this is 0. Next for old kernel, all channels where BW=0 will be HT20 only. BR Janusz