Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp291169ybl; Tue, 10 Dec 2019 23:09:09 -0800 (PST) X-Google-Smtp-Source: APXvYqyNJQ0lBQEpPv6GMVkVnp6Gs/WiaWM8BlG1nOacEEQL0KvVbvh7vF7hGA/x9Utv6GMdZ+JB X-Received: by 2002:a05:6830:15d9:: with SMTP id j25mr1156842otr.279.1576048148979; Tue, 10 Dec 2019 23:09:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576048148; cv=none; d=google.com; s=arc-20160816; b=sv+Tq10LXa1mddhj4n8d0a6vDBVfNcgonbRbGUO2uDkFqLStEYUTpQ/EPSsN+sivAp kpxk6nnxWTxctI1FmbcKBdv0YwQHXGzRymFpycqxVJUI3Fd/hsi0BZOuLRev1RV0p5kW owuPhhZJqZZuN7wTzasu8oH+cLKMz8pRLNc4A5SMrvKmYs/3TTkEgzS8w0HxhLHFXK8/ nNvLu3x978nqatUHGzJg2qLf2nPGhNJx84tjjMQ2tAjg8oydeZYpyEGOsO0j3y+aW1jV oxud8c4C82eVflGxBP1pIuQi0H266Fgvm770zbnthW3dQPLsz419hKFa1YdtTHTUsom5 zBFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:in-reply-to:date:references:subject:cc:to:from :dkim-signature:dkim-filter; bh=BFS6xN/3hLjP/0lc1y+PV7Gn73ep48NKRu0MxUiCCjI=; b=puAM8SyA+5PkdJcpEo/sdtPgZhzwuyECbnOise5H+//YthcRDmkbOd5KmrsJ4P0Ib6 NS29sGMth9U8clxdscMv2inQQGP+c4jGVlO5f7lxdLaqcOapdIM3GspxNPFw2I6/WT3Z /NLvmW3JL0S8uLgBBbn3MdTwEsLU7vff8BlV+o+OWbhI/DDGASgZpcKSDP8voRwHQipz ARaQ5jwdLg/z65D6Nm355HpAttizPzZgaB6opvUFdkg6Q8WV4WJxhzxaBE6nAgK6zBNQ pFdXNHrYZpMSQOCcJLbF3pHPFLjaVLZea7dk2/8UG9/L+sblSoqyJfFsvs7Uere7OPWr CoWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@piap.pl header.s=mail header.b=I6s+fdID; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=piap.pl Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q66si651250oig.65.2019.12.10.23.08.48; Tue, 10 Dec 2019 23:09:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@piap.pl header.s=mail header.b=I6s+fdID; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=piap.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726687AbfLKHFV (ORCPT + 99 others); Wed, 11 Dec 2019 02:05:21 -0500 Received: from ni.piap.pl ([195.187.100.5]:32816 "EHLO ni.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725800AbfLKHFU (ORCPT ); Wed, 11 Dec 2019 02:05:20 -0500 X-Greylist: delayed 414 seconds by postgrey-1.27 at vger.kernel.org; Wed, 11 Dec 2019 02:05:19 EST Received: from t19.piap.pl (OSB1819.piap.pl [10.0.9.19]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ni.piap.pl (Postfix) with ESMTPSA id 56EF744395F; Wed, 11 Dec 2019 07:58:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 ni.piap.pl 56EF744395F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=piap.pl; s=mail; t=1576047501; bh=BFS6xN/3hLjP/0lc1y+PV7Gn73ep48NKRu0MxUiCCjI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=I6s+fdID+SeksYo02ECy1XG92biOLJMw9ej9XdI6XnF0e/5q+KK8XwnzbtabkouNU aZi7XGppuMpRTz/HDc/FBVku2ZwmcEjdbTE//xFUu/WIEQPsV5AxWr9irgZWIxG4km nlSAItIx2R5HLb/i9ObdwCQ0/wnjRNVOp9z0L8H8= From: khalasa@piap.pl (Krzysztof =?utf-8?Q?Ha=C5=82asa?=) To: Nicolas Cavallari Cc: Johannes Berg , linux-wireless@vger.kernel.org, Kalle Valo Subject: Re: [RFC] Allow userspace to reset IBSS stations to fix aggregation issue References: <20191209102808.12014-1-nicolas.cavallari@green-communications.fr> Date: Wed, 11 Dec 2019 07:58:20 +0100 In-Reply-To: <20191209102808.12014-1-nicolas.cavallari@green-communications.fr> (Nicolas Cavallari's message of "Mon, 9 Dec 2019 11:28:05 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-KLMS-Rule-ID: 4 X-KLMS-Message-Action: skipped X-KLMS-AntiSpam-Status: not scanned, whitelist X-KLMS-AntiPhishing: not scanned, whitelist X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, not scanned, whitelist Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Nicolas, Nicolas Cavallari writes: > I encountered the same issue in an IBSS-RSN network, where quick reboot > of a station would cause issues with aggregation because the kernel is > not aware of the reboot. > > I figured out that since wpa_supplicant already detect reboots, the > simplest way to fix it would be for wpa_supplicant to reset the entire > state of the station in the kernel, instead of just resetting keys and > port. Just to make sure everybody is aware that it would only be a partial fix - unencrypted ad hoc mode (the simplest thing available) doesn't need any userspace and thus must be fixed in the kernel. Alternatively this functionality may be moved to wpa_supplicant and only then userspace fix could really fix it completely. --=20 Krzysztof Halasa =C5=81UKASIEWICZ Research Network Industrial Research Institute for Automation and Measurements PIAP Al. Jerozolimskie 202, 02-486 Warsaw, Poland