Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4593279ybc; Fri, 15 Nov 2019 07:07:10 -0800 (PST) X-Google-Smtp-Source: APXvYqyuy0qm6qrRN5oCoJWd1frF5h/+GlJ26TLXkBqyAYWbjKLx/Gnd1IpkIqvM6ZcNWKiFDtRk X-Received: by 2002:a17:906:938c:: with SMTP id l12mr1494738ejx.135.1573830429994; Fri, 15 Nov 2019 07:07:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573830429; cv=none; d=google.com; s=arc-20160816; b=Rz7T1yl3R+4ZiCb7dUtGQLrES7pJUibKbNwL/0gV3uyEqFn+mjmrEPlX+Ck9DO262z ogOqDIr5CxNKPvpdoJTdiN+0x3lXtpll4Bv0GtYfDntR6MobCuA82JGhWFG15ShwJl2l kEgB5XYBeSiWs6RjLn62KlPeOSwrqJsuLmhmLds7Oeh4RaB0fNmqdFtxtgybX4SWJY1A Smlvrxgbft32XAgxeOHLEHf4UXFeoE4qsELrlu5wfL/DBlxcvbaMlCNG/gFUcbeIihT+ iihkmDadqNT5qAo3TfHLWmWP2TUmUEkyMOZYiD4wQFEzh50B7gLJBoq66FkM0b1LdwrO ifMg== 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=sxXwVpcdjz0smlex/MrP2RqKQarxP/HJ4NovTb6I3OI=; b=bMfLB8nL2K8GcPvs+pcGKjJNXmjj59nBxd+jPpPzpIL9xBLztYXAMgItFiFOVs9gvF 6SmXHj6wcgFj8A8BJmn9OehVEecI9lTo9YFCtCzvL8iIJ43p8ZOyzUt14GBsz09w3sGO 2bwqL9sL0IZO/NQMzerL8CtUxYubxVOc8a5zJh1BYsaYKG1NhUflQ+jrlAvfnU36c9xX pxTtNxa5aSw2sdvIwaAN8ikwz3/af344SVJqEjxSrKheDSk7A1mYwz7aBmVMvWKHTVvI 4Qd8zXD2Dsdvay2k1A0wrPimBbRUOzlXmYXgN86G3dI2dUU7O99Us0s9Lge/0JWTzO/k 8kfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HhoDzdbT; 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 h15si5851930ejd.368.2019.11.15.07.06.18; Fri, 15 Nov 2019 07:07:09 -0800 (PST) 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=HhoDzdbT; 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 S1727528AbfKOPFy (ORCPT + 99 others); Fri, 15 Nov 2019 10:05:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:59184 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727406AbfKOPFy (ORCPT ); Fri, 15 Nov 2019 10:05:54 -0500 Received: from localhost.localdomain.com (unknown [77.139.212.74]) (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 2CBB720732; Fri, 15 Nov 2019 15:05:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573830353; bh=LE6GM9HQEzvPi89pmsNQanj6gvD+fHjj0YieVWvNZEg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HhoDzdbTz2jkol0BZS/ePqQ2AVcc6sCdU1HDFdbrDYS+OjhWPMQfJ7X6gG/+7PV12 r3/X265ffR9kg+/BDr7DYxU8UiyWSqmmGHzIcsVyJersWjJ2UIcbRRJbG+SHi/pp0/ MZJPh9Tf1e0h/xeNmAyHbZif8+jBPcMrP8n/k2EI= From: Lorenzo Bianconi To: nbd@nbd.name Cc: linux-wireless@vger.kernel.org, lorenzo.bianconi@redhat.com, ryder.lee@mediatek.com, royluo@google.com Subject: [PATCH 1/3] mt76: mt76x02: fix coverage_class type Date: Fri, 15 Nov 2019 17:05:24 +0200 Message-Id: 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 Fix coverage_class definition in mt76x02_dev data structure since coverage_class can be negative to enable dynack (just supported by ath9k) Fixes: 7bc04215a66b ("mt76: add driver code for MT76x2e") Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76x02.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02.h b/drivers/net/wireless/mediatek/mt76/mt76x02.h index 0ca0bbfe8769..cdc1cbd1d392 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02.h +++ b/drivers/net/wireless/mediatek/mt76/mt76x02.h @@ -110,7 +110,7 @@ struct mt76x02_dev { bool no_2ghz; - u8 coverage_class; + s16 coverage_class; u8 slottime; struct mt76x02_dfs_pattern_detector dfs_pd; -- 2.21.0