On status handling in ath10k_htt_rx_tx_compl_ind()

Dmitry Antipov dmantipov at yandex.ru
Wed Sep 13 22:15:41 PDT 2023


In 'ath10k_htt_rx_tx_compl_ind()',

int status = MS(resp->data_tx_completion.flags, HTT_DATA_TX_STATUS);

actually is

int status = (((resp->data_tx_completion.flags) & 0x07) >> 0);

which can't be equal to HTT_DATA_TX_STATUS_DOWNLOAD_FAIL (128)
regardless of the 'data_tx_completion.flags' value. This is most
likely a weird (but I have no clue how serious it may be) bug.

Dmitry



More information about the ath10k mailing list