Android移植之WIFI

本文详细介绍了在Android系统上移植WIFI模块的过程,包括硬件接口配置、模块初始化、以太网接口创建、特殊处理及常见问题解决。针对Marvell 310硬件平台,使用Maemo4软件平台和2.6.28内核,移植过程中涉及SDIO接口、GPIO配置、WIFI模块上电时序和以太网接口创建等关键步骤。
摘要由CSDN通过智能技术生成

 

<!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} @font-face {font-family:"/@宋体"; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; mso-pagination:none; font-size:10.5pt; mso-bidi-font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:宋体; mso-font-kerning:1.0pt;} /* Page Definitions */ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page Section1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:42.55pt; mso-footer-margin:49.6pt; mso-paper-source:0; layout-grid:15.6pt;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:570308248; mso-list-type:hybrid; mso-list-template-ids:-1487528084 -292268846 -974743460 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 {mso-level-text:%1.; mso-level-tab-stop:33.75pt; mso-level-number-position:left; margin-left:33.75pt; text-indent:-33.75pt;} @list l0:level2 {mso-level-text:%2,; mso-level-tab-stop:39.0pt; mso-level-number-position:left; margin-left:39.0pt; text-indent:-18.0pt;} ol {margin-bottom:0cm;} ul {margin-bottom:0cm;} -->

                                   Android 移植之 WIFI

1. 前言

    硬件平台: marvel 310

       软件平台: maemo4

       内核: 2.6.28 (经过 marvel 的移植)

2. 移植思想

1,  WIFI 模块本身和 cpu 之间的接口;

       我们的模块和 cpu 之间的接口是 sdio 的,也就是说必须要先保证 SDIO 本身是工作的;

2,  WIFI 模块本身的上电时序;

       模块都有它自己的规律,所以必须要根据 spec 了解它本身的上电过程,严格遵守;

3,  以太网接口的创建;

       我们的 WIFI 模块本身是建立在 SDIO 口之上的,而对上都是提供以太网接口的,所以必须要保证这个接口以及创建;

4,  特殊处理;

       不同的模块都有它特别的地方,比如我们用的是 8686 compo 也就是说它和蓝牙共用天线,所以需要在初始化的时候做特殊的处理,发送特殊的命令,才能工作;

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值