/* Subdissector for the ZigBee specific TX Power IE (information element) */
static void dissect_ieee802154_zigbee_txpower(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset)
/* Subdissector for the ZigBee specific TX Power IE (information element) */
static void dissect_ieee802154_zigbee_txpower(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset)
{
    gint32 txpower;
    txpower = (char)tvb_get_guint8(tvb, *offset);
    proto_tree_add_item_ret_int(tree, hf_ieee802154_zigbee_ie_tx_power, tvb, *offset, 1, ENC_NA, &txpower);
    proto_item_append_text(tree, ", TX Power %d dBm", txpower);
    *offset += 1;
}