diff options
Diffstat (limited to 'include/net/mac802154.h')
-rw-r--r-- | include/net/mac802154.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/net/mac802154.h b/include/net/mac802154.h index 166ef6c52180..bc1d40c826e3 100644 --- a/include/net/mac802154.h +++ b/include/net/mac802154.h | |||
@@ -73,8 +73,8 @@ struct ieee802154_hw { | |||
73 | * however, so you are advised to review these flags carefully. | 73 | * however, so you are advised to review these flags carefully. |
74 | */ | 74 | */ |
75 | 75 | ||
76 | /* Indicates that receiver omits FCS and xmitter will add FCS on it's own. */ | 76 | /* Indicates that xmitter will add FCS on it's own. */ |
77 | #define IEEE802154_HW_OMIT_CKSUM 0x00000001 | 77 | #define IEEE802154_HW_TX_OMIT_CKSUM 0x00000001 |
78 | /* Indicates that receiver will autorespond with ACK frames. */ | 78 | /* Indicates that receiver will autorespond with ACK frames. */ |
79 | #define IEEE802154_HW_AACK 0x00000002 | 79 | #define IEEE802154_HW_AACK 0x00000002 |
80 | /* Indicates that transceiver will support transmit power setting. */ | 80 | /* Indicates that transceiver will support transmit power setting. */ |
@@ -94,6 +94,12 @@ struct ieee802154_hw { | |||
94 | #define IEEE802154_HW_AFILT 0x00000100 | 94 | #define IEEE802154_HW_AFILT 0x00000100 |
95 | /* Indicates that transceiver will support promiscuous mode setting. */ | 95 | /* Indicates that transceiver will support promiscuous mode setting. */ |
96 | #define IEEE802154_HW_PROMISCUOUS 0x00000200 | 96 | #define IEEE802154_HW_PROMISCUOUS 0x00000200 |
97 | /* Indicates that receiver omits FCS. */ | ||
98 | #define IEEE802154_HW_RX_OMIT_CKSUM 0x00000400 | ||
99 | |||
100 | /* Indicates that receiver omits FCS and xmitter will add FCS on it's own. */ | ||
101 | #define IEEE802154_HW_OMIT_CKSUM (IEEE802154_HW_TX_OMIT_CKSUM | \ | ||
102 | IEEE802154_HW_RX_OMIT_CKSUM) | ||
97 | 103 | ||
98 | /* This groups the most common CSMA support fields into one. */ | 104 | /* This groups the most common CSMA support fields into one. */ |
99 | #define IEEE802154_HW_CSMA (IEEE802154_HW_CCA_MODE | \ | 105 | #define IEEE802154_HW_CSMA (IEEE802154_HW_CCA_MODE | \ |