Bandwidth allocation algorithm based on reserved bandwidth threshold and transmission levels