Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp500348ybl; Wed, 21 Aug 2019 00:42:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHG5m8VJ+Ce80Q2u/jn7XEKAQ0P/2GVSlhmlOST9VvmWlsXKQ3xLFu95iHNztOnl5LvSfj X-Received: by 2002:a62:8745:: with SMTP id i66mr33755635pfe.259.1566373369250; Wed, 21 Aug 2019 00:42:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566373369; cv=none; d=google.com; s=arc-20160816; b=oqd5JEIeeO+7I2CrC8IVtzj/cSdjRmArd72Z5uve7IxI4P2VJD2zzp7Ra0OrYcFF3l mdH+yLw3QItSVYTGTHGxqX1YHoalO4KEans4J07iYvmb6Su85nR1m1tkAggBE9jyyF+U UrnswfM2AaPFIHBYW7/WIWLTakCd/HSRDoQ7cfx+VpJ/sxj7KZ7aEbu3tFWgbqN42e5g afsZw92s1ZZsYNKJ3pDQNDX99t4YJDLYaSJWJP0FaXwskqHyVz1AjxTtssbaZWEAPI5O kX049Jd9nCNHhe9b+PJeWg9yT2yzLJlrm7oGL0iliHVVPVxFvNEQvg9rAgCgSOw4XVux ly3Q== 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=loUXLgkda9c34jBvK/tchkG3j/pBZPu8ZqRa+YfOvCA=; b=op7ZnxZmKMp/al+tZVa3ifE5QemfqnUZUvyRBGDfH02LVmi18MspR+f0hNqLKHz8v9 vLGHznWDgb9qCGP6ANqKAjVqEi0+ihHsSDBidVrnVlWyWN/zsBTriTvb2Oy01eeEK3Oi eN7vTbo2SN4/AYghrKydUY7XKtDA8+6vIYjUYiXqFmeeYmUP3Q7c9MhU24h5kZPWs5pe GN5HSSp8haB9qyhHGpA0iLZThBqyfVIGw2wYhvqrPTilL7adB14YZKvumStQNddU0tse yWgvtfRglh50q4I+rDSi+dKIGH6mM94hfHifNzVMT0OsXFfpL/PC51Odt81AdjUVdQ/o FwFA== 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.42.34; Wed, 21 Aug 2019 00:42:49 -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 S1727409AbfHUHlP (ORCPT + 99 others); Wed, 21 Aug 2019 03:41:15 -0400 Received: from s3.sipsolutions.net ([144.76.43.62]:56814 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727191AbfHUHlP (ORCPT ); Wed, 21 Aug 2019 03:41:15 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i0LF1-0004ut-Hd; Wed, 21 Aug 2019 09:41:11 +0200 Message-ID: Subject: Re: [PATCHv6 2/9] nl80211: Add new netlink attribute for TID speicific retry count From: Johannes Berg To: Tamizh chelvam Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org Date: Wed, 21 Aug 2019 09:41:10 +0200 In-Reply-To: <66f9219ed5bd03f96f23947c2bb6f990@codeaurora.org> References: <1560835632-17405-1-git-send-email-tamizhr@codeaurora.org> <1560835632-17405-3-git-send-email-tamizhr@codeaurora.org> <6351a05f5c205db47740116b4bec5a6476317792.camel@sipsolutions.net> <66f9219ed5bd03f96f23947c2bb6f990@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 17:36 +0530, Tamizh chelvam wrote: > > > > + [NL80211_TID_ATTR_CONFIG_RETRY] = { .type = NLA_FLAG }, > > > + [NL80211_TID_ATTR_CONFIG_RETRY_SHORT] = NLA_POLICY_MIN(NLA_U8, 0), > > > + [NL80211_TID_ATTR_CONFIG_RETRY_LONG] = NLA_POLICY_MIN(NLA_U8, 0), > > > > min of 0 doesn't make sense, maybe you meant 1? otherwise just don't > > set > > anything here. > > > The min value changed to 0 from 1 as per the previous discussions, since > this is a retry count and not a tx count. > Or Shall I remove this min value to avoid the confusion ? Yeah, I think then you should just remove the min value. Perhaps a max value is needed, but I don't know. > > > + tid_conf->retry_short = -1; > > > + > > > > I guess you should document that -1 means no changes? Not sure how the > > IEEE80211_TID_CONF_RETRY comes in, you're always setting it, so that's > > useless - better remove that and document that -1 means no changes? > > > The value -1 is to notify the driver to use default value by removing > peer specific retry count. Oh. So I think that's slightly different, please document that. johannes