An inexpensive reconfigurable planar array for Wi-Fi applications