From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f67.google.com ([209.85.160.67]:37455 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751052AbeBTKmj (ORCPT ); Tue, 20 Feb 2018 05:42:39 -0500 Received: by mail-pl0-f67.google.com with SMTP id ay8so7206422plb.4 for ; Tue, 20 Feb 2018 02:42:39 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <1519037471-17668-1-git-send-email-liuxuenetmail@gmail.com> <1519037471-17668-4-git-send-email-liuxuenetmail@gmail.com> <20180219163107.GB27116@work.Speedport_W_724V_09011603_05_013> <9bd4f9bc-e0be-a5e0-87ed-5245b5cf3642@osg.samsung.com> From: Xue Liu Date: Tue, 20 Feb 2018 11:42:38 +0100 Message-ID: Subject: Re: [PATCHv2 3/3] ieee802154: Add MCR20A IEEE 802.15.4 device driver Content-Type: text/plain; charset="UTF-8" Sender: linux-wpan-owner@vger.kernel.org List-ID: To: Alexander Aring Cc: Stefan Schmidt , linux-wpan - ML Hello, On 20 February 2018 at 04:44, Alexander Aring wrote: > Hi, > > 2018-02-19 18:49 GMT-05:00 Xue Liu : >> Hello. >> >> I have one more question about ieee802154_ops.ed function. How to test >> this function ? Thanks > > This function is/was never used by the subsystem. It has historical > reason _why_ this function is still there... The original repository > had "something" half working of MLME-SCAN (In my opinion). They got > this callback there but then nothing more... > > What you could introduce is a netlink notifier command which reports > by reaching some threshold, e.g. > > iwpan phy0 get edthresh $VAL -> blocks until ed reached above thresh, > which should happen when transmit is going on on your channel... > > Or just a get command? > > There exists also various way to receive ED values, we should offer > them as well than just trigger it from outside, e.g. after each frame > rx... this need to be collected at a main point. > > - Alex Thanks for all the explanation. Regards, Xue Liu