Hey Alex! On Tue, Sep 06, 2016 at 08:48:13AM +0200, Alexander Aring wrote: > > In case netopt is "NETOPT_SRC_LEN" and the value is > > "IEEE802154_LONG_ADDRESS_LEN" (which is defined as 8U), this module sets > > the "NETDEV2_IEEE802154_SRC_MODE_LONG" flag. > > > > https://github.com/RIOT-OS/RIOT/blob/master/drivers/netdev2_ieee802154/netdev2_ieee802154.c#L173 > > > > I don't know why this goes down through the driver layer. The address > filter doesn't need such information if you use as source address long > or short. > > For me it's unclear for what this sourc_len really is made for. I would > suggest to use the best address setting which do the most smallest > payload. Sure, there exists situation to overwrite such setting - but > this should be done not as an interface setting.
Maybe I miss something, but how should the driver know which L2 address format is expected at the receiver's side? Cheers, Oleg -- HARDFAIL("Not enough magic."); linux-2.4.0-test2/drivers/block/nbd.c
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel