Multiplexed Serial Wireless Connectivity for Palmtop Computers

Similar documents
System Design Issues for Low-Power, Low-Cost Short Range Wireless Networking

Bluetooth: Short-range Wireless Communication

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

ALL SAINTS COLLEGE OF TECHNOLOGY, BHOPAL

12/2/09. Mobile and Ubiquitous Computing. Bluetooth Networking" George Roussos! Bluetooth Overview"

e-pg Pathshala Quadrant 1 e-text

Wireless Local Area Networks. Networks: Wireless LANs 1

WIRELESS-NETWORK TECHNOLOGIES/PROTOCOLS

Unit 09 Computer Networks

OSI Reference Model. Computer Networks lab ECOM Prepared By : Eng. Motaz Murtaja Eng. Ola Abd Elatief

Bluetooth. Bluetooth Radio

Bluetooth. Quote of the Day. "I don't have to be careful, I've got a gun. -Homer Simpson. Stephen Carter March 19, 2002

Networking interview questions

CS263: Wireless Communications and Sensor Networks

CS4/MSc Computer Networking. Lecture 13: Personal Area Networks Bluetooth

Chapter 4. DataLink Layer. Reference: Computer Networking: A Top Down Approach 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007.

Wireless Local Area Networks (WLANs) and Wireless Sensor Networks (WSNs) Primer. Computer Networks: Wireless LANs

Delivering Voice over IEEE WLAN Networks

Wireless Local Area Networks (WLANs)) and Wireless Sensor Networks (WSNs) Computer Networks: Wireless Networks 1

Amarjeet Singh. February 7, 2012

Part 5: Link Layer Technologies. CSE 3461: Introduction to Computer Networking Reading: Chapter 5, Kurose and Ross

Router Router Microprocessor controlled traffic direction home router DSL modem Computer Enterprise routers Core routers

WiFi Networks: IEEE b Wireless LANs. Carey Williamson Department of Computer Science University of Calgary Winter 2018

CCNA Exploration1 Chapter 7: OSI Data Link Layer

August AppleTalk tunneling, which allows AppleTalk data to pass through foreign networks and over point-to-point links

CEN 538 Wireless LAN & MAN Networks

Ethernet Switches (more)

Data Link Control Protocols

Chapter 2 Communicating Over the Network

Lecture 16: QoS and "

Frank Miller, George Apostolopoulos, and Satish Tripathi. University of Maryland. College Park, MD ffwmiller, georgeap,

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

ECS 152A Computer Networks Instructor: Liu. Name: Student ID #: Final Exam: March 17, 2005

Communication and Networking in the IoT

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

Sirindhorn International Institute of Technology Thammasat University

Session 4 Networks II

CS 515 Mobile and Wireless Networking Final Exam Fall

Physical Layer. Medium Access Links and Protocols. Point-to-Point protocols. Modems: Signaling. Modems Signaling. Srinidhi Varadarajan

Lecture Outline. Lecture 2. OSI model and networking. The OSI model and networking. The OSI model and networking. The OSI model and networking

Introduction to Networks and the Internet

CS 4453 Computer Networks Winter

Slides for Chapter 3: Networking and Internetworking

Local Area Networks NETW 901

Bluetooth. 3.3 Latest Technology in Wireless Network. What is BLUETOOTH: Bluetooth 2/17/2016

ENRNG3076 : Oral presentation BEng Computer and Communications Engineering

More on LANs. Roadmap. CPSC Network Programming. ! Hardware Addressing. !LAN Wiring. ! Extending LANs. ! Local Loop Digital Technologies

Computer Communication III

Reducing Router-Crossings in a Mobile Intranet. Ibrahim Korpeoglu Rohit Dube Satish K. Tripathi. University of Maryland. College Park, MD 20742

Computer Networks II Advanced Features (T )

Wireless Networks. Authors: Marius Popovici Daniel Crişan Zagham Abbas. Technical University of Cluj-Napoca Group Cluj-Napoca, 24 Nov.

Wireless LANs. The Protocol Stack The Physical Layer The MAC Sublayer Protocol The Frame Structure Services 802.

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

UNIT 5 P.M.Arun Kumar, Assistant Professor, Department of IT, Sri Krishna College of Engineering and Technology, Coimbatore.

Analysis of UDP Performance over Bluetooth

Introduction. Introduction to Network Communications G64INC. Lectures. Related Modules. Assessment. Objectives

Guide to Wireless Communications, Third Edition. Objectives

WIRELESS LANs: THE DECT APPROACH

Wireless# Guide to Wireless Communications. Objectives

Computer Communication Networks

CS 515 Mobile and Wireless Networking Final Exam Solutions Fall

Seamless Traffic Migration between the Mobile and Fixed Networks

Network Architecture

Chapter 5 Link Layer and LANs

