From patchwork Thu Feb 11 16:53:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 8282751 X-Patchwork-Delegate: kvalo@adurom.com 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 296329F38B for ; Thu, 11 Feb 2016 16:53:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4472A20351 for ; Thu, 11 Feb 2016 16:53:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 65FF3202EC for ; Thu, 11 Feb 2016 16:53:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751809AbcBKQxd (ORCPT ); Thu, 11 Feb 2016 11:53:33 -0500 Received: from mail-ob0-f194.google.com ([209.85.214.194]:35953 "EHLO mail-ob0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751781AbcBKQxb (ORCPT ); Thu, 11 Feb 2016 11:53:31 -0500 Received: by mail-ob0-f194.google.com with SMTP id wg8so6134282obc.3 for ; Thu, 11 Feb 2016 08:53:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=gr9SrNSfVSnlO3uuR7wFS9drmdyH9IOh62Z0hzAZ2Qc=; b=m6JXIxuzJ27HbEEKEsrAgLcElzcFhuWSQ2JsjcUMte7DMMp8le5YHumElRAWpirVYV dVCkbjsLXPOlckzBNp3JyJn71tSJIQUhM1AsyIMJJGjy5g80xNFguAc3uRQ/1ZpdAewP 24e/EcaF1qRvh6ZHhLgZWIYfaOVxdVCqT+XxpRUqFx3CSXwXRnstREYK5bL2YAPmO7bn BLY4ZIGIi6moFNP1fFDyVSELSQiKxlnMkCRckbvJv8QdCZhSoyXXu46MGLTzUtcj2/Fz 8Pr9msI72EPV6mqtiVBW37V/zPHLIJTQcF4h/nkrPQblTE0zn2kq65Plpz4t9LUNAqig NP2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=gr9SrNSfVSnlO3uuR7wFS9drmdyH9IOh62Z0hzAZ2Qc=; b=SWQQcw0apccUXOi2Zp29rz6chKg6ewRP1+MnhQ/oTsmijMYjMUtUA4BxoKMpWsmNaz evRVADo6jY6c4+liL0ehOL1J03FfP/Q1a4VGNZNwH8MBR7qSHJY3e3jiEWsNqEln8XH5 SfhKvsJt8PQytkBL4/BOLo9LSsKHKrl3alMlBVuIwCILoXquw4HMb4TmHhSFhPPsBxvg lj/y9hDiuWin6Blg7serS0qePL/kdaYN/l85KiEjQFP4lDSHWKoLIZFaNdB28HQbqioA zHoNa/qGdmgYf9JdSL20iO/cbo5cbQCnb/aQCpfbnrnW6CQOWiZ9atvi66kO+fde6SCV kqyg== X-Gm-Message-State: AG10YOS4Cn55w/0d4m2VFmnTD1OBfVy7eWU5cN39yVDpUUwXffZu5X2Vli0WcuKDuPWUKA== X-Received: by 10.60.138.67 with SMTP id qo3mr45693417oeb.80.1455209610918; Thu, 11 Feb 2016 08:53:30 -0800 (PST) Received: from linux.site (cpe-24-31-249-175.kc.res.rr.com. [24.31.249.175]) by smtp.gmail.com with ESMTPSA id qp4sm5618523obc.9.2016.02.11.08.53.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Feb 2016 08:53:30 -0800 (PST) From: Larry Finger To: kvalo@codeaurora.org Cc: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org, Larry Finger Subject: [PATCH 3/4] rtlwifi: rtl8192ee: Convert driver to use new 5G channel tables Date: Thu, 11 Feb 2016 10:53:11 -0600 Message-Id: <1455209592-12882-4-git-send-email-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1455209592-12882-1-git-send-email-Larry.Finger@lwfinger.net> References: <1455209592-12882-1-git-send-email-Larry.Finger@lwfinger.net> 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.0 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 The driver defines its own set of channel tables for the 5G band. With this change, it will use those of the core. Signed-off-by: Larry Finger --- Kalle, This material is for kernel 4.6. Larry drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c index 5f14308..9fd3f1b 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c @@ -2018,18 +2018,6 @@ static void _rtl92ee_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, struct rtl_efuse *efu = rtl_efuse(rtl_priv(hw)); struct txpower_info_2g pwr2g; struct txpower_info_5g pwr5g; - u8 channel5g[CHANNEL_MAX_NUMBER_5G] = { - 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, - 56, 58, 60, 62, 64, 100, 102, 104, 106, - 108, 110, 112, 114, 116, 118, 120, 122, - 124, 126, 128, 130, 132, 134, 136, 138, - 140, 142, 144, 149, 151, 153, 155, 157, - 159, 161, 163, 165, 167, 168, 169, 171, - 173, 175, 177 - }; - u8 channel5g_80m[CHANNEL_MAX_NUMBER_5G_80M] = { - 42, 58, 106, 122, 138, 155, 171 - }; u8 rf, idx; u8 i;