ieee802154: change cca ed level to mbm
authorAlexander Aring <alex.aring@gmail.com>
Sun, 17 May 2015 19:44:41 +0000 (21:44 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 19 May 2015 09:44:42 +0000 (11:44 +0200)
commit32b23550ad64d9676f2218b3d5de46bacf98ef1d
treeb6c2c1523a886fd89cb12a04c46e02787641f26b
parente2eb173aaacd1a1bcd255d3e74ffb719e47eeadb
ieee802154: change cca ed level to mbm

This patch change the handling of cca energy detection level from dbm to
mbm. This prepares to handle floating point cca energy detection levels
values. The old netlink 802.15.4 will convert the dbm value to mbm for
handling backward compatibility.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/at86rf230.c
include/net/cfg802154.h
include/net/mac802154.h
net/ieee802154/nl-mac.c
net/mac802154/driver-ops.h