Adaptive Packet Length Control using Bit Error Rate Characteristics for Wireless LANs