Appeals court affirms Qualcomm infringed patents