Message ID | 20191206222748.153534-3-matthewmwang@chromium.org |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uLJKvJ9a"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="U5CI67Ed"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47bpjB1vdTz9sPK for <incoming@patchwork.ozlabs.org>; Mon, 16 Dec 2019 15:49:50 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Y7ZID3VVrBYyQiH5nwmgddEqE6uqERpwxoG6qgo/5uk=; b=uLJKvJ9aWfOb+q E5EDHMCyo46bVsomF7j3q6f7luy/kA4msq115o4T+DftkVt92emINtiKal+OvHLOw61pp0bN5npzU ZTLtMFogsJkFXP0Ur9M8dDpU3dBa6evDDj59gl1vb6qLt0gse9fnqoBTgrq8IvIDWT1RvnEPEsFal rt0afHqnU9urV6jR4tdB/MCfAFSLIJ8tslZgcOoBDpSzfipPorfxTi+xfkY5aNQXysnJbhqWJD79M 4D+7Rw3IKHTLF2iRQV9h3G6uwZMmmlg/z+RFFrKFg73wtcjKxUIOpxiwSnlTcZzQhmrNukKnjFo5+ umKT+exuPqWDYLE9WmzQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1igiKG-000185-8Q; Mon, 16 Dec 2019 04:49:44 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1idM52-00073c-6g for hostap@lists.infradead.org; Fri, 06 Dec 2019 22:28:09 +0000 Received: by mail-pl1-x642.google.com with SMTP id w7so3297366plz.12 for <hostap@lists.infradead.org>; Fri, 06 Dec 2019 14:28:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gfD1+T1MnzK1D/hAI5/Jo0k7XMn69cElm0lkXTCiPEw=; b=U5CI67EdluuWIMOX5fqbZhyKJwQ5BFrqGFtzUqgzUmcXOIZLcWJAWzn9pPj7WqzJ+N +XWZXceZ8cLqm9WBW91yJzcEEaNy+49YX0b+CCoRFyapvt+SwsGZ56DWmzeHtQK3TMU/ QmBo55KqB9B9TaIs662kTEdK2M1GQtemF5W0g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gfD1+T1MnzK1D/hAI5/Jo0k7XMn69cElm0lkXTCiPEw=; b=rIBQckNAJbqY5RJpbR5OeMFpuCiSK06DpVdksLuMNxOz8aLYjXroTjhGjP7xzbFs9B /NJzG+A8wbw0RfEnG1axjl6TG6vbj0qdPSKucvvmx9dg5GCkPPgAhCuf51M2/XSKv5G/ OvC1VwvYxSAwhRuIgj0rVJrYJ7Wq+jH8iSDpQrfFIoCXTe9kOLzArEtwlaF5ZOsmg0cp A1d2S2XrB0Cf7cALjdHSA8p7Gh4BL3PAdn0g9pCAJSGD+XoKAn5O8RiU+ySvmLRpqr6R gceV2iMIn9xOrfQi/y5wN/dW0hVa25brnAC/l3fA4prlGi+tPo/8sgaoDwjwOa35/n9N 2Otg== X-Gm-Message-State: APjAAAVgkP97xxYwkq9xexUvp7uHs6zWnVTMPYADpoeTFfHRxSOuAwbC YjDDYmjpqEGyuZLDprcn1VaCNg== X-Google-Smtp-Source: APXvYqwVBg+WYjj9LTffvR1xcYTFTQTz2mh328vV24Syf/qbId9sK33d82Xkylxca3dS3kIrkc718A== X-Received: by 2002:a17:90a:77c5:: with SMTP id e5mr747184pjs.83.1575671287442; Fri, 06 Dec 2019 14:28:07 -0800 (PST) Received: from localhost ([2620:15c:202:201:2b10:8627:31e7:c5ec]) by smtp.gmail.com with ESMTPSA id 128sm351520pgi.87.2019.12.06.14.28.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Dec 2019 14:28:06 -0800 (PST) From: Matthew Wang <matthewmwang@chromium.org> To: j@w1.fi Subject: [PATCH 3/5] wpa_supplicant: Bump logging level in need_to_roam() Date: Fri, 6 Dec 2019 14:27:46 -0800 Message-Id: <20191206222748.153534-3-matthewmwang@chromium.org> X-Mailer: git-send-email 2.24.0.393.g34dc348eaf-goog In-Reply-To: <20191206222748.153534-1-matthewmwang@chromium.org> References: <20191206222748.153534-1-matthewmwang@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191206_142808_240371_8219D13D X-CRM114-Status: GOOD ( 10.46 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:642 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-Mailman-Approved-At: Sun, 15 Dec 2019 20:49:41 -0800 X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Cc: briannorris@chromium.org, hostap@lists.infradead.org, matthewmwang@chromium.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
[1/5] wpa_supplicant: Bump up logging level for roaming decisions
|
expand
|
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index 46c8b9bae..32e62c5d1 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -1742,7 +1742,7 @@ static int wpa_supplicant_need_to_roam(struct wpa_supplicant *wpa_s, } if (current_bss->est_throughput > selected->est_throughput + 5000) { - wpa_dbg(wpa_s, MSG_DEBUG, + wpa_dbg(wpa_s, MSG_INFO, "Skip roam - Current BSS has better estimated throughput"); return 0; } @@ -1794,7 +1794,7 @@ static int wpa_supplicant_need_to_roam(struct wpa_supplicant *wpa_s, return 0; } - wpa_dbg(wpa_s, MSG_DEBUG, + wpa_dbg(wpa_s, MSG_INFO, "Allow reassociation due to difference in signal level (%d >= %d)", diff, min_diff); return 1;
Bump up logging level from MSG_DEBUG to MSG_INFO in need_to_roam() function for more visibility. Signed-off-by: Matthew Wang <matthewmwang@chromium.org> --- wpa_supplicant/events.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)