From mboxrd@z Thu Jan 1 00:00:00 1970 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 B48B1C77B73 for ; Mon, 5 Jun 2023 11:58:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233140AbjFEL6e (ORCPT ); Mon, 5 Jun 2023 07:58:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233152AbjFEL6c (ORCPT ); Mon, 5 Jun 2023 07:58:32 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEA0D131 for ; Mon, 5 Jun 2023 04:58:23 -0700 (PDT) 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=DtgsoVFYt/Q+J8AhlsjT89LVYTX0qwrmzXOLODF2GmA=; t=1685966304; x=1687175904; b=mcrDRe46J++LIvY0Vd+ZQJ0lrCY6j+4KkUZolnbfHb5Nq53 WZvPNBhbaUThCHmMXzB9JICK60um8C6DG4lejmd4rZ9VA0kSDCdRDo90v4EvXvJKe9SUw7chqDGCY zfJvlnLczDPRLKDOFidMCuYNngBYrCAi6DM7Kyqg6J3EOJg6Gu2fP6pU6Sjs7oY3M274C/vh2vss6 /dn/EmfU0c2I4vnnspxXyliSw1LzED5eDwIVm8xj0VlzKLH1mIGciDm7qFVFXbyGva9sNBdQizgS6 wAGrOvigwH162UshQaRnYwNQ58BNdMceF61KpUaeJ7aeg2t2dGiZ9W3UXeIZF0tg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1q68qr-00ERWy-2T; Mon, 05 Jun 2023 13:58:21 +0200 Message-ID: <9a691000231beaf82c4f83aa0ac54fde8f74b133.camel@sipsolutions.net> Subject: Re: [PATCH] mac80211 : Add support to track mesh peer beacon miss event From: Johannes Berg To: quic_haric@quicinc.com Cc: linux-wireless@vger.kernel.org Date: Mon, 05 Jun 2023 13:58:20 +0200 In-Reply-To: <1653893292-11092-1-git-send-email-quic_haric@quicinc.com> References: <1653893292-11092-1-git-send-email-quic_haric@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.2 (3.48.2-1.fc38) MIME-Version: 1.0 X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, 2022-05-30 at 12:18 +0530, quic_haric@quicinc.com wrote: >=20 > =20 > +static ssize_t dbg_mask_read(struct file *file, char __user *user_buf, > + size_t count, loff_t *ppos) > +{ > + struct ieee80211_local *local =3D file->private_data; > + char buf[128]; > + int len; > + > + len =3D scnprintf(buf, sizeof(buf), "0x%x\n", local->hw.dbg_mask); > + > + return simple_read_from_buffer(user_buf, count, ppos, buf, len); > +} >=20 I'm also really not sure I want to get behind another bespoke debug configuration system ... johannes