aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/brcm80211/brcmfmac/dhd.h
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2013-03-03 06:45:28 -0500
committerJohn W. Linville <linville@tuxdriver.com>2013-03-06 16:28:42 -0500
commit349e7104ff662eeacca1fffbb480c287562c45a1 (patch)
tree9e604b2dbca3c37de454b03980933d3f81a890cf /drivers/net/wireless/brcm80211/brcmfmac/dhd.h
parentedee1668bb1b7d977f39c34f63916b82647f024a (diff)
brcmfmac: add support for TLV based firmware signalling
The firmware and host can exchange signals which are carried within the data packets. These are TLV based signals that are inserted before the actual data, ie. ethernet frame. This commit adds the new source module for this feature and enables RSSI signals from firmware. Reviewed-by: Hante Meuleman <meuleman@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/dhd.h')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/dhd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd.h b/drivers/net/wireless/brcm80211/brcmfmac/dhd.h
index ef6f23be6d32..c7fa20846b32 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/dhd.h
+++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd.h
@@ -501,6 +501,7 @@ struct brcmf_dcmd {
501/* Forward decls for struct brcmf_pub (see below) */ 501/* Forward decls for struct brcmf_pub (see below) */
502struct brcmf_proto; /* device communication protocol info */ 502struct brcmf_proto; /* device communication protocol info */
503struct brcmf_cfg80211_dev; /* cfg80211 device info */ 503struct brcmf_cfg80211_dev; /* cfg80211 device info */
504struct brcmf_fws_info; /* firmware signalling info */
504 505
505/* Common structure for module and instance linkage */ 506/* Common structure for module and instance linkage */
506struct brcmf_pub { 507struct brcmf_pub {
@@ -527,6 +528,10 @@ struct brcmf_pub {
527 unsigned char proto_buf[BRCMF_DCMD_MAXLEN]; 528 unsigned char proto_buf[BRCMF_DCMD_MAXLEN];
528 529
529 struct brcmf_fweh_info fweh; 530 struct brcmf_fweh_info fweh;
531
532 bool fw_signals;
533 struct brcmf_fws_info *fws;
534 spinlock_t fws_spinlock;
530#ifdef DEBUG 535#ifdef DEBUG
531 struct dentry *dbgfs_dir; 536 struct dentry *dbgfs_dir;
532#endif 537#endif
@@ -582,7 +587,7 @@ extern int brcmf_proto_cdc_set_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd,
582 void *buf, uint len); 587 void *buf, uint len);
583 588
584/* Remove any protocol-specific data header. */ 589/* Remove any protocol-specific data header. */
585extern int brcmf_proto_hdrpull(struct brcmf_pub *drvr, u8 *ifidx, 590extern int brcmf_proto_hdrpull(struct brcmf_pub *drvr, bool do_fws, u8 *ifidx,
586 struct sk_buff *rxp); 591 struct sk_buff *rxp);
587 592
588extern int brcmf_net_attach(struct brcmf_if *ifp, bool rtnl_locked); 593extern int brcmf_net_attach(struct brcmf_if *ifp, bool rtnl_locked);