| Algorithm 3: Handover |
|
Initialize: Thresholds for performance metrics SNRth, Tth, Perr, instantaneous throughput, packet loss, mean_snr Label: Record Metrics at User Device while 1 repeat Based on Equation (15) calculate the instantaneous throughput Base on Equation (16) calculates packet success probability Based on Equation (17) calculate the mean SNR from the current AP Goto CheckMetrics do after time D End Label: Check Metrics if SNR < SNRth or Perr > Pth or< Tth return 1 else return 0 end End |