Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4200206ybg; Tue, 29 Oct 2019 03:43:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbT7bD1xJpphQ0Be1Zvs1sXdUBV4btv/UDVsUmXTbQzdkKIVc8LyORnGShFawsUObk9kdE X-Received: by 2002:a17:906:488c:: with SMTP id v12mr2500576ejq.290.1572345813304; Tue, 29 Oct 2019 03:43:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572345813; cv=none; d=google.com; s=arc-20160816; b=BPvgVscRmavqZt/Yvp/EyLKGezR3bueEem98sw8uiqy7HaE8UNbaj0glfetBnKBO3s TKZ8VM4U+NY3ExMsk6rCzMeaQ8Ao2Ee5QPQ2VYzTFUWd3+7QCucHBtXTeIHrKEB0KojB 2S7WqJaDmXZzL0P/NUEEHIsxtJKR9PB91gWg1unamz+zfhiTAeGj1z8SKLIxztjp+kTs +CDJY8B2gYn2R0+QbzYF0wF8VE5MBbiQM/L1rFAeoz+TSU92cG1hUma5TdDg3l1VfRk0 Lcg3iGDAsVDl1pxNZAi5GXS6i+I8WNvkOApJzaG9zSJTvd0x9rRvCeqGRuJUKLAUOnhS BRaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=89r1rNHEMVi51X8QptG2oJ8PZcM46Qw8VvMwF8b1wgo=; b=m1ht0WpbSob1s9m2o5CK/V69mPvCYOaxu4pdy2AnXtG5SGIoZLUZYTtmIadzKGJA7K S0NIp1Nv3N6SGvLRKjkbJGRhz595MyOvy/HutSa+VSni7qVlK2o/X6thrAR0HyMDRRL3 M/mpvQFyf5Rz5PGei/H/VITACPsnbVUi+xKDoAFCrrEUSEfOCVX+vv5t+JAgoL0RQI8M M6husp9Ran/9tXXtXJAqBOSieIc3e2E/+edvrik0Uyt+xQHjkSvYF6uzE1G5SGTv++Gs 18eXQNnYlZjxnBoIIhNSvgRRlDmJV60w3dz6KX3tBAPQ0lm61whK1i/JCFsxGAeoidSO KG3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ncentric-com.20150623.gappssmtp.com header.s=20150623 header.b=wiEzjzXZ; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ncentric.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z25si7596873eju.56.2019.10.29.03.43.08; Tue, 29 Oct 2019 03:43:33 -0700 (PDT) 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=@ncentric-com.20150623.gappssmtp.com header.s=20150623 header.b=wiEzjzXZ; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ncentric.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728704AbfJ2JrL (ORCPT + 99 others); Tue, 29 Oct 2019 05:47:11 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:41937 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728053AbfJ2JrK (ORCPT ); Tue, 29 Oct 2019 05:47:10 -0400 Received: by mail-wr1-f66.google.com with SMTP id p4so12851007wrm.8 for ; Tue, 29 Oct 2019 02:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ncentric-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=89r1rNHEMVi51X8QptG2oJ8PZcM46Qw8VvMwF8b1wgo=; b=wiEzjzXZjxbDnTURVXFofslvFJq1OnqyzLxdVOYTiEK4BkKtV9oSdFm/F24JGKSKqH sJ3VU9bJai0Nd261G++OtTT/wZhXe9FuJ8SofZb0B8j7NngXjv6qFTH9tEImIwGHKg0/ opCMiE1lfo6WxkMYwfiiEsAN4QwZAW+TQuus/EtEwd5tXjEgSmRdWs4ixZtIJyktgOOt zuBzBT34xzcKnKe1CK5OVdeUze3ktefiP7LhxMbKcNN4dUmRBYHYDmEcCp47ykpm4zNH y7jpULJazBd3Mq6DftIH/r7aUsS3Nsx0ryO+8ttaIN5ZlnokpEE4MAjYzPuRE1NPnTKk 3uuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=89r1rNHEMVi51X8QptG2oJ8PZcM46Qw8VvMwF8b1wgo=; b=ksFrJzql2aQyN815lU7oilxKjtKNox0O1/yUIGA6CVHvLIIhB+4e6/8J4bqY6QxSIM 5xT4zYNZsNLJrBpGNBNX6chD05oj2W8RsXDDN5D6kz8R6XqWzJdn/0qoCrcPs8dgq2r/ hNdolWHpgkASMnbWrLmyTd+WuLDCrK0ab8viT2TgkTa3Mi2CUp2pswYEljxYYgcKLlYl rVZYEgU7TqQb9JNQR5juN8RMkNxrjFS/37FKogaccgvoKP+6PjXmbAcIwpRy70M4LsP+ 8oRW87H5jpNV27tLYMCfsZOO+NjMHOsrTCJ87+YMpyJk4cDBTffyTywGSHNYf0E+6klm 9j5Q== X-Gm-Message-State: APjAAAVSCrWMf+PAXGJzM9o8BL/R9UVvb7f+0VCIF4Pbf8b4LZ+Bzud7 pSdBK2XCzCq/g3FgjJOL9sj0SA== X-Received: by 2002:adf:e850:: with SMTP id d16mr18218775wrn.251.1572342428276; Tue, 29 Oct 2019 02:47:08 -0700 (PDT) Received: from [192.168.3.176] (d515300d8.static.telenet.be. [81.83.0.216]) by smtp.gmail.com with ESMTPSA id v6sm15209634wru.72.2019.10.29.02.47.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Oct 2019 02:47:07 -0700 (PDT) Subject: Re: [PATCH v2] 802.11n IBSS: wlan0 stops receiving packets due to aggregation after sender reboot To: Johannes Berg , =?UTF-8?Q?Krzysztof_Ha=c5=82asa?= Cc: "David S. Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <30465e05-3465-f496-d57f-5e115551f5cb@ncentric.com> From: Koen Vandeputte Message-ID: <6967a862-c040-565a-3644-c804b188d13e@ncentric.com> Date: Tue, 29 Oct 2019 10:47:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 29.10.19 10:03, Johannes Berg wrote: > On Tue, 2019-10-29 at 09:41 +0100, Koen Vandeputte wrote: > >> I can confirm the issue as I'm also seeing this sometimes in the field here. >> >> Sometimes when a devices goes out of range and then re-enters, >> the link refuses to "come up", as in rx looks to be "stuck" without any >> reports in system log or locking issues (lockdep enabled) > Right. I've recently debugged this due to issues in distributed > beaconing (rather than moving in/out of range), but I guess it would be > relatively simple to reproduce this with wmediumd, if that can be > controlled dynamically? > > What kernel are you running? You could check if you have > > 95697f9907bf ("mac80211: accept deauth frames in IBSS mode") > 4b08d1b6a994 ("mac80211: IBSS: send deauth when expiring inactive STAs") > > which might help somewhat, but don't fully cover the case of moving out > of range. > > johannes > I'm running OpenWrt (kernel 4.14.150 with 4.19.79 mac80211) I noticed these fixes last week and made a build 2 days ago with them backported to it. Running in the field on roughly 4 devices since a day. Koen