Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp5644046img; Wed, 27 Mar 2019 12:19:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxZIh1uVd9VXgPIliVMYEBP0Ytt/BI/i7Fy8LlBQBhuimSxK0EfHYOyREH0kTt1VmVaNEB X-Received: by 2002:a63:1247:: with SMTP id 7mr31620677pgs.352.1553714343798; Wed, 27 Mar 2019 12:19:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553714343; cv=none; d=google.com; s=arc-20160816; b=Xpkz1M6mbu9eKYDe8vUiZP6R6eAPYr4ibPpIDy93q+ZOk2rkkp48bWw6K9w4fLYxj3 IYjbuw0MGALcVQcSc99oWsitc4SwLDui2pojLmB554LOls1MvAG69rdupbMo1RMokKqY 0rueyuIe6ghBgI4HBbuaJTDi16wmN0PmG1sqEIVeY7bNcAbAOYjg6YnoSbZlDLzdl+kH aiEtTrgvjQ6ZAGCmh6hWGeo4fQldI66QDKNKIx6/yYnZj3xqciSPlJRgHInVBlJ2G2xV tr7Zy6ZPP64f9Dt7v70ckQsX7HsEC3vq/V8V2+3GCN/1skkZaj/HNyf1cGM5dyTVfvAN LtSg== 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=EsL20r+Mn/aQVGosHBOtdte/SWBXwP10JZjpOAKxlec=; b=l2er4jz9lnKtIWgYKqCHe12GKcxyHDRvbxf0pHVcV8LYJ+VZnb2hU45u3niwgi0e8a 1n/D1OrNH+9Q6+afa2efoSvlWzw1WLF0epw0uvPJTbwGC/PCtqU+JHTwYRBerbJRIT9a 6zw2MteTzff/H3qyeO13DXjvKWxdvyQBBuMQdu30HGeSpUO9YjEzm0S0VMtocv49aAfq cvF9leXdozlfnyi8zWNMIh7DR40WXpM0I7x1c2IBITFcTLqrNoPVr3yiHTbDk/98Wu5n AgrpRujc/D8uyfyMcqQfyGpSwHcqAFNbq+yCWapH/BGcB8DYbwmY/6ta57B7N1JLX8j5 fK4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dc8+P7UG; 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; 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 i18si18361708pfa.205.2019.03.27.12.18.48; Wed, 27 Mar 2019 12:19:03 -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=dc8+P7UG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388534AbfC0TSO (ORCPT + 99 others); Wed, 27 Mar 2019 15:18:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:50158 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387844AbfC0SIR (ORCPT ); Wed, 27 Mar 2019 14:08:17 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A81CA217F5; Wed, 27 Mar 2019 18:08:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553710096; bh=CNyzgmQlVVZObtHTQXU+S8sVQB1oL3W9h1AuiRvSM/E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dc8+P7UGxTM3fDHbq1cdiW73kKSU/vPz6iqW9lm5Athy31LsvyfmTmnSxfGo/MsCY LbHe2i53F+wBK0wk56pHHZfUr4e+vtbo0D7NaEhTDYAMm5KmUWC2mjvm8iACn0b2oq ek3ylJV2/nPDLY8hzUzBSES+ngWJBQ0SgDNCnvA8= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Stanislaw Gruszka , Kalle Valo , Sasha Levin , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH AUTOSEL 5.0 195/262] mt7601u: bump supported EEPROM version Date: Wed, 27 Mar 2019 14:00:50 -0400 Message-Id: <20190327180158.10245-195-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190327180158.10245-1-sashal@kernel.org> References: <20190327180158.10245-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stanislaw Gruszka [ 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