Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4139623pxk; Tue, 8 Sep 2020 11:39:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweinjufK7uaHz/Q/jxJzLWpwh0d9NnOK5VzbToCCrmISIOHJuLZHgDUg72zHAQOGlCRkCt X-Received: by 2002:a17:906:2458:: with SMTP id a24mr8834587ejb.353.1599590375849; Tue, 08 Sep 2020 11:39:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599590375; cv=none; d=google.com; s=arc-20160816; b=xSS5tOu/YzasN/bGAMLtxEQyxJ6q2HgFzRIMNrXiLmx0J7X7UatgCR7jUPJtPfn4YG W/9Bf64u9+3nkyRNc4ekbhQutValoOiY6RkdjxjnJ5nmW//PxVqv4zy/sFKW6j4LGR28 413FMMX4ID6y3xRkaScp575ubI+GBQ+4tpFT9XmfI+xe5Oj48hY3t+NfiPVgznlVmhMd q6tzx/Ma5sRR1oPOMDveVNaZvI56fZ7McKSSt2mWn5LtOp2/37R9knY65UmLELmagjKv DHlInc+NTlf/h01AfLBmE+NPzmLcBmRwcS3Ok4Frr7ELInm/k9oftuQZnTBmUqId/Jgh BFCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6pAkxtOoFSvNi7RPnLSu55Y7kA0XCbGAAZQbWlXlijY=; b=kg4XHHV3fvDmO5hyQ2qSFrgquVNFiBwaW7AmtXMzZJTdOlrLxgIAjp5oOdiU0WYe8m ViSFXWUFFxzPaCrL035QRApbV7XVjMxDtKsivUsGST5klsJDayOJHNN1Nk5tfotoUZd4 xHyNDUo46mleb7bmfj0bteHt+zddb7nOvZ8aVausAzM5tOCgiFkRvbWLukXYWZs4UF49 mkuM6S+C51CsnhXkzKflzjzZ6oaI/2oNvBg1tzikOPfJ3icWoR/PFA3hW2tPJHhDK96I IdLHmztUGjmIYtqJtPKPt4IFiyyAnjHF4PquR7U9DDu9Vo2mT3TQPXt7ZTCac2oWjRd5 qWEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b="Nw8zH73/"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si3601313ejy.466.2020.09.08.11.39.12; Tue, 08 Sep 2020 11:39:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b="Nw8zH73/"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731832AbgIHSgt (ORCPT + 99 others); Tue, 8 Sep 2020 14:36:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730140AbgIHScb (ORCPT ); Tue, 8 Sep 2020 14:32:31 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0007BC06138D for ; Tue, 8 Sep 2020 11:25:08 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id q9so291519wmj.2 for ; Tue, 08 Sep 2020 11:25:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexus-software-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6pAkxtOoFSvNi7RPnLSu55Y7kA0XCbGAAZQbWlXlijY=; b=Nw8zH73/LEfHreHLQOgQhBKMtwTyVQ37S/nC4WcGslQWk0hDJY0kZJVP0xFq3mixYj uqDAPJlvIFyksbk6CxyWRoOe1ideRXfdC/aP/TWiFZFwLCK+LvTj34waXeLcD9WvafDA RNl7dLAe4nMyRRobJMRIWFE70AkyNzH1eo+sYhWvWXYOp+wHBhJvY8f/Wiy4JoVGbz+C IV0yu3DHJoisek4A7NlnWxx0xdY55TJq6g3UfAXuRyarsowql0FwsPOO4Z2rzoEelSvA 1cEE+0BfwSCQxEGvDxrXbGt23af3jHUfvPSvkcHpqlN9//+H1eT5zekE8IhbAD/qId2F RF5Q== 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:mime-version:content-transfer-encoding; bh=6pAkxtOoFSvNi7RPnLSu55Y7kA0XCbGAAZQbWlXlijY=; b=jgRHtHBHYIdA5dZMaq6WhG6Skwo7rEBIfltM7eGeqVAtBUhcVzDN4y5z1MCfcLiiDr wYKHt0sQNW6LpsLxXPmQRoTFBQQQ6moFDOK7BEtZ1bxKd6NF3bvDZdwnnk/kY7npbrGh 2R8ypH6Lgyj8NtgonDmTSusj/i5XcyQ0jtlguzuAPtrBHCvbdTalhsM2xgkif13olNXy wEzsHv08jZIyk6z2vvBBiX5IQYTtQHMHGafdW0xzTqXEZM4BASaq+tUcHNDnJUVo6lsQ 3AwGYWF/cISf+a1yJINHuJl2VopRQGgjyc/HzDxqzDhZR5hIClyAqiAEuy/EZnmF49H+ d3xw== X-Gm-Message-State: AOAM530n1hHrlO/J3yRF00qrNLQu7c0ixoaXGcPYgmAHonGL3TM7CaEx C0THpOMZDm2+QNuVJGpeV82JxA== X-Received: by 2002:a7b:c749:: with SMTP id w9mr361320wmk.29.1599589507701; Tue, 08 Sep 2020 11:25:07 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id c18sm376908wrx.63.2020.09.08.11.25.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 11:25:07 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Cc: bryan.odonoghue@linaro.org, shawn.guo@linaro.org, loic.poulain@linaro.org Subject: [PATCH v3 2/2] wcn36xx: Ensure spaces between functions Date: Tue, 8 Sep 2020 19:25:53 +0100 Message-Id: <20200908182553.2870585-3-pure.logic@nexus-software.ie> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200908182553.2870585-1-pure.logic@nexus-software.ie> References: <20200908182553.2870585-1-pure.logic@nexus-software.ie> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Bryan O'Donoghue This is a small update to fix an error I saw where a few functions do not have a blank line in between them. Affects smd.c and main.c - no logic is affected by this change. Signed-off-by: Bryan O'Donoghue --- drivers/net/wireless/ath/wcn36xx/main.c | 1 + drivers/net/wireless/ath/wcn36xx/smd.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index 9e97513feeb5..929425415d05 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -775,6 +775,7 @@ static void wcn36xx_update_allowed_rates(struct ieee80211_sta *sta, sta->vht_cap.vht_mcs.tx_mcs_map; } } + void wcn36xx_set_default_rates(struct wcn36xx_hal_supported_rates *rates) { u16 ofdm_rates[WCN36XX_HAL_NUM_OFDM_RATES] = { diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index a8d2af74ef62..b6e49f8f029b 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -218,6 +218,7 @@ static inline u8 is_cap_supported(unsigned long caps, unsigned long flag) { return caps & flag ? 1 : 0; } + static void wcn36xx_smd_set_bss_ht_params(struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct wcn36xx_hal_config_bss_params *bss_params) @@ -2192,6 +2193,7 @@ int wcn36xx_smd_exit_bmps(struct wcn36xx *wcn, struct ieee80211_vif *vif) mutex_unlock(&wcn->hal_mutex); return ret; } + int wcn36xx_smd_set_power_params(struct wcn36xx *wcn, bool ignore_dtim) { struct wcn36xx_hal_set_power_params_req_msg msg_body; @@ -2221,6 +2223,7 @@ int wcn36xx_smd_set_power_params(struct wcn36xx *wcn, bool ignore_dtim) mutex_unlock(&wcn->hal_mutex); return ret; } + /* Notice: This function should be called after associated, or else it * will be invalid */ @@ -2900,6 +2903,7 @@ static void wcn36xx_ind_smd_work(struct work_struct *work) kfree(hal_ind_msg); } } + int wcn36xx_smd_open(struct wcn36xx *wcn) { wcn->hal_ind_wq = create_freezable_workqueue("wcn36xx_smd_ind"); -- 2.27.0