diff options
author | Brad Campbell <bradjc5@gmail.com> | 2015-12-23 21:19:41 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2016-01-03 09:17:42 +0100 |
commit | 59869ebfe7a73771399b897e592a8618fa0e43d7 (patch) | |
tree | 24b213f39c0fb608baa3ee35ff30a36d0fe6c663 /net | |
parent | c07f30ad68053181b3e8a0e65b0630e12e844f91 (diff) | |
download | linux-59869ebfe7a73771399b897e592a8618fa0e43d7.tar.gz linux-59869ebfe7a73771399b897e592a8618fa0e43d7.tar.bz2 linux-59869ebfe7a73771399b897e592a8618fa0e43d7.zip |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions