From patchwork Wed Jul 18 12:13:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luciano Coelho X-Patchwork-Id: 1210781 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id A3576DFFFD for ; Wed, 18 Jul 2012 12:14:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753656Ab2GRMOP (ORCPT ); Wed, 18 Jul 2012 08:14:15 -0400 Received: from na3sys009aog134.obsmtp.com ([74.125.149.83]:51475 "EHLO na3sys009aog134.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754063Ab2GRMOE (ORCPT ); Wed, 18 Jul 2012 08:14:04 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]) (using TLSv1) by na3sys009aob134.postini.com ([74.125.148.12]) with SMTP ID DSNKUAaoi13dvWA82OYJJrr7e7Dtsomkg8W6@postini.com; Wed, 18 Jul 2012 05:14:04 PDT Received: by lbbgk8 with SMTP id gk8so2245815lbb.12 for ; Wed, 18 Jul 2012 05:14:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=JeTYnft5pvldni+4xFX7vHblR89C9EP6c+24z26YCEQ=; b=jBT4pGcFSYMu4O+P0flob3wtsobbz6xqMoXUi63P91MJM/p/W8182qvJtTKEQGKOm1 YTffIPk6oIjTXzI4V3JqF4+2T3KwAJISw54knRFoc7v/C43TgHWI1X76/+YOzVCLbkth r1gtAQfRSm+f3iPpHY0SzYTw1CWd88I8VY2YeltEMTFn3rwhumcWgAeE2MSRVZp51wnl ga+/dxlR3VOfrJBYMLeARrldI7jVUiVodcifZ1yMMuuLLgVpCha3HoteOA0d36EDa8yg g1Y/Ag6yo0uoyEn9bpP2MAA3xfKlesnZ6zDG0hw94LoC4DgDYvhyb0AsWRHE8QQrHQuG uPaQ== Received: by 10.112.85.42 with SMTP id e10mr1658580lbz.17.1342613640588; Wed, 18 Jul 2012 05:14:00 -0700 (PDT) Received: from cumari.Elisa (a88-113-65-16.elisa-laajakaista.fi. [88.113.65.16]) by mx.google.com with ESMTPS id gv8sm21679270lab.14.2012.07.18.05.13.59 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Jul 2012 05:14:00 -0700 (PDT) From: Luciano Coelho To: linux-wireless@vger.kernel.org Cc: coelho@ti.com, arik@wizery.com Subject: [PATCH 14/14] wlcore: increase command completion timeout Date: Wed, 18 Jul 2012 15:13:33 +0300 Message-Id: <1342613613-917-15-git-send-email-coelho@ti.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1342613613-917-1-git-send-email-coelho@ti.com> References: <1342613613-917-1-git-send-email-coelho@ti.com> X-Gm-Message-State: ALoCoQmJGrs9eN2j8TKG0Ku0c/YSMf4Y/7ZFAKt4UbhQSh6MITLVfCSyvqdiVAIL8IChQqXvKlDO Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org In some rare cases, the CMD_ROC completion may take over 1 second. The timeout had earlier been increased to 1000ms (from 750ms), but it is still not enoug. Increase it to 1500ms. Signed-off-by: Luciano Coelho --- drivers/net/wireless/ti/wlcore/cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ti/wlcore/cmd.h b/drivers/net/wireless/ti/wlcore/cmd.h index d7d9f80..4ef0b09 100644 --- a/drivers/net/wireless/ti/wlcore/cmd.h +++ b/drivers/net/wireless/ti/wlcore/cmd.h @@ -192,7 +192,7 @@ enum cmd_templ { #define WL1271_COMMAND_TIMEOUT 2000 #define WL1271_CMD_TEMPL_DFLT_SIZE 252 #define WL1271_CMD_TEMPL_MAX_SIZE 512 -#define WL1271_EVENT_TIMEOUT 1000 +#define WL1271_EVENT_TIMEOUT 1500 struct wl1271_cmd_header { __le16 id;