add authentication request
This commit is contained in:
@@ -86,6 +86,7 @@ unsigned short config_frames[4] = {2,9,11,13};
|
||||
#include "executables/softmodem-common.h"
|
||||
#include "executables/thread-common.h"
|
||||
#include <openair3/NAS/NR_UE/nr_user_def.h>
|
||||
#include <openair3/NAS/gNB/network_process_nas.h>
|
||||
|
||||
// Raphael : missing
|
||||
pthread_cond_t nfapi_sync_cond;
|
||||
@@ -761,8 +762,14 @@ int main( int argc, char **argv ) {
|
||||
mlockall(MCL_CURRENT | MCL_FUTURE);
|
||||
|
||||
char * resp;
|
||||
nr_user_nas_t UErrc={0};
|
||||
int size=identityResponse(&resp, &UErrc);
|
||||
nr_user_nas_t UErrc={0};
|
||||
NRUEcontext_t UEnas={0};
|
||||
int size=identityRequest((void**)&resp, &UEnas);
|
||||
log_dump(NAS, resp, size, LOG_DUMP_CHAR," identity Request:\n" );;
|
||||
size=identityResponse((void**)&resp, &UErrc);
|
||||
log_dump(NAS, resp, size, LOG_DUMP_CHAR," identity Response:\n" );;
|
||||
size=authenticationRequest((void**)&resp, &UEnas);
|
||||
log_dump(NAS, resp, size, LOG_DUMP_CHAR," authentication request:\n" );;
|
||||
|
||||
if(IS_SOFTMODEM_DOFORMS) {
|
||||
load_softscope("nr",PHY_vars_UE_g[0][0]);
|
||||
|
||||
Reference in New Issue
Block a user