Lines Matching +full:no +full:- +full:big +full:- +full:frame +full:- +full:no

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * IEEE802.15.4-2003 specification
11 * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
29 /* General MAC frame format:
30 * 2 bytes: Frame Control
36 #define IEEE802154_MIN_HEADER_LEN (IEEE802154_ACK_PSDU_LEN - \
61 #define IEEE802154_FC_TYPE_BEACON 0x0 /* Frame is beacon */
62 #define IEEE802154_FC_TYPE_DATA 0x1 /* Frame is data */
63 #define IEEE802154_FC_TYPE_ACK 0x2 /* Frame is acknowledgment */
64 #define IEEE802154_FC_TYPE_MAC_CMD 0x3 /* Frame is MAC command */
67 #define IEEE802154_FC_TYPE_MASK ((1 << 3) - 1)
153 /* Wrong frame counter. */
156 * The frame does not conforms to the incoming key usage policy checking
161 * The frame does not conforms to the incoming security level usage
165 /* Secured frame received with an empty Frame Version field. */
168 * A secured frame is received or must be sent but security is not
177 * channel, i.e., the CSMA-CA mechanism has failed.
185 * The received frame induces a failed security check according to
190 * The frame resulting from secure processing has a length that is
206 /* No acknowledgment was received after aMaxFrameRetries. */
210 /* No response data were available following a request. */
228 /* There is no capacity to store the transaction. */
246 * big compared to the macBeaconOrder.
271 * The PIBAttribute parameter specifies an attribute that is a read-only
287 * enum ieee802154_filtering_level - Filtering levels applicable to a PHY
289 * @IEEE802154_FILTERING_NONE: No filtering at all, what is received is
295 * level one on PHY side, but at the MAC level the frame should be
300 * enforcing the validity of the content of the frame with various checks
310 /* frame control handling */
327 * ieee802154_is_data - check if type is IEEE802154_FTYPE_DATA
328 * @fc: frame control bytes in little-endian byteorder
337 * ieee802154_is_secen - check if Security bit is set
338 * @fc: frame control bytes in little-endian byteorder
346 * ieee802154_is_ackreq - check if acknowledgment request bit is set
347 * @fc: frame control bytes in little-endian byteorder
355 * ieee802154_is_intra_pan - check if intra pan id communication
356 * @fc: frame control bytes in little-endian byteorder
364 * ieee802154_daddr_mode - get daddr mode from fc
365 * @fc: frame control bytes in little-endian byteorder
373 * ieee802154_saddr_mode - get saddr mode from fc
374 * @fc: frame control bytes in little-endian byteorder
382 * ieee802154_is_valid_psdu_len - check if psdu len is valid
384 * 0-4 Reserved
386 * 6-8 Reserved
387 * 9-127 MPDU
398 * ieee802154_is_valid_extended_unicast_addr - check if extended addr is valid
411 * ieee802154_is_broadcast_short_addr - check if short addr is broadcast
420 * ieee802154_is_unspec_short_addr - check if short addr is unspecified
429 * ieee802154_is_valid_src_short_addr - check if source short address is valid
439 * ieee802154_random_extended_addr - generates a random extended address
447 ((u8 *)addr)[IEEE802154_EXTENDED_ADDR_LEN - 1] &= ~0x01; in ieee802154_random_extended_addr()
448 ((u8 *)addr)[IEEE802154_EXTENDED_ADDR_LEN - 1] |= 0x02; in ieee802154_random_extended_addr()