Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6377875ybl; Wed, 15 Jan 2020 03:43:21 -0800 (PST) X-Google-Smtp-Source: APXvYqy2yvWXSKx8VZaARRUfSn7Er7CU33S9KQ3xjt2CAcdj+abIHG7N9rylayIz0xl4EbixeJG3 X-Received: by 2002:a05:6808:4c2:: with SMTP id a2mr19417886oie.118.1579088601352; Wed, 15 Jan 2020 03:43:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579088601; cv=none; d=google.com; s=arc-20160816; b=vbeovevfh5X8wcHSFw+DMHT96UAs/Ehp8+v4GFBGXHM8V9PmZceN0fcvikaLPnxu+s eMhaputzjdTbpUFpQeMS3VfsKwrOdAYiLoiH8nGs719+VO5AnQj3I5W7dAwcRQMNrlSv O/ssqWsoF9Pb0fbDNlIU2Ajj/nd5yp4ZLOr3Pgn++N6PouVmlQe7mOph1WKImuuFYgCP h4OzEzSxta4+r2A9JTM0ri+VRWfiGAGMt5fWKZ/GeDKkCi43jlO9AuVsb9NWpm3NOlLP cDntx3lX1lFC7GcTtMvjx3Jlkb0kWqJ5X42EiXAGGj8j7WZce2dmXh/chCoxfPmpYnCU S/hg== 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:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=gDSeqcGJEWSQHFDhX1+MNBzF3mYH/xqOWG+aFAaH7cw=; b=Rm4capuZaArpLpS78mr4wMra/Xz5uYy2YT2QcthQ5J2bKEvbuS0N8a927DP/yJVE6e k3c+7KVYGTpp6iP0ZnYvNsGkHz0Sdgovi90zrrKOzkNgH53QTW+pK2EXihMhTmW+LK9q q2Vp7iffBideCgwzMQGoXJERxVA707y5k0xn/8byZ0V4ocoLra75PNzQc5KWRzYUNMU5 dCackOn381gfTopvWMsd8+XnTnjisdNjobo/d5oyQg7yk7zgHm1dI0GIsHcb+7ChGuXd wRyD526XmMDpX+f8F8VBeD4bjkwUMVUDG5jKIXqG1PkWnixesSOtc7VNiDkCCb8Ws5p0 CCkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=D4T2BHYw; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x26si9142380oie.73.2020.01.15.03.43.04; Wed, 15 Jan 2020 03:43:21 -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=@redhat.com header.s=mimecast20190719 header.b=D4T2BHYw; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729931AbgAOLm6 (ORCPT + 99 others); Wed, 15 Jan 2020 06:42:58 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:52035 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729900AbgAOLm6 (ORCPT ); Wed, 15 Jan 2020 06:42:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579088577; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gDSeqcGJEWSQHFDhX1+MNBzF3mYH/xqOWG+aFAaH7cw=; b=D4T2BHYw+XoGvQ6Gc5ZRthrqgZi9u5YKbNPDP4rvqTIU9kr11FQ8hX9WyX9L3rMk4+Qav4 FgaanZDhJ67ytSqL9Ik0olHVexbC+mYKMyN0ZsU6NnQYKvGNXGiv4YjocdzfOq8+5918kN 1uHgeQwPvJgBO2HVLtVvb8WRufY7q7M= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-53-Nbie6M1jMtyuOoyKHiLIOA-1; Wed, 15 Jan 2020 06:42:55 -0500 X-MC-Unique: Nbie6M1jMtyuOoyKHiLIOA-1 Received: by mail-lj1-f197.google.com with SMTP id o9so4044814ljc.6 for ; Wed, 15 Jan 2020 03:42:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=gDSeqcGJEWSQHFDhX1+MNBzF3mYH/xqOWG+aFAaH7cw=; b=s9SYhvbwHZtagsjNsRO5C7fTU98Xc+NK2HcpaBJSCLBJ5yyuM4fexfBloJw15IXCMb KGXqG07J7MjZpt4SZvtbHhlaw72HTI62m/9QeILxL316q4aT4j5uET/OcFUHFeqzllAP OM1He38hcV9DDbkIG/9j2hLH2R5lDW8DM6civl3UMdl87Q7Fy9RIcCFhhmbhztHflS3M hrhmzPBzOLGwamDkc1E+N5tECgUn/sb98lrJktBuOW2eeh25L1nM26ZujBMexx4BvgiK OpmZuwsw13fV3AzXEVnLa/2v9MGqtpXO7bbn+grfVOiGbkhnsLSHYggMZA6xvuBFgnaS GZOA== X-Gm-Message-State: APjAAAV2Gwri/+bRsdGg6/J93SeXkBQq+dy/kh0yXmNk4q6pOTM77Kun 6TcNQMm8muep/8qvbXhjYU0M6qAUap5cTI+j6+Ozjel1kanhbhu1OWNSxlCXOokYGlD+c2fgiLr qF5R2UjJZeOJJQjegRbEsmc22shE= X-Received: by 2002:a05:6512:15d:: with SMTP id m29mr4422836lfo.51.1579088573997; Wed, 15 Jan 2020 03:42:53 -0800 (PST) X-Received: by 2002:a05:6512:15d:: with SMTP id m29mr4422828lfo.51.1579088573790; Wed, 15 Jan 2020 03:42:53 -0800 (PST) Received: from alrua-x1.borgediget.toke.dk ([2a0c:4d80:42:443::2]) by smtp.gmail.com with ESMTPSA id u13sm8682145lfq.19.2020.01.15.03.42.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2020 03:42:53 -0800 (PST) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 557B81804D6; Wed, 15 Jan 2020 12:42:52 +0100 (CET) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Johannes Berg , linux-wireless@vger.kernel.org Cc: Johannes Berg Subject: Re: [PATCH] mac80211: use more bits for ack_frame_id In-Reply-To: <20200115122549.b9a4ef9f4980.Ied52ed90150220b83a280009c590b65d125d087c@changeid> References: <20200115122549.b9a4ef9f4980.Ied52ed90150220b83a280009c590b65d125d087c@changeid> X-Clacks-Overhead: GNU Terry Pratchett Date: Wed, 15 Jan 2020 12:42:52 +0100 Message-ID: <87blr5uern.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Johannes Berg writes: > From: Johannes Berg > > It turns out that this wasn't a good idea, I hit a test failure in > hwsim due to this. That particular failure was easily worked around, > but it raised questions: if an AP needs to, for example, send action > frames to each connected station, the current limit is nowhere near > enough (especially if those stations are sleeping and the frames are > queued for a while.) > > Shuffle around some bits to make more room for ack_frame_id to allow > up to 8192 queued up frames, that's enough for queueing 4 frames to > each connected station, even at the maximum of 2007 stations on a > single AP. > > We take the bits from band (which currently only 2 but I leave 3 in > case we add another band) and from the hw_queue, which can only need > 4 since it has a limit of 16 queues. > > Fixes: 6912daed05e1 ("mac80211: Shrink the size of ack_frame_id to make r= oom for tx_time_est") > Signed-off-by: Johannes Berg Fair enough :) Acked-by: Toke H=C3=B8iland-J=C3=B8rgensen