Class-based Packet Scheduling Policies for Bluetooth

Lecture 2: Internet Structure

[A SHORT REPORT ON BLUETOOTH TECHNOLOGY]

Lecture 3: Modulation & Layering"

Medium Access Control

ETSI Project BRAN Hiperlan Type 2 for IEEE 1394 Applications System Overview

Ethernet Switches Bridges on Steroids. Ethernet Switches. IEEE Wireless LAN. Ad Hoc Networks

Solutions to Performance Problems in VoIP Over a Wireless LAN

Review of Network Technologies

CIS 551 / TCOM 401 Computer and Network Security. Spring 2007 Lecture 8

ECE 650 Systems Programming & Engineering. Spring 2018

S5 Communications. Rev. 1

Direct Link Networks. Framing. Lecture - Encoding & Framing 1. Problems. Areas for Discussion

Communication Networks

Chapter 3.1 Acknowledgment:

SIMULATION BASED ANALYSIS OF BLUETOOTH NETWORKS. M. Subramani and M. Ilyas

CHAPTER 2 - NETWORK DEVICES

ECS 15; Lectures 17 and 18. The Internet. What is the internet, and how does it work? TA feedback

PPPoE Technology White Paper

Wireless LAN. Access Point. Provides network connectivity over wireless media

Network Devices Introduction into Network Devices

ITP 140 Mobile Applications Technologies. Networks

Module 5. Embedded Communications. Version 2 EE IIT, Kharagpur 1

Course 10: Interfaces Agenda

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

Distributed Queue Dual Bus

end systems, access networks, links 1.3 network core

Links. CS125 - mylinks 1 1/22/14

Hubs, Bridges, and Switches (oh my) Hubs

Data Link Layer: Multi Access Protocols

Networks: Communicating and Sharing Resources

Chapter 3. Underlying Technology. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

PPP. Point-to-Point Protocol

521262S Computer Networks 2 (fall 2007) Laboratory exercise #4: Multimedia, QoS and testing

Transcription:

Multiplexed Serial Wireless Connectivity for Palmtop Computers Ibrahim Korpeoglu, Pravin Bhagwat, Chatschik Bisdikian, Mahmoud Naghshineh Computer Science Department University of Maryland College Park, MD 20742 IBM T. J. Watson Research Center P.0.Box 218 Yorktown Heights, NY 10598 ABSTRACT Palmtop computers which consume very little power, have very small size, and are much cheaper compared to their laptop counterparts are proliferating in the market. However, there exist no satisfactory wireless connectivity solution in terms of cost and power consumption to connect these devices to the network. This paper describes a cost-effective, low-power wireless connectivity solution for these devices and presents the design and implementation of how multiple such devices are connected to an access point over a shared wireless link. 1 Introduction Palmtop computers are mostly used in disconnected mode for storing address book information, recording appointments, taking notes, etc. Network-based interactive applications have not yet proliferated. The most commonly used networked application is (network) hotsync, which synchronizes the data in a PDA with a desktop computer through an RS-232 serial cable or through modem connected telephone lines (figure 1-a,b). The main reason for unpopularity of networked applications is the lack of good wireless connectivity solutions. Existing wireless solutions are not suitable for networking palmtop devices. The networking requirements of PDAs differ from those of laptop and desktop computers. Unlike laptop computers, PDAs are designed to operate within strict cost, space, and power budget. Therefore, any communication solution for PDAs need to have similar properties in terms of cost, battery efficiency and form factor. Secondly, since most PDAs only support RS-232 serial interface to communicate, traditional PCMCIA based wireless LAN cards cannot be used. Although various indoor and outdoor existing wireless network technologies can be adapted for enabling wireless access for PDAs, none of these wireless technologies provide a cost effective solution. Wide area solutions such as CDPD, ARDIS, RAM are not suitable for indoor use. Metricom s Richochet wireless modem design is an attractive alternative. However, Ricochet is intended to be a wide area wireless service, not a plug-n-play, build-your-own-kind of a wireless system. It is feebased, therefore is not economically attractive, and does not provide a low-cost method of connecting a PDA directly to a LAN. A pair of Ricochet modems can be used to form a wireless RS-232 link, which can be used to connect a PDA directly to a PPP server (figure 1-c). This solution, however, has

