From nobody Sat Dec 02 20:38:38 2023 X-Original-To: wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SjMG65YpBz52W4C for ; Sat, 2 Dec 2023 20:38:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SjMG634Vzz4f09 for ; Sat, 2 Dec 2023 20:38:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701549518; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4JRlmv86eMkt71Ix4DDcJFIAC/xs24dvGqU57LHAo8c=; b=W3qngtGUYfEdHSYI7+lUTjI/v5hEh0PuM5RlHfhMVCFnfsx8y+qPQt0LX70Dk7QqRdmgBs P54xnSkBOqPrUFT5RbTR5C2gegnVrWPPr9gtxzC5TzUngWVmB0NrbwJzRPVqgdA5Mx8YoB Bl1Gaj3MrNlKpDOS+/RUwNZdjfdLNTHimk9YWWWWcGkttrpgYKTVHS5r3TWo+m/28cjOYF /WPrfp/KuKeuGjFkYRAhmt4KcJktPmVypEzPgfG+KEbvDxGGlDwH0s7BIxl4gupqF3eBwt 6GEAG9veBclxA0i7XNwSUhb3XB8QHGT1iJkzAyUv7niz+Jsc7oh0CUWSEBn8UA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701549518; a=rsa-sha256; cv=none; b=kcGIskPzveALY6wMjzdzzo7rTajeHb1PFHaogPrnz8BpYebmE+CURsHnCKeh81qQsQMp1B DcBdKh1u+7sncm9jCpdHbG0J4gb4QQfkKGjgyLZOX5+CVh9ihBY4m4Dmq1Zce4ttiIQq6q HMYO0NI5ess7FPghYv9e7CUB/rk8QwijZ1fGFJqnM8PMBT2O7wTSgu3LX6TEpFbTzUfjvo +whnXF+Ih/bvlFjoYhou7rsDimSyqWN5LuOZE803sxKIAzjVUJi3iaeeXRu06FjkxSbk1E 6YoTnjHu+YXGwhF2USQy1R8rl5Y3gBGkXKtyBx3Yl0FZtCGfEo4vtE/QW/1X4Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SjMG61XJLzX7y for ; Sat, 2 Dec 2023 20:38:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3B2KccLW065835 for ; Sat, 2 Dec 2023 20:38:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B2KccaZ065834 for wireless@FreeBSD.org; Sat, 2 Dec 2023 20:38:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 274990] [wpa] wpa_cli scan_results times out after 10s with no output, making installer wifi unusable Date: Sat, 02 Dec 2023 20:38:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274990 --- Comment #17 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D1edc20b76953d9ef571b0bcf89b206b98= ed13d9b commit 1edc20b76953d9ef571b0bcf89b206b98ed13d9b Author: Bjoern A. Zeeb AuthorDate: 2023-11-12 20:33:41 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-12-02 20:37:36 +0000 wpa: ctrl_iface set sendbuf size In order to avoid running into the default net.local.dgram.maxdgram of 2K currently when calling sendto(2) try to set the sndbuf size to the maximum ctrl message size. While on 14 and 15 this does not actually raise the limit anymore (and be7c095ac99ad29fd72b780c7d58949a38656c66 raised it for syslogd and this= ), FreeBSD 13 still requires this change and it will work as expected ther= e. In addition we always ensure a large enough send buffer this way independent of kernel defaults. The problem occured, e.g., when the scan_list result had enough BSSIDs so the text output would exceed 2048 bytes. Sponsored by: The FreeBSD Foundation MFC after: 3 days PR: 274990 Reviewed by: cy, adrian (with previous comment) Differential Revision: https://reviews.freebsd.org/D42558 contrib/wpa/wpa_supplicant/ctrl_iface_unix.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=