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 15:07 GMT+02:00 Alexander Aring <alex.aring@xxxxxxxxx>:
> On Fri, Jul 24, 2015 at 02:53:52PM +0200, Baptiste Clenet wrote:
> ...
>>
>> Yes if SAC = 1, SAM should be 0 I agree.
>>
>> Is that somehow possible that I send ihpc of 7b39 (taken at the end of
>> lowpan_header_compress) and I receive and iphc of 7bf9 (taken at the
>> begginning of lowpan_header_decompress) every time??
>>
>
> So far I know that is not possible. I think you need to debug it, do you
> have maybe some kind of monitor interface to see what on the air?
>
Here is what tcpdump gives me when I receive a message:

13:15:40.253868   P ethertype Unknown (0x00f6), length 82:
        0x0000:  41c8 13ef beff ff56 7863 ed54 89a7 cffb  A  ......Vxc.T....
        0x0010:  f93a 0201 ff34 1234 8700 a5ee 0000 0000   .:...4.4........
        0x0020:  fe80 0000 0000 0000 1234 1234 1234 1234  .........4.4.4.4
        0x0030:  0102 cfa7 8954 ede3 7856 0000 0000 0000  .....T..xV......
        0x0040:  05c7

There is neither 7b39 or  7bf9.
Can't use tshark on openwrt.

Btw, why can't I add  lowpan0 on top of monitor0?
root@OpenWrt:/# ip link add link monitor0 name lowpan0 type lowpan
RTNETLINK answers: Invalid argument



> When this happens randomly I had sometimes some corrupted data when the
> spi clock is too high, but I think you use the bitbang gpio spi driver
> now, or? Then I think the spi clock isn't the issue.
>
> - Alex



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