three limitations: multiple users cannot access the network simultaneously; roaming is not supported; and the configuration is expensive. A Richochet modem also consumes more power than a PDA. a) PDA Apps TCP Establish a PPP COnnection PPP serial port RS-232 cable Computer Gateway (Access Point) PPP Ether NIC INTERNETWORK b) modem telephone lines c) wireless link Figure 1: Several current ways to connect a PDA to an internetwork over point-to-point links. To address the above issues, we designed a new wireless access network (called BlueSky) for PDAs considering low cost, low power consumption, and light-weight protocols as the primary objectives. In this paper, we will first briefly describe the BlueSky architecture, the entities and the protocols. Then we will present our design and implementation to enable multi-access capability for PDAs to share a single wireless link that connects the devices to an access point. 2 BlueSky Approach to Wireless Connectivity The BlueSky system consists of wireless BlueSky attachments that are connected to PDAs and provide short range wireless access to the wired network backbone through the BlueSky access points [1]. Multiple PDAs can share a wireless link to an access point using the BlueSky wireless MAC protocol (see figure 2). A power-conscious, polling based, asymmetric MAC protocol is designed for the wireless link [2]. The portion of the MAC protocol that is running on an access point, called AP-MAC, is more intelligent and coordinates the access to the medium by sending commands (polls) to the PDAs in the range. It includes a scheduler component which schedules MAC-level events such as transport-payload, polland-receive-payload, invite-stations, etc. The corresponding MAC protocol that is running on a PDA attachment, called RS-MAC (remote station MAC), just responds to the commands sent from the AP- MAC and is much simpler, requires much less memory and processing power, and has smaller code size than the AP-MAC. The protocol supports sleep modes to conserve energy. The wireless attachment has been designed as an external attachment so that it can be plugged into any PDA, laptop, or serial port enabled device. It connects to the serial port of a device. It has a transceiver component and a microcontroller component. These two are also connected internally through a serial line. Since we did not want to modify the PDA hardware and software to implement the RS-MAC protocol, the microcontroller part is needed to implement it. The RS-MAC layer packetizes the bytes received from a PDA through the serial port and sends them to an access point inside MAC frames. Since the cost of the transceiver is an important factor in the overall cost of the BlueSky attachment and access point, we chose a cost effective transceiver which runs in ISM 915 MHz band and uses simple FSK modulation similar to what is used in cordless phones [3]. The attachment and access point can select one of the ten available frequency channels. The link bandwidth is 150

Kbps and the effective range is between 20-30 m depending on the interference and multi-path effects. The bandwidth can be shared among approximately 20 mobile devices. An access point consists of a PC-104 board (with a 386 CPU on it), a transceiver, and an Ethernet card to connect to the internetwork. The AP-MAC protocol is implemented as part of the other access point software, hence a separate microcontroller is not needed. The transceiver is connected to the access point board through a serial port. (see figure 3). The byte streams received by the unit is given to the AP-MAC protocol through the serial port. Access Point PDA Wireless Attachment ppp MAC serial comm Access Point ppp1 ppp2 MAC ether if NIC INTRANET Shared Wireless Channel LAN ppp MAC Figure 2: BlueSky architecture A Unix operating system BSDI/OS 3.0 runs on an access point to implement the AP-MAC protocol, the PPP protocol [4], and the stack [5]. The PPP protocol connects a PDA to the access point, and the stack connects the access point to the rest of the internetwork. Multiple PDAs can establish PPP connections to the same access point at the same time. PPP protocol exports a packet-oriented network interface to the layer so that can also run over serial communication lines. There needs to be a separate PPP network interface/server running for each PDA that established a PPP connection to the access point. The challenge is putting an AP-MAC layer under these multiple PPP interfaces (see figure 2) and emulating a serial line communication over this packet-oriented MAC layer. The traffic going to multiple PDAs from multiple PPP interfaces is multiplexed at the AP-MAC layer and then transported over the shared wireless link. Similarly, the traffic coming to the access point from multiple PDAs through the coordination of the AP-MAC layer is demultiplexed to multiple PPP interfaces. 3 Multiplexing PPP Traffic at the MAC Layer The PPP implementation in BSD Unix consists of two parts (see figure 3): An asynchronous PPP driver inside the kernel which implements the PPP framing protocol and byte stuffing algorithm. PPP driver is located under the layer and exports a network interface to the layer. A PPP packet received from the serial line may be a PPP data packet or a PPP control packet (they are distinguished by the protocol identifier field in the PPP header). A PPP data packet contains the payload for the higher network layer ( in this case). The PPP

