Ad Hoc Mode
In Ad hoc mode two or more computers communicate directly with each other without the need for a central device.
802.11 defines a Basic Service Set (BSS) as the basic building block of an 802.11 wireless LAN. The BSS consists of a group of any number of stations that can communicate with each other since two or more devices do not need a central device to communicate with each other this is known as an Independent Basic Service Set. An advantage of Ad hoc mode is that it can be set up easily and quickly and does not require any pre-planning or site-survey. A few drawbacks of Ad hoc mode are that it is relatively less secure, coverage is limited and there is no option to link to a wired LAN. The figure below shows a Wireless LAN in Ad Hoc operation mode.
In Infrastructure Mode, devices communicate with each other through a central device called an Access Point (AP). In this mode, devices cannot send frames directly to each other instead they send frames to the Access Point, which then forwards the frame to other devices. The Access Point manages the wireless network, advertises its own existence by broadcasting the Service Set Identifier (SSID), and any device that needs to use the wireless network must first send an association request to the Access Point. The Access Point can require any of the following criteria before allowing a client to join.
- A matching Service Set Identifier (SSID)
- A compatible wireless data rate
- Authentication credentials
After a client has associated itself with the Access Point, all communications to and from the client will traverse the AP.
The wireless coverage area of an AP is called the Basic Service Area (BSA), sometimes also referred to as Wireless Cell. An AP can also be connected to a wired Ethernet Local Area Network through an uplink port connection and thus this mode also allows a connection to wired network unlike the Ad hoc mode in which the wireless network cannot be connected to the wired network. Infrastructure mode supports two sets of services, called service sets which are mentioned below
- Basic Service Set: Uses a single Access Point to create the wireless LAN
- Extended Service Set: Wireless LAN extended by connecting two or more BSSs via a distribution system. In an ESS a client has the possibility of roaming, which allows the client to physically change positions and associate itself with nearby AP.
Figure below show a Basic Service Set on left side and an Extended Service Set on the right side.
Although not shown in the figure an Access Point can act as a bridge between the wireless and wired LANs, allowing stations on either LAN to communicate with each other
Today we learned modes of operation of a Wireless Local Area Network and discussed the difference between the two modes and what are the advantages and disadvantages of each. It is very important that you understand the basic building blocks of the Wireless LAN in order to understand the advanced technologies.