Commit 9243efcc authored by Liad Kaufman's avatar Liad Kaufman Committed by Emmanuel Grumbach

iwlwifi: pcie: add rx packet sequence number to dbg print

For each RX packet until this patch there only was a debug
print of the HCMD and the offset. This adds also the
sequence number of the packet for easier matching between
what was sent, what came back / was received, and what
got stuck somewhere and was never responded by the FW.
Signed-off-by: default avatarLiad Kaufman <liad.kaufman@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 4d165d12
...@@ -600,9 +600,11 @@ static void iwl_pcie_rx_handle_rb(struct iwl_trans *trans, ...@@ -600,9 +600,11 @@ static void iwl_pcie_rx_handle_rb(struct iwl_trans *trans,
if (pkt->len_n_flags == cpu_to_le32(FH_RSCSR_FRAME_INVALID)) if (pkt->len_n_flags == cpu_to_le32(FH_RSCSR_FRAME_INVALID))
break; break;
IWL_DEBUG_RX(trans, "cmd at offset %d: %s (0x%.2x)\n", IWL_DEBUG_RX(trans,
rxcb._offset, get_cmd_string(trans_pcie, pkt->hdr.cmd), "cmd at offset %d: %s (0x%.2x, seq 0x%x)\n",
pkt->hdr.cmd); rxcb._offset,
get_cmd_string(trans_pcie, pkt->hdr.cmd),
pkt->hdr.cmd, le16_to_cpu(pkt->hdr.sequence));
len = iwl_rx_packet_len(pkt); len = iwl_rx_packet_len(pkt);
len += sizeof(u32); /* account for status word */ len += sizeof(u32); /* account for status word */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment