Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp500845ybl; Wed, 21 Aug 2019 00:43:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhGFOtgvSUPIUvtGiLLo05Ytbw+yVbHIUWswLY81Rf+MHnCvTvgm7ai1c3yUr7CDY30SHI X-Received: by 2002:a17:90a:35a7:: with SMTP id r36mr4011139pjb.17.1566373403784; Wed, 21 Aug 2019 00:43:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566373403; cv=none; d=google.com; s=arc-20160816; b=C34KUU+ZGgL4gpTkpT5I/y0JKroib9TSy6Hmgmby7tl4AU/1swpeq5pyIwXkSOjI+U m2Xc8QQB4lKSa7JsOFZQu4+b/QTI2ra6BHmVVDqXs3ZSy4b2OFuwSWLr7+c0YHBqI5mq HDiHKsmoFh2VqSSaJ5LC9+FGiSr3Iuo4kptueF8mrsuQ7tggJbLCBxS1krMCMfyXNRqi 1R0pYU2/GH4JdIN/h+k1CR6H2dAd92tLxw86SrMupSQyb6e9kkB4YxHrK81EwQXUJes5 d0L1iZbXlQMV/cdD1rQMpUAJuUoMu+QPXTrYhZU7dl+aEnqdlGknL3Xmd9PndblGTSQS d0lQ== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=aQMKaF1Jxk8ohWreRY3we0IXprbCXpteNqBh/jT0+Io=; b=keTrgt8mc6bpzQWGktNsr9NGeBiMaqw4pFVfglbxQUMfaySNgE/sdoSvwhmvt/gtCU DA1yliaUrRaYsJxQ1YEmrjgKSeVt5OTtykmoyTQfnaqH3oBH0YpEKPKIU64f972s3UHp vmzWAoYRCl8UmJ3aRc4is/l8mtik0tnmQ99hZOHadI8wOnaW7wf6fOGlCS041qWUTNJQ Ekj3cC+T/lcVdUDymatHwOPxJgO1Zjc+jUag4vR+aIe+wrEk6BX9mLDb0mgN8lWAi8t9 8uXENq37K9lfDmSBsnxaxiAgS7BBt9qLLSZiysrO5TWJ1yXXXo5C5/N3QrAFxQ2OoZgf UcbQ== 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 d25si13626669pge.301.2019.08.21.00.43.09; Wed, 21 Aug 2019 00:43:23 -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; 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 S1727457AbfHUHmK (ORCPT + 99 others); Wed, 21 Aug 2019 03:42:10 -0400 Received: from s3.sipsolutions.net ([144.76.43.62]:56832 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727063AbfHUHmK (ORCPT ); Wed, 21 Aug 2019 03:42:10 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i0LFu-0004x4-OY; Wed, 21 Aug 2019 09:42:06 +0200 Message-ID: <82bff92e6fa9ccc968566d30195cd3cd29e17a1d.camel@sipsolutions.net> Subject: Re: [PATCHv6 1/9] nl80211: New netlink command for TID specific configuration From: Johannes Berg To: Tamizh chelvam Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org Date: Wed, 21 Aug 2019 09:42:05 +0200 In-Reply-To: References: <1560835632-17405-1-git-send-email-tamizhr@codeaurora.org> <1560835632-17405-2-git-send-email-tamizhr@codeaurora.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Sat, 2019-08-10 at 18:10 +0530, Tamizh chelvam wrote: > On 2019-07-31 14:55, Johannes Berg wrote: > > On Tue, 2019-06-18 at 10:57 +0530, Tamizh chelvam wrote: > > > /** > > > + * enum nl80211_tid_config - TID config state > > > + * @NL80211_TID_CONFIG_DEFAULT: Default config for the TID > > > + * @NL80211_TID_CONFIG_ENABLE: Enable config for the TID > > > + * NL80211_TID_CONFIG_DISABLE: Disable config for the TID > > > + */ > > > +enum nl80211_tid_config { > > > + NL80211_TID_CONFIG_DEFAULT, > > > + NL80211_TID_CONFIG_ENABLE, > > > + NL80211_TID_CONFIG_DISABLE, > > > +}; > > > > Hmm. Looking at this in more detail in patch 3, I don't understand. > > > > How is DEFAULT different from "attribute not present", i.e. "no > > changes"? > > > This DEFAULT is used to notify the driver to use default configuration > value of driver/vif. > This will be used when the attribute is not present. Hm, but then why is it valid in the nl80211 attribute? That seems confusing. Maybe there should rather be a validity bit somewhere in the internal API, so the nl82011 API doesn't need to be concerned with this? johannes