Skip to content

Commit 30af7ad

Browse files
committed
wifi: brcmfmac: Add newer msgbuf packet types up to 0x2e
There are many newer msgbuf packet types that are not yet listed in the defines in msgbuf.c. Add them for future use. Signed-off-by: Hector Martin <[email protected]>
1 parent 42e5117 commit 30af7ad

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

  • drivers/net/wireless/broadcom/brcm80211/brcmfmac

drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,32 @@
4747
#define MSGBUF_TYPE_RX_CMPLT 0x12
4848
#define MSGBUF_TYPE_LPBK_DMAXFER 0x13
4949
#define MSGBUF_TYPE_LPBK_DMAXFER_CMPLT 0x14
50+
#define MSGBUF_TYPE_FLOW_RING_RESUME 0x15
51+
#define MSGBUF_TYPE_FLOW_RING_RESUME_CMPLT 0x16
52+
#define MSGBUF_TYPE_FLOW_RING_SUSPEND 0x17
53+
#define MSGBUF_TYPE_FLOW_RING_SUSPEND_CMPLT 0x18
54+
#define MSGBUF_TYPE_INFO_BUF_POST 0x19
55+
#define MSGBUF_TYPE_INFO_BUF_CMPLT 0x1A
56+
#define MSGBUF_TYPE_H2D_RING_CREATE 0x1B
57+
#define MSGBUF_TYPE_D2H_RING_CREATE 0x1C
58+
#define MSGBUF_TYPE_H2D_RING_CREATE_CMPLT 0x1D
59+
#define MSGBUF_TYPE_D2H_RING_CREATE_CMPLT 0x1E
60+
#define MSGBUF_TYPE_H2D_RING_CONFIG 0x1F
61+
#define MSGBUF_TYPE_D2H_RING_CONFIG 0x20
62+
#define MSGBUF_TYPE_H2D_RING_CONFIG_CMPLT 0x21
63+
#define MSGBUF_TYPE_D2H_RING_CONFIG_CMPLT 0x22
64+
#define MSGBUF_TYPE_H2D_MAILBOX_DATA 0x23
65+
#define MSGBUF_TYPE_D2H_MAILBOX_DATA 0x24
66+
#define MSGBUF_TYPE_TIMSTAMP_BUFPOST 0x25
67+
#define MSGBUF_TYPE_HOSTTIMSTAMP 0x26
68+
#define MSGBUF_TYPE_HOSTTIMSTAMP_CMPLT 0x27
69+
#define MSGBUF_TYPE_FIRMWARE_TIMESTAMP 0x28
70+
#define MSGBUF_TYPE_SNAPSHOT_UPLOAD 0x29
71+
#define MSGBUF_TYPE_SNAPSHOT_CMPLT 0x2A
72+
#define MSGBUF_TYPE_H2D_RING_DELETE 0x2B
73+
#define MSGBUF_TYPE_D2H_RING_DELETE 0x2C
74+
#define MSGBUF_TYPE_H2D_RING_DELETE_CMPLT 0x2D
75+
#define MSGBUF_TYPE_D2H_RING_DELETE_CMPLT 0x2E
5076

5177
#define NR_TX_PKTIDS 2048
5278
#define NR_RX_PKTIDS 1024

0 commit comments

Comments
 (0)