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
@@ -28,6 +28,8 @@
|
||||
#include <linux/skbuff.h>
|
||||
#include <linux/ieee802154.h>
|
||||
|
||||
#include <net/cfg802154.h>
|
||||
|
||||
struct ieee802154_sechdr {
|
||||
#if defined(__LITTLE_ENDIAN_BITFIELD)
|
||||
u8 level:3,
|
||||
@@ -337,7 +339,7 @@ struct ieee802154_mac_params {
|
||||
s8 frame_retries;
|
||||
|
||||
bool lbt;
|
||||
u8 cca_mode;
|
||||
struct wpan_phy_cca cca;
|
||||
s32 cca_ed_level;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user