# communication\_wifi - [Introduction](#section11660541593) - [Architecture](#section342962219551) - [Directory Structure](#section161941989596) - [Usage](#section1312121216216) - [Available APIs](#section1551164914237) - [Usage Guidelines](#section129654513264) - [Repositories Involved](#section1371113476307) ## Introduction A wireless local area network \(WLAN\) uses the radio, infrared, or other technologies to transmit data between devices that are not physically connected with each other. It is widely applied in offices and public places where mobile devices are used. The WLAN module provides basic WLAN functions, peer-to-peer \(P2P\) connection, and WLAN notification, enabling your application to communicate with other devices through a WLAN. ## Architecture **Figure 1** WLAN architecture ![](figures/en-us_image_0000001115710400.png) ## Directory Structure ``` /foundation/communication/wifi ├── figures # Figures ├── interfaces # APIs │ ├── innerkits # Inner APIs │ └── kits # WLAN APIs ├── services # Services │ └── wifi_standard # Service implementation ├── tests # Test code │ └── wifi_standard # Test code for the service implementation module └── utils # Utility functions ├── inc # Header directory for utility functions └── src # Implementation directory for utility functions ``` ## Usage ### Available APIs The following table describes JavaScript APIs in **@ohos.wifi** available for basic WLAN functions. **Table 1** Major JavaScript APIs available for basic WLAN functions