Removed all references to ack field in frames and packets. Added macro to check data_length for ack.