Re: [PATCHv2 3/3] ieee802154: Add MCR20A IEEE 802.15.4 device driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

2018-02-19 18:49 GMT-05:00 Xue Liu <liuxuenetmail@xxxxxxxxx>:
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux