From: Stefan Schmidt <stefan@osg.samsung.com>
To: Alan Ott <alan@signal11.us>,
Alexandre Macabies <web+oss@zopieux.com>,
linux-wpan@vger.kernel.org
Cc: Alexander Aring <aar@pengutronix.de>
Subject: Re: [PATCH v2 1/3] ieee802154: add security bit check function
Date: Wed, 30 Mar 2016 18:43:30 +0200 [thread overview]
Message-ID: <56FC0232.2060707@osg.samsung.com> (raw)
In-Reply-To: <56FBDD39.1010301@signal11.us>
Hello.
On 30/03/16 16:05, Alan Ott wrote:
> On 03/30/2016 04:45 AM, Stefan Schmidt wrote:
>> Added Alan Ott in CC.
>>
>> Alan, can we get your review on this? Its sit son the list for almost
>> three weeks now.
>> If you are to busy just say so and we can get the ACK from Alex and
>> put them in.
>>
>
> Hi Stefan,
>
> Sorry I've been slow on this. Thanks for forwarding. I actually went
> looking for v2 of this the other day in my inbox and it wasn't there.
Sorry for pushing this but I wanted to get these patches in a state
where they can get applied. With my review and your ack they should be
fine now.
>
> Alexandre, make sure you use scripts/get_maintainer.pl to get the list
> of people you should send patches to. It looks like you put me on v1
> but left me off v2.
>
Good point!
> For all three:
> Acked-by: Alan Ott <alan@signal11.us>
>
regards
Stefan Schmidt
> Alan.
>
>>
>> On 14/03/16 21:46, Alexandre Macabies wrote:
>>> ieee802154_is_secen checks if the 802.15.4 security bit is set in the
>>> frame control field.
>>>
>>> Signed-off-by: Alexander Aring <aar@pengutronix.de>
>>> Signed-off-by: Alexandre Macabies <web+oss@zopieux.com>
>>> Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
>>> ---
>>> include/linux/ieee802154.h | 10 ++++++++++
>>> 1 file changed, 10 insertions(+)
>>>
>>> diff --git a/include/linux/ieee802154.h b/include/linux/ieee802154.h
>>> index d3e4156..56090f1 100644
>>> --- a/include/linux/ieee802154.h
>>> +++ b/include/linux/ieee802154.h
>>> @@ -218,6 +218,7 @@ enum {
>>> /* frame control handling */
>>> #define IEEE802154_FCTL_FTYPE 0x0003
>>> #define IEEE802154_FCTL_ACKREQ 0x0020
>>> +#define IEEE802154_FCTL_SECEN 0x0004
>>> #define IEEE802154_FCTL_INTRA_PAN 0x0040
>>> #define IEEE802154_FTYPE_DATA 0x0001
>>> @@ -233,6 +234,15 @@ static inline int ieee802154_is_data(__le16 fc)
>>> }
>>> /**
>>> + * ieee802154_is_secen - check if Security bit is set
>>> + * @fc: frame control bytes in little-endian byteorder
>>> + */
>>> +static inline bool ieee802154_is_secen(__le16 fc)
>>> +{
>>> + return fc & cpu_to_le16(IEEE802154_FCTL_SECEN);
>>> +}
>>> +
>>> +/**
>>> * ieee802154_is_ackreq - check if acknowledgment request bit is set
>>> * @fc: frame control bytes in little-endian byteorder
>>> */
>>
>
next prev parent reply other threads:[~2016-03-30 16:43 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-10 18:14 [PATCH 1/3] ieee802154: add security bit check function web+oss
2016-03-10 18:14 ` [PATCH 2/3] mrf24j40: fix security-enabled processing on inbound frames web+oss
2016-03-14 11:05 ` Stefan Schmidt
2016-03-10 18:14 ` [PATCH 3/3] mrf24j40: apply the security-enabled bit on secured outbound frames web+oss
2016-03-14 11:06 ` Stefan Schmidt
2016-03-14 11:03 ` [PATCH 1/3] ieee802154: add security bit check function Stefan Schmidt
2016-04-08 17:37 ` Marcel Holtmann
2016-03-14 20:46 ` [PATCH v2 " Alexandre Macabies
2016-03-14 20:46 ` [PATCH v2 2/3] mrf24j40: fix security-enabled processing on inbound frames Alexandre Macabies
2016-03-30 8:45 ` Stefan Schmidt
2016-03-14 20:46 ` [PATCH v2 3/3] mrf24j40: apply the security-enabled bit on secured outbound frames Alexandre Macabies
2016-03-30 8:45 ` Stefan Schmidt
2016-03-30 8:45 ` [PATCH v2 1/3] ieee802154: add security bit check function Stefan Schmidt
2016-03-30 14:05 ` Alan Ott
2016-03-30 16:43 ` Stefan Schmidt [this message]
2016-04-08 17:35 ` Marcel Holtmann
2016-04-12 16:53 ` [PATCH v3 " Alexandre Macabies
2016-04-12 16:53 ` [PATCH v3 2/3] mrf24j40: fix security-enabled processing on inbound frames Alexandre Macabies
2016-04-13 8:44 ` Marcel Holtmann
2016-04-12 16:53 ` [PATCH v3 3/3] mrf24j40: apply the security-enabled bit on secured outbound frames Alexandre Macabies
2016-04-13 8:44 ` Marcel Holtmann
2016-04-13 8:44 ` [PATCH v3 1/3] ieee802154: add security bit check function Marcel Holtmann
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=56FC0232.2060707@osg.samsung.com \
--to=stefan@osg.samsung.com \
--cc=aar@pengutronix.de \
--cc=alan@signal11.us \
--cc=linux-wpan@vger.kernel.org \
--cc=web+oss@zopieux.com \
/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