In the design of antenna, short circuit needle position and number, the location of the feeding point, the material and thickness of the substrate are very important. The values of these parameters directly affect the antenna performance. Using Ansoft HFSS simulation software to optimize analysis, and comparing the antenna radiation characteristics of each different parameter values can obtain the final optimized antenna parameters. The optimization results show that the antenna at 2.39 GHz to 2.39 GHz frequencies in IEEE802.11 b protocol, while 5.0 GHz to 5.0 GHz band is wider bandwidth to meet the IEEE802.11 a protocol.