Motorola, Qualcomm win in patent dispute