From patchwork Fri Feb 14 08:05:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz.Dziedzic@tieto.com X-Patchwork-Id: 3651051 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8658BBF13A for ; Fri, 14 Feb 2014 08:06:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BEFE120203 for ; Fri, 14 Feb 2014 08:06:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ED6FE2011E for ; Fri, 14 Feb 2014 08:06:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752836AbaBNIGF (ORCPT ); Fri, 14 Feb 2014 03:06:05 -0500 Received: from mail-ee0-f45.google.com ([74.125.83.45]:57477 "EHLO mail-ee0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752221AbaBNIGA (ORCPT ); Fri, 14 Feb 2014 03:06:00 -0500 Received: by mail-ee0-f45.google.com with SMTP id b15so5488046eek.4 for ; Fri, 14 Feb 2014 00:05:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=from:to:cc:subject:date:message-id; bh=doIBLCs6K5SSNzOC4LrYEBukS/Xyueqr4yedmi4MD1o=; b=I5yxFw8oJBQ8QnMN5hQZGx+LD/abCGT8rsNWHLYjvJ+obgbqRQ+PlF6fMmpy/+Oz1Z xErpTCzykfEq6LoM8Xj7lA+pPWzzT1WrnwFp2uXPidMMd23RQuhbzF1OWhcTdm12smf8 e+ihxowQL1Zmc6WY3Pm79L8MncCNdwA22SaI8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=doIBLCs6K5SSNzOC4LrYEBukS/Xyueqr4yedmi4MD1o=; b=NhWoEJiIqp7ihFHGIE+R1o6fvJe4M22pr7qijfET0PORuNOGm/O6HLrNBW7dMd+Xny 2T+20iB89U/B5eZKvYzSnIKwGo5jn8Tgo2IzkdOAPJpoOUS8recs66deFlCkbzMptypo IWbKipS41pr/qtjPnfn/5s+ZJfEwfA4R2QwdvT9oUx1wjibR5XoXmS0ZyNnmd5qClyQJ Wlh+gvlrzp3AxpJOSJFIx57rry0uEjb113/qcIfr8Rmv79vTBcSJKLHdnsNKE0RJZZg1 pH/gXRjzLcEkbQ35BiS1ITV+xPKulVHA77Bp5LJpRyMA/HAl0/pzsUMhgPRyt/HqS1Bj Ohzw== X-Gm-Message-State: ALoCoQn1kDMUb3BAaqS6LblpZCj7+3X7p1bhz3ZiXIUM4jGrPt9j4PIQFpU4BbF11VSRi7uwZtqOrVS2uix2GhaiiwwPnMYfHh0gztkyt/bU6JWM+atXdTM= X-Received: by 10.14.225.195 with SMTP id z43mr7420280eep.19.1392365159100; Fri, 14 Feb 2014 00:05:59 -0800 (PST) Received: from localhost.localdomain ([91.198.246.8]) by mx.google.com with ESMTPSA id j41sm16739763eey.15.2014.02.14.00.05.57 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Feb 2014 00:05:58 -0800 (PST) From: Janusz Dziedzic To: linux-wireless@vger.kernel.org Cc: johannes@sipsolutions.net, mcgrof@do-not-panic.com, linville@tuxdriver.com, Janusz Dziedzic Subject: [PATCH] wireless-regdb: set AUTO bandwidth for world regulatory Date: Fri, 14 Feb 2014 09:05:49 +0100 Message-Id: <1392365149-4829-1-git-send-email-janusz.dziedzic@tieto.com> X-Mailer: git-send-email 1.7.9.5 X-DomainID: tieto.com Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Set AUTO bandwidth calculation for world regulatory domain. This will fix CRDA veryfication issue for world regulatory domain. This will also allow to set world regulatory from user mode (using iw/hostapd). Before we fail when check bandwidth for rule: 2457 - 2482 @ 40 - where (2482 - 2457) < 40 Signed-off-by: Janusz Dziedzic --- db.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db.txt b/db.txt index fcab208..1fa16fe 100644 --- a/db.txt +++ b/db.txt @@ -1,8 +1,8 @@ # This is the world regulatory domain country 00: - (2402 - 2472 @ 40), (20) + (2402 - 2472 @ AUTO), (20) # Channel 12 - 13. - (2457 - 2482 @ 40), (20), NO-IR + (2457 - 2482 @ AUTO), (20), NO-IR # Channel 14. Only JP enables this and for 802.11b only (2474 - 2494 @ 20), (20), NO-IR # Channel 36 - 48