A method for detecting a maximum transmission unit, MTU, value in wireless communication, the method comprising: forming (S11), by a data sender, a first detection packet according to a first preset rule based on an MTU value of the data sender, wherein the first preset rule comprises: the first detection packet comprises a first content and a second content, wherein the first content and the second content are included within a byte length of a default MTU value of the data sender from a first byte, the first content is included in a given byte of the first detection packet and indicates a byte length value of the first detection packet with the purpose of informing the data receiver of the MTU value that can be used by the data sender, and the second content is included in the remaining bytes and indicates content to be transmitted; sending (S12), by the data sender, the first detection packet to a data receiver; receiving (S13), by the data sender, a second detection packet from the data receiver, wherein the data receiver acquires the byte length of the first detection packet, determines a smaller value between the byte length of the first detection packet and an MTU value of the data receiver as an MTU value of data transmission from the data receiver to the data sender, and forms the second detection packet based on the determined MTU value of the data transmission from the data receiver to the data sender, wherein said determined MTU value is included as a byte length indicated in the content of the second detection packet to inform the data sender of the MTU value determined by the data receiver; and determining (S14), by the data sender, the MTU value included in the second detection packet as the MTU value of data transmission between the data sender and the data receiver. forming (S11), by a data sender, a first detection packet according to a first preset rule based on an MTU value of the data sender, wherein the first preset rule comprises: the first detection packet comprises a first content and a second content, wherein the first content and the second content are included within a byte length of a default MTU value of the data sender from a first byte, the first content is included in a given byte of the first detection packet and indicates a byte length value of the first detection packet with the purpose of informing the data receiver of the MTU value that can be used by the data sender, and the second content is included in the remaining bytes and indicates content to be transmitted; sending (S12), by the data sender, the first detection packet to a data receiver; receiving (S13), by the data sender, a second detection packet from the data receiver, wherein the data receiver acquires the byte length of the first detection packet, determines a smaller value between the byte length of the first detection packet and an MTU value of the data receiver as an MTU value of data transmission from the data receiver to the data sender, and forms the second detection packet based on the determined MTU value of the data transmission from the data receiver to the data sender, wherein said determined MTU value is included as a byte length indicated in the content of the second detection packet to inform the data sender of the MTU value determined by the data receiver; and determining (S14), by the data sender, the MTU value included in the second detection packet as the MTU value of data transmission between the data sender and the data receiver. <EOS>