Ue replayed capabilities, hardcoded (GPRS) gea for multimode UEs (not LTE only)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5687 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -96,11 +96,12 @@ int encode_ue_security_capability(UeSecurityCapability *uesecuritycapability, ui
|
||||
*(buffer + encoded) = 0x00 |
|
||||
(uesecuritycapability->uia & 0x7f);
|
||||
encoded++;
|
||||
}
|
||||
if (uesecuritycapability->gprs_present) {
|
||||
*(buffer + encoded) = 0x00 |
|
||||
(uesecuritycapability->gea & 0x7f);
|
||||
encoded++;
|
||||
#warning "force gea to 0x60 if umts security capability present"
|
||||
//if (uesecuritycapability->gprs_present) {
|
||||
*(buffer + encoded) = 0x00 | 0x60;
|
||||
//(uesecuritycapability->gea & 0x7f);
|
||||
encoded++;
|
||||
//}
|
||||
}
|
||||
*lenPtr = encoded - 1 - ((iei > 0) ? 1 : 0);
|
||||
return encoded;
|
||||
|
||||
Reference in New Issue
Block a user