Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp31901pxb; Tue, 12 Apr 2022 16:00:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9GvnTPEb1e/WXOx+Ar8DCpGdPSRbnSeWKKY8idG3OQlbpCpvcf6HuVj5WuvAJv/xxHlMz X-Received: by 2002:a05:6a00:d54:b0:505:79bd:6799 with SMTP id n20-20020a056a000d5400b0050579bd6799mr25204137pfv.72.1649804414161; Tue, 12 Apr 2022 16:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649804414; cv=none; d=google.com; s=arc-20160816; b=KiH/29abuUDpWvfjxVjSxbgB3bqph3X1Kv0/8T7JISUdDjYMWvvelLv2s1s3dUuBe+ h6G+EIKnQYoM812X+gu1z/ywJAs+TTiH4Hk41EkMeVx0TbXsLKugPKQo7o7xJkmMf3sa ec4EwsrlAOpWDGO/ycM96M0S7mty14wPR6wizpE0UwBjHkst1eK3SRmkUIAhjZDumz3P OKzG0j6CPf7031FpbBiR3oD+SgrM2AehgCT/LU0H30WkRbuUlyUY2QkTj3oZaxvxOvxK CzeAoCQ1F189yefMZ+6Rn9wx3sepXqipTNvjm2Vtvy/A2MXaT7cwNndyCD79O5luIZrJ 4rhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=bn195SmM6LrFCs1RfAPAESaQ3kDGPOl/6T+EIRT1vKo=; b=dZDMzFVUkjW2uJkEYipRD4NgWvxhhA6qX+hBkgSX7TG6to01R/E2gvU+mdNjgJbnlm vUI9bRoeXgOdvnDCn3exGK0p3A8e8JkZJbryffd3A1rqzlh7EiN3n2PQUxpMKEKALr1P OoOfJsdvUfZJpkD7fUHyTgeu2QtDCiucnECsCZTY7Yr/qKTOrgyTrOCxHBgqxqMI2Hrj xenLz40BUEdbWGPprzmpEzZykUw1M94M2VmZ57APlnLnTKSLh/zHr89CXUkVo+JGB+z0 mxE+qxw5lbl7zPJHKdZzx6E2EOSncqOZuMMFmDaj1BorBV3olBvfovpu08RC4morLts8 vWTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=tHqTXrqR; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x13-20020a63f70d000000b0039d2d535554si3870036pgh.630.2022.04.12.16.00.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 16:00:14 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=tHqTXrqR; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 075D31DCCCA; Tue, 12 Apr 2022 14:41:40 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346662AbiDKNr7 (ORCPT + 70 others); Mon, 11 Apr 2022 09:47:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346669AbiDKNr4 (ORCPT ); Mon, 11 Apr 2022 09:47:56 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D85612090 for ; Mon, 11 Apr 2022 06:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=bn195SmM6LrFCs1RfAPAESaQ3kDGPOl/6T+EIRT1vKo=; t=1649684739; x=1650894339; b=tHqTXrqRoNYQHv/EEc9S9y4W/f7u+CPbqOAXFq3jtegeBNa 6ETYs0KZT7Aoi9yVz9RupX9e6WdtgMqwYjD2ioOF4fsYqe0QE4pPEaG2LYb7Fa7JdadxXVWli3ntA EV+eM1hy+ztP9jyUle3r7RT4FgA0r324jUEm1V8fZAmnaUrC62eokl1xqFRPH3voGD1y4EwFr1vhP U8BzFkfr4ZwahtVk1i5tyfYtdvYolt5jmrg2iy8W8vunyqN5FplqeUQZ6Wu0oy4zubpvviZvGhcwI aikwAzZ3iOD31wZkKzvEpQiErWOFQmo3+5ZVtfkRqQwjX/yn3RnrZ00hlkRFDUcQ==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.95) (envelope-from ) id 1nduML-008JCd-Bv; Mon, 11 Apr 2022 15:45:37 +0200 Message-ID: Subject: Re: [PATCH v3] cfg80211: Handle driver updated MU-EDCA params From: Johannes Berg To: Muna Sinada Cc: linux-wireless@vger.kernel.org, j@w1.fi Date: Mon, 11 Apr 2022 15:45:36 +0200 In-Reply-To: <1641512609-29774-1-git-send-email-msinada@codeaurora.org> References: <1641512609-29774-1-git-send-email-msinada@codeaurora.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-2.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-malware-bazaar: not-scanned X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, 2022-01-06 at 15:43 -0800, Muna Sinada wrote: > Add necessary functions and attributes to receive updated MU-EDCA > parameters from driver and send to user space, where management > frame are updated to reflect latest parameters. > > The updated parameters from driver are part of an AP mode feature > where firmware determines better MU-EDCA parameters based on channel > conditions. The updated parameters are used and reported to user space > to reflect in AP management frames. These dynamic parameter updates > are offloaded to firmware for better user experience, thus details on > algorithm are not provided. This is a driver specific feature, thus > no IEEE80211 spec references. > So, I think this is missing tracing? Earlier I thought you had it, but that was in mac80211 -- I thought you had both so I said you can remove it, but it looks like you should have it in cfg80211 perhaps. More importantly though, shouldn't we have some kind of opt-in flag, so userspace actually can tell the driver that it's willing to accept this? As it is, the driver might update it without userspace ever reacting, since this needs a corresponding hostapd change. Wouldn't this cause problems? Do you really not care at all about any users who might be running a slightly older version of hostapd? So maybe hostapd should set an attribute (even this one as a flag) somewhere to opt in to receiving this, and thereby promising it will use it? johannes