Performance Optimization for Multimedia Transmission in Wireless Home Networks