Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
From: Stefan Schmidt <stefan@osg.samsung.com>
To: Lennert Buytenhek <buytenh@wantstofly.org>,
	Marcel Holtmann <marcel@holtmann.org>
Cc: linux-wpan@vger.kernel.org
Subject: Re: [PATCH 2/8] Documentation/networking/ieee802154.txt: fix various inaccuracies.
Date: Wed, 20 May 2015 10:40:19 +0200	[thread overview]
Message-ID: <555C4873.7060308@osg.samsung.com> (raw)
In-Reply-To: <20150520083630.GU11014@wantstofly.org>

Hello.

On 20/05/15 10:36, Lennert Buytenhek wrote:
> On Wed, May 20, 2015 at 12:05:02AM +0200, Marcel Holtmann wrote:
>
>> Hi Lennert,
> Hi Marcel,
>
>
>>> * Update the linux-zigbee git:// repository URL.
>>>
>>> * The IEEE 802.15.4 MLME based netlink operations are documented
>>>   in include/linux/nl802154.h, not in include/net/nl802154.h.
>>>
>>> * The hardmac example driver 'fakehard' was removed some time ago.
>>>
>>> * The IEEE 802.15.4 device drivers live in drivers/net/ieee802154/,
>>>   not in drivers/ieee802154/.
>>>
>>> * The IEEE 802.15.4 MTU is 127 bytes, not 128 bytes.
>>>
>>> * Some of the 6LoWPAN code lives in net/6lowpan/.
>>>
>>> Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
>>> ---
>>> Documentation/networking/ieee802154.txt | 25 ++++++++++++-------------
>>> 1 file changed, 12 insertions(+), 13 deletions(-)
>>>
>>> diff --git a/Documentation/networking/ieee802154.txt b/Documentation/networking/ieee802154.txt
>>> index 22bbc72..ed08768 100644
>>> --- a/Documentation/networking/ieee802154.txt
>>> +++ b/Documentation/networking/ieee802154.txt
>>> @@ -30,8 +30,8 @@ int sd = socket(PF_IEEE802154, SOCK_DGRAM, 0);
>>>
>>> The address family, socket addresses etc. are defined in the
>>> include/net/af_ieee802154.h header or in the special header
>>> -in our userspace package (see either linux-zigbee sourceforge download page
>>> -or git tree at git://linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee).
>>> +in our userspace package (see either linux-zigbee sourceforge download
>>> +page or git tree at git://git.code.sf.net/p/linux-zigbee/linux-zigbee).
>> I assumed Alex created a linux-wpan userspace repository. I think
>> if we update the text here, we should reference that one.
> OK, how about this patch instead?  (Want me to resubmit the series?)
>
>
> commit fdac3f4b45ad283bf98367d0af4d55e7704d07b5
> Author: Lennert Buytenhek <buytenh@wantstofly.org>
> Date:   Sun May 17 10:53:21 2015 +0300
>
>      Documentation/networking/ieee802154.txt: fix various inaccuracies.
>      
>      * Update the linux-zigbee git:// repository URL.
>      
>      * The IEEE 802.15.4 MLME based netlink operations are documented
>        in include/linux/nl802154.h, not in include/net/nl802154.h.
>      
>      * The hardmac example driver 'fakehard' was removed some time ago.
>      
>      * The IEEE 802.15.4 device drivers live in drivers/net/ieee802154/,
>        not in drivers/ieee802154/.
>      
>      * The IEEE 802.15.4 MTU is 127 bytes, not 128 bytes.
>      
>      * Some of the 6LoWPAN code lives in net/6lowpan/.
>      
>      Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
>
> diff --git a/Documentation/networking/ieee802154.txt b/Documentation/networking/ieee802154.txt
> index 22bbc72..b1aea0c 100644
> --- a/Documentation/networking/ieee802154.txt
> +++ b/Documentation/networking/ieee802154.txt
> @@ -30,8 +30,8 @@ int sd = socket(PF_IEEE802154, SOCK_DGRAM, 0);
>   
>   The address family, socket addresses etc. are defined in the
>   include/net/af_ieee802154.h header or in the special header
> -in our userspace package (see either linux-zigbee sourceforge download page
> -or git tree at git://linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee).
> +in the userspace package (see either http://wpan.cakelab.org/ or the
> +git tree at https://github.com/linux-wpan/wpan-tools).
>   
>   One can use SOCK_RAW for passing raw data towards device xmit function. YMMV.
>   
> @@ -53,7 +53,7 @@ MLME - MAC Level Management
>   ============================
>   
>   Most of IEEE 802.15.4 MLME interfaces are directly mapped on netlink commands.
> -See the include/net/nl802154.h header. Our userspace tools package
> +See the include/linux/nl802154.h header. Our userspace tools package
>   (see above) provides CLI configuration utility for radio interfaces and simple
>   coordinator for IEEE 802.15.4 networks as an example users of MLME protocol.
>   
> @@ -75,8 +75,6 @@ net_device with a pointer to struct ieee802154_mlme_ops instance. The fields
>   assoc_req, assoc_resp, disassoc_req, start_req, and scan_req are optional.
>   All other fields are required.
>   
> -We provide an example of simple HardMAC driver at drivers/ieee802154/fakehard.c
> -
>   
>   SoftMAC
>   =======
> @@ -89,7 +87,8 @@ stack interface for network sniffers (e.g. WireShark).
>   
>   This layer is going to be extended soon.
>   
> -See header include/net/mac802154.h and several drivers in drivers/ieee802154/.
> +See header include/net/mac802154.h and several drivers in
> +drivers/net/ieee802154/.
>   
>   
>   Device drivers API
> @@ -114,18 +113,17 @@ Moreover IEEE 802.15.4 device operations structure should be filled.
>   Fake drivers
>   ============
>   
> -In addition there are two drivers available which simulate real devices with
> -HardMAC (fakehard) and SoftMAC (fakelb - IEEE 802.15.4 loopback driver)
> -interfaces. This option provides possibility to test and debug stack without
> -usage of real hardware.
> +In addition there is a driver available which simulates a real device with
> +SoftMAC (fakelb - IEEE 802.15.4 loopback driver) interface. This option
> +provides possibility to test and debug stack without usage of real hardware.
>   
> -See sources in drivers/ieee802154 folder for more details.
> +See sources in drivers/net/ieee802154 folder for more details.
>   
>   
>   6LoWPAN Linux implementation
>   ============================
>   
> -The IEEE 802.15.4 standard specifies an MTU of 128 bytes, yielding about 80
> +The IEEE 802.15.4 standard specifies an MTU of 127 bytes, yielding about 80
>   octets of actual MAC payload once security is turned on, on a wireless link
>   with a link throughput of 250 kbps or less.  The 6LoWPAN adaptation format
>   [RFC4944] was specified to carry IPv6 datagrams over such constrained links,
> @@ -140,7 +138,8 @@ In Semptember 2011 the standard update was published - [RFC6282].
>   It deprecates HC1 and HC2 compression and defines IPHC encoding format which is
>   used in this Linux implementation.
>   
> -All the code related to 6lowpan you may find in files: net/ieee802154/6lowpan.*
> +All the code related to 6lowpan you may find in files: net/6lowpan/*
> +and net/ieee802154/6lowpan/*
>   
>   To setup 6lowpan interface you need (busybox release > 1.17.0):
>   1. Add IEEE802.15.4 interface and initialize PANid;
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

This addresses the comments I just send already. :)

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>

regards
Stefan Schmidt

  reply	other threads:[~2015-05-20  8:40 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1432064518.git.buytenh@wantstofly.org>
2015-05-19 19:49 ` [PATCH 1/8] ieee802154 socket: Return EMSGSIZE from raw_sendmsg() if packet too big Lennert Buytenhek
2015-05-20 10:36   ` Alexander Aring
2015-05-19 19:50 ` [PATCH 2/8] Documentation/networking/ieee802154.txt: fix various inaccuracies Lennert Buytenhek
2015-05-19 22:05   ` Marcel Holtmann
2015-05-20  8:36     ` Lennert Buytenhek
2015-05-20  8:40       ` Stefan Schmidt [this message]
2015-05-20  8:54       ` Alexander Aring
2015-05-20  9:14         ` Lennert Buytenhek
2015-05-20  9:54       ` Marcel Holtmann
2015-05-20  8:36     ` Stefan Schmidt
2015-05-19 19:50 ` [PATCH 3/8] ieee802154: Remove ieee802154_reduced_mlme_ops references Lennert Buytenhek
2015-05-20 10:34   ` Alexander Aring
2015-05-19 19:50 ` [PATCH 4/8] ieee802154: Remove 802.15.4/6LoWPAN checks for interface MTU Lennert Buytenhek
2015-05-20 10:45   ` Alexander Aring
2015-05-19 19:50 ` [PATCH 5/8] ieee802154 6lowpan: Don't implement ieee802154_mlme_ops Lennert Buytenhek
2015-05-20 10:41   ` Alexander Aring
2015-05-25  6:17     ` Lennert Buytenhek
2015-05-19 19:50 ` [PATCH 6/8] ieee802154 socket: No need to check for ARPHRD_IEEE802154 in raw_bind() Lennert Buytenhek
2015-05-20 10:42   ` Alexander Aring
2015-05-19 19:50 ` [PATCH 7/8] mac802154: mac802154_header_create() optimisation Lennert Buytenhek
2015-05-20 10:33   ` Alexander Aring
2015-05-19 19:50 ` [PATCH 8/8] mac802154: mac802154_mlme_start_req() optimisation Lennert Buytenhek
2015-05-20 10:11   ` 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=555C4873.7060308@osg.samsung.com \
    --to=stefan@osg.samsung.com \
    --cc=buytenh@wantstofly.org \
    --cc=linux-wpan@vger.kernel.org \
    --cc=marcel@holtmann.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