All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] ieee802154: cc2520: Check CRC & add promiscuous
@ 2015-12-23  8:17 Brad Campbell
  2015-12-23  8:17 ` [PATCH v2 1/1] " Brad Campbell
  2015-12-23  9:22 ` [PATCH v2 0/1] " Alexander Aring
  0 siblings, 2 replies; 8+ messages in thread
From: Brad Campbell @ 2015-12-23  8:17 UTC (permalink / raw)
  To: Varka Bhadram, Alexander Aring, linux-wpan; +Cc: Brad Campbell

I've updated the patch to provide monitors a method for determining if
the incoming packet had a valid CRC or not. This required adding promiscuous
mode, which is no longer the default.

Also, am I correct in noting that configuring a node interface to be in
promiscuous mode with something like:

ioctl(sockfd, SIOCGIFFLAGS, &ifopts);
ifopts.ifr_flags |= IFF_PROMISC;
ioctl(sockfd, SIOCSIFFLAGS, &ifopts);

is not currently supported? That's how I was testing at first and it
didn't seem to work.... Also, if a user does set an interface to
promiscuous using an ioctl, it seems like they would still want CRC
checking, which is not what would currently happen.


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 | 128 ++++++++++++++++++++++++++++++++++------
 1 file changed, 111 insertions(+), 17 deletions(-)

--
2.6.3


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-12-23 22:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-23  8:17 [PATCH v2 0/1] ieee802154: cc2520: Check CRC & add promiscuous Brad Campbell
2015-12-23  8:17 ` [PATCH v2 1/1] " Brad Campbell
2015-12-23  9:55   ` Alexander Aring
2015-12-23 21:27     ` Brad Campbell
2015-12-23 22:12       ` Alexander Aring
2015-12-23  9:22 ` [PATCH v2 0/1] " Alexander Aring
2015-12-23 21:33   ` Brad Campbell
2015-12-23 22:17     ` Alexander Aring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.