diff options
author | Hante Meuleman <meuleman@broadcom.com> | 2013-02-06 12:40:39 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-02-08 14:51:32 -0500 |
commit | 10ef73215c9fdb0858950707827125bf261acb8f (patch) | |
tree | 1d9b83e173b3d498442f79e12075f950d5290ab2 /drivers/net/wireless/brcm80211/brcmfmac/dhd.h | |
parent | 1f17011039f0d53f24503a01a1dcd48ae28e5305 (diff) |
brcmfmac: Track pending 8021x frames per ifp.
Pending 8021x frames were tracked per dongle. This should be
done per ifp.
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@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.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd.h b/drivers/net/wireless/brcm80211/brcmfmac/dhd.h index a2f32fb990fa..f0e81a880fb6 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd.h +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd.h | |||
@@ -489,9 +489,6 @@ struct brcmf_pub { | |||
489 | struct mutex proto_block; | 489 | struct mutex proto_block; |
490 | unsigned char proto_buf[BRCMF_DCMD_MAXLEN]; | 490 | unsigned char proto_buf[BRCMF_DCMD_MAXLEN]; |
491 | 491 | ||
492 | atomic_t pend_8021x_cnt; | ||
493 | wait_queue_head_t pend_8021x_wait; | ||
494 | |||
495 | struct brcmf_fweh_info fweh; | 492 | struct brcmf_fweh_info fweh; |
496 | #ifdef DEBUG | 493 | #ifdef DEBUG |
497 | struct dentry *dbgfs_dir; | 494 | struct dentry *dbgfs_dir; |
@@ -518,6 +515,8 @@ struct brcmf_cfg80211_vif; | |||
518 | * @idx: interface index in device firmware. | 515 | * @idx: interface index in device firmware. |
519 | * @bssidx: index of bss associated with this interface. | 516 | * @bssidx: index of bss associated with this interface. |
520 | * @mac_addr: assigned mac address. | 517 | * @mac_addr: assigned mac address. |
518 | * @pend_8021x_cnt: tracks outstanding number of 802.1x frames. | ||
519 | * @pend_8021x_wait: used for signalling change in count. | ||
521 | */ | 520 | */ |
522 | struct brcmf_if { | 521 | struct brcmf_if { |
523 | struct brcmf_pub *drvr; | 522 | struct brcmf_pub *drvr; |
@@ -529,6 +528,8 @@ struct brcmf_if { | |||
529 | int idx; | 528 | int idx; |
530 | s32 bssidx; | 529 | s32 bssidx; |
531 | u8 mac_addr[ETH_ALEN]; | 530 | u8 mac_addr[ETH_ALEN]; |
531 | atomic_t pend_8021x_cnt; | ||
532 | wait_queue_head_t pend_8021x_wait; | ||
532 | }; | 533 | }; |
533 | 534 | ||
534 | 535 | ||