[Linux-zigbee-devel] 6LoWPAN implementation status ?

2014-02-17 Thread Varka Bhadram
Hai.. May i know the status of 6LoWPAN implementation in the kernel.. Is it implemented according to RFC6282/4944 ? Right now i am testing integration of 6LoWPAN with TinyOS . When i received the packet ,it is reaching upto 6lowpan layer but not reaching to IP Layer. Regards, Bhadram ---

[Linux-zigbee-devel] [PATCH net-next v3 09/10] ieee802154: add netlink APIs for smartMAC configuration

2014-02-17 Thread Phoebe Buckheister
Introduce new netlink attributes for SET_PHY_ATTRS: * CSMA minimal backoff exponent * CSMA maximal backoff exponent * CSMA retry limit * frame retransmission limit The CSMA attributes shall correspond to minBE, maxBE and maxCSMABackoffs of 802.15.4, respectively. The frame retransmission shall

[Linux-zigbee-devel] [PATCH net-next v3 03/10] ieee802154: add TX power control to wpan_phy

2014-02-17 Thread Phoebe Buckheister
Replace the current u8 transmit_power in wpan_phy with s8 transmit_power. The u8 field contained the actual tx power and a tolerance field, which no physical radio every used. Adjust sysfs entries to keep compatibility with userspace, give tolerances of +-1dB statically there. This patch only adds

[Linux-zigbee-devel] [PATCH net-next v3 08/10] ieee802154: ensure that first RF212 state comes from TRX_OFF

2014-02-17 Thread Phoebe Buckheister
A documented erratum of the RF212 chip describes that some versions of RF212 may not be properly reset by the standard reset procedure. The described workaround seems to not fully work either; my RF212 chips will not correctly receive any frames unless they are taken from RX mode to TRX_OFF and bac

[Linux-zigbee-devel] [PATCH net-next v3 02/10] ieee802154: default to AACK in at86rf230

2014-02-17 Thread Phoebe Buckheister
The current IEEE802.15.4 stack assumes that a radio will never deliver packets with a bad CRC into the stack, as required by the standard. at86rf230 driven radios violates this assumption because of another incompatibility: devices are required to send ACKs if requested by a sender, but RF2xx will

[Linux-zigbee-devel] [PATCH net-next v3 07/10] ieee802154: add support for setting CCA energy detection levels

2014-02-17 Thread Phoebe Buckheister
Since three of the four clear channel assesment modes make use of energy detection, provide an API to set the energy detection threshold. Driver support for this is available in at86rf230 for the RF212 chips. Since for these chips the minimal energy detection threshold depends on page and channel u

[Linux-zigbee-devel] [PATCH net-next v3 06/10] ieee802154: add support for CCA mode in wpan phys

2014-02-17 Thread Phoebe Buckheister
The standard describes four modes of clear channel assesment: "energy above threshold", "carrier found", and the logical and/or of these two. Support for CCA mode setting is included in the at86rf230 driver, predicated for RF212 chips. Signed-off-by: Phoebe Buckheister --- drivers/net/ieee802154

[Linux-zigbee-devel] [PATCH net-next v3 01/10] ieee802154: add basic support for RF212 to at86rf230 driver

2014-02-17 Thread Phoebe Buckheister
Since the AT86RF2xy chips are mostly compatible, this is only a small change to the actual driver code. The at86rf230 driver already supports the RF212 in most places, only three small adjustments are required: * force the initial state after P_ON to FORCE_TRX_OFF to work around a documented e

[Linux-zigbee-devel] [PATCH net-next v3 04/10] ieee802154: support 100kbps QPSK/EU in at86rf230

2014-02-17 Thread Phoebe Buckheister
The standard assigns channel 0 on page 2 to be 100kbps QPSK in the 868.3MHz band. Add support to the at86rf230 driver for this channel and page, at the moment predicated only for the RF212 chip. Per the datasheet, configurations for page 0, channels 0 to 10 and page 2, channels 0 to 10 differ only

[Linux-zigbee-devel] [PATCH net-next v3 0/10] ieee802154: support rf212 and extended mac features

2014-02-17 Thread Phoebe Buckheister
Hi, this patch set adds support for the RF212 radio chip to the existing at86rf230 driver and adds support for numerous features of the RF212 chips to the ieee802154 stack. These features include CSMA parameter configuration, transmit power control, CCA parameter configuration, and automatic retra

[Linux-zigbee-devel] [PATCH net-next v3 05/10] ieee802154: add support for listen-before-talk in wpan_phy

2014-02-17 Thread Phoebe Buckheister
Listen-before-talk is an alternative to CSMA in uncoordinated networks and prescribed by european regulations if one wants to have a device with radio duty cycles above 10% (or less in some bands). Add a phy property to enable/disable LBT in the phy, including support in the at86rf230 driver for RF

[Linux-zigbee-devel] [PATCH net-next v3 10/10] ieee802154: enable smart transmitter features of RF212

2014-02-17 Thread Phoebe Buckheister
This patch does multiple things: * add .set_csma_params and .set_frame_retries for the RF212 radio. This should work fine with RF230, but since I have no RF230 radios to test with, RF230 does not implement these right now * enable TX_ARET for frame retransmission limits greater than -1 Si

Re: [Linux-zigbee-devel] 6LoWPAN implementation status ?

2014-02-17 Thread Varka Bhadram
This is the packet i received from TinyOS node : 41 c8 00 22 00 ff ff c6 0f 7c 50 45 6d 12 00 6b 3b 00 40 e0 3a 02 85 00 12 be 00 00 00 00 01 02 c6 0f 7c 50 45 6d 12 00 00 00 00 00 00 00 16 ec I put some debug messges in the kernel the results are as follows: [ 65.724839] Bhadra : ieee802154_r

Re: [Linux-zigbee-devel] 6LoWPAN implementation status ?

2014-02-17 Thread Alexander Aring
Hi, okay I will try to answer all question in this mail. On Mon, Feb 17, 2014 at 04:32:48PM +0530, Varka Bhadram wrote: > This is the packet i received from TinyOS node : > > 41 c8 00 22 00 ff ff c6 0f 7c 50 45 6d 12 00 6b 3b 00 40 e0 3a 02 85 00 12 be > 00 > 00 00 00 01 02 c6 0f 7c 50 45 6d 12

Re: [Linux-zigbee-devel] [PATCH net-next v3 0/10] ieee802154: support rf212 and extended mac features

2014-02-17 Thread David Miller
From: Phoebe Buckheister Date: Mon, 17 Feb 2014 11:34:05 +0100 > this patch set adds support for the RF212 radio chip to the existing > at86rf230 driver and adds support for numerous features of the RF212 > chips to the ieee802154 stack. These features include CSMA parameter > configuration, tran