mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 16:07:39 +00:00
staging: brcm80211: removed support for proprietary ioctl WLC_GET_PKTCNTS
Cc: devel@linuxdriverproject.org Cc: linux-wireless@vger.kernel.org Reviewed-by: Henry Ptasinski <henryp@broadcom.com> Reviewed-by: Brett Rudley <brudley@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
9eed787ce3
commit
47298e71ef
2 changed files with 0 additions and 27 deletions
|
@ -3542,24 +3542,6 @@ _wlc_ioctl(struct wlc_info *wlc, int cmd, void *arg, int len,
|
|||
wlc->default_bss->atim_window = (u32) val;
|
||||
break;
|
||||
|
||||
case WLC_GET_PKTCNTS:{
|
||||
get_pktcnt_t *pktcnt = (get_pktcnt_t *) pval;
|
||||
wlc_statsupd(wlc);
|
||||
pktcnt->rx_good_pkt = wlc->pub->_cnt->rxframe;
|
||||
pktcnt->rx_bad_pkt = wlc->pub->_cnt->rxerror;
|
||||
pktcnt->tx_good_pkt =
|
||||
wlc->pub->_cnt->txfrmsnt;
|
||||
pktcnt->tx_bad_pkt =
|
||||
wlc->pub->_cnt->txerror +
|
||||
wlc->pub->_cnt->txfail;
|
||||
if (len >= (int)sizeof(get_pktcnt_t)) {
|
||||
/* Be backward compatible - only if buffer is large enough */
|
||||
pktcnt->rx_ocast_good_pkt =
|
||||
wlc->pub->_cnt->rxmfrmocast;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
#ifdef SUPPORT_HWKEY
|
||||
case WLC_GET_WSEC:
|
||||
bcmerror =
|
||||
|
|
|
@ -585,15 +585,6 @@ struct maclist {
|
|||
u8 ea[1][ETH_ALEN]; /* variable length array of MAC addresses */
|
||||
};
|
||||
|
||||
/* get pkt count struct passed through ioctl */
|
||||
typedef struct get_pktcnt {
|
||||
uint rx_good_pkt;
|
||||
uint rx_bad_pkt;
|
||||
uint tx_good_pkt;
|
||||
uint tx_bad_pkt;
|
||||
uint rx_ocast_good_pkt; /* unicast packets destined for others */
|
||||
} get_pktcnt_t;
|
||||
|
||||
#ifdef BRCM_FULLMAC
|
||||
/* Linux network driver ioctl encoding */
|
||||
typedef struct wl_ioctl {
|
||||
|
|
Loading…
Reference in a new issue