Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5500800rdb; Wed, 13 Dec 2023 10:18:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IG2xDTko+wmU75LnOzXVkV8ejjudZg2yaH0SsamWa+l/+1pKLAcyIwktHmOFHwSfKn7eysk X-Received: by 2002:a05:6a00:6009:b0:6ce:f62f:d451 with SMTP id fo9-20020a056a00600900b006cef62fd451mr2770833pfb.22.1702491537818; Wed, 13 Dec 2023 10:18:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702491537; cv=none; d=google.com; s=arc-20160816; b=sbG4La7NC4iJVkvUa7a5pbo0Wnb+C1jInXma+nhHNaV6Ov41gmGGtzg5KIOq5E2uwI u8B560AcfEmFyTVRY7pFNezcIzuciq9C2M4AUJD3gmgqXBB2yJn+0qvkgpCaw30cjOc2 LSHNZdvq8mO8aJUhntOXoXELks9stBKLtrw3B0xuI6sRupPnS2JDopg3HxrnY2Wb8Y5j oq8GpwnQqFVoaPN58ZJtotJ+vuFXNlwyoeSYhgbE9ljcwfpGgZX9u2Ai/1+uf0HfeCPQ tkgHpnHqXNQ511Wj0M512JbHLQskI0H7xEDLC35xlQ5Pswc+z01yFYyEZHrBw/eZkyIB fulw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=bkT2H0hNK7ksdvE1el3z/YiRt81n20/SPI1fNhsLnos=; fh=7wV3kSNroZKw0hfQrh9dkgN8dmEVNE9MlC+W/hVS+Sc=; b=WIxOsVI56DzZX6+gAFFZ/I910hMm6KyQI5NN3sO5pC/zdYHhk+HiCWLOPx7ndjPRKL 4i4g5x0M0To5hN43ewaloYX1wAX4ewJEONmJl8yr9e+qp20+9Zwys2fHhP5Ow7zCI8rp OAwt9rGiMidanfesBWctdetqLBvUg7QUWTRKIxV92PklVo6DSknkDd9SroV3ZPcNqfGx ByqJm9VyaZ252sD7kItKtsYfssHyVqyYZerZc/v8/ejNC1Oa9lFepT3qRS9Tx2lcUAEY v7mic5vzFhLZWcLp4v+UD2Nbv8xu9/F1aoORO1SYV2niIDOCL8FmTFf2ScASbNpzaemJ jGTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PC5RWoWM; spf=pass (google.com: domain of linux-wireless+bounces-751-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-751-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id kr21-20020a056a004b5500b006ce4df26354si10046886pfb.56.2023.12.13.10.18.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 10:18:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-751-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PC5RWoWM; spf=pass (google.com: domain of linux-wireless+bounces-751-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-751-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E68F4282A29 for ; Wed, 13 Dec 2023 18:18:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5F33559B60; Wed, 13 Dec 2023 18:18:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PC5RWoWM" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 447FF59B59 for ; Wed, 13 Dec 2023 18:18:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA7DBC433C8; Wed, 13 Dec 2023 18:18:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702491534; bh=PjfwdZOSR2dwBs3EAJKkgyjx0b0MU1xrVZTWAWbnAYg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=PC5RWoWME/Cb01hoJ4tntBmUrXtAKuXoxFLNoat77qpUCkpi6EHqrE/iIP2i9e9eP oXMkSt/45erQi7CTpnE9V/5F8/bz91tZHHLkEayh1Gxeam5OUf5uPEulZnRCBflOnD ulDOExq2qlbPkWGzDJ//bBMkrqUKzApzlhW6S3bSaoj6lCiC83x37rXKHjPSFGNbly abUHlvrBUFnWh4vNcuunwFVNdZp7LcEgxOaVUHtSMwVEDupR7gXNSOm47xS+A9pBjE IgMYMA6dnziiUQVe36g3uBnISWV4iSORhMxnEaYUDDG97RJY8W9QjRD+77ZZj3u3CC agrZuxgTksK3w== From: Kalle Valo To: rwahler@gmx.net Cc: linux-kernel@vger.kernel.org, Sultan Alsawaf , linux-wireless@vger.kernel.org Subject: Re: [PATCH 1/2] wifi: mt76: mt7921: Disable powersaving by default References: <874jgmnud8.fsf@kernel.org> <20231213172757.46199-1-rwahler@gmx.net> Date: Wed, 13 Dec 2023 20:18:51 +0200 In-Reply-To: <20231213172757.46199-1-rwahler@gmx.net> (rwahler@gmx.net's message of "Wed, 13 Dec 2023 18:27:57 +0100") Message-ID: <87sf46m0dw.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain (adding back linux-wireless, please don't drop lists and people from Cc) rwahler@gmx.net writes: > From: Sultan Alsawaf > > Sultan Alsawaf writes: > >> 3. For insignificant/low-bandwidth traffic like ICMP to the AP, high latency is >> expected since the amount of traffic doesn't warrant kicking the chipset out >> of powersave. So although it's not pretty to look at, bad ping times to the >> AP aren't representative of the full user experience. > > Without the proposed patch ping times are often > 3000ms with a packet > loss of ~20%. And it's not only ICMP packets because i.e. ssh to the > laptop is also not working. It is unusable slow and very often the > connection breaks completely. To which direction? When reporting power save issues it's a good idea to be specific as possible, we don't have crystal balls. > Kalle Valo writes: > >> Mario Limonciello writes: >> >> > Several users have reported awful latency when powersaving is enabled >> > with certain access point combinations. >> >> What APs are these exactly? In the past 802.11 Power Save Mode was >> challenging due to badly behaving APs. But nowadays with so many mobile >> devices in the market I would assume that APs work a lot better. It >> would be best to investigate the issues in detail and try to fix them in >> mt76, assuming the bugs are in mt76 driver or firmware. > > I'm using a FritzBox 6591 Cable Router with latest Firmware for Wlan > and use a Framework13 Laptop with built in MT7921 module. I can > reliably reproduce the problem with high round trip times and packet > loss for inbound connections. Have you tried other clients with that AP? Especially mobile devices like phones is good to test, they usually have pretty aggressive power savings. Also testing with other APs is good. > If i can help with some tests to find the problem i'm happy to support you. I don't know about mt76 driver internals but hopefully others can help. But what I recommend is to provide comprehensive and detailed bug reports, even better if you can include a 802.11 frame capture from a sniffer. Just saying "it doesn't work" doesn't get very far. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches