From patchwork Tue Sep 17 15:41:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eliad Peller X-Patchwork-Id: 2903021 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7DF639F2B9 for ; Tue, 17 Sep 2013 15:42:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0AC792038E for ; Tue, 17 Sep 2013 15:42:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4828220300 for ; Tue, 17 Sep 2013 15:42:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753072Ab3IQPlq (ORCPT ); Tue, 17 Sep 2013 11:41:46 -0400 Received: from mail-ee0-f49.google.com ([74.125.83.49]:37156 "EHLO mail-ee0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752828Ab3IQPlo (ORCPT ); Tue, 17 Sep 2013 11:41:44 -0400 Received: by mail-ee0-f49.google.com with SMTP id d41so2792241eek.22 for ; Tue, 17 Sep 2013 08:41:43 -0700 (PDT) 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:in-reply-to :references; bh=TaNCbqnlSTG99DB96jgZD8OEkwTKm9iI7P0MxZ7dFSQ=; b=ESo1zwE9TT+9n6YpGmGnTyp/GaCw0NYDYDrNPo/A9DZiW0oA/Hx3SB0EjNW+UXtn5H nCJfBigOSnNmKQ/Bj9Hzv0c4a4ApT+Pm6CHW6WGhg1cEXr12axXVMQqiCd5BcvASckcv qtOJvVOJ/dCcTHo4DzT+VGC+DCyvjP1kjdT+jgYSAmNIkXw/W+AjD8+FFCXiuXgt0j1c 8DmDDt1ia/aprAAGbkHhMUDZlZUREwtEMlPkAUShX+so5pMBO7tl4TUF8pCfL9fRVHcX 9q0/OzhGEXeC82PIF4UBr68b/ef7x+kfuuLVujNX0IISKlia3PPft7932WZ5GKv8eEn7 3dBg== X-Gm-Message-State: ALoCoQlqozMRe80fLNWugtdQPBZGa558oauz1wgjJW8TH50TvX0C1Cea+aCvzr2kuVkVABqcCQeS X-Received: by 10.15.67.131 with SMTP id u3mr51898686eex.34.1379432503000; Tue, 17 Sep 2013 08:41:43 -0700 (PDT) Received: from localhost.localdomain (85-250-66-253.bb.netvision.net.il. [85.250.66.253]) by mx.google.com with ESMTPSA id p5sm51918197eeg.5.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Sep 2013 08:41:42 -0700 (PDT) From: Eliad Peller To: Luciano Coelho Cc: Subject: [PATCH v2 07/11] wlcore: remove unsupported channels Date: Tue, 17 Sep 2013 18:41:26 +0300 Message-Id: <1379432490-22157-7-git-send-email-eliad@wizery.com> X-Mailer: git-send-email 1.8.3.rc1.35.g9b79519 In-Reply-To: <1379432490-22157-1-git-send-email-eliad@wizery.com> References: <1379432490-22157-1-git-send-email-eliad@wizery.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.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 The fw doesn't support channels 7,9,11 in 5ghz band, so don't advertise supporting them. Signed-off-by: Eliad Peller --- drivers/net/wireless/ti/wlcore/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c index d952593..4b52e5a 100644 --- a/drivers/net/wireless/ti/wlcore/main.c +++ b/drivers/net/wireless/ti/wlcore/main.c @@ -5414,10 +5414,7 @@ static struct ieee80211_rate wl1271_rates_5ghz[] = { /* 5 GHz band channels for WL1273 */ static struct ieee80211_channel wl1271_channels_5ghz[] = { - { .hw_value = 7, .center_freq = 5035, .max_power = WLCORE_MAX_TXPWR }, { .hw_value = 8, .center_freq = 5040, .max_power = WLCORE_MAX_TXPWR }, - { .hw_value = 9, .center_freq = 5045, .max_power = WLCORE_MAX_TXPWR }, - { .hw_value = 11, .center_freq = 5055, .max_power = WLCORE_MAX_TXPWR }, { .hw_value = 12, .center_freq = 5060, .max_power = WLCORE_MAX_TXPWR }, { .hw_value = 16, .center_freq = 5080, .max_power = WLCORE_MAX_TXPWR }, { .hw_value = 34, .center_freq = 5170, .max_power = WLCORE_MAX_TXPWR },