From patchwork Mon Jan 28 09:31:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 10783457 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2AE7C13B5 for ; Mon, 28 Jan 2019 09:31:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A0202A58B for ; Mon, 28 Jan 2019 09:31:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1692C2A58D; Mon, 28 Jan 2019 09:31: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=-7.9 required=2.0 tests=BAYES_00,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 963C12A4F5 for ; Mon, 28 Jan 2019 09:31:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726749AbfA1Jbe (ORCPT ); Mon, 28 Jan 2019 04:31:34 -0500 Received: from mail-wm1-f50.google.com ([209.85.128.50]:50293 "EHLO mail-wm1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726369AbfA1Jbe (ORCPT ); Mon, 28 Jan 2019 04:31:34 -0500 Received: by mail-wm1-f50.google.com with SMTP id n190so13179000wmd.0 for ; Mon, 28 Jan 2019 01:31:33 -0800 (PST) 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=gctGQ7+IKBi+CGTpqPE0kcUEFaZP/sVvwXy6rOg0Qyc=; b=eq7EK0Ltom2ehc4JlQRMhepqp1NtImxO5gC9JZosED45iJPAV9j0ewv2bfwmdi+u1b e4ttp8tPi0WiaAfVxoOv3sNbGChDqSotXypJv5U1UEaLcWHQfCcUA6ss94J8wzh8cEDj ommFBlSmW3XpVXuVS/BfqIx+y7qVPbTayMk0HCnEhMXRAHyCfc6DOq01jANi9UBzPr8d a/n40whPmtPtr/kVRnu5Nf0hOwKqs+w86kfYsZgR1BrJCWglPItIQNd6aA8a/uBeCF0O mHp18dmlOi3KqmGFfw/RZbmKkELL4OrWonfv9QohuBhJJTFiBl6yYPHtuACulk9COvi8 Cauw== X-Gm-Message-State: AJcUukck8cw/2UtWwp++LxiGZB32zC+cW+evCjpLZPByACTVrwJGITsJ GPPCx4rLhsWspP03MYjeEfvN9BcdX0giGA== X-Google-Smtp-Source: ALg8bN76eD8A6UEGaL3JKqPNLbjcrgAlEA2KftTmQvhuTnqcxpPoPhN5l4nXvXBFBJiSQTuZbJzlcw== X-Received: by 2002:a1c:e3d7:: with SMTP id a206mr15306051wmh.12.1548667892843; Mon, 28 Jan 2019 01:31:32 -0800 (PST) Received: from localhost.localdomain.com (nat-pool-mxp-t.redhat.com. [149.6.153.186]) by smtp.gmail.com with ESMTPSA id h16sm231765642wrb.62.2019.01.28.01.31.31 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 28 Jan 2019 01:31:32 -0800 (PST) From: Lorenzo Bianconi To: nbd@nbd.name Cc: linux-wireless@vger.kernel.org, sgruszka@redhat.com Subject: [PATCH 0/2] mt76x0: initialize per-channel max_power Date: Mon, 28 Jan 2019 10:31:11 +0100 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 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 Compute maximum per channel tx power at device probe. Report eeprom target power in debugfs This patchset is based on 'mt76x0: eeprom: fix chan_vs_power map in mt76x0_get_power_info' https://patchwork.kernel.org/patch/10782801/ Lorenzo Bianconi (2): mt76x0: phy: report target_power in debugfs mt76x0: init: introduce mt76x0_init_txpower routine .../wireless/mediatek/mt76/mt76x0/eeprom.c | 10 +++---- .../wireless/mediatek/mt76/mt76x0/eeprom.h | 7 +++-- .../net/wireless/mediatek/mt76/mt76x0/init.c | 29 +++++++++++++++++-- .../net/wireless/mediatek/mt76/mt76x0/phy.c | 5 ++-- 4 files changed, 40 insertions(+), 11 deletions(-)