/* Dissector for IEEE 802.15.4 packet with an FCS containing a 16-bit CRC value. */
static int dissect_ieee802154(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
/* Dissector for IEEE 802.15.4 packet with an FCS containing a 16-bit CRC value. */
static int dissect_ieee802154(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
    tvbuff_t *new_tvb = dissect_zboss_specific(tvb, pinfo, tree);
    guint options = 0;
    if (ieee802154_cc24xx)
    {
      options = DISSECT_IEEE802154_OPTION_CC24xx;
    }
    if (new_tvb != tvb)
    {
      options = (DISSECT_IEEE802154_OPTION_CC24xx | DISSECT_IEEE802154_OPTION_ZBOSS);
    }
    dissect_ieee802154_common(new_tvb, pinfo, tree, options);
    return tvb_captured_length(tvb);
}