From patchwork Mon Nov 14 11:47:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gianfranco Costamagna X-Patchwork-Id: 82092 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp1083981obn; Mon, 14 Nov 2016 03:48:44 -0800 (PST) X-Received: by 10.98.211.135 with SMTP id z7mr35522580pfk.109.1479124124174; Mon, 14 Nov 2016 03:48:44 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d9si18050627pge.35.2016.11.14.03.48.43; Mon, 14 Nov 2016 03:48:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@yahoo.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932196AbcKNLsm (ORCPT + 1 other); Mon, 14 Nov 2016 06:48:42 -0500 Received: from nm2-vm2.bullet.mail.ir2.yahoo.com ([212.82.96.82]:53275 "EHLO nm2-vm2.bullet.mail.ir2.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752376AbcKNLsj (ORCPT ); Mon, 14 Nov 2016 06:48:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1479124067; bh=ZFCMWSuk1KduiNawtvUW21Ng9vJUI2T4tOKP8OxMvuQ=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=m9H5Ba4vpORHxOxNvACRubfDdU6TozzrV/+eWy4s5GYsVQctn6YxyPhE/MALkV1Fj/0dIjpA6vowgH0aPTj0EcNfujUv3EngEwVlizcCOkkL9oBGom3I3yWoUZ9LteGFjDw8mqHUQuXkR2FIREwfvdhVzGrYZZbF+nsOm+d2Sxheh994PnRiYahShgbiyWT9bQjBftWh0glH3v3MQU4ZpWEzu7fxe5BpJfuvKswyDgDHdcRNwARsS7dUJTV93Vtlewu3cqi9mRUPv1jxPcTsNoCS/1xTTM84GFzb+CMh3ffIr8xn6uhzfPc8G4VYKvr6MphawmstjvPyxS220STEmw== Received: from [212.82.98.49] by nm2.bullet.mail.ir2.yahoo.com with NNFMP; 14 Nov 2016 11:47:47 -0000 Received: from [212.82.98.64] by tm2.bullet.mail.ir2.yahoo.com with NNFMP; 14 Nov 2016 11:47:47 -0000 Received: from [127.0.0.1] by omp1001.mail.ir2.yahoo.com with NNFMP; 14 Nov 2016 11:47:47 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 999834.92376.bm@omp1001.mail.ir2.yahoo.com X-YMail-OSG: qf5QircVM1khGBy.RQ55uIWMpuydZkZ.aUeDILgjYWGRH7dCU9UyZlK15AjWBFU NDPOO4cqN5CwJdvsMzzKLNcUOd0qn0qjUr1oqgEDpUTGlL90_hiXOWX3dHJJUlnqk.V5Pm.5gLjN .kD_pcZCZMWJdA64Rma_Qq_vfh2vwU9jwp5FLZLh_9WAErSQsZLABqS4gkrDGs6e__jFnMIjU4Hz 22iIHAlx6yzN0WNboc6B7LCRm0Wt6s5wMhzpxezOp9TRKPnvo022.sYPebT5Jy86unUN.dROaeop zb2od.hLk.wCgxOqVJC8EjrbZkhlMnzoyYn5FB2uoU2w.9ajjCcKwtUWBt47VCj3FTkEfL15uFCD fez6xHLFutjK3prWo35l3DicAOoDPLiHz5w38r0S421OF0Z9HnubqjrqJ_OYyvJQslmBD91Fzvgt DeKSJ_3JKxSV6J7LOX02u1t5zRRNf_A7QYbVGlS5cPz2a7plY8hly1NKIJoxV2Yj.E0PFI7eos1q 15A6Ke1Bla8UpdBXZRJqC8k_YAXBrWxauoUPI3Hq0sIA- Received: from jws700037.mail.ir2.yahoo.com by sendmailws167.mail.ir2.yahoo.com; Mon, 14 Nov 2016 11:47:46 +0000; 1479124066.301 Date: Mon, 14 Nov 2016 11:47:45 +0000 (UTC) From: Gianfranco Costamagna Reply-To: Gianfranco Costamagna To: Arend Van Spriel , "brcm80211-dev-list@broadcom.com" , "linux-wireless@vger.kernel.org" Cc: "nsmaldone@tierratelematics.com" , "Marco.Arlone@roj.com" Message-ID: <810879191.6335567.1479124065921@mail.yahoo.com> In-Reply-To: References: <690669269.1124561.1477671348137@mail.yahoo.com> <5474e850-1c52-c896-da9e-45720ed6d6ff@broadcom.com> <0812c8f2-f0ce-c62c-5f09-fa46dafd630f@broadcom.com> <233918815.6357602.1479123253455@mail.yahoo.com> Subject: Re: [PATCH] broadcom/brcm80211/brcmfmac/cfg80211 driver, bad regulatory domain frequency value MIME-Version: 1.0 Content-Length: 2587 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Arend, >Well, not before you pointed it out ;-). You are welcome to send a patch >fixing it. Otherwise, I will take care of it. attaching a format-patch like version. I don't think we need a Tested-by or whatever, because it is just a typo in a comment. (this is my first contribution, feel free to rebase or change whatever you prefer to make it in line with other styles) (I gave authorship to Marco, the first one who discovered such typo) thanks! G. Reported-by: Arlone Marco Tested-by: Nicola Smaldone Signed-off-by: Gianfranco Costamagna >From bf0cdd8ad27833639447a3071d662f79a7219b1d Mon Sep 17 00:00:00 2001 From: Arlone Marco Date: Sat, 22 Oct 2016 15:08:35 +0200 Subject: [PATCH] broadcom cfg80211: fix typo in REG channel frequency comment frequency 2472 corresponds to channel 13, not channel 11 Signed-off-by: Gianfranco Costamagna Signed-off-by: Nicola Smaldone Signed-off-by: Arlone Marco --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c index b777e1b..b4d8b1b 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c @@ -203,7 +203,7 @@ static const struct ieee80211_regdomain brcmf_regdom = { .n_reg_rules = 4, .alpha2 = "99", .reg_rules = { - /* IEEE 802.11b/g, channels 1..11 */ + /* IEEE 802.11b/g, channels 1..13 */ REG_RULE(2412-10, 2472+10, 40, 6, 20, 0), /* If any */ /* IEEE 802.11 channel 14 - Only JP enables -- 2.7.4