From patchwork Tue Apr 10 15:04:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siva Rebbagondla X-Patchwork-Id: 10333305 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 8B7A86053B for ; Tue, 10 Apr 2018 15:02:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7AB00287A1 for ; Tue, 10 Apr 2018 15:02:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 798C8287E7; Tue, 10 Apr 2018 15:02:36 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, 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 0798227F4B for ; Tue, 10 Apr 2018 15:01:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754297AbeDJPBs (ORCPT ); Tue, 10 Apr 2018 11:01:48 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:35970 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754295AbeDJPBr (ORCPT ); Tue, 10 Apr 2018 11:01:47 -0400 Received: by mail-pl0-f65.google.com with SMTP id 91-v6so7707436pld.3 for ; Tue, 10 Apr 2018 08:01:47 -0700 (PDT) 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=O9tYH/1ThjmEg3kuy49c1u9WpmgAfNyblK6BQ3/ipMY=; b=JKfGO/SW7rXwos8Bjy2BG6lsttgg3gdkBellfk2RiYAyhiXCKxOTHIt3Cu7rWI5rak Zome2Rhlulu1Y0swwOIIUTR9OTF7OLHUfgl98S7Ti6abKaB4GQ/9DRbuSARY8gU4VwZD P8jSlvnVflkZr1pI9KB3HFRiRFCxbAq6Ub6RXzkw/6B8paZI/12/JaTcK5HOxxMpIR1M jyE9UZWwlDDyeALFvzGA7lrK2YHL3VXYSGBki2mcW5AkBYpTVkFWzy6gBh/lXq5ghsW9 6qjIdxDzYJu+U/YzJkx9fx/dW4hxmumBEhzoHxD5wSg2DPwoOaTlCyAsAxDryNjMRjgU h7QQ== 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=O9tYH/1ThjmEg3kuy49c1u9WpmgAfNyblK6BQ3/ipMY=; b=pbVRTTdOg/ZznV83FwSA3ngpr/ery2HVRAYHbiA4deB/h+sAPqwJRexVB+qTAGIhXH 4ggQoDtFFu/w9kMMN9+arEK/JSKMFJUPAXSOOcMr3nqoMDN1EJ8Fxa2yj+z5saUcOsmF rIWC3j86/nvllaW6daHyEv4VEpF+OlRyDz2eQ10IZ7rhAyiiB71xBG38QqQs5D31X4SW 40qY2c2AKMRq1mDP0yaBLwUuu5kn71yY8jF3rJseHYcfDXFQCJeLRM2hE1n/sbzstqo9 DrkqvcHJJSuQCqIWKrkVKZ0zhH3HDqSV8fYlC0UWjJye2XUPiHPuogHT0lHyjZkHAmF3 oI8g== X-Gm-Message-State: ALQs6tCFPwcLTyokZCAXefbWbhvOwSi7rXNynM6cmwWpXqM974MdJZfn 56qUiokzmzhsxJwkQBIdSD8= X-Google-Smtp-Source: AIpwx4/8THNBR0lG5Mh8xRBDQbPnUlmo1N/e0ZeeDng3H5jOVOHxqhBg7cYrUGa4GDYJcgvBOHntfQ== X-Received: by 2002:a17:902:9696:: with SMTP id n22-v6mr762550plp.355.1523372505751; Tue, 10 Apr 2018 08:01:45 -0700 (PDT) Received: from cpu459.localdomain ([203.196.161.90]) by smtp.gmail.com with ESMTPSA id a1sm5913864pff.5.2018.04.10.08.01.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Apr 2018 08:01:44 -0700 (PDT) From: Siva Rebbagondla To: Kalle Valo Cc: linux-wireless@vger.kernel.org, Amitkumar Karwar , Siva Rebbagondla , Sushant Mishra Subject: [v2 2/7] rsi: device bootup parameter configuration Date: Tue, 10 Apr 2018 20:34:12 +0530 Message-Id: <1523372657-6067-3-git-send-email-siva8118@gmail.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1523372657-6067-1-git-send-email-siva8118@gmail.com> References: <1523372657-6067-1-git-send-email-siva8118@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: Amitkumar Karwar Some device configuration flags need to be enabled while sending 'bootup params' internal frame to firmware. This patch takes care of it. Signed-off-by: Amitkumar Karwar Signed-off-by: Siva Rebbagondla --- drivers/net/wireless/rsi/rsi_boot_params.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/rsi/rsi_boot_params.h b/drivers/net/wireless/rsi/rsi_boot_params.h index 238ee96..ad903b22 100644 --- a/drivers/net/wireless/rsi/rsi_boot_params.h +++ b/drivers/net/wireless/rsi/rsi_boot_params.h @@ -46,7 +46,8 @@ (((TA_PLL_M_VAL_20 + 1) * 40) / \ ((TA_PLL_N_VAL_20 + 1) * (TA_PLL_P_VAL_20 + 1))) #define VALID_20 \ - (WIFI_PLL960_CONFIGS | WIFI_AFEPLL_CONFIGS | WIFI_SWITCH_CLK_CONFIGS) + (WIFI_TAPLL_CONFIGS | WIFI_PLL960_CONFIGS | WIFI_AFEPLL_CONFIGS | \ + WIFI_SWITCH_CLK_CONFIGS | BOOTUP_MODE_INFO | CRYSTAL_GOOD_TIME) #define UMAC_CLK_40BW \ (((TA_PLL_M_VAL_40 + 1) * 40) / \ ((TA_PLL_N_VAL_40 + 1) * (TA_PLL_P_VAL_40 + 1)))