driver gives the payload to the layer after striping off the PPP header and CRC. A PPP control packet carries PPP specific information parameters and is given to the corresponding PPP server daemon after again striping off the PPP header and CRC. A PPP (server) daemon that runs in user space and implements the PPP control protocols. These control protocols include LCP (link control protocol), NCP (network control protocol), etc. All PPP packets generated by the PPP daemon are control packets that are used to establish, negotiate, maintain, and terminate PPP connections. An asynchronous PPP driver usually runs on top of a serial communication port driver. In Unix, each port driver (also called terminal device driver) has a line discipline associated with it [6, 7]. A line discipline is located on top of the terminal device driver and has functions such as echoing characters back, assembling characters into lines (a line is a string of characters ending with a newline character), editing the lines, processing the flow control characters, etc. For PPP, these functionalities are not needed, and therefore a line discipline in this sense is not needed. The asynchronous PPP driver acts as a line discipline for PPP. MAC daemon PPP server daemons PPP 1 PPP 2.. PPP N PPP control payloads Unix Kernel line discipline (raw mode) com port tty00 device driver Serial Port ptyr1 ptyr2.... ptyn PPP Network Interface pseudo terminal master devices ppp1 ttyr1 ppp2 ttyr2... Layer pppn ttyrn pseudo-terminal slave devices PPP data payloads ( packets) Ether If Ether NIC Radio LAN MAC Frames PPP Frames Packets Figure 3: BlueSky access point software architecture There is only one actual terminal device driver for a serial port, which can be used by a single PPP server. But, what we need is to be able to run multiple PPP servers and multiplex their traffic at the underlying MAC layer which then transmits the packets one-at-a-time to the corresponding PDAs through the serial port. In order to achieve this, multiple instances of PPP servers are run on top of virtual communication ports (pseudo-terminal devices) instead of being run on top of an actual serial port hardware. In Unix, a pseudo-terminal device is a virtual device that is not associated with any physical serial port hardware, but emulates serial line communication. It consists of a pair of devices: one half is called the master and the other half is called the slave. A process can open a pair of pseudo-terminal devices and can get two file descriptors. Anything written to the master device can be read as input from the slave device and anything written to the slave device can be read as input from the master device. Similarly, two processes can open one half of a pseudo-terminal device pair. In this case, these two processes can communicate with each other using the pseudo-terminal device pair, as if they are communicating through a serial port: they can set the line speed, etc. The slave portion of a pseudo-terminal device presents an interface to the user process that looks like an actual terminal device. It therefore has also a line discipline associated with it.

In our implementation, a PPP server/interface is run on top of a pseudo-terminal slave device. The line discipline associated with the slave device is the PPP framing protocol (see figure 3). Anything that is sent from a PPP interface to the pseudo-terminal slave is given to the respective master device. We implemented the AP-MAC protocol as a user level daemon that can read from (or write to) this master device and thereby communicate with the corresponding PPP side. Up to 64 pseudo-terminal device pairs can be opened at the same time (this number depends on the operating system and its kernel configuration). Therefore up to 64 PPP servers/interfaces can be active at the same time, each one using a different pseudo-terminal slave device. The MAC daemon can open the respective master devices and can communicate with these PPP interfaces. A PPP frame received from a PPP interface by the MAC daemon has the same format as it would have been received at an actual serial port driver. In this way, the traffic from multiple PPP interfaces are multiplexed at the MAC layer. The MAC daemon communicates with the transceiver through a serial port. The bytes received from the serial port are assembled to MAC frames. The extracted payloads, which are PPP packets, are given to the respective PPP interface through a pseudo-terminal device. On the other side, the PPP packets received from a PPP interface are first queued at the MAC daemon. There is a separate queue for each PDA. The scheduler component of the MAC daemon selects the PPP packet for transmission. The selected packet is then transmitted to the respective PDA inside a MAC frame. 4 Conclusion Palmtop computers which consume very little power, have very small form factor, and are relatively much cheaper compared to their laptop counterparts are proliferating in the market. We described a cost-effective, low-power wireless connectivity solution for these devices and presented our implementation of a multi-access scheme to connect multiple such devices to a single access point over a shared wireless link. The design and implementation of the wireless system shows how existing hardware and software pieces can be utilized to provide a very low-cost wireless connectivity solution with least modifications to the existing palmtop device hardware and software. References [1] P. Bhagwat, C. Bisdikian, I. Korpeoglu, M. Naghshineh, and S. K. Tripathi, Cordless Dialup Networking for Palmtop Computers, Tech. Rep. RC21404(96651), IBM Research, February 1999. [2] C. Bisdikian, P. Bhagwat, B. P. Gaucher, F. J. Janniello, I. Korpeoglu, M. Naghshineh, and P. Pandoh, WiSAP: A Wireless Personal Access Network for Handheld Computing Devices, IEEE Personal Communications, December 1998. [3] P. Bhagwat, C. Bisdikian, I. Korpeoglu, A. Krishna, and M. Naghshineh, System Design Issues for Low-Power, Low-Cost Short Range Wireless Networking, in IEEE International Conference on Personal Wireless Communications (ICPWC), February 1999. [4] W. Simpson, The Point-to-Point Protocol (PPP), July 1994, RFC 1661. [5] W.R. Stevens, TCP/ Illustrated, Volume 1, Addison-Wesley, 1994. [6] W. R. Stevens, Unix Network Programming, Prentice Hall, 1990.

[7] M.K. McKusick, K. Bostic, M.J. Karels, and J.R. Quarterman, The Design and Implementation of the 4.4BSD Operating System, Addison-Wesley, 1996.