Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2745765ybi; Sun, 26 May 2019 07:06:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzK+cCQgstDjA41ZmZAqGlJ7+4UgIhcR+K7UpCYuWFNU8/FLtSVerBbIW1GdINcwPOLhQ9o X-Received: by 2002:a65:56cc:: with SMTP id w12mr19766162pgs.415.1558879596874; Sun, 26 May 2019 07:06:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558879596; cv=none; d=google.com; s=arc-20160816; b=fycch7FAyRQI7fdU/2I5Z2ejOYOLZiyyW+W6iEh74PfSK3slEsqD8Gfd/WTZ//W+Kk tblJMJgmz75fHeFuFXg+eb+wjPRPZSBTD2q7lw5T5BJfRYaJq9ca3vpdYahaV7snUjqS t4n49CVhwaBTGdfcGlH/sLjqsD07+HOI572IpE6nXvLAdyZYHWHlu5+tnmCCwY+x1gfI tg8jFIJG0b731CPTvIy0/7C6TxKmP/+x9cDhAIqlTOyN2V7hP6HpOVTxNaZdOJFrjUqv pPgPli87khM5sPBnKUEIUd9tfiGmlnC9ymAwbPUY4wx3ruaUWsby1+KcrzpqAvB2VYuP e5kw== 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=nZR0a2DeemMBPNJQPNZl6gbVEBgoJfWc+8wmSdzhM8o=; b=cyWjr/yLn0wf25bmNUnzkBjwYQBZbNvokMNH7V9p03S4ed/IiD8Bv4dvv6rqGNmtbi HG1MIZ54xNHKM9obRiUTYceudjK5HX5HlQeRXkRvZPeTh40HlSOQ4Ol0rjdXpxpWsYVw 46aDC71mm550sHPVsokyH5eXPkFQNUbn26RVJjnbKiwoYGVHIYC60CgLfjp8OZ1TykkA 3QzhSvgLubzid1Q1gFi/pQCUopEYMNgvHOet3lJ3xdVE3aik2s0Pzx5A7ZAnXQZqokHA D1knPfECeDFrhI9pMgWT3IEC/oSuSBxj8aH6Jq2J9nqVbNuqscUFe+VrN7Frw0EOt7mT 4XAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fcCo7vnh; 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 o61si15149179pld.82.2019.05.26.07.06.21; Sun, 26 May 2019 07:06:36 -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=fcCo7vnh; 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 S1727861AbfEZOFh (ORCPT + 99 others); Sun, 26 May 2019 10:05:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:33982 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727767AbfEZOFh (ORCPT ); Sun, 26 May 2019 10:05:37 -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 DD59A2085A; Sun, 26 May 2019 14:05:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558879537; bh=rz76KKxqQT2p3zqTZ4tjyGXqWBPjq2gmKwsFje72sFA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fcCo7vnhJn/7co9xzOnAxT5GFAa21OalF9q8PV8Gt3jwqB6ViZKOn9Fxa2odJrmT+ 3finIk0Bzu/jBvzsFFoXFyu3yvc/Yl/q9vnpnOtGUDIswciUdyCMIGNDy04R6Cu22C p1qX6g1Hg37BslKr9aY/JrmCI8YbbeHplQYgI1x0= 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 3/4] mt76: mt7615: init get_txpower mac80211 callback Date: Sun, 26 May 2019 16:05:12 +0200 Message-Id: <7d8dd9ac5fbcce5dfbfa663e4b67f47443ecec56.1558879234.git.lorenzo@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: 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 Initialize get_txpower mac80211 callback to mt76_get_txpower in order to report the configured tx power to mac80211 Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt7615/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/main.c b/drivers/net/wireless/mediatek/mt76/mt7615/main.c index 72bdb871ca13..cedc4c25f34d 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/main.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/main.c @@ -493,4 +493,5 @@ const struct ieee80211_ops mt7615_ops = { .sw_scan_start = mt7615_sw_scan, .sw_scan_complete = mt7615_sw_scan_complete, .release_buffered_frames = mt76_release_buffered_frames, + .get_txpower = mt76_get_txpower, }; -- 2.21.0