Patent dispute looms over BlackBerry