Qualcomm asks Apple to pay $31 million for patent infringement