Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5485101ybl; Sun, 22 Dec 2019 07:07:37 -0800 (PST) X-Google-Smtp-Source: APXvYqyHqcId562KL2gqTlPrrOq84zi/FZ2kKVUv2JWBsJCVN0J+gUadNgfwzTsEFnZnzBBFw15X X-Received: by 2002:a05:6830:1e21:: with SMTP id t1mr7219037otr.194.1577027257335; Sun, 22 Dec 2019 07:07:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577027257; cv=none; d=google.com; s=arc-20160816; b=qlASlIRxZpV1lWwXy7RyYSL6/0a8635aA01qGmIYoDPFJzGKv3Tk1AFv14RHZ8Tato h9xI33WbWlPf1Kb62mb19g90YrbYL68pT5xXcuE9cA0WRhL4cIj/hdvK6P8y38WrlvG2 PnEdJXPwycbxm6se+XGGS6IyByLuqjHX8AqzYT3QUMfrop/WH2zJHEAX9jBPWNTrVJrB +nVClf6k2nMyxqkz0/Vt9SEgZJHrsJj75VrNoEDky23bBP6zlSxLmZmkjtmg5BpA4ljR AvtB4z6UZxwzdrklt4Z0dulkmvNUy6e/1dXe+LFfM2BpODkrhAeoi6MzzZ5WnzsPUbps ik9A== 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:to:from :dkim-signature; bh=34+jQmBp3qWB+Ko19pPS7R8vjnqoBe4sv+ZRxixsQ+k=; b=Rk3iWZAh9ITwSjntvJXW/QEHYHA8vEyU+HBV5aF3SU44tq28xQr8ulohCWDz5t/gsy heOMNC+YMLQCzeV59oWA5aQWBVtgrkoWgM5qbknHiVdEWY3rZ+yZaN3v4RY9yy+HkMp8 6/ot9nAvphG6sRrTfrGCQxxINkIaq+lIZt4YWNPXRCt9eOreuW9tJwa9GCbHxd9fQfW6 1Q8RECudVRvobs9+l98bvS4PjM2WrQx1KBj0IYXycKk24o1ViH3cOLsNnh2d6Szx5y/o ApjH9+Wil4vFToAdOyK/249cp6CFtSCLZFiQNvvCgG9vfVbBveLJUlNwjKh/WIOPfgkP jIrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=YN9QUqLs; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 25si8204170oiz.230.2019.12.22.07.07.20; Sun, 22 Dec 2019 07:07:37 -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=fail header.i=@nbd.name header.s=20160729 header.b=YN9QUqLs; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725951AbfLVPHT (ORCPT + 99 others); Sun, 22 Dec 2019 10:07:19 -0500 Received: from nbd.name ([46.4.11.11]:47414 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725919AbfLVPHT (ORCPT ); Sun, 22 Dec 2019 10:07:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=34+jQmBp3qWB+Ko19pPS7R8vjnqoBe4sv+ZRxixsQ+k=; b=YN9QUqLsDjXEKns+Y/urMsSafQ z1sCNXttmD/XgKGmjd9865uq9PUMRoi+dOUex8ZiLRlJPKqFaKmFrbDkxlvqAmliy6pshFEz2NsYl ki4N048BrF+LmbcZFkQ87UeVrsi7Lzrm3SqrzyURoenRN702ikeZgIcF3QwN46plgVY4=; Received: from [81.95.5.44] (helo=maeck.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ij2pB-00030U-WB for linux-wireless@vger.kernel.org; Sun, 22 Dec 2019 16:07:18 +0100 Received: by maeck.local (Postfix, from userid 501) id 5008E742EAFA; Sun, 22 Dec 2019 16:07:17 +0100 (CET) From: Felix Fietkau To: linux-wireless@vger.kernel.org Subject: [PATCH 2/4] mt76: mt7615: increase MCU command timeout Date: Sun, 22 Dec 2019 16:07:15 +0100 Message-Id: <20191222150717.51379-2-nbd@nbd.name> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191222150717.51379-1-nbd@nbd.name> References: <20191222150717.51379-1-nbd@nbd.name> 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 MCU_EXT_CMD_EFUSE_BUFFER_MODE needs more time on initialization, and with only 10 seconds it sometimes runs into timeouts. Signed-off-by: Felix Fietkau --- drivers/net/wireless/mediatek/mt76/mt7615/mcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c index fc091278d9e5..c8d6a36f5d0a 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c @@ -144,7 +144,7 @@ mt7615_mcu_msg_send(struct mt76_dev *mdev, int cmd, const void *data, int len, bool wait_resp) { struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); - unsigned long expires = jiffies + 10 * HZ; + unsigned long expires = jiffies + 20 * HZ; struct sk_buff *skb; int ret, seq; -- 2.24.0