From patchwork Mon Mar 5 14:36:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitkumar Karwar X-Patchwork-Id: 10259141 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2590960365 for ; Mon, 5 Mar 2018 14:49:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 159C628A77 for ; Mon, 5 Mar 2018 14:49:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A03128A91; Mon, 5 Mar 2018 14:49:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9256728A77 for ; Mon, 5 Mar 2018 14:49:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752177AbeCEOtI (ORCPT ); Mon, 5 Mar 2018 09:49:08 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:41787 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751679AbeCEOtD (ORCPT ); Mon, 5 Mar 2018 09:49:03 -0500 Received: by mail-pl0-f67.google.com with SMTP id d9-v6so2275309plo.8 for ; Mon, 05 Mar 2018 06:49:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=H6IPKyNuXV7vNt5PEKYblyyzKaSob6rq4pxAE04KUY0=; b=rXLC4OFPwk4RhQ/irbWDyqNJ7Melp+q54hykI8zzgGxYdCtPND0LOXwXOIhJonfdLf kH7MHwJ4PUJ5ER0T5Eh15IAIcvIbzVTAUl6eym2RREXPfwn/BBSIZh8ry18aRkU4RTj0 Rc8E5dCXorrOCWzkwPTblBYj1zgMit42Gbb0VEK9VYXA2iR8ofayDWESRe9xN01RcyUr SHHWTpU334myDlN86kp0ieV9sSDs8uZbWY7ooSCr0wWjRMUIWcKAWeXNEaCbtvYhzzxP NYaOnsskzF/xnFrdULvA+NpRKf81Es6RFbZqMuNwdPW5B2TYZ71ClMhspVf2uG4KvfcC 8UGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=H6IPKyNuXV7vNt5PEKYblyyzKaSob6rq4pxAE04KUY0=; b=ELrCt+JClWg6hBRBff2garedUeIIzyzuHc6o+CTEcqL4OF/WFvCT/W5+1odCLuaLzx zoxWvRCy0+gdWIAMBnfnH+NmVk/jPXpS08widrf3ikwaeb6HSPsFHL1cE0VULbztQfKm 1SdtbRTLYmNNs23z63H2zZJMmnkUhNLrlcsmWZ79mOb3P80kPirySiRAZOtIZl/wGc7N Rj2v/EnslrGFsYKpo9xNUjUce3punDcHBw46E2yUTZgxGH3/sPiobzm1rHCUWIa7hBIK aHtCEfHaA9gtUNZinvY546M6/JjfnhPqEWcWwk3y6BuFCbPNT0LuYR9eBMFnUW7mkRJb TsIw== X-Gm-Message-State: APf1xPBewjSoz99+Fzu9nr9zrBGTx4pTpMiRA0AX/f1tIsB1m2FJa8LT jLCRuxfzQoQmkkwOAjqMebU= X-Google-Smtp-Source: AG47ELvzFLxbLshDS/XsPSTRsET2r6Y14A7AVWvdZnsAHN8nDrpt/4BHiq+7tLPcD6/aFzpRiQXRgQ== X-Received: by 2002:a17:902:7e0d:: with SMTP id b13-v6mr13246420plm.97.1520261342890; Mon, 05 Mar 2018 06:49:02 -0800 (PST) Received: from cpu185.redpinesignals.com ([203.196.161.90]) by smtp.gmail.com with ESMTPSA id i1sm29164845pfi.116.2018.03.05.06.49.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Mar 2018 06:49:01 -0800 (PST) From: Amitkumar Karwar To: Kalle Valo Cc: linux-wireless@vger.kernel.org, Amitkumar Karwar , Siva Rebbagondla , Prameela Rani Garnepudi Subject: [PATCH 04/10] rsi: enable 80MHz clock by default Date: Mon, 5 Mar 2018 20:06:54 +0530 Message-Id: <1520260620-4694-5-git-send-email-amitkarwar@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520260620-4694-1-git-send-email-amitkarwar@gmail.com> References: <1520260620-4694-1-git-send-email-amitkarwar@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Prameela Rani Garnepudi 80MHz clock for device should be enabled by default in TX command frame radio capabilities. Signed-off-by: Prameela Rani Garnepudi --- drivers/net/wireless/rsi/rsi_91x_mgmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/rsi/rsi_91x_mgmt.c b/drivers/net/wireless/rsi/rsi_91x_mgmt.c index 0bcf841..6f995d5a 100644 --- a/drivers/net/wireless/rsi/rsi_91x_mgmt.c +++ b/drivers/net/wireless/rsi/rsi_91x_mgmt.c @@ -338,8 +338,8 @@ static int rsi_load_radio_caps(struct rsi_common *common) radio_caps->channel_num = common->channel; radio_caps->rf_model = RSI_RF_TYPE; + radio_caps->radio_cfg_info = RSI_LMAC_CLOCK_80MHZ; if (common->channel_width == BW_40MHZ) { - radio_caps->radio_cfg_info = RSI_LMAC_CLOCK_80MHZ; radio_caps->radio_cfg_info |= RSI_ENABLE_40MHZ; if (common->fsm_state == FSM_MAC_INIT_DONE) {