Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5725204ybi; Wed, 31 Jul 2019 02:20:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqww9l/P1LdFpiE7Rs7BNb2WmlQpLlLgtueJSJ3TKVF6SU4MAjL30pRyA4kJrVHbv4EBcPhr X-Received: by 2002:a65:52c5:: with SMTP id z5mr98947572pgp.118.1564564823799; Wed, 31 Jul 2019 02:20:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564564823; cv=none; d=google.com; s=arc-20160816; b=fklEl5AUJEZTPltYxoWPGfw9cldM7FvKrTleM3Z3WGNLqw//Z3Gel6XXgd67k4Svjq P6hq83IZ13/nfdVyReCjs8ZVjl+WYMg73S4STVhtUHp3TH8GoBfL0JtQ0Hxy2t86OvDP VcJiEAYVoJwWSz3OKK8w3CLoGjKXraXz15YXA1Le0XLXu7iqqwA6OCtGqMxVn5MM6Dil ijMZXkEEd/XRjZ+HOo3HhME52EQe1YDAMcBu/sw966CzqJ+XpuPzxt4WDnhvDC/qQht4 ZfcsDHBGaLa8EsPQOJcZccEcBoCAmKaVeivKGHDroJwIDd/3w75tMjhwuDeSVZQLUTQN OeKw== 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=L2NyMheGAya+++Km8vtv4jXKf+tkEY5r1dkSHvSG1LU=; b=irY8s5J9JYugorW5t/4NIZ5D6zqW249D++ym2a5XZ+9MEuvKpMmSSOGetjg8lvn5gf 4+MAUVl97+afNbuwETifir4HOXAKnutwoCSxDcddxOWC35MwWIllCrA/XvaLW0FNq4Ql vYv2NsAKFCycKwa6FRGkh+LifpzYM42v68RkBpeLGSAEKaaca+1fOq3GA2fNB3KfVwGQ mu2oEfY3RFk+pLB/UgvzF7uyK1zQIlhaD2u4hYHQlygEEAv0PgqUZ6Da1uxaVHujZkJW jm92/s0i/ql6ETfo570KTrhLrmUsOg8tAQANVzAwTgdPyoPYVjgH6YCtOHkiiRwTcuWg asGg== 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 h38si13399978pgi.327.2019.07.31.02.20.07; Wed, 31 Jul 2019 02:20: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 S1728472AbfGaJTP (ORCPT + 99 others); Wed, 31 Jul 2019 05:19:15 -0400 Received: from s3.sipsolutions.net ([144.76.43.62]:55282 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727513AbfGaJTP (ORCPT ); Wed, 31 Jul 2019 05:19:15 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hsklL-0004Tl-6x; Wed, 31 Jul 2019 11:19:11 +0200 Message-ID: <428fec1c2dd6f6d9345323f272eef423a214bc39.camel@sipsolutions.net> Subject: Re: [PATCHv6 1/9] nl80211: New netlink command for TID specific configuration From: Johannes Berg To: Tamizh chelvam , ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org Date: Wed, 31 Jul 2019 11:19:10 +0200 In-Reply-To: <1560835632-17405-2-git-send-email-tamizhr@codeaurora.org> 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 Hi, Was waiting for you to address Sergey's feedback, but now that I looked anyway, I have some of my own. Sorry for the long delay though! > + * @NL80211_ATTR_TID_CONFIG: TID specific configuration in a > + * nested attribute with %NL80211_TID_ATTR_* sub-attributes. Please use NL80211_TID_CONFIG_ATTR_* throughout, also for > +/* enum nl80211_tid_attr_config - TID specific configuration. the enum name > +enum nl80211_tid_attr_config { > + __NL80211_TID_ATTR_INVALID, > + NL80211_TID_ATTR_CONFIG_TID, > + NL80211_TID_ATTR_CONFIG_NOACK, > + > + /* keep last */ > + __NL80211_TID_ATTR_CONFIG_AFTER_LAST, > + NL80211_TID_ATTR_CONFIG_MAX = __NL80211_TID_ATTR_CONFIG_AFTER_LAST - 1 and all the things in it. Also, as you can see above, the kernel-doc comment isn't formatted right. > + nla_for_each_nested(tid, info->attrs[NL80211_ATTR_TID_CONFIG], > + rem_conf) { > + ret = nla_parse_nested_deprecated(attrs, NL80211_TID_ATTR_CONFIG_MAX, > + tid, NULL, NULL); You shouldn't use _deprecated. > + ret = parse_tid_conf(rdev, attrs, > + &tid_config->tid_conf[conf_idx], > + tid_config->peer); and yeah, this should compile. johannes