From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f175.google.com ([209.85.212.175]:34985 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753769AbbGXKSm (ORCPT ); Fri, 24 Jul 2015 06:18:42 -0400 Received: by wibxm9 with SMTP id xm9so22130769wib.0 for ; Fri, 24 Jul 2015 03:18:41 -0700 (PDT) Date: Fri, 24 Jul 2015 12:18:43 +0200 From: Alexander Aring Subject: Re: What is SAM value? "ieee802154 phy0 wpan0: SAM value 0x3 not supported" Message-ID: <20150724101842.GA7552@omega> References: <20150724083106.GA2655@omega> <20150724094804.GA6561@omega> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: linux-wpan-owner@vger.kernel.org List-ID: To: Baptiste Clenet Cc: linux-wpan@vger.kernel.org On Fri, Jul 24, 2015 at 11:56:08AM +0200, Baptiste Clenet wrote: > 2015-07-24 11:48 GMT+02:00 Alexander Aring : > > On Fri, Jul 24, 2015 at 11:02:30AM +0200, Baptiste Clenet wrote: > >> 2015-07-24 10:47 GMT+02:00 Baptiste Clenet : > >> > 2015-07-24 10:31 GMT+02:00 Alexander Aring : > >> >> Hi, > >> >> > >> >> On Fri, Jul 24, 2015 at 09:56:49AM +0200, Baptiste Clenet wrote: > >> >>> Hi, > >> >>> > >> >>> What is SAM value? I got "ieee802154 phy0 wpan0: SAM value 0x3 not > >> >>> supported" when I receive a ping from another board. > >> >>> > >> >> > >> >> I think you hit [0]. You got that because we received some 6LoWPAN frame > >> >> with context based address compression (the source address). See also [1]. > >> > Yes for [0] > >> > > >> >> > >> >> Your options are: > >> >> > >> >> - That the other board use stateless (means SAC = 0, see [1]) address > >> >> compression. > >> > How may I check? > >> > They use both the same settings, they are based on the same source code. > >> SAC bit is set. > > > > Yes SAC bit means context based address compression and we don't support > > it. We should support it, that's what rfc6282 said. But we don't have > > support for that now. :-) > > > > What do you mean with "they are based on the same source code"? It's a > > linux<->linux communication? > Yes it is linux to linux transmission. > Yeah I understand for the support :-) > The question is now why my linux use context based address compression > if it shouldn't? Where is it (SAC) set when transmitting a message? > We don't set it. Which kernel do you use? - Alex