framer-802154: compress PANID by default
This commit is contained in:
parent
e9951e9341
commit
2817b9212a
@ -148,10 +148,8 @@ framer_802154_setup_params(packetbuf_attr_t (*get_attr)(uint8_t type),
|
|||||||
params->fcf.ack_required = get_attr(PACKETBUF_ATTR_MAC_ACK);
|
params->fcf.ack_required = get_attr(PACKETBUF_ATTR_MAC_ACK);
|
||||||
params->fcf.sequence_number_suppression = FRAME802154_SUPPR_SEQNO;
|
params->fcf.sequence_number_suppression = FRAME802154_SUPPR_SEQNO;
|
||||||
}
|
}
|
||||||
/* We do not compress PAN ID in outgoing frames, i.e. include one PAN ID (dest by default)
|
/* Compress PAN ID in outgoing frames by default */
|
||||||
* There is one exception, seemingly a typo in Table 2a: rows 2 and 3: when there is no
|
params->fcf.panid_compression = 1;
|
||||||
* source nor destination address, we have dest PAN ID iff compression is *set*. */
|
|
||||||
params->fcf.panid_compression = 0;
|
|
||||||
|
|
||||||
/* Set IE Present bit */
|
/* Set IE Present bit */
|
||||||
params->fcf.ie_list_present = get_attr(PACKETBUF_ATTR_MAC_METADATA);
|
params->fcf.ie_list_present = get_attr(PACKETBUF_ATTR_MAC_METADATA);
|
||||||
|
Loading…
Reference in New Issue
Block a user