From: Stefan Schmidt <stefan@osg.samsung.com>
To: Baptiste Clenet <bapclenet@gmail.com>,
Alexander Aring <alex.aring@gmail.com>
Cc: linux-wpan@vger.kernel.org
Subject: Re: What is SAM value? "ieee802154 phy0 wpan0: SAM value 0x3 not supported"
Date: Fri, 24 Jul 2015 16:51:14 +0200 [thread overview]
Message-ID: <55B250E2.7020906@osg.samsung.com> (raw)
In-Reply-To: <CAPpUg6NouBNDqfsZGYN9h-iuM8TSQD5+NdiqT-1_=1SzS8cacw@mail.gmail.com>
Hello.
On 24/07/15 16:45, Baptiste Clenet wrote:
> 2015-07-24 15:07 GMT+02:00 Alexander Aring <alex.aring@gmail.com>:
>> 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.
That makes it harder as neccassary for debugging. Either try to use
something like netcat to bring the stream to you host and look at it
with wireshark or save it as pcap file, transfer it to your host and
look at it with wireshark.
Doing it like above is really error prone. Why would you make your life
harder as you should? :)
>
> 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
Hmm, why would you want to do that? A monitor interface should give you
all the information you need during sniffing. For what do you want to
add a lowpan interface on top?
regards
Stefan Schmidt
next prev parent reply other threads:[~2015-07-24 14:51 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-24 7:56 What is SAM value? "ieee802154 phy0 wpan0: SAM value 0x3 not supported" Baptiste Clenet
2015-07-24 8:31 ` Alexander Aring
2015-07-24 8:47 ` Baptiste Clenet
2015-07-24 9:02 ` Baptiste Clenet
2015-07-24 9:45 ` Baptiste Clenet
2015-07-24 9:53 ` Alexander Aring
2015-07-24 9:48 ` Alexander Aring
2015-07-24 9:56 ` Baptiste Clenet
2015-07-24 10:18 ` Alexander Aring
2015-07-24 12:03 ` Baptiste Clenet
2015-07-24 12:13 ` Alexander Aring
2015-07-24 12:53 ` Baptiste Clenet
2015-07-24 13:07 ` Alexander Aring
2015-07-24 14:45 ` Baptiste Clenet
2015-07-24 14:51 ` Stefan Schmidt [this message]
2015-07-24 15:14 ` Baptiste Clenet
2015-07-24 16:24 ` Stefan Schmidt
2015-07-26 21:03 ` Baptiste Clenet
2015-07-27 8:03 ` Baptiste Clenet
2015-07-27 8:06 ` Baptiste Clenet
2015-07-27 8:32 ` Alexander Aring
2015-07-27 8:58 ` Baptiste Clenet
2015-07-27 9:05 ` Baptiste Clenet
2015-07-27 9:30 ` Alexander Aring
2015-07-27 10:08 ` Baptiste Clenet
2015-07-27 10:21 ` Alexander Aring
2015-07-27 10:31 ` Baptiste Clenet
2015-07-27 10:38 ` Alexander Aring
2015-07-27 10:52 ` Baptiste Clenet
2015-07-27 11:30 ` Alexander Aring
2015-07-27 12:29 ` Baptiste Clenet
2015-07-27 12:42 ` Alexander Aring
2015-07-27 12:45 ` Baptiste Clenet
2015-07-27 15:13 ` Baptiste Clenet
2015-07-27 15:55 ` Baptiste Clenet
2015-07-27 16:35 ` Alexander Aring
2015-07-27 17:28 ` Alexander Aring
2015-07-27 17:43 ` Baptiste Clenet
2015-07-27 19:10 ` Alexander Aring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55B250E2.7020906@osg.samsung.com \
--to=stefan@osg.samsung.com \
--cc=alex.aring@gmail.com \
--cc=bapclenet@gmail.com \
--cc=linux-wpan@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox