Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp18451109ybl; Fri, 3 Jan 2020 02:37:12 -0800 (PST) X-Google-Smtp-Source: APXvYqyTVvX2fXoopbeF32lncFcZ69WL4I7GQMW96nBGJ9+V3d8PeiWIyM2f8l+95AwNoS2xJ09k X-Received: by 2002:a05:6830:18e9:: with SMTP id d9mr88256034otf.332.1578047832162; Fri, 03 Jan 2020 02:37:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578047832; cv=none; d=google.com; s=arc-20160816; b=C37aAkaBHMi01rKG7R9sDHfx/j1neQ/W79Vl7QjbAq1aX1GSJALlawUp25WhrO2+XX ROSFJMuNUowVjaaDA/tNJuUTmM/K4Rj4VAd5LaKJrpVWKYCjUp34QKf+LRwfZHHdxGBu 8y5Y5oTSVec5GOQfm7rLICyU/o4D/wP/JJOLgQ4gwRYkYefQQTMveZDARXRp+zplmkDS yEBYEu3Y6NhsPTqedqH3aQkovmpRBIjDxmtUU1ZA5HHCENlTaTKu0MXZMEvtWfxxeFX8 OV281T04D6VzarrA51KWuTJXzlwP1P9wDoEAIz/0CB9vFkbVnoH+ZvNjUIgSG9snwWrN qgTA== 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:date:subject:cc:to:from; bh=P0Z8urFP7ZtyJR/7C9U58OCYwOggHKu+nKuuiKtrVY4=; b=0pRyqUL4PPx+H/cj5Xw+8P6NpbJ5dgWKZeqLJeS8FiYbSXcaz7EgTXO+6mfhuVvNWQ j8t/fXGzDPfEuf1MAGquh3ft3Zrys8P9xXKi2qv3zFZQs4bSQ+yDnXDJ5oJkNqGhjWPq dJgvsdU/vx3+j8S+cbYRs1cTBn6lRLipStPEthNlRZUGzkb0jkNCPCmu9o2dokT6rJxY 8LCE86GmCr6Yjx0Gt+g3OMdte3KfR1kxazij03GeW8dmyBOE8rQYSIy9jVbVy0YLpEqZ PlWSQ2lhy6TkFFzmcd5jAi4tVdV6NGO0ge/I0i2hgNKJTeUfR1yMF2XVqJmy55m2fzM1 Qz2A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z18si32032219otq.121.2020.01.03.02.37.02; Fri, 03 Jan 2020 02:37:12 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727456AbgACKft (ORCPT + 99 others); Fri, 3 Jan 2020 05:35:49 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:38529 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727220AbgACKft (ORCPT ); Fri, 3 Jan 2020 05:35:49 -0500 Received: from evilbit.green-communications.fr ([92.154.77.116]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.168]) with ESMTPSA (Nemesis) id 1MWixU-1jG0Da21pg-00X4iA; Fri, 03 Jan 2020 11:35:46 +0100 From: Nicolas Cavallari To: Johannes Berg Cc: linux-wireless@vger.kernel.org, =?UTF-8?q?Krzysztof=20Ha=C5=82asa?= Subject: [PATCH v2 0/2] Allow userspace to reset IBSS stations to fix aggregation issue Date: Fri, 3 Jan 2020 11:34:55 +0100 Message-Id: <20200103103457.22778-1-nicolas.cavallari@green-communications.fr> X-Mailer: git-send-email 2.25.0.rc0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID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7lV+p559wdREiS3MWo OYFa3wwkmVtHtWOg+i9u3gBpMqy+fdWhV8ak3duEZwre5aw+u2RjRZTtBKSHLj3A8hGPx7612 2nH1H9aqncojGm4uwtWQQDmPmiykGB1mN8VRvWEmoZ4ytAZAI+rRwjZJ82774m Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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. This means extending NL80211_CMD_DEL_STATION to work in IBSS mode too, just like it does in mesh point mode. Changes: v2: Use a nl80211 feature flag instead of patching every driver.