Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp746179rdb; Tue, 19 Sep 2023 09:00:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHgtSpLWirOETQpbXJrwAk+0fn1JmQPatFEYCupMtIERTJ4N7R0wwBa60XEju3cwNxXGUGh X-Received: by 2002:a05:6358:9385:b0:134:c785:5932 with SMTP id h5-20020a056358938500b00134c7855932mr196277rwb.32.1695139227473; Tue, 19 Sep 2023 09:00:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695139227; cv=none; d=google.com; s=arc-20160816; b=lDyi6vk0eKLEz2dHxzI+kQ4+C1xpGyQIMBvC7RyCyv4kgbMIzFzyeXGx4kNEPrYkn1 0jyQb1B5r3I9FCgOr8+e4tCkJ/3th22ph5XjgFqXCZylX7ilNvNEyJ4Xhj7tO9G/ju75 Av75sSH/sUh+gKJ+45u3NUWh4vawGOvrzojUGOwEx5m+85ov7XnJKRPggTvjriWGCgqn g7EJUSpnR0/xvVbnAi/mwVDBYAvYUmvI09PBmZeVXrfeocp63Fles8egiLVQLR1yMNor pcxSnf9AxTxsKzSDxgDKTJXYg7oNnkw3wUu418he/MSimsL/tfNjZtDM1WjpUHcJlbj4 mFqg== 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=MZwr2WrWN0/l9F1gvqhrs4iCqOzeI7m8h5gCMuzH5aP+A9lvJCe9dJfrK4qvBTtHLz 2SCoUoS2lEd2fFe33kF3YfzN9D7DrLeFTKhnTvwLqAnrPaaWgLQd4UbU/gKAXdAqaySF PS3UshCczawN/nKNfxwq6XIjjpmX0fu1Mvy/tnYy4hcTV5yYRsxooJ4nf5SerKX3Nlhd wOe1tIeIOxWaS9RHEsSzYmQd0Yn77U5yaILvp9W5PeNKZxwwESP6I+gvbgTycz5ZG+HQ OruUgUw4wg9rzlF473QMNTveuV6RIsiS5F7tZ9ILd+5KgWLjEtw4g5cqDMTbqceVhRFj FgnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jompXlKq; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id r20-20020a6560d4000000b00565d3043716si9462345pgv.76.2023.09.19.09.00.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 09:00:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jompXlKq; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 7A89C802F952; Mon, 18 Sep 2023 04:12:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241388AbjIRLMX (ORCPT + 57 others); Mon, 18 Sep 2023 07:12:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241234AbjIRLLr (ORCPT ); Mon, 18 Sep 2023 07:11:47 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40718FD for ; Mon, 18 Sep 2023 04:11:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695035502; x=1726571502; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Zw4Wd1dchW8fstZola4H1xK/Lb1GY8rTsX0m/nAJ3/Y=; b=jompXlKqs/XMCnIDKrzDdwLNkEnp0/gnN6v2gFMqsicX4A13JahGRZfr vjwLggauHftPRmlZeMvBWV0yzjD7PCUopyi6Cjjbhg9F8cTIMNQCGSWso 5eAN8fINJDAOG6Gxszf5bdzFcnX2lO+hmK+qOea7S+j5/98N5kvj/5+np L4GRCFbplFxoSv3xRxCYT2N8sFSHLqoTK4q6S1Z2+1yCN4psGCTkQn0Ly LGySx6yDhboJNXhhuMxXrf9+jpI1bk5jdAl6dS2L/8J7Os7lOa8c+hKeo v2fyhLwXEJiUla53qYkPePaU1o4OUNCWlnD1AFq5n607LZmU4aCN1jWRy g==; X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="378535772" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="378535772" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 04:11:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="861025321" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="861025321" Received: from guyarad-mobl.ger.corp.intel.com (HELO ggreenma-mobl2.lan) ([10.214.215.14]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 04:11:34 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Johannes Berg , Gregory Greenman Subject: [PATCH 07/18] wifi: mac80211: describe return values in kernel-doc Date: Mon, 18 Sep 2023 14:10:52 +0300 Message-Id: <20230918140607.46323481d647.Ibae386f0354f2e215d4955752ac378acc2466b51@changeid> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230918111103.435195-1-gregory.greenman@intel.com> References: <20230918111103.435195-1-gregory.greenman@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Mon, 18 Sep 2023 04:12:43 -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