|
@@ -86,8 +86,9 @@ static int _c4iw_write_mem_dma_aligned(struct c4iw_rdev *rdev, u32 addr,
|
|
|
(wait ? FW_WR_COMPL_F : 0));
|
|
|
req->wr.wr_lo = wait ? (__force __be64)(unsigned long) &wr_wait : 0L;
|
|
|
req->wr.wr_mid = cpu_to_be32(FW_WR_LEN16_V(DIV_ROUND_UP(wr_len, 16)));
|
|
|
- req->cmd = cpu_to_be32(ULPTX_CMD_V(ULP_TX_MEM_WRITE));
|
|
|
- req->cmd |= cpu_to_be32(T5_ULP_MEMIO_ORDER_V(1));
|
|
|
+ req->cmd = cpu_to_be32(ULPTX_CMD_V(ULP_TX_MEM_WRITE) |
|
|
|
+ T5_ULP_MEMIO_ORDER_V(1) |
|
|
|
+ T5_ULP_MEMIO_FID_V(rdev->lldi.rxq_ids[0]));
|
|
|
req->dlen = cpu_to_be32(ULP_MEMIO_DATA_LEN_V(len>>5));
|
|
|
req->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(req->wr), 16));
|
|
|
req->lock_addr = cpu_to_be32(ULP_MEMIO_ADDR_V(addr));
|