ath10k: clean header files from bad block comments
Fix output from checkpatch.pl like: Block comments use a trailing */ on a separate line Signed-off-by: Marcin Rokicki <marcin.rokicki@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:

committed by
Kalle Valo

parent
53c8d48bb7
commit
37ff1b0df3
@@ -51,7 +51,8 @@ enum htt_h2t_msg_type { /* host-to-target */
|
||||
HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG = 6,
|
||||
|
||||
/* This command is used for sending management frames in HTT < 3.0.
|
||||
* HTT >= 3.0 uses TX_FRM for everything. */
|
||||
* HTT >= 3.0 uses TX_FRM for everything.
|
||||
*/
|
||||
HTT_H2T_MSG_TYPE_MGMT_TX = 7,
|
||||
HTT_H2T_MSG_TYPE_TX_FETCH_RESP = 11,
|
||||
|
||||
@@ -910,7 +911,8 @@ struct htt_rx_test {
|
||||
|
||||
/* payload consists of 2 lists:
|
||||
* a) num_ints * sizeof(__le32)
|
||||
* b) num_chars * sizeof(u8) aligned to 4bytes */
|
||||
* b) num_chars * sizeof(u8) aligned to 4bytes
|
||||
*/
|
||||
u8 payload[0];
|
||||
} __packed;
|
||||
|
||||
@@ -1307,7 +1309,8 @@ struct htt_frag_desc_bank_id {
|
||||
} __packed;
|
||||
|
||||
/* real is 16 but it wouldn't fit in the max htt message size
|
||||
* so we use a conservatively safe value for now */
|
||||
* so we use a conservatively safe value for now
|
||||
*/
|
||||
#define HTT_FRAG_DESC_BANK_MAX 4
|
||||
|
||||
#define HTT_FRAG_DESC_BANK_CFG_INFO_PDEV_ID_MASK 0x03
|
||||
@@ -1684,12 +1687,14 @@ struct ath10k_htt {
|
||||
DECLARE_KFIFO_PTR(txdone_fifo, struct htt_tx_done);
|
||||
|
||||
/* set if host-fw communication goes haywire
|
||||
* used to avoid further failures */
|
||||
* used to avoid further failures
|
||||
*/
|
||||
bool rx_confused;
|
||||
atomic_t num_mpdus_ready;
|
||||
|
||||
/* This is used to group tx/rx completions separately and process them
|
||||
* in batches to reduce cache stalls */
|
||||
* in batches to reduce cache stalls
|
||||
*/
|
||||
struct sk_buff_head rx_compl_q;
|
||||
struct sk_buff_head rx_in_ord_compl_q;
|
||||
struct sk_buff_head tx_fetch_ind_q;
|
||||
@@ -1725,11 +1730,13 @@ struct ath10k_htt {
|
||||
|
||||
/* This structure layout is programmed via rx ring setup
|
||||
* so that FW knows how to transfer the rx descriptor to the host.
|
||||
* Buffers like this are placed on the rx ring. */
|
||||
* Buffers like this are placed on the rx ring.
|
||||
*/
|
||||
struct htt_rx_desc {
|
||||
union {
|
||||
/* This field is filled on the host using the msdu buffer
|
||||
* from htt_rx_indication */
|
||||
* from htt_rx_indication
|
||||
*/
|
||||
struct fw_rx_desc_base fw_desc;
|
||||
u32 pad;
|
||||
} __packed;
|
||||
@@ -1760,7 +1767,8 @@ struct htt_rx_desc {
|
||||
#define HTT_RX_MSDU_SIZE (HTT_RX_BUF_SIZE - (int)sizeof(struct htt_rx_desc))
|
||||
|
||||
/* Refill a bunch of RX buffers for each refill round so that FW/HW can handle
|
||||
* aggregated traffic more nicely. */
|
||||
* aggregated traffic more nicely.
|
||||
*/
|
||||
#define ATH10K_HTT_MAX_NUM_REFILL 100
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user