Skip to main content

Report Wi-Fi issues

To report an issue to Qualcomm, provide the following details.
  • Provide setup information
  • Package all log files for debugging and report them to Qualcomm. The following table lists the logs required to report an issue.

Logs for ath11k

The Wi-Fi subsystem offers tools and logs to assist with troubleshooting issues.

Pull Wpa_supplicant logs

If you observe any issue, run the following command to collect wpa_supplicant logs:
For example, if the IP address of the DUT is 192.168.1.22, run the following command:

Pull Wi-Fi host driver and firmware logs

To pull the Wi-Fi host driver and firmware logs for the ath11k driver, do the following:
  1. Run the trace-cmd tool on the DUT as follows:
    • For the entire log, run the following command:
    • For firmware log, run the following command:
  2. Run the intended test case or reproduce the issue.
  3. Stop trace-cmd by pressing Ctrl + C. The trace.dat log appears as follows: Sample output
  4. Copy the trace.dat log from the DUT to the Ubuntu host device.
  5. Get the host and firmware logs as follows:
    • To get the host log from the trace.dat log, run the following command:
      Sample output
      You can install the trace-cmd tool by running the following command in the Ubuntu terminal:
    • To get the firmware logs, share the trace.dat log and issue details on the support portal.

Capture driver logs in dmesg

The ath11k commands for dmesg are as follows:
You can use each command to get a specific log. For example,
  • To get WMI-related driver logs, run the following command:
  • To get host target communication (HTC) related logs, run the following command:

Wireless sniffer

A wireless sniffer intercepts the Wi-Fi frames over the air. Use a wireless sniffer to sniff the Wi-Fi Over the Air (OTA) packets. To collect wireless sniffer logs, do the following:
  1. Use a separate sniffer device (for example, a Linux laptop with a monitor-mode-capable Wi-Fi adapter) near the DUT and AP.
  2. Set the sniffer interface to the same Wi-Fi channel and bandwidth used by the DUT/AP during the test.
  3. Start packet capture and save the output as a .pcap file. For example:
  4. Reproduce the issue while the capture is running.
  5. Stop the capture and share the generated .pcap file along with host driver logs, firmware logs, and issue reproduction steps.

Collect firmware dump

When the device crashes, the firmware dump is saved as a BIN file at the /var/spool/crash directory.
Share this dump file on the support portal.

Logs for ath12k

The Wi-Fi subsystem offers tools and logs to assist with troubleshooting issues on ath12k platforms.

Pull Wi-Fi host driver and firmware logs

To pull the Wi-Fi host driver and firmware logs for the ath12k driver, run trace-cmd on the DUT as follows:
  • For the entire log, run the following command:
  • For firmware log, run the following command:
Run the intended test case and then stop trace-cmd by pressing Ctrl + C. Share the generated trace.dat file and issue details on the support portal.

Capture driver logs in dmesg

You can enable specific ath12k debug logs with the debug_mask interface.
  • To get WMI-related driver logs, run the following command:
  • To get host target communication (HTC) related logs, run the following command:

Logs for ath10k

The Wi-Fi subsystem offers tools and logs to assist with troubleshooting issues on ath10k platforms.

Pull Wi-Fi host driver and firmware logs

To pull the Wi-Fi host driver and firmware logs for the ath10k driver, run trace-cmd on the DUT as follows:
  • For the entire log, run the following command:
  • For firmware log, run the following command:
Run the intended test case and then stop trace-cmd by pressing Ctrl + C. Share the generated trace.dat file and issue details on the support portal.

Capture driver logs in dmesg

You can enable specific ath10k debug logs with the debug_mask interface.
  • To get WMI-related driver logs, run the following command:
  • To get host target communication (HTC) related logs, run the following command: