ieee802154: rework cca setting
The current cca setting handle is a driver specific call. We need to introduce some 802.15.4 specific layer and mapping 802.15.4 cca modes to driver specific ones inside the 802.15.4 driver. This patch will add such 802.15.4 layer and mapping the cca settings to driver specific ones. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:

committed by
Marcel Holtmann

parent
b40d6376ff
commit
7fe9a3882b
@@ -68,7 +68,7 @@ static DEVICE_ATTR_RO(name)
|
||||
MASTER_SHOW(current_channel, "%d");
|
||||
MASTER_SHOW(current_page, "%d");
|
||||
MASTER_SHOW(transmit_power, "%d +- 1 dB");
|
||||
MASTER_SHOW(cca_mode, "%d");
|
||||
MASTER_SHOW_COMPLEX(cca_mode, "%d", phy->cca.mode);
|
||||
|
||||
static ssize_t channels_supported_show(struct device *dev,
|
||||
struct device_attribute *attr,
|
||||
|
Reference in New Issue
Block a user