Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2745291ybi; Sun, 26 May 2019 07:06:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKgJsqCIbZMxvuz2u51X0NFCkWffVN5YNZ6imiJV7nxEof5qY8eRd5sm3IMEhZJAweT30e X-Received: by 2002:a17:90a:c688:: with SMTP id n8mr24840743pjt.29.1558879569183; Sun, 26 May 2019 07:06:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558879569; cv=none; d=google.com; s=arc-20160816; b=Jlep3VgdLC+K8MJNXKAHWeoPKyeGd5VPTzxAreu+BKyn4/ep/+vzcg3OhYEv06fCIn 982LRFzFEqXbVGnD3jpdglfTTiNyYE0vOo2wt5875nz4AccXi3HdEsSRYZSjShgh+EFs fmlIAa0vKTrW17lMmS9SrCjY0W9uSmkuWDBQ+tO1J+hOahe1GkzYBxzWGWmtiSfFuKsa xGQIv/waAD5NSK9V8GXz4BjRkE0HnjpwYTTOpKPjh5nFFpTeDRb36orTuNU13dmSWmLE v3qIhbNuulwr0CTKjSMR1FtgSTrsJmcALoTiEknqagkxZBc4RE0QZO+JB6b6gX7R4VZ1 U7Xw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=W0bPTeMCp+5D1C+5RJkfUEY6XLtQnH5eEKFAwydaBgM=; b=GXHkQkWCYnTW9BuN6nsvZS66Evdb8sKX0Edsf9AgZf/NmXNIXW+LM8krCA5VZ7bggK 9aGA/0ObIz/l20qZe3TDubZrneHXy+8Qow80X3afhMcX1LIWKecmSfzOe5RS4aai33KI ltn7gRhxjf6zRqzroFaaLJCNowA5+++DzxX116tGWLMsiRAw4gzI/EEdajeJ9Oo/Hh9V gRuLccxjAqHcPNQ71JtvOHb7apAKPoBHnpWyO/euoosXsZHkT6SYyWpLbBwHAzrpmoZ+ TS9Da4DvMYLrq0O/Sbr1HoQX08IGFRQeLSUK+QOdxMxj5hkT4NU6XDlLYv0U6QnWnqA/ K4fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=affJFxd5; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p91si14993063plb.165.2019.05.26.07.05.38; Sun, 26 May 2019 07:06:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=affJFxd5; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727790AbfEZOF1 (ORCPT + 99 others); Sun, 26 May 2019 10:05:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:33896 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727767AbfEZOF0 (ORCPT ); Sun, 26 May 2019 10:05:26 -0400 Received: from lore-desk-wlan.lan (unknown [151.66.36.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1AB6E2075E; Sun, 26 May 2019 14:05:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558879526; bh=T5kggUoNO750bgAYh7Yn/hrilCmJRawByN40XKU17Yk=; h=From:To:Cc:Subject:Date:From; b=affJFxd5lC55niBHbdfoDaD7VAxUudvTpHqYjZFYemc9Y/LBWQz90Oujm6CDhane/ y3o/NQm9loimF8v78H8GEnN6yQ23H8zrEoPxzMRcAhbKkzpamwMLds6VFxJPUeWtdh SkUQp9dv2ui2OPv6pGiKML3AL2YocA6ad8MpQGFs= From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org, ryder.lee@mediatek.com, royluo@google.com Subject: [PATCH 0/4] add tx power configuration support to mt7615 driver Date: Sun, 26 May 2019 16:05:09 +0200 Message-Id: X-Mailer: git-send-email 2.21.0 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 Cap tx power according to the value configured by the user. Initialize get_txpower mac80211 callback in order to report the configured tx power to mac80211 Lorenzo Bianconi (4): mt76: generalize mt76_get_txpower for 4x4:4 devices mt76: mt7615: add the capability to configure tx power mt76: mt7615: init get_txpower mac80211 callback mt76: mt7615: rearrange locking in mt7615_config drivers/net/wireless/mediatek/mt76/mac80211.c | 15 ++++- .../wireless/mediatek/mt76/mt7615/eeprom.c | 34 ++++++++++ .../wireless/mediatek/mt76/mt7615/eeprom.h | 35 ++++++++++ .../net/wireless/mediatek/mt76/mt7615/main.c | 17 ++--- .../net/wireless/mediatek/mt76/mt7615/mcu.c | 64 +++++++++++++++++++ .../net/wireless/mediatek/mt76/mt7615/mcu.h | 1 + .../wireless/mediatek/mt76/mt7615/mt7615.h | 3 + 7 files changed, 159 insertions(+), 10 deletions(-) -- 2.21.0