#include <linux/types.h>
#include <linux/netdevice.h>
#include <linux/sched.h>
#include <defs.h>
#include <brcmu_utils.h>
#include <brcmu_wifi.h>
#include "dhd.h"
#include "dhd_proto.h"
#include "dhd_bus.h"
#include "dhd_dbg.h"
Go to the source code of this file.
|
int | brcmf_proto_cdc_query_dcmd (struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, uint len) |
|
int | brcmf_proto_cdc_set_dcmd (struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, uint len) |
|
int | brcmf_proto_dcmd (struct brcmf_pub *drvr, int ifidx, struct brcmf_dcmd *dcmd, int len) |
|
void | brcmf_proto_hdrpush (struct brcmf_pub *drvr, int ifidx, struct sk_buff *pktbuf) |
|
int | brcmf_proto_hdrpull (struct device *dev, int *ifidx, struct sk_buff *pktbuf) |
|
int | brcmf_proto_attach (struct brcmf_pub *drvr) |
|
void | brcmf_proto_detach (struct brcmf_pub *drvr) |
|
int | brcmf_proto_init (struct brcmf_pub *drvr) |
|
void | brcmf_proto_stop (struct brcmf_pub *drvr) |
|
#define BDC_FLAG2_IF_MASK 0x0f /* packet rx interface in APSTA */ |
#define BDC_FLAG2_IF_SHIFT 0 |
#define BDC_FLAG_SUM_GOOD 0x04 /* Good RX checksums */ |
#define BDC_FLAG_SUM_NEEDED 0x08 /* Dongle needs to do TX checksums */ |
#define BDC_FLAG_VER_MASK 0xf0 /* Protocol version mask */ |
#define BDC_PRIORITY_MASK 0x7 |
#define BDC_SET_IF_IDX |
( |
|
hdr, |
|
|
|
idx |
|
) |
| |
#define CDC_DCMD_ERROR 0x01 /* 1=cmd failed */ |
#define CDC_DCMD_ID_MASK 0xFFFF0000 /* id an cmd pairing */ |
#define CDC_DCMD_ID_SHIFT 16 /* ID Mask shift bits */ |
#define CDC_DCMD_IF_MASK 0xF000 /* I/F index */ |
#define CDC_DCMD_IF_SHIFT 12 |
#define CDC_DCMD_SET 0x02 /* 0=get, 1=set cmd */ |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |