Home
last modified time | relevance | path

Searched refs:cca_mode (Results 1 – 4 of 4) sorted by relevance

/linux/net/mac802154/
H A Dtrace.h22 #define CCA_ENTRY __field(enum nl802154_cca_modes, cca_mode) \
26 (__entry->cca_mode) = cca->mode; \
30 #define CCA_PR_ARG __entry->cca_mode, __entry->cca_opt
/linux/drivers/net/ieee802154/
H A Dmcr20a.c640 unsigned int cca_mode = 0xff; in mcr20a_set_cca_mode() local
649 cca_mode = MCR20A_CCA_MODE1; in mcr20a_set_cca_mode()
652 cca_mode = MCR20A_CCA_MODE2; in mcr20a_set_cca_mode()
657 cca_mode = MCR20A_CCA_MODE3; in mcr20a_set_cca_mode()
661 cca_mode = MCR20A_CCA_MODE3; in mcr20a_set_cca_mode()
673 cca_mode << DAR_PHY_CTRL4_CCATYPE_SHIFT); in mcr20a_set_cca_mode()
677 if (cca_mode == MCR20A_CCA_MODE3) { in mcr20a_set_cca_mode()
H A Dca8210.c2180 u8 cca_mode; in ca8210_set_cca_mode() local
2183 cca_mode = cca->mode & 3; in ca8210_set_cca_mode()
2184 if (cca_mode == 3 && cca->opt == NL802154_CCA_OPT_ENERGY_CARRIER_OR) { in ca8210_set_cca_mode()
2186 cca_mode = 0; in ca8210_set_cca_mode()
2192 &cca_mode, in ca8210_set_cca_mode()
/linux/net/ieee802154/
H A Dtrace.h28 #define WPAN_CCA_ENTRY __field(enum nl802154_cca_modes, cca_mode) \
32 (__entry->cca_mode) = cca->mode; \
35 #define WPAN_CCA_PR_FMT "cca_mode: %d, cca_opt: %d"
36 #define WPAN_CCA_PR_ARG __entry->cca_mode, __entry->cca_opt