Commit 1a61ffd5 authored by Legler Wu's avatar Legler Wu Committed by Android Git Automerger
Browse files

am 8caf06fd: [DS] Radio Capability Support. New design of capability switch for L.

* commit '8caf06fd':
  [DS] Radio Capability Support. New design of capability switch for L.
parents 3274343d 8caf06fd
......@@ -182,7 +182,7 @@ typedef enum {
RC_PHASE_UNSOL_RSP = 3, // UNSOL_RSP is sent with RIL_UNSOL_RADIO_CAPABILITY
RC_PHASE_FINISH = 4 // FINISH is sent after all commands have completed. If an error
// occurs in any previous command the RIL_RadioAccessesFamily and
// LogicalModem fields will be the prior configuration thus
// logicalModemUuid fields will be the prior configuration thus
// restoring the configuration to the previous value. An error
// returned by this command will generally be ignored or may
// cause that logical modem to be removed from service.
......@@ -199,7 +199,7 @@ typedef enum {
#define RIL_RADIO_CAPABILITY_VERSION 1
typedef struct {
int version; // Version of structure, RIL_RadioCapability_Version
int version; // Version of structure, RIL_RADIO_CAPABILITY_VERSION
int session; // Unique session value defined by framework returned in all "responses/unsol"
int phase; // CONFIGURED, START, APPLY, FINISH
int rat; // RIL_RadioAccessFamily for the radio
......
......@@ -2018,8 +2018,8 @@ static void dispatchRadioCapability(Parcel &p, RequestInfo *pRI){
startRequest;
appendPrintBuf("%s [version:%d, session:%d, phase:%d, rat:%d, \
logicalModem:%d, status:%d", printBuf, rc.version, rc.session
rc.phase, rc.rat, rc.logicalModem, rc.session);
logicalModemUuid:%s, status:%d", printBuf, rc.version, rc.session
rc.phase, rc.rat, rc.logicalModemUuid, rc.session);
closeRequest;
printRequest(pRI->token, pRI->pCI->requestNumber);
......@@ -3226,13 +3226,13 @@ static int responseRadioCapability(Parcel &p, void *response, size_t responselen
startResponse;
appendPrintBuf("%s[version=%d,session=%d,phase=%d,\
rat=%s,logicalModem=%s,status=%d]",
rat=%s,logicalModemUuid=%s,status=%d]",
printBuf,
p_cur->version,
p_cur->session,
p_cur->phase,
p_cur->rat,
p_cur->logicalModem,
p_cur->logicalModemUuid,
p_cur->status);
closeResponse;
return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment