Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp5612840img; Wed, 27 Mar 2019 11:42:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUVkWh9C760GmTZpc2I8uwqpCn/if8XN0tkrQm3DYBhwoM273QjhSWfP0R+ib04orBZt8I X-Received: by 2002:a63:be02:: with SMTP id l2mr13551660pgf.48.1553712159313; Wed, 27 Mar 2019 11:42:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553712159; cv=none; d=google.com; s=arc-20160816; b=gdfGQbBnRMQZrH0k0dIf6ik39vJeZRpdnqeib7iK5lUFj/5+XOrfob2m/CpGhhwbTI 32NfGh7Hay5Wv4rJQ6HKrvpyhIfrlrwbSktNu+HF9Zzb41HgdFAzMgryOEjjK13+54VU AS75yDlihpoG4gxCvUtbnXVDaVvKcPggHT7lCz7Cz+bPazEywcJoBDam47jhE28kXRVB sy8USEhAxgutVEB/kzmeB3xBpklfUzj9TBQEdwg7IufSPtX5kIP+bbJLROOLYt/oNt83 QjtmIxe3UQoYMlNmIvXkVzOa9q1kcQ/zK6bBxVy7S5DVY/RABLiFulCs0fLZIle0A281 YbXA== 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=kiomsNvB3kR+j1qEpfWlLSNWkOQe0PFe38etog0Nur1ZidQHc0xgpgclLlDXhOBcpw M8ZTnD2jhQc5llQnatVqqh8PwESmxQhrHF5SNY/mHf2UKiGdeyh3O/jLzwFxPhAj1Y7c R7NlgcHd7tRurdqBFubf0F1cAdIaawbaeHm+QDABWmQFlDshHPR4L7HYbQNH3M5nwpcc sFXfJrasn/hqkwKuqmez6UOWY4bCO9fsKZSGXXsoTs0bBeJjLTv/DUITqXljp6T0DEt4 6WihCy+iNixb1/Nvp69jDuf3XJ69syj1WkSQd0u7x5wBh18kyIv5KT5Ht8eiLVDTkQcd Smkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LdMiaOv8; 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 c22si19405484pls.17.2019.03.27.11.42.23; Wed, 27 Mar 2019 11:42:39 -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=LdMiaOv8; 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 S2391519AbfC0SlD (ORCPT + 99 others); Wed, 27 Mar 2019 14:41:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:40794 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391314AbfC0SWg (ORCPT ); Wed, 27 Mar 2019 14:22:36 -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 24CF420449; Wed, 27 Mar 2019 18:22:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553710955; bh=CNyzgmQlVVZObtHTQXU+S8sVQB1oL3W9h1AuiRvSM/E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LdMiaOv82UXgiwGlt9Gq/4MH0CxLinTiEUceiF80IEcefVt0zpnW0RrCo5YzBGmme x8ox11MOaSKW9znXTfJSmTxA3IskiDeXJ3rr3kr4CJF6MUUgSuKMLxxoXPaov3Pvfh PcO5FNayRnUPLTdVfnKtID2OP2KLLBzK0FFfUhFA= 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 4.9 65/87] mt7601u: bump supported EEPROM version Date: Wed, 27 Mar 2019 14:20:18 -0400 Message-Id: <20190327182040.17444-65-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190327182040.17444-1-sashal@kernel.org> References: <20190327182040.17444-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