Searched refs:h_index (Results 1 – 1 of 1) sorted by relevance
429 int32_t h_index, t_index; in hdd_congestion_notification_calculation() local435 h_index = info->index - 1; in hdd_congestion_notification_calculation()436 if (h_index < 0) in hdd_congestion_notification_calculation()437 h_index = MEDIUM_ASSESS_NUM - 1; in hdd_congestion_notification_calculation()439 if (h_index >= info->config.interval) in hdd_congestion_notification_calculation()440 t_index = h_index - info->config.interval; in hdd_congestion_notification_calculation()442 t_index = MEDIUM_ASSESS_NUM - info->config.interval - h_index; in hdd_congestion_notification_calculation()444 if (h_index < 0 || h_index >= MEDIUM_ASSESS_NUM || in hdd_congestion_notification_calculation()450 h_data = &info->data[h_index]; in hdd_congestion_notification_calculation()