From patchwork Sat Aug 29 03:38:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 248677 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp1602528ilg; Fri, 28 Aug 2020 20:38:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZbtvyFhk/kW3FJsY8iGTaWBIugz+vFynZs8sDBiqvS5pukdxMBhBnPM85TvdDexSgSlen X-Received: by 2002:a5d:97cd:: with SMTP id k13mr1417728ios.164.1598672312179; Fri, 28 Aug 2020 20:38:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598672312; cv=none; d=google.com; s=arc-20160816; b=Sx1QlKeUCrGun9i3rGWqd+whJpKWLpbVlFmidSXURUeuDYP1ovqNuFtLgljE6Ib3gv HsdPQt9AXKXDAsAy9XLXvp2suzZBBZBEg7g2PS/cSzmwrM3REmBh9IgZuvbA/feneDjk 0I8BKNpU9YwhPwL8MjbZ6ladxi8g4i+hE6z1vMUCHRsvZxByeWBss4iWLahnxqiB4o4J fHXMBAKF9eK2zpqdFkwxGW5dWb0uH6YC265KgCen/RoZNfeJrOwAZn9WiUL/o+qf5Yjz F2+RS90YyTXAP+emiu+PV8f9fTTSzZ0hvMB4bw09VRVs0tiVEXPHtr3v3hqceUdvo+5I Rn/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:dkim-signature; bh=a1LPP6JNyx5zpvFudKxX3HZ+Q352mZY8fZTazU9MbO8=; b=RtgN6V6WbAQAKBB0gFxZdwKRniZQQbSUEfKGLfMxWUAveAByUKKSRzJBHxfZDoWe6+ koTEOG+qdTKOjLBTJWa/T9oTrABkxYVV1/22dfs41jO8a9OzG3REqiVSRgZT4q7Kmx8U blCqbvEJsnWH0Q0Y9JIBfek7PqWJ+zYSQv4Vri28wLOjwPZLrKbFfPWEW32+0zk0Jl5l w8erPiUs9K4HgKk2o0/eXFPRh0qVv5TuPMQpS0nVs1NACMNe7RTpX/C5Plk3sAXwLj8j Rmiq34aU7MX3Buuoswhu7v+CVuiG5WIbfWU8Eqqn8Jg03kJz0eMvcYkLS3ErXIU5VIUV SDEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=jnd8g9NQ; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cnJK2eZH; spf=pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="wcn36xx-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id n2si794647iox.11.2020.08.28.20.38.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:38:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=jnd8g9NQ; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cnJK2eZH; spf=pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="wcn36xx-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=a1LPP6JNyx5zpvFudKxX3HZ+Q352mZY8fZTazU9MbO8=; b=jnd8g9NQqbLXmaNw89MEcvrX9U FghRplMTBADoJRPFvUmW+OT02oqY+WFpBMRwAKPByNeZlGkmhzUTFuIQGwWwErrJswwEdnsNWSs57 bhH9Qa7hlTTVVVxoBBQIBhyG3qOx65YMz/p8py7Upb1kxDjuxBHIE42QPQh5JZI9LECsbni6g3Ce0 JfBODwKCew7mN0EOzFcM2i9vI+bIkdKs6ivkxVUkNHYB9aViOtkvwWj09fcB26Q4paUNY4VV88bdt TthhCco1W/LubH9Fnp7pIfP2weokfLm0+l5AnGhx8M5p2zgKI3Me6XtI4+1ekRXc8wqdGJ0RqUebg eW4GsTbw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBrhF-0002Hq-4R; Sat, 29 Aug 2020 03:38:29 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBrh9-0002EC-24 for wcn36xx@lists.infradead.org; Sat, 29 Aug 2020 03:38:26 +0000 Received: by mail-wr1-x441.google.com with SMTP id e16so894514wrm.2 for ; Fri, 28 Aug 2020 20:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=pKRbJaiUJBWTHctvzCqT4yNeW9TImmNoQUF8BM+9A6g=; b=cnJK2eZHANPkj+GbM6nXbMpq+aPoMSySjBIODqupNqQbHo2OC5m1idBt1yw2tBtH02 NR51GOm11/tJieJkC6oXQjn2FBAKYh7FB2K2CdCrBQfBQ/0NHQJNRMYVGByHLu82eLk2 UZeny1IexeOiRG05Tr79MtDhmfJu8exMS9W1OWC1N91pmcIp4vRhVjgMaU2gjiKUjhei 7la8BI/6BXFuQyN33nK5Td7fm4s/DXlkpGc+ggX/qAosxAkLXDhVRMNiXHlz6jjIJ78u NqWm116nioy14o1YNeMdkxwFB7jrbAco3i/kpFzS+eXqTogU8K27/qlOu4Ar2rjDBpSE F3Yw== 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:mime-version :content-transfer-encoding; bh=pKRbJaiUJBWTHctvzCqT4yNeW9TImmNoQUF8BM+9A6g=; b=PymUOdH1OQlFrnqnrU+9wFtrSpZ/lpZzFXxUp+6tDTz1Qhed+1HhACEq+idBnnn57h CxXz1di7FL/STJrrH2aB73ylfgJh88HJBXSYh4+JIsWgCviuCYGbvYewb6P5ufnQxTum scblMNWiIYSfglWLbKlwcX4eOtHgoMeFWwzQQPSS+Mq3tZICP7wWWQUZFPl9pj7nfk4k Sq3PsVYVeHG9eLc4hEXWrDjfwuXQVF2+Uq4ZoPGc3aEO5ciwz5up3eUuhG7LrNyYMmKi Ax7DePCd8cxny6w02zvcPuomhqxnVdLwUni7pu7E8chXlYAfPaGRCpxb7uFr8BIOmbht 1z/g== X-Gm-Message-State: AOAM532rUSMd3VG31dLVNz1TQAPZ7m+jo/X6rqohW3J3jWIaWH51LWUY +THAPm8osDdnN/gygzfaNQG5hqjipJ8rSYUH X-Received: by 2002:adf:f50a:: with SMTP id q10mr1655532wro.319.1598672302169; Fri, 28 Aug 2020 20:38:22 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id t9sm1649179wmj.47.2020.08.28.20.38.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:38:21 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v2 00/12] wcn36xx: Add support for extended V1 SMD parameter passing Date: Sat, 29 Aug 2020 04:38:56 +0100 Message-Id: <20200829033908.2167689-1-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200828_233823_164473_8FDF19D5 X-CRM114-Status: GOOD ( 12.10 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:441 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: wcn36xx@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bryan.odonoghue@linaro.org, shawn.guo@linaro.org, loic.poulain@linaro.org Sender: "wcn36xx" Errors-To: wcn36xx-bounces+patch=linaro.org@lists.infradead.org This series is two of a set of five to add support for wcn3680 at 802.11ac data-rates. This set makes a series of modifications to enable passing of an extended V1 data-structure to the firmware. A series of of helper functions are added to facilitate the setup. The final step in the process is enabling the extended data-structure parameter passing for the wcn3680 only. Only a firmware that is capable of 80211.ac will accept the larger V1 messages and only after explicitly enabling the DOT11AC firmware feature bit. V2: - No functional difference from V1 for these patches Breaking into smaller chunks to enable easier review/merging V1: https://lore.kernel.org/linux-wireless/87eensldhi.fsf@codeaurora.org/T/#t Bryan O'Donoghue (12): wcn36xx: Add VHT fields to parameter data structures wcn36xx: Use V1 data structure to store supported rates wcn36xx: Add wcn36xx_set_default_rates_v1 wcn36xx: Add VHT rates to wcn36xx_update_allowed_rates() wcn36xx: Add wcn36xx_smd_set_sta_default_vht_params() wcn36xx: Add wcn36xx_smd_set_sta_default_ht_ldpc_params() wcn36xx: Add wcn36xx_smd_set_sta_vht_params() wcn36xx: Add wcn36xx_smd_set_sta_ht_ldpc_params() wcn36xx: Add wcn36xx_smd_set_bss_vht_params() wcn36xx: Add wrapper function wcn36xx_smd_set_sta_params_v1() wcn36xx: Define INIT_HAL_MSG_V1() wcn36xx: Convert to VHT parameter structure on wcn3680 drivers/net/wireless/ath/wcn36xx/hal.h | 14 ++- drivers/net/wireless/ath/wcn36xx/main.c | 16 +++ drivers/net/wireless/ath/wcn36xx/smd.c | 117 +++++++++++++++++++-- drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 3 +- 4 files changed, 142 insertions(+), 8 deletions(-) -- 2.27.0 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx