linux-stable/drivers/net/ieee802154
Brad Campbell 59869ebfe7 ieee802154: cc2520: Check CRC & add promiscuous
This patch adds checking the "CRC_OK" bit at the end of packets coming
from the CC2520 radio. It also adds support for putting the radio in
promiscuous mode (in which packets are not dropped if the CRC fails).
In promiscuous mode the AUTOCRC flag is cleared so that the driver can
pass the received CRC to the monitors.

The radio now defaults to frame filtering (checking that the destination
and PANID in the incoming packet matches the local node). This matches
the other 15.4 radios and is what a user would expect to be the default.

Other changes:

1. Adds LQI calculation
2. Makes #defines for relevant bit fields in CC2520 registers

Signed-off-by: Brad Campbell <bradjc5@gmail.com>
Acked-by: Varka Bhadram <varkabhadram@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2016-01-03 09:17:42 +01:00
..
adf7242.c ieee802154/adf7242: Driver for ADF7242 MAC IEEE802154 2015-12-11 11:27:22 +01:00
at86rf230.c spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
at86rf230.h at86rf230: add debugfs support 2015-09-17 13:20:05 +02:00
atusb.c ieee802154-atusb: Delete an unnecessary check before the function call "kfree_skb" 2015-12-11 01:11:48 +01:00
atusb.h ieee802154: add support for atusb transceiver 2015-05-19 11:44:45 +02:00
cc2520.c ieee802154: cc2520: Check CRC & add promiscuous 2016-01-03 09:17:42 +01:00
fakelb.c fakelb: add xmit_async after stop testcase 2015-06-15 01:25:06 +02:00
Kconfig ieee802154/adf7242: Driver for ADF7242 MAC IEEE802154 2015-12-11 11:27:22 +01:00
Makefile ieee802154/adf7242: Driver for ADF7242 MAC IEEE802154 2015-12-11 11:27:22 +01:00
mrf24j40.c spi: Updates for v4.4 2015-11-05 13:15:12 -08:00