Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
From: Brad Campbell <bradjc5@gmail.com>
To: Varka Bhadram <varkabhadram@gmail.com>,
	Alexander Aring <alex.aring@gmail.com>,
	linux-wpan@vger.kernel.org
Cc: Brad Campbell <bradjc5@gmail.com>
Subject: [PATCH v3 0/1] ieee802154: cc2520: Check CRC & add promiscuous
Date: Wed, 23 Dec 2015 21:19:40 -0500	[thread overview]
Message-ID: <1450923581-967-1-git-send-email-bradjc5@gmail.com> (raw)

Update the patch to disable AUTOCRC and manually set CRC on TX when in
promiscuous mode rather than recreating the CRC upon receive.

I've tested that in monitor mode all packets are received with the CRC, and
in node mode packets are being filtered as expected.

Changes since v2:
- Disable AUTOCRC when in promiscuous mode rather than manually
calculating CRC
- Add CRC manually for TX when in promiscuous mode
- Remove initializing FRMCTRL0 as it is set when promiscuous mode
is configured.

Changes since v1:
- Add support for promiscuous mode in cc2520
- Make frame filtering default
- Append CRC to incoming packets for monitors
- Actually calculate LQI

Brad Campbell (1):
  ieee802154: cc2520: Check CRC & add promiscuous

 drivers/net/ieee802154/cc2520.c | 145 +++++++++++++++++++++++++++++++++-------
 1 file changed, 122 insertions(+), 23 deletions(-)

--
2.6.3


             reply	other threads:[~2015-12-24  2:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-24  2:19 Brad Campbell [this message]
2015-12-24  2:19 ` [PATCH v3 1/1] ieee802154: cc2520: Check CRC & add promiscuous Brad Campbell
2015-12-31 15:07   ` Varka Bhadram
2015-12-31 19:06 ` [PATCH v3 0/1] " 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=1450923581-967-1-git-send-email-bradjc5@gmail.com \
    --to=bradjc5@gmail.com \
    --cc=alex.aring@gmail.com \
    --cc=linux-wpan@vger.kernel.org \
    --cc=varkabhadram@gmail.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