Commit 9180f6fe authored by Lionel Gauthier's avatar Lionel Gauthier

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
parent 350ddd6c
...@@ -96,11 +96,12 @@ int encode_ue_security_capability(UeSecurityCapability *uesecuritycapability, ui ...@@ -96,11 +96,12 @@ int encode_ue_security_capability(UeSecurityCapability *uesecuritycapability, ui
*(buffer + encoded) = 0x00 | *(buffer + encoded) = 0x00 |
(uesecuritycapability->uia & 0x7f); (uesecuritycapability->uia & 0x7f);
encoded++; encoded++;
} #warning "force gea to 0x60 if umts security capability present"
if (uesecuritycapability->gprs_present) { //if (uesecuritycapability->gprs_present) {
*(buffer + encoded) = 0x00 | *(buffer + encoded) = 0x00 | 0x60;
(uesecuritycapability->gea & 0x7f); //(uesecuritycapability->gea & 0x7f);
encoded++; encoded++;
//}
} }
*lenPtr = encoded - 1 - ((iei > 0) ? 1 : 0); *lenPtr = encoded - 1 - ((iei > 0) ? 1 : 0);
return encoded; return 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