From nobody Sat Jan 15 22:32:36 2022 X-Original-To: dev-commits-src-main@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 EFCB719658A1; Sat, 15 Jan 2022 22:32:37 +0000 (UTC) (envelope-from git@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 4JbtGF5jq6z4pf2; Sat, 15 Jan 2022 22:32:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642285957; 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; bh=xCEqCJE23qvxkQSdrdNnqUPw06thbyS6jptKFEhWh9c=; b=mIXOgrTZx5qDBM1A6w1r5syVS89AE6OQD45K68y/m+XpDgSAk7d8TUcPWd1sbLW9ejzz9H D2evlZ5Wcnu25B3ZYcXBDf+w64SZyioGRzo+vK9XdGMpym5w1sOhAiW9xFRdvzbyS5jivM IWqvwC7P/UNI44KsODae9Uh9OJbkWT5QUAXfwh+NeFVnNuzqVVDirFYzhQ2OGdi8EaQQFA UD2sMAzBxQvnfaJ/TdDBelPdbTJaaTajR3l/wlcUOD9pWFK5kFBaGTR6n/2Xez22193+Mp WgUSN4nywUHmocWDr3LEO/3NiXorSrKE5tXj+Keqt8z3S+cOHyfroEzJb78toA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 129096FEB; Sat, 15 Jan 2022 22:32:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20FMWaRK068175; Sat, 15 Jan 2022 22:32:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20FMWaok068174; Sat, 15 Jan 2022 22:32:36 GMT (envelope-from git) Date: Sat, 15 Jan 2022 22:32:36 GMT Message-Id: <202201152232.20FMWaok068174@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: f3229b62a149 - main - LinuxKPI: 802.11 handle connection loss differently List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f3229b62a14953f0e487e8b32fef14b073da2890 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642285957; 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; bh=xCEqCJE23qvxkQSdrdNnqUPw06thbyS6jptKFEhWh9c=; b=ICIFHjb8+odvmN9PoypYh8xBic90mxKx4wviqsJkUXcEFfnxtFTu6tnYx+Vb5sNeAMMgJK 9WaLPgiTHDLgrJiutC607TyLrqRwV3skn8bpFYV0nr+/4VfUP9cjZOcoZKvscbmSvjRcns JSPExWYoCh9iov6+resLudL/GVYP9e8gDaVMQNKbesUhUMa9SkSUi+fTQ+dimHhZ/4UZHY gVOToKjeakUCaE+tul9JGXfpUVy/Va1N14XTLit3ymaq+hVkj6l036LUhydUaAwuENQwFK ksxST8ZoadG0pKVNxQ3GWPHB5Z580GhCix0+9lKC17sPPS1X8wRcyoPE6dYsvw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642285957; a=rsa-sha256; cv=none; b=onhDqxX4IuCEgqMXvCa+/IfSlkoRn3jHpuYsOeZ1GTFY7QwyjDckIc8zJ4f4bcuzkU6zva Qe8G2uAqP5ZkOnhUzeE1rJdWhGxM9dROWBNcgrTdWFYJbHAfDyyKlyyfhcJzVSXFNe3Dy1 GN+5k6KyRktOxxpcvrWUBIOV3sYJP8yUPA73JBLZm+v1TuNKK9nx5ITeTSRxvctk+CTxUN 3YiJNjFL9jQfhQKW19DlgIZYQYSrKfUqSRabMXMnDOpRAyKTqWfk+xrrz0oGW2717ueBa2 IogmJKt+1416TP6c75nEaAPeo1LNk01Grl41HrZ2ajtS5gii/HJGENbBRYaJ1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=f3229b62a14953f0e487e8b32fef14b073da2890 commit f3229b62a14953f0e487e8b32fef14b073da2890 Author: Bjoern A. Zeeb AuthorDate: 2022-01-15 22:18:58 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-01-15 22:18:58 +0000 LinuxKPI: 802.11 handle connection loss differently Rather than just bouncing back to SCAN bounce to INIT on connection loss. This is should be refined in the future as the comment already indicates but we need to tie two different worlds together. Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/compat/linuxkpi/common/src/linux_80211.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c index d2e095040696..8eabf63d43d7 100644 --- a/sys/compat/linuxkpi/common/src/linux_80211.c +++ b/sys/compat/linuxkpi/common/src/linux_80211.c @@ -3589,11 +3589,11 @@ linuxkpi_ieee80211_connection_loss(struct ieee80211_vif *vif) vap = LVIF_TO_VAP(lvif); /* - * Go to scan; otherwise we need to elaborately check state and + * Go to init; otherwise we need to elaborately check state and * handle accordingly, e.g., if in RUN we could call iv_bmiss. * Let the statemachine handle all neccessary changes. */ - nstate = IEEE80211_S_SCAN; + nstate = IEEE80211_S_INIT; arg = 0; if (debug_80211 & D80211_TRACE)