WLAN_IOREG_MSK
offset = addr & WLAN_IOREG_MSK;
*cmdaddr = ((WLAN_IOREG_DEVICE_ID << 13) | (addr & WLAN_IOREG_MSK));