Algorithm 1: The proposed EEACC pseudo-code |
1: Initialization: , , , C=0, , MCS level L and its bounds , , repetition number N and its bounds . We empirically initialize the MCS level and repetition number based on the channel condition. 2: if period T expired out then 3: if then 4: 5: else if then 6: 7: else if then 8: 9: end if 10: end if 11: if then 12: if HARQ feedback=ACK then 13. 14. else if HARQ feedback-NACK then 15. 16. end if 17. if then 18. 19. if then 20. 21. end if 22. else if then 23. if HARQ feedback=ACK then 24. if then 25. 26. if then 27. 28. end if 29. if then 30. 31. end if 32. else if HARQ feedback=NACK then 33. if then 34. the current channel condition is very bad 35. else if then 36. 37. end if 38. end if 39. else if 40. if HARQ feedback=ACK then 41. if then 42. the current channel condition is very good. 43. else if then 44. 45. end if 46. else if HARQ feedback=NACK then 47. 48. if then 49. 50. end if 51. end if 52. end if |