文档介绍:华中科技大学
硕士学位论文
基于Android平台Wi-Fi模块的设计与实现
姓名:裴超
申请学位级别:硕士
专业:计算机应用技术
指导教师:涂刚
2011-01-17
华中科技大学硕士学位论文
摘要
近年来,随着国际互联网的飞速发展,网络已经走入了千家万户,成为人们
生产和生活中不可缺少的重要信息来源。人们已经不满足于坐在电脑桌前浏览网
页,而是希望随时随地都能上网获取信息。在这种背景下,移动互联网设备逐渐
成为各大互联网公司新一轮竞争的主战场。
武汉精伦电子股份有限公司推出的 P760 车载导航终端设备,以三星公司的
S3C6410 为硬件平台,采用了谷歌公司的 Android 操作系统。为了满足用户日益
增长的网络需求,该产品实现了 Wi-Fi 等移动互联网接入功能。根据 Android 系
统的层次结构,Wi-Fi 实现工作被划分为设备驱动层,中间层和应用层三个部分。
设备驱动层,Android 系统基于 Linux 内核,使用 Linux 的设备驱动。该部分
的 Wi-Fi 驱动可以进一步细分为两层,分别为 I/O 通信层和 Wi-Fi 功能层。Wi-Fi
模块使用 SPI 总线与 CPU 通信,因此 I/O 通信层相当于 SPI 总线驱动。Wi-Fi 功
能层驱动则由硬件生产商提供。
中间层起到连接驱动层和应用层的作用,包括 Android 系统的硬件抽象层
(HAL)接口,Wi-Fi 连接程序等,它们分别以动态链接库和守护进程的形式为
系统提供支持,此外还添加了启动脚本以正常启动 Wi-Fi 服务。
应用层包括了大部分的系统服务和全部的用户界面,它负责 Wi-Fi 模块状态
转换的控制以及与用户的交互。该层的电源管理,IP 设置等功能将被改进,以
进一步提升用户体验。
关键词: 移动互联网设备, 无线保真, 设备驱动
I
华中科技大学硕士学位论文
Abstract
In recent years, with the rapid development of the , work has
entered the household, production and life and e an indispensable source of
information. People are not satisfied with sitting at puter desk browsing the web,
but to get online anytime, anywhere they want to access to information. In this context,
Mobile Devices (MID) e the new main battlefield petition of
major panies.
Routon Electronic Co., Ltd., Wuhan launched P760 car navigation terminal
device is based on Samsung S3C6410 processor, using Google's Android operating
system. In order to meet growing customer demand work, the product
implemented Wi-Fi and other mobile access. According to Android system
hierarchy, Wi-Fi implementation work is divided into three parts, the device driver
layer, middle layer and application layer.
Device driver layer. Android system is based on Linux kernel, thus it uses Linux
device drivers. Wi-Fi driver can be further subdivided into two layers, namely, I / O
communication layer and the Wi-Fi functionality layer. Wi-Fi module uses the SPI
bus , so I / munication layer is equivalent to SPI bus driver.