Set the communication mode of the wireless LAN.
If you are using an access point, select Infrastructure.
If a network interface and computers communicate wirelessly and directly with each other, select Ad Hoc.