A method is provided for determining a bandwidth allocation needed to provide a specified QOS requirement that takes appropriate account of statistical variations for packet streams in a transmission link. The frame-protector sidewalls may be connected together via a frame-protector bottom wall. In a semiconductor device including a thin film transistor, a semiconductor layer of the thin film transistor is formed with an oxide semiconductor layer to which a metal element is added.