Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6525DC61DB3 for ; Thu, 12 Jan 2023 10:30:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235627AbjALK25 (ORCPT ); Thu, 12 Jan 2023 05:28:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230098AbjALK15 (ORCPT ); Thu, 12 Jan 2023 05:27:57 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41B26CE3D for ; Thu, 12 Jan 2023 02:24:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=idpY+tcZJlIH1Oza9P0UKgOdZmtNxI2+dBakrQdRMvk=; t=1673519099; x=1674728699; b=gn3rtoj+2hG1HLWX4QS62kNnWUyQ6WNGjUjLlrYfsG1ocWz E2OoVuGcMYVdrAq3dDW1jr36AXRZZgiaFevQztX0l4HoEP/2Z9Zj6YasELJ4nFn0Edl1bWa2Z4JMP dcmNfB0C86BRfJ6hEKqYJAJ+tsbNVCGmge2WdCRYUKjLu+nizGnOYsLn4kbBAh5CuV2dHQZWPH6/d HHVqJ22KuPp28KPlgg+RkPs9Y9JnpywpXaW5HFHF57xmiE2uF7yhe35DzhqcATTarlxiFyiULcB5E YTBrt11v4QuyXchUtylb7O2IprPVbSRfin8PeWPJaAb3AZLkl2ykomTFwypvOkOA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1pFulV-00H36X-0o; Thu, 12 Jan 2023 11:24:57 +0100 Message-ID: Subject: Re: [RFC v2 1/6] mac80211: modify tx-power level annotation From: Johannes Berg To: Jonas Jelonek , linux-wireless@vger.kernel.org Cc: nbd@nbd.name, Thomas Huehn Date: Thu, 12 Jan 2023 11:24:56 +0100 In-Reply-To: <20220920104032.496697-2-jelonek.jonas@gmail.com> References: <20220920104032.496697-1-jelonek.jonas@gmail.com> <20220920104032.496697-2-jelonek.jonas@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 (3.44.4-2.fc36) MIME-Version: 1.0 X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, 2022-09-20 at 12:40 +0200, Jonas Jelonek wrote: > =20 > +/** > + * struct ieee80211_hw_txpower_range - Power range for transmit power > + * > + * This struct can be used by drivers to define multiple tx-power ranges= with > + * different scales according to the hardware capabilities. A tx-power r= ange > + * describe either absolute power levels or power offsets relative to a = base > + * power. > + * > + * @start_idx The starting idx of the range. @start_idx is always the lo= west > + * idx of the power range. > + * @start_pwr The power level at idx @start_idx in 0.25 dBm units. > + * @n_levels How many power levels this range has. > + * @pwr_step The power step width in 0.25 dBm units. Need colons for valid kernel-doc, I believe. johannes