From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com ([209.85.212.182]:38888 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753876AbbG0R2H (ORCPT ); Mon, 27 Jul 2015 13:28:07 -0400 Received: by wibxm9 with SMTP id xm9so126800345wib.1 for ; Mon, 27 Jul 2015 10:28:06 -0700 (PDT) Date: Mon, 27 Jul 2015 19:28:17 +0200 From: Alexander Aring Subject: Re: What is SAM value? "ieee802154 phy0 wpan0: SAM value 0x3 not supported" Message-ID: <20150727172816.GB794@omega> References: <20150727102121.GC18090@omega> <20150727103822.GD18090@omega> <20150727113054.GE18090@omega> <20150727124220.GF18090@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: Stefan Schmidt , linux-wpan@vger.kernel.org On Mon, Jul 27, 2015 at 05:55:27PM +0200, Baptiste Clenet wrote: > 2015-07-27 17:13 GMT+02:00 Baptiste Clenet : > >>> Then forget that and make some at86rf230 driver debug messages. See > >>> "print_hex_dump" [0]. Add this add skb->data in at86rf230_xmit and > >>> at86rf230_rx_read_frame_complete (but after the skb is filled with data, > >>> otherwise it makes no sense). > >>> > >>> This will allow us to see what's the lowest layer is. If the transmit > >>> side looks correct, but receive side looks weird then I suppose > >>> something is wrong again with your spi setup. > >>> > >>> The reason is that we get the lowest dump of the transmitted and > >>> received buffer and nobody touched that buffer then. > > > > I dump the packet in at86rf230_xmit and > > at86rf230_rx_read_frame_complete (just before > > ieee802154_rx_irqsafe(lp->hw, skb, lqi)). This is wireshark analyse of > > the two packets. The first one is correct and comes from the sender, > > the second is from the receiver (I manually created the hex dump file) > > which is wrong! So something seem to occur when the frame goes to the > > transceiver. ah, sorry I misunderstood you. So you have capture the raw data for transmit and receiving and it differs. Then I have still no idea what's wrong on your side. :-) - Alex