Stock firmware on the Photon Q (latest ICS fw, no JB out yet) is using version 184.108.40.206_0731.1. In CM there it says (in CORE/MAC/inc/qwlan_version.h) that the firmware version 220.127.116.11, but differs from the 18.104.22.168 in codeaurora.org, in the commit epinter said it's 22.214.171.124. Also, I couldn't find 126.96.36.199 on code aurora. Well a bit puzzling
Where did you take the prima wlan driver from or which from branch / tag?