mbim-service-auth.h 992 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. * ID: 1
  3. * Command: Aka
  4. */
  5. #define MBIM_CMD_AUTH_AKA 1
  6. struct mbim_auth_aka_q = {
  7. struct mbim_byte_array rand;
  8. struct mbim_byte_array autn;
  9. }
  10. struct mbim_auth_aka_r =
  11. struct mbim_byte_array res;
  12. u32 reslen;
  13. struct mbim_byte_array integratingkey;
  14. struct mbim_byte_array cipheringkey;
  15. struct mbim_byte_array auts;
  16. }
  17. /*
  18. * ID: 2
  19. * Command: Akap
  20. */
  21. #define MBIM_CMD_AUTH_AKAP 2
  22. struct mbim_auth_akap_q = {
  23. struct mbim_byte_array rand;
  24. struct mbim_byte_array autn;
  25. struct mbim_string networkname;
  26. }
  27. struct mbim_auth_akap_r =
  28. struct mbim_byte_array res;
  29. u32 reslen;
  30. struct mbim_byte_array integratingkey;
  31. struct mbim_byte_array cipheringkey;
  32. struct mbim_byte_array auts;
  33. }
  34. /*
  35. * ID: 3
  36. * Command: Sim
  37. */
  38. #define MBIM_CMD_AUTH_SIM 3
  39. struct mbim_auth_sim_q = {
  40. struct mbim_byte_array rand1;
  41. struct mbim_byte_array rand2;
  42. struct mbim_byte_array rand3;
  43. u32 n;
  44. }
  45. struct mbim_auth_sim_r =
  46. u32 sres1;
  47. u64 kc1;
  48. u32 sres2;
  49. u64 kc2;
  50. u32 sres3;
  51. u64 kc3;
  52. u32 n;
  53. }