mirror of https://github.com/PentHertz/srsLTE.git
Adding some debug code.
This commit is contained in:
parent
5b5c65435d
commit
25aa394086
|
@ -37,7 +37,7 @@ hss* hss::m_instance = NULL;
|
||||||
boost::mutex hss_instance_mutex;
|
boost::mutex hss_instance_mutex;
|
||||||
|
|
||||||
hss::hss()
|
hss::hss()
|
||||||
:m_sqn(0)
|
:m_sqn(1)
|
||||||
{
|
{
|
||||||
m_pool = srslte::byte_buffer_pool::get_instance();
|
m_pool = srslte::byte_buffer_pool::get_instance();
|
||||||
return;
|
return;
|
||||||
|
@ -131,6 +131,18 @@ hss::gen_auth_info_answer_milenage(uint64_t imsi, uint8_t *k_asme, uint8_t *autn
|
||||||
mnc,
|
mnc,
|
||||||
k_asme);
|
k_asme);
|
||||||
|
|
||||||
|
//DEBUG code
|
||||||
|
std::cout<<"SQN: ";
|
||||||
|
for(int i=0;i<6;i++){
|
||||||
|
std::cout << std::hex <<(uint16_t) sqn[i];
|
||||||
|
}
|
||||||
|
std::cout<<std::endl;
|
||||||
|
|
||||||
|
std::cout<<"RAND: ";
|
||||||
|
for(int i=0;i<16;i++){
|
||||||
|
std::cout << std::hex <<(uint16_t) rand[i];
|
||||||
|
}
|
||||||
|
std::cout<<std::endl;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue