Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1760845rdb; Wed, 20 Sep 2023 20:49:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH37Kqrq2DRkfQIwEa0nuN1u/xdMMp6gtX+bm2hgyG1TowiKXA4LnTPZQDDktjR/Uk4lzzC X-Received: by 2002:a17:902:ab16:b0:1bd:dbec:8673 with SMTP id ik22-20020a170902ab1600b001bddbec8673mr8180391plb.11.1695268180952; Wed, 20 Sep 2023 20:49:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695268180; cv=none; d=google.com; s=arc-20160816; b=NJuy3byzDH0oG6s2c57UN3R4Vkknalt0Fdh8hbigwJe3aHfynTY6C6JKbQwvmfAcZ4 PBaWpiiS9YGPY4VbBgz5uWs9tw2wKywa8xFfDLEubBFl488Osw980tkyg0WuY2nr8SkO y6ca8lyDKXnMVKI9RFuf4d3EoWYmLmOc/6uwCZzNZZ1UGzXwETT8KZl5j0yvQmkFb4PD CA4lFSXhbwLmeOCduV8PYxpk5yV6oY8pS3dYok5YZtI3bI1Occ1QDKbkQEXpH68SB34Q oXokMEGtkH3E5Wl4pKadpMo5vg7JcrZVwjvR62SsGW5ZM81t2Pxp2dCqhYx5hv3w3Z4+ H//Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EcJJTUdfIRzSzHCTUUazQpsp/SSOa/zCP5AHAKnfso8=; fh=Y2IfAqdjkYQAx7XZcGq/8JceY1atOOwfX771vvMvH7o=; b=yV/O0nUoVlwWecocaNmsBuTAcpEt8pqkRMb3XakGNp4peUorf6tsAT0HoudMg7VpjW m6Cy7VAebwP+5t4/py5AoUslvZeB29BGqIfyVezR11EwZsckuRhEH9Hxr5rqcMT4m0Ma TCif7jg2rE+81EE9swIRBfiZtjai4lhVYjA4wxjykmZfHesL4H0bHSch5LVJaoMCCF5w G9mFXqsJ055meMAVRgFudytNJ16mu5nsfKa63Pf+qjCdOzVh/Hz3WrgtqaRZKLtgb+DS YUzhBBWOyxqEHFav5AixIsU9LaXwZB6Q0rzZtYn9gmW1rOzwm/o+2BfskvlOHQKwMbEO 2z4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XOBEycbc; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id z13-20020a1709027e8d00b001ae40e07fb0si504769pla.216.2023.09.20.20.49.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 20:49:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XOBEycbc; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 08C1A820E509; Wed, 20 Sep 2023 11:26:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229825AbjITS0f (ORCPT + 56 others); Wed, 20 Sep 2023 14:26:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229830AbjITS0e (ORCPT ); Wed, 20 Sep 2023 14:26:34 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE8ECD8 for ; Wed, 20 Sep 2023 11:26:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695234388; x=1726770388; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Zw4Wd1dchW8fstZola4H1xK/Lb1GY8rTsX0m/nAJ3/Y=; b=XOBEycbckF0GEPnuD3ZFdGfjlWZJoOpdfb2fjmIJdZJkLoAsvNzZ+Ak9 MeDSjp3534y+IPOzuH0ZSxZOHyapTHGZFwUMn3P+ajzpdKBwhX2iN7+4l 4uI/ahqG29cTBqb6QtbZKGHBoOdCF2qZQSXaF2EdXyj+2uYr6ABgH/JDJ fsndHZ2cP7IsEul+GPk4uItUZAfuAjFWKFfy6qP9XkqkGfAdOA4mBTfeJ DD3107QU5dQo9U+I8mKpdqXzcfL3q9WPaMWHRYc7v8859PZVEGZp3l8Ii 0y32WwFJ+adwRj3T3t5nxMf2EPUkpoBfZoJg8dTVWzK7Pr/skdHf878L3 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10839"; a="360556353" X-IronPort-AV: E=Sophos;i="6.03,162,1694761200"; d="scan'208";a="360556353" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Sep 2023 11:26:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10839"; a="723424231" X-IronPort-AV: E=Sophos;i="6.03,162,1694761200"; d="scan'208";a="723424231" Received: from dmani-mobl1.ger.corp.intel.com (HELO ggreenma-mobl2.lan) ([10.214.217.100]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Sep 2023 11:26:27 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Johannes Berg , Gregory Greenman Subject: [PATCH v2 07/18] wifi: mac80211: describe return values in kernel-doc Date: Wed, 20 Sep 2023 21:25:18 +0300 Message-Id: <20230920211508.79307c341723.Ibae386f0354f2e215d4955752ac378acc2466b51@changeid> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230920182529.659973-1-gregory.greenman@intel.com> References: <20230920182529.659973-1-gregory.greenman@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 20 Sep 2023 11:26:34 -0700 (PDT) From: Johannes Berg Add descriptions for two return values for two functions that are missing them. Signed-off-by: Johannes Berg Signed-off-by: Gregory Greenman --- net/mac80211/tx.c | 2 ++ net/mac80211/util.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 9b845fbf923c..932516f8cc13 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -4474,6 +4474,8 @@ static void ieee80211_mlo_multicast_tx(struct net_device *dev, * @dev: incoming interface * * On failure skb will be freed. + * + * Returns: the netdev TX status (but really only %NETDEV_TX_OK) */ netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb, struct net_device *dev) diff --git a/net/mac80211/util.c b/net/mac80211/util.c index a1e18938ce52..97c5823da0eb 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c @@ -4146,6 +4146,8 @@ u8 ieee80211_mcs_to_chains(const struct ieee80211_mcs_info *mcs) * This function calculates the RX timestamp at the given MPDU offset, taking * into account what the RX timestamp was. An offset of 0 will just normalize * the timestamp to TSF at beginning of MPDU reception. + * + * Returns: the calculated timestamp */ u64 ieee80211_calculate_rx_timestamp(struct ieee80211_local *local, struct ieee80211_rx_status *status, -- 2.38.1