Re: [Linux-zigbee-devel] 802.15.4 scan, scan_req and ieee802154_nl_scan_confirm()

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

 



On Thu, Sep 18, 2014 at 11:36:53PM +0200, Alexander Aring wrote:
> On Thu, Sep 18, 2014 at 02:07:21PM -0700, Andrey Yurovsky wrote:
> > I'm troubleshooting issues with an Atmel AT86RF212 radio on mainline
> > (3.17-rc5 at this time) and was wondering about forcing an active scan
> > via the "iz scan" command.  This comes back as not supported so I
> > wanted to understand why.
> > 
> > It looks like ieee802154_scan_req() should be invoked in nl-mac.c in
> > response to a netlink message, this will return -EOPNOTSUPP when
> > ieee802154_mlme_ops(dev)->scan_req is NULL, and indeed that appears to
> > be the case.  I can't find anyone in the soft-MAC setting .scan_req in
> > the MLME ops structure, is that correct?
> > 
> > The only place I see it set is the fake full-MAC radio (fakehard.c)
> > where it's implemented as fake_scan_req() which in turn calls
> > ieee802154_nl_scan_confirm() to report the fake scan result.
> > 
> > I then tried to find anything else calling
> > ieee802154_nl_scan_confirm() and was unable to, is that right or am I
> > missing something?
> > 
> > Please forgive my ignorance but is scanning "broken" at this time?
> 
> yep, I would say the mac802154, netlink interface is completely broken.
> And didn't work ever at any mainline status.
> 

but hey I still accept patches for bug fixes. :-)

New features depends -> if it's useful to integrate it in the rework
branch. I tried to figure out how the netlink interface works, I gave up
when I saw the "extern struct nl_policy foo" in the netlink interface
header. This is normally a uapi header, so I don't know why
this is there. netlink is one piece which is completely different in the
rework.

Sorry, if you thought that the 802.15.4 branch is in any useful state.
:-(

- 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