framer-802154: compress PANID by default
@@ -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.sequence_number_suppression = FRAME802154_SUPPR_SEQNO;
}
- /* We do not compress PAN ID in outgoing frames, i.e. include one PAN ID (dest by default)
- * There is one exception, seemingly a typo in Table 2a: rows 2 and 3: when there is no
- * source nor destination address, we have dest PAN ID iff compression is *set*. */
- params->fcf.panid_compression = 0;
+ /* Compress PAN ID in outgoing frames by default */
+ params->fcf.panid_compression = 1;
/* Set IE Present bit */
params->fcf.ie_list_present = get_attr(PACKETBUF_ATTR_MAC_METADATA);
