Re: What is SAM value? "ieee802154 phy0 wpan0: SAM value 0x3 not supported"

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

 



2015-07-24 11:02 GMT+02:00 Baptiste Clenet <bapclenet@xxxxxxxxx>:
> 2015-07-24 10:47 GMT+02:00 Baptiste Clenet <bapclenet@xxxxxxxxx>:
>> 2015-07-24 10:31 GMT+02:00 Alexander Aring <alex.aring@xxxxxxxxx>:
>>> 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.

            0     1   2   3    4     5    6    7   8    9        0
1   2     3    4   5
          +---+---+---+---+---+---+---+---+---+---    +---+---+---+---
 +---+---+
          | 0   | 1 | 1  |   TF   |NH |HLIM |CID|SAC|  SAM| M |DAC|  DAM |
          +---+---+---+---+---+---+---+---+---+---    +---+---+---+---
 +---+---+
Mine:    0    1    1    1    1   1    0    0   1      1      1    1
1     0     0   1
7bf9

Is something wrong?

>>
>>>
>>>  - Implement context based address compression, there was recently a
>>>    RFC patch series which implemented it. This maybe depends also for
>>>    handling 6CO field correctly.
>> Could you provide a link? Is that ported to Bluetooth-next branch or Linux-4.1?
>>
>>>
>>> - Alex
>>>
>>> [0] http://lxr.free-electrons.com/source/net/6lowpan/iphc.c#L147
>>> [1] https://tools.ietf.org/html/rfc6282#section-3.1
>>
>>
>>
>> --
>> Baptiste
>
>
>
> --
> Baptiste



-- 
Baptiste
--
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