Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1022706yba; Thu, 4 Apr 2019 02:38:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkgKn09s2GtBeR9B3Ly0my8JKEx7jvWGyrr208+f2gtLg2sDkcf8PFhv6RGuld2WSfLGfd X-Received: by 2002:a65:5189:: with SMTP id h9mr4780469pgq.304.1554370712170; Thu, 04 Apr 2019 02:38:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554370712; cv=none; d=google.com; s=arc-20160816; b=ernzVOZ6Z/ksMYPeWf0S0WH2BVGwwPmOw8cayHumQOGlln1expgICltdbITPAFqw/e VPmUFlkVEVqhTuuIMkHp7L5h6nWMtC4PovHFIG9alu5TPEGX6lTf86bg++Ozs5cZ96Yn WpYO2xUOTOuANt2akHDv9Sas6t1UehB+3v3LNaT6C5z9WqF4snxKNY7fWKIYkZ0PRu+3 HBHyx2JrsgB8elP34LSxYuXxD3sWiyG6ywgVUQCp2ILDElBwE0DrGmrEvStdwVAQ05cW PziVN2zCFlFH3scLX/MYTDivQrggikr4IBEiNv4sBinmhujufNGPDMeljLyzNAQV9/B5 YM9w== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+YKQzypLdk2LrU1MWwMCSEm73mhK51ImhnnNuPWFrBc=; b=PpeKmzpZwslnemY6osBm+aqVC0yP3ROeS/518yUm06SMO8CVDfFBDyWLaLsW+uPEhY a0IunEmWt/kZ9nX9dd+lJSZpENszhCzS/mpAq9vG/X/bZGWfRbUB9YsdKv56tyT9VEbX 9/dSecYkAriF/5BU5Iz6hEbOaLhKpP1SS6KTzR7zUbCs0WUMjUtXhtYPMbHKR2LqBPiP 3D8dRmkmecqUE7Xo2+ca7bhp1lYw6K08aHqB3/y8qdpHBQene1myUU8xrLZAWO7dpB64 nrgYkxBSYi65AwAx7T+hjeSrWT+KWuIFhbjcMA7TfdcRuzSS592qZouYzK20g/SOI4Mn Ohgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MCno4OZh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9si16384025plg.187.2019.04.04.02.38.16; Thu, 04 Apr 2019 02:38:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=MCno4OZh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732322AbfDDJhU (ORCPT + 99 others); Thu, 4 Apr 2019 05:37:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:43116 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732084AbfDDJFH (ORCPT ); Thu, 4 Apr 2019 05:05:07 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 E0E482183E; Thu, 4 Apr 2019 09:05:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554368706; bh=3M1ZxUBmjChO5+M9NWeyB3lIUPeaLvnu9F9QipwwDpQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MCno4OZhSj6FcBqfiqxvzWhOtOjDEHxUyaUnEHelSY+GeFccfLJ3JW3fX5BlPiE68 kmBB7XXuoikiEo/uA4/1YeNSQQap9ilE/hwzHCmskvWuUw3htlcQBcR4L33hYgAaPZ OrXPjdvQ/xSLftAEo/rsaGLnXRTvEXZCOtiz4u94= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stanislaw Gruszka , Jakub Kicinski , Kalle Valo , Sasha Levin , Michael Subject: [PATCH 4.19 139/187] mt7601u: bump supported EEPROM version Date: Thu, 4 Apr 2019 10:47:56 +0200 Message-Id: <20190404084609.738941817@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190404084603.119654039@linuxfoundation.org> References: <20190404084603.119654039@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 3bd1505fed71d834f45e87b32ff07157fdda47e0 ] As reported by Michael eeprom 0d is supported and work with the driver. Dump of /sys/kernel/debug/ieee80211/phy1/mt7601u/eeprom_param with 0d EEPORM looks like this: RSSI offset: 0 0 Reference temp: f9 LNA gain: 8 Reg channels: 1-14 Per rate power: raw:05 bw20:05 bw40:05 raw:05 bw20:05 bw40:05 raw:03 bw20:03 bw40:03 raw:03 bw20:03 bw40:03 raw:04 bw20:04 bw40:04 raw:00 bw20:00 bw40:00 raw:00 bw20:00 bw40:00 raw:00 bw20:00 bw40:00 raw:02 bw20:02 bw40:02 raw:00 bw20:00 bw40:00 Per channel power: tx_power ch1:09 ch2:09 tx_power ch3:0a ch4:0a tx_power ch5:0a ch6:0a tx_power ch7:0b ch8:0b tx_power ch9:0b ch10:0b tx_power ch11:0b ch12:0b tx_power ch13:0b ch14:0b Reported-and-tested-by: Michael Signed-off-by: Stanislaw Gruszka Acked-by: Jakub Kicinski Signed-off-by: Kalle Valo Signed-off-by: Sasha Levin --- drivers/net/wireless/mediatek/mt7601u/eeprom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt7601u/eeprom.h b/drivers/net/wireless/mediatek/mt7601u/eeprom.h index 662d12703b69..57b503ae63f1 100644 --- a/drivers/net/wireless/mediatek/mt7601u/eeprom.h +++ b/drivers/net/wireless/mediatek/mt7601u/eeprom.h @@ -17,7 +17,7 @@ struct mt7601u_dev; -#define MT7601U_EE_MAX_VER 0x0c +#define MT7601U_EE_MAX_VER 0x0d #define MT7601U_EEPROM_SIZE 256 #define MT7601U_DEFAULT_TX_POWER 6 -- 2.19.1