Commit 0a78cdfd authored by gauthier's avatar gauthier

Ue replayed capabilities, hardcoded (GPRS) gea for multimode UEs (not LTE only)

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5688 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 9180f6fe
......@@ -125,13 +125,14 @@ int encode_ue_network_capability(UeNetworkCapability *uenetworkcapability, uint8
}
if (uenetworkcapability->gprs_present) {
*(buffer + encoded) = 0x00 |
//((uenetworkcapability->spare & 0x7) << 5) | // spare coded as zero
((uenetworkcapability->csfb & 0x1) << 4) |
((uenetworkcapability->lpp & 0x1) << 3) |
((uenetworkcapability->lcs & 0x1) << 2) |
((uenetworkcapability->srvcc & 0x1) << 1) |
(uenetworkcapability->nf & 0x1);
#warning "Force gea to 0x60"
*(buffer + encoded) = 0x00 | 0x60;
////((uenetworkcapability->spare & 0x7) << 5) | // spare coded as zero
//((uenetworkcapability->csfb & 0x1) << 4) |
//((uenetworkcapability->lpp & 0x1) << 3) |
//((uenetworkcapability->lcs & 0x1) << 2) |
//((uenetworkcapability->srvcc & 0x1) << 1) |
//(uenetworkcapability->nf & 0x1);
encoded++;
LOG_TRACE(INFO, "uenetworkcapability encoded GPRS %u\n", encoded);
}
......
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