From patchwork Wed Sep 14 21:28:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 606414 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7AD5ECAAD3 for ; Wed, 14 Sep 2022 21:28:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229697AbiINV2s (ORCPT ); Wed, 14 Sep 2022 17:28:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiINV2r (ORCPT ); Wed, 14 Sep 2022 17:28:47 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5065E861FF for ; Wed, 14 Sep 2022 14:28:46 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id n40-20020a05600c3ba800b003b49aefc35fso3186759wms.5 for ; Wed, 14 Sep 2022 14:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=Ub1TTjXUCJ5m4+dji3W1emSVf99Yb1sR6GG/zzLYCRM=; b=r/KPiJ7DWf6ixBfxxsTWaT6+j/ZrcHorLTniplrtQNcstxmg8MvzmReWIGJyrunJo0 W5oMl7z3Enm87k++NoDgQScdmA2da1vFPnP4ja0nHxjmahuXZR5cKZwn9J0MTkCB/lQS BIB+9DkOWBLgMpRIcYpPfagqs7yKmgld/sgl2YQHagZ2JdUgz63XrVf/3hpQcusKo6Kt QK13+298zxGikcm8zfCXj6QYaBdoKipjuaZhh0Nxn+ayVlLgpygsXT9loxgRv4AKmOfS smqCsR4pC1mNqoE83TUX4UNXiSkvA14Fj4BX8zuRrMahCjw/93RTK1hlkKWzf+eOVL8a kgcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=Ub1TTjXUCJ5m4+dji3W1emSVf99Yb1sR6GG/zzLYCRM=; b=ti7sS5ENWbUXqN3uDsaZf2jwMeqYDKd6+9fhjV4SRY3/0gqs4cE6tvzOgtStWs7mNy VNdP3CRPvsebzOzoA2dV9VbVSqO1zwTrvbE+Q+8bQlLuaRyMYJMswPkof286ejysFChX HIIPSdJQps3ECbl24hrBm6+mFur6gxx3paK438xZ7SNQ72EqESONY62lrgRxEMRzsBkv N0MOlXvOTxmB4uEYBEgl7BESdzPzMSuJhV0fDEDYDgUjLc0rbQnyLa/5/pU0vZrk2/Jl gmK46NukiLA0ijuIfHHNEDjXM8VkcUxl3W5hXUssdcA57dw/hcebuF3wiLH1VpE4PYnM 2tTQ== X-Gm-Message-State: ACgBeo3kISHi07bCklSjpOuAx0UqjXKFhrtaQ4dc89w5q8BUlIXyCuB2 8sYYoWI5rm5oiw+OJImYy9DrlA== X-Google-Smtp-Source: AA6agR5huPrPzpRpghYvUOAd3IDv141FmRUaDaRfIyNRZzgYOmaJngJHJ5xsqF50Dxqp/yZ2BPArmQ== X-Received: by 2002:a7b:c016:0:b0:3a5:fff2:62f4 with SMTP id c22-20020a7bc016000000b003a5fff262f4mr4690909wmb.104.1663190924904; Wed, 14 Sep 2022 14:28:44 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id e28-20020adf9bdc000000b00228c375d81bsm350898wrc.2.2022.09.14.14.28.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 14:28:44 -0700 (PDT) From: Bryan O'Donoghue To: loic.poulain@linaro.org, kvalo@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH v2 0/1] wcn36xx: Use SNR as a source of system entropy Date: Wed, 14 Sep 2022 22:28:40 +0100 Message-Id: <20220914212841.1407497-1-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org v2: - Pass sizeof(s8) not sizeof(int) as Loic pointed out only eight bits of data are relevant in the SNR. - Reword the commit log. I didn't really like it on a second reading. It describes the theory a little better now I think. Bryan O'Donoghue (1): wcn36xx: Add RX frame SNR as a source of system entropy drivers/net/wireless/ath/wcn36xx/txrx.c | 3 +++ 1 file changed, 3 insertions(+)