Intel spec解析

2024-09-04 01:32
文章标签 解析 intel spec

本文主要是介绍Intel spec解析,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

  Intel的XMM6360 modem telephone部分分成两块:


1.The Radio Interface Layer (RIL) component.

2.The Java Middleware layer (Android* Telephony services).


modem chip和主处理器的接口是MIPI HSI,用的通信协议是Multiplexer Protocol

DLCI is a 6 bit field that identifies the virtual channel.上面的那个协议就是多路复用协议,到底用哪一路通信就是依靠DLCI这几个bit来识别。

其实最重要的是mmgr,mmgr的作用:

• Modem reset / boot sequence and IPC components being ready for communication.
moden的重启和下载自身驱动,ipc组件用来准备和用户空间通信
• Enables and configures the Cloverview SoC-to-XMM6360 IPC multiplexed
communications.
使能以及配置多路复用
• Synchronizes modem client(s) start-up with modem communication readiness.
同步modem当modem通信做好准备
• Monitors communication exceptions, informs RIL about modem state and recovers
from error situations (modem self-reset, unresponsive commands, core dumps).
监控modem的状态,比如出错之后怎么重置

默认情况下,modem一开始只支持单路通信,只有等多路复用的协议驱动启动完毕之后才能多路通信。mmgr保证modem正常启动,MMgr is declared as a native service in init.rc.是一个系统一开始就启动的服务。


对telephony sub-system来说一般是以下几个事件:
• Start-up.
• Shutdown and Switch to/from airplane mode.
• Fatal Modem Exceptions and recovery

mmgr做了以下几件事:
• It makes sure the modem has finished its boot sequence, before attempting any
further operation
保证modem的boot过程的完成,在下一步操作之前

• It establishes modem-to-Cloverview SoC communication:

Switches the modem into MUX mode

切换到多路复用模式

Activates the MUX driver by attaching a 3GPP 27.010 compliant line discipline
to ttyIFX, then configuring the line discipline parameters (including retry
timers). This step creates a set of gsmtty interfaces


使能多路复用驱动,配置参数,这个步骤生成了一系列的gsmtty接口

• Once MUX communication is set up, MMgr informs gsmtty clients (such as the RIL)
that the modem and ttys are ready. To send this information, MMgr first establishes
an IPC (socket-based) with those clients.


当多路复用建立后,通知client准备完毕,和这些client建立一个socket的通道

After that, MMgr enters a polling loop (based on the no-overhead, blocking poll
function call) to monitor the status of the modem in case the modem performs a
self-reset and core dump. When this situation occurs:

做完这些事之后进入一个loop中,监视modem的状态
— MMgr sends a message to inform gsmtty clients that ttys are temporarily not
available and shall not be used.

— MMgr monitors the modem boot (as in a fresh boot), then re-configures the
MUX mode

— MMgr sends a message again to gsmtty clients that the modem and ttys are
ready again. It is up to clients to decide their recovery procedure, but this must
include at least closing and opening gsmtty again (as the older gsmtty handles
are invalid). For instance, the RIL closes them and exits completely, and relies
on Android* init to be automatically re-started.


• MMgr also monitors messages sent from a gsmtty client such as the RIL, which can
also detect modem unresponsiveness.

监控client发送信息给modem之后如果modem没有回应

The MMgr provides an API to the Client to perform the following services:
• Modem State.
• Request for Modem Restart or Recovery.
• Modem Resource Management.
• Update Modem Firmware and Configuration (Will be described in a future version)












这篇关于Intel spec解析的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1134613

相关文章

java解析jwt中的payload的用法

《java解析jwt中的payload的用法》:本文主要介绍java解析jwt中的payload的用法,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录Java解析jwt中的payload1. 使用 jjwt 库步骤 1:添加依赖步骤 2:解析 JWT2. 使用 N

Python中__init__方法使用的深度解析

《Python中__init__方法使用的深度解析》在Python的面向对象编程(OOP)体系中,__init__方法如同建造房屋时的奠基仪式——它定义了对象诞生时的初始状态,下面我们就来深入了解下_... 目录一、__init__的基因图谱二、初始化过程的魔法时刻继承链中的初始化顺序self参数的奥秘默认

Java 正则表达式URL 匹配与源码全解析

《Java正则表达式URL匹配与源码全解析》在Web应用开发中,我们经常需要对URL进行格式验证,今天我们结合Java的Pattern和Matcher类,深入理解正则表达式在实际应用中... 目录1.正则表达式分解:2. 添加域名匹配 (2)3. 添加路径和查询参数匹配 (3) 4. 最终优化版本5.设计思

使用Java将DOCX文档解析为Markdown文档的代码实现

《使用Java将DOCX文档解析为Markdown文档的代码实现》在现代文档处理中,Markdown(MD)因其简洁的语法和良好的可读性,逐渐成为开发者、技术写作者和内容创作者的首选格式,然而,许多文... 目录引言1. 工具和库介绍2. 安装依赖库3. 使用Apache POI解析DOCX文档4. 将解析

Java字符串处理全解析(String、StringBuilder与StringBuffer)

《Java字符串处理全解析(String、StringBuilder与StringBuffer)》:本文主要介绍Java字符串处理全解析(String、StringBuilder与StringBu... 目录Java字符串处理全解析:String、StringBuilder与StringBuffer一、St

Spring Boot循环依赖原理、解决方案与最佳实践(全解析)

《SpringBoot循环依赖原理、解决方案与最佳实践(全解析)》循环依赖指两个或多个Bean相互直接或间接引用,形成闭环依赖关系,:本文主要介绍SpringBoot循环依赖原理、解决方案与最... 目录一、循环依赖的本质与危害1.1 什么是循环依赖?1.2 核心危害二、Spring的三级缓存机制2.1 三

C#中async await异步关键字用法和异步的底层原理全解析

《C#中asyncawait异步关键字用法和异步的底层原理全解析》:本文主要介绍C#中asyncawait异步关键字用法和异步的底层原理全解析,本文给大家介绍的非常详细,对大家的学习或工作具有一... 目录C#异步编程一、异步编程基础二、异步方法的工作原理三、代码示例四、编译后的底层实现五、总结C#异步编程

MySQL中FIND_IN_SET函数与INSTR函数用法解析

《MySQL中FIND_IN_SET函数与INSTR函数用法解析》:本文主要介绍MySQL中FIND_IN_SET函数与INSTR函数用法解析,本文通过实例代码给大家介绍的非常详细,感兴趣的朋友一... 目录一、功能定义与语法1、FIND_IN_SET函数2、INSTR函数二、本质区别对比三、实际场景案例分

Java图片压缩三种高效压缩方案详细解析

《Java图片压缩三种高效压缩方案详细解析》图片压缩通常涉及减少图片的尺寸缩放、调整图片的质量(针对JPEG、PNG等)、使用特定的算法来减少图片的数据量等,:本文主要介绍Java图片压缩三种高效... 目录一、基于OpenCV的智能尺寸压缩技术亮点:适用场景:二、JPEG质量参数压缩关键技术:压缩效果对比

关于WebSocket协议状态码解析

《关于WebSocket协议状态码解析》:本文主要介绍关于WebSocket协议状态码的使用方式,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录WebSocket协议状态码解析1. 引言2. WebSocket协议状态码概述3. WebSocket协议状态码详解3