ath10k: Move board id and fw version logging to info level
PATCH 1/1 ath10k: Move board id and fw version logging to info level
Board id and fw version is not printed by default in qmi cap response message. Move board id and fw version logging to info level for default logging.
[ 34.005399] ath10k_snoc a000000.wifi: qmi chip_id 0x30b chip_family 0x4001 board_id 0xff soc_id 0x40070000 [ 34.005432] ath10k_snoc a000000.wifi: qmi fw_version 0x3106836b fw_build_timestamp 2019-02-13 10:24 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.3.1-00875-QCAHLSWMTPL-1
--- drivers/net/wireless/ath/ath10k/qmi.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
drivers/net/wireless/ath/ath10k/qmi.c +8 -7
@@ -523,6 +523,7 @@ static int ath10k_qmi_cap_send_sync_msg(struct ath10k_qmi *qmi)struct wlfw_cap_resp_msg_v01 *resp;struct wlfw_cap_req_msg_v01 req = {};struct ath10k *ar = qmi->ar; +struct ath10k_snoc *ar_snoc =ath10k_snoc_priv (ar);struct qmi_txn txn;int ret;
@@ -577,13 +578,13 @@ static int ath10k_qmi_cap_send_sync_msg(struct ath10k_qmi *qmi)strlcpy (qmi->fw_build_id, resp->fw_build_id,MAX_BUILD_ID_LEN +1 ); -ath10k_dbg (ar,ATH10K_DBG_QMI , -"qmi chip_id 0x%x chip_family 0x%x board_id 0x%x soc_id 0x%x" , - qmi->chip_info.chip_id, qmi->chip_info.chip_family, - qmi->board_info.board_id, qmi->soc_info.soc_id); -ath10k_dbg (ar,ATH10K_DBG_QMI , -"qmi fw_version 0x%x fw_build_timestamp %s fw_build_id %s" , - qmi->fw_version, qmi->fw_build_timestamp, qmi->fw_build_id); +if (!test_bit (ATH10K_SNOC_FLAG_REGISTERED , &ar_snoc->flags)) { +ath10k_info (ar,"qmi chip_id 0x%x chip_family 0x%x board_id 0x%x soc_id 0x%x" , + qmi->chip_info.chip_id, qmi->chip_info.chip_family, + qmi->board_info.board_id, qmi->soc_info.soc_id); +ath10k_info (ar,"qmi fw_version 0x%x fw_build_timestamp %s fw_build_id %s" , + qmi->fw_version, qmi->fw_build_timestamp, qmi->fw_build_id); + }kfree (resp);return 0 ;
Signature · 8 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project _______________________________________________ ath10k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 9 lines · Govind Singh
Board id and fw version is not printed by default in qmi cap response message. Move board id and fw version logging to info level for default logging.
[ 34.005399] ath10k_snoc a000000.wifi: qmi chip_id 0x30b chip_family 0x4001 board_id 0xff soc_id 0x40070000 [ 34.005432] ath10k_snoc a000000.wifi: qmi fw_version 0x3106836b fw_build_timestamp 2019-02-13 10:24 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.3.1-00875-QCAHLSWMTPL-1Signed-off-by Govind Singh <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
7b612ed94d0a ath10k: Move board id and fw version logging to info level
Signature · 9 lines
https://patchwork.kernel.org/patch/10835539/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath10k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 9 lines · Govind Singh
Board id and fw version is not printed by default in qmi cap response message. Move board id and fw version logging to info level for default logging.
[ 34.005399] ath10k_snoc a000000.wifi: qmi chip_id 0x30b chip_family 0x4001 board_id 0xff soc_id 0x40070000 [ 34.005432] ath10k_snoc a000000.wifi: qmi fw_version 0x3106836b fw_build_timestamp 2019-02-13 10:24 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.3.1-00875-QCAHLSWMTPL-1Signed-off-by Govind Singh <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
7b612ed94d0a ath10k: Move board id and fw version logging to info level
Signature · 3 lines
https://patchwork.kernel.org/patch/10835539/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches