Skip to contentSkip to conversation

Potential issue with htt flags

DISCUSSION Ben Greear 1 participant 1 message May 29, 2020 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

While porting forward my patches to 5.7 , I noticed this:

#define HTT_TX_CMPL_FLAG_DATA_RSSI BIT(0)
#define HTT_TX_CMPL_FLAG_PPID_PRESENT BIT(1)
#define HTT_TX_CMPL_FLAG_PA_PRESENT BIT(2)
#define HTT_TX_CMPL_FLAG_PPDU_DURATION_PRESENT BIT(3)

#define HTT_TX_DATA_RSSI_ENABLE_WCN3990 BIT(3)
#define HTT_TX_DATA_APPEND_RETRIES BIT(0)
#define HTT_TX_DATA_APPEND_TIMESTAMP BIT(1)

Both of these are used against 'flags2', but as you see, some bits are defined to different things. In particular usage in,:

static int ath10k_get_htt_tx_data_rssi_pad(struct htt_resp *resp)

looks suspicious to me.

Maybe that ath10k_get_htt_tx_data_rssi_pad should be labeled specific for one particular chipset?

I didn't look further, but maybe whoever added this could take a look?

Thanks,
Ben

Signature · 7 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k