at86rf230: add support for at86rf23x desense
authorAlexander Aring <alex.aring@gmail.com>
Wed, 2 Jul 2014 22:20:47 +0000 (00:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 04:29:24 +0000 (21:29 -0700)
commita7d7eda9054450320d5f7144ff8a0767ab619da3
tree545fc2d4ab0e6d25c4711b8aa2c8cb6fed142c13
parenta53d1f7c3d53353f68b2355a19cd5d5c7e4c7b34
at86rf230: add support for at86rf23x desense

To set the CCA_ED_THRES register the calculation for at86rf23x is
different than for at86rf212. This patch adds a new callback for this
calculation in chip data struct.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/at86rf230.c