From patchwork Wed Apr 10 21:01:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Greear X-Patchwork-Id: 1083640 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) 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=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=candelatech.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SmFJI/97"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=candelatech.com header.i=@candelatech.com header.b="TVn2SD7h"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44fc6H6Cvcz9s00 for ; Thu, 11 Apr 2019 07:01:59 +1000 (AEST) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=lGUbV+CJe0UZYoQg5wApFsHoy3UE2NvAV2maELbmaqI=; b=SmF JI/97wdi5gjotOttWPixRM714LZ5sZKBBw5l+Y7YjZ9wDo7QdN6u3NBu7UiI+Owrq54oZJJCXgKdi JlkzQc6Xt5rELFporD24aCTvKjExNnmC0HKvjOhZtKEBCWbyFGS5pnOfhEF2Ytz/vTh+BdBmMKN8s SevQ70hOjSt+Z6bDubVX9CeyWAfco1Uaom6ObuZtJeK4e5kHa/SnavcOdSv5LGWXra7I7PXbcrYMb GhwIEXXTS9tRlRIIsOspp7FaJ6nn5LmOmGBxVjdfjwY9Dhru1l34FfjS7ihBy6Jn5iTLomveJinSX M3iIfbg/KRCmIJNYGlEBPdOvj7Afh+A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEKLZ-0002pn-BG; Wed, 10 Apr 2019 21:01:29 +0000 Received: from [208.74.158.174] (helo=mail3.candelatech.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEKLV-0002pQ-Bs for hostap@lists.infradead.org; Wed, 10 Apr 2019 21:01:26 +0000 Received: from v-f24-64.candelatech.com (50-251-239-81-static.hfc.comcastbusiness.net [50.251.239.81]) by mail3.candelatech.com (Postfix) with ESMTP id 7408713C2B8; Wed, 10 Apr 2019 14:01:23 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 7408713C2B8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1554930083; bh=bHyCA1xzCckmkBN7rtwRHxL1SAfVAifDVu6YJPuV6UA=; h=From:To:Cc:Subject:Date:From; b=TVn2SD7h0u0Hhz6DLybLAFEyVlwUI378DlPNQtAQdtkRjM4Qq/aI18X7zWx3UDPKD BW5PpOpj3q58xE0eOsoL6JJUw5gd46O9kSvF0Htm+uBpZ75oqqkWZq53K631fsCaDF xANKoYObTUNHu08jjBobeTUkgwTr5ryBbcfme3zQ= From: greearb@candelatech.com To: hostap@lists.infradead.org Subject: [PATCH] supplicant: Document bss expiration configurables. Date: Wed, 10 Apr 2019 14:01:17 -0700 Message-Id: <1554930077-26863-1-git-send-email-greearb@candelatech.com> X-Mailer: git-send-email 2.7.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190410_140125_469518_2FC03E3F X-CRM114-Status: UNSURE ( 6.40 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.1 (+) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (1.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -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 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ben Greear MIME-Version: 1.0 Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Ben Greear Help the user be aware of the options to configure when supplicant will remove bss due to expiration. Signed-off-by: Ben Greear --- wpa_supplicant/wpa_supplicant.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_supplicant.conf index 837eea8..b19f086 100644 --- a/wpa_supplicant/wpa_supplicant.conf +++ b/wpa_supplicant/wpa_supplicant.conf @@ -323,6 +323,15 @@ fast_reauth=1 # of APs when using ap_scan=1 mode. #bss_max_count=200 +# BSS expiration age in seconds. BSS will be removed from kernel +# if they are not detected within this time. Default is 180 +#bss_expiration_age=180 + +# BSS expiration after number of scans. BSS will be removed from +# kernel if they are not detected within this number of scans. +# Default is 2. +#bss_expiration_scan_count=2 + # Automatic scan # This is an optional set of parameters for automatic scanning # within an interface in following format: