| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | wl_android.c | 1744 wl_if_stats_t* if_stats = NULL; in wl_android_get_connection_stats() local 1771 if ((if_stats = kmalloc(sizeof(*if_stats), GFP_KERNEL)) == NULL) { in wl_android_get_connection_stats() 1775 memset(if_stats, 0, sizeof(*if_stats)); in wl_android_get_connection_stats() 1778 (char *)if_stats, sizeof(*if_stats), NULL); in wl_android_get_connection_stats() 1817 if (dtoh16(if_stats->version) > WL_IF_STATS_T_VERSION) { in wl_android_get_connection_stats() 1819 __FUNCTION__, WL_IF_STATS_T_VERSION, if_stats->version)); in wl_android_get_connection_stats() 1823 output->txframe = (uint32)dtoh64(if_stats->txframe); in wl_android_get_connection_stats() 1824 output->txbyte = (uint32)dtoh64(if_stats->txbyte); in wl_android_get_connection_stats() 1825 output->txerror = (uint32)dtoh64(if_stats->txerror); in wl_android_get_connection_stats() 1826 output->rxframe = (uint32)dtoh64(if_stats->rxframe); in wl_android_get_connection_stats() [all …]
|
| H A D | wl_cfg80211.c | 6706 wl_if_stats_t *if_stats = NULL; in wl_cfg80211_get_station() local 6831 if ((if_stats = kmalloc(sizeof(*if_stats), GFP_KERNEL)) == NULL) { in wl_cfg80211_get_station() 6835 memset(if_stats, 0, sizeof(*if_stats)); in wl_cfg80211_get_station() 6838 (char *)if_stats, sizeof(*if_stats), NULL); in wl_cfg80211_get_station() 6840 sinfo->rx_packets = (uint32)dtoh64(if_stats->rxframe); in wl_cfg80211_get_station() 6842 sinfo->tx_packets = (uint32)dtoh64(if_stats->txfrmsnt); in wl_cfg80211_get_station() 6843 sinfo->tx_failed = (uint32)dtoh64(if_stats->txnobuf) + in wl_cfg80211_get_station() 6844 (uint32)dtoh64(if_stats->txrunt) + in wl_cfg80211_get_station() 6845 (uint32)dtoh64(if_stats->txfail); in wl_cfg80211_get_station() 6891 if (if_stats) { in wl_cfg80211_get_station() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | wl_android.c | 3992 wl_if_stats_t* if_stats = NULL; in wl_android_get_connection_stats() local 4022 if_stats = (wl_if_stats_t *)MALLOCZ(cfg->osh, sizeof(*if_stats)); in wl_android_get_connection_stats() 4023 if (if_stats == NULL) { in wl_android_get_connection_stats() 4027 bzero(if_stats, sizeof(*if_stats)); in wl_android_get_connection_stats() 4030 ret = wl_cfg80211_ifstats_counters(dev, if_stats); in wl_android_get_connection_stats() 4034 (char *)if_stats, sizeof(*if_stats), NULL); in wl_android_get_connection_stats() 4038 (char *)if_stats, sizeof(*if_stats), NULL); in wl_android_get_connection_stats() 4078 if (dtoh16(if_stats->version) > WL_IF_STATS_T_VERSION) { in wl_android_get_connection_stats() 4082 WL_IF_STATS_T_VERSION, if_stats->version)); in wl_android_get_connection_stats() 4086 output->txframe = (uint32)dtoh64(if_stats->txframe); in wl_android_get_connection_stats() [all …]
|
| H A D | wl_cfg80211.c | 8231 wl_cfg80211_ifstats_counters(struct net_device *dev, wl_if_stats_t *if_stats) argument 8359 ret = bcm_unpack_xtlv_buf(if_stats, 8396 wl_if_stats_t *if_stats = NULL; local 8533 if_stats = (wl_if_stats_t *)buf; 8534 bzero(if_stats, sizeof(*if_stats)); 8536 err = wl_cfg80211_ifstats_counters(dev, if_stats); 8540 (char *)if_stats, sizeof(*if_stats), NULL); 8556 sinfo->rx_packets = (uint32)dtoh64(if_stats->rxframe); 8558 sinfo->tx_packets = (uint32)dtoh64(if_stats->txfrmsnt); 8559 sinfo->tx_failed = (uint32)dtoh64(if_stats->txnobuf) + [all …]
|
| H A D | wl_cfg80211.h | 2620 extern int wl_cfg80211_ifstats_counters(struct net_device *dev, wl_if_stats_t *if_stats);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | wl_android.c | 4265 wl_if_stats_t* if_stats = NULL; in wl_android_get_connection_stats() local 4295 if_stats = (wl_if_stats_t *)MALLOCZ(cfg->osh, sizeof(*if_stats)); in wl_android_get_connection_stats() 4296 if (if_stats == NULL) { in wl_android_get_connection_stats() 4300 bzero(if_stats, sizeof(*if_stats)); in wl_android_get_connection_stats() 4303 ret = wl_cfg80211_ifstats_counters(dev, if_stats); in wl_android_get_connection_stats() 4307 (char *)if_stats, sizeof(*if_stats), NULL); in wl_android_get_connection_stats() 4311 (char *)if_stats, sizeof(*if_stats), NULL); in wl_android_get_connection_stats() 4351 if (dtoh16(if_stats->version) > WL_IF_STATS_T_VERSION) { in wl_android_get_connection_stats() 4355 WL_IF_STATS_T_VERSION, if_stats->version)); in wl_android_get_connection_stats() 4359 output->txframe = (uint32)dtoh64(if_stats->txframe); in wl_android_get_connection_stats() [all …]
|
| H A D | wl_cfg80211.c | 8130 wl_cfg80211_ifstats_counters(struct net_device *dev, wl_if_stats_t *if_stats) argument 8258 ret = bcm_unpack_xtlv_buf(if_stats, 8295 wl_if_stats_t *if_stats = NULL; local 8432 if_stats = (wl_if_stats_t *)buf; 8433 bzero(if_stats, sizeof(*if_stats)); 8435 err = wl_cfg80211_ifstats_counters(dev, if_stats); 8439 (char *)if_stats, sizeof(*if_stats), NULL); 8455 sinfo->rx_packets = (uint32)dtoh64(if_stats->rxframe); 8457 sinfo->tx_packets = (uint32)dtoh64(if_stats->txfrmsnt); 8458 sinfo->tx_failed = (uint32)dtoh64(if_stats->txnobuf) + [all …]
|
| H A D | wl_cfg80211.h | 2556 extern int wl_cfg80211_ifstats_counters(struct net_device *dev, wl_if_stats_t *if_stats);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | wl_android.c | 4351 wl_if_stats_t* if_stats = NULL; in wl_android_get_connection_stats() local 4381 if_stats = (wl_if_stats_t *)MALLOCZ(cfg->osh, sizeof(*if_stats)); in wl_android_get_connection_stats() 4382 if (if_stats == NULL) { in wl_android_get_connection_stats() 4386 bzero(if_stats, sizeof(*if_stats)); in wl_android_get_connection_stats() 4389 ret = wl_cfg80211_ifstats_counters(dev, if_stats); in wl_android_get_connection_stats() 4393 (char *)if_stats, sizeof(*if_stats), NULL); in wl_android_get_connection_stats() 4397 (char *)if_stats, sizeof(*if_stats), NULL); in wl_android_get_connection_stats() 4437 if (dtoh16(if_stats->version) > WL_IF_STATS_T_VERSION) { in wl_android_get_connection_stats() 4441 WL_IF_STATS_T_VERSION, if_stats->version)); in wl_android_get_connection_stats() 4445 output->txframe = (uint32)dtoh64(if_stats->txframe); in wl_android_get_connection_stats() [all …]
|
| H A D | wl_cfg80211.c | 8229 wl_cfg80211_ifstats_counters(struct net_device *dev, wl_if_stats_t *if_stats) argument 8357 ret = bcm_unpack_xtlv_buf(if_stats, 8394 wl_if_stats_t *if_stats = NULL; local 8531 if_stats = (wl_if_stats_t *)buf; 8532 bzero(if_stats, sizeof(*if_stats)); 8534 err = wl_cfg80211_ifstats_counters(dev, if_stats); 8538 (char *)if_stats, sizeof(*if_stats), NULL); 8554 sinfo->rx_packets = (uint32)dtoh64(if_stats->rxframe); 8556 sinfo->tx_packets = (uint32)dtoh64(if_stats->txfrmsnt); 8557 sinfo->tx_failed = (uint32)dtoh64(if_stats->txnobuf) + [all …]
|
| H A D | wl_cfg80211.h | 2620 extern int wl_cfg80211_ifstats_counters(struct net_device *dev, wl_if_stats_t *if_stats);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | wl_android.c | 3885 wl_if_stats_t *if_stats = NULL; in wl_cfg80211_get_sta_info() local 3892 BCM_REFERENCE(if_stats); in wl_cfg80211_get_sta_info() 4108 if (if_stats) { in wl_cfg80211_get_sta_info() 4109 MFREE(cfg->osh, if_stats, sizeof(*if_stats)); in wl_cfg80211_get_sta_info() 5093 wl_if_stats_t* if_stats = NULL; in wl_android_get_connection_stats() local 5125 if_stats = (wl_if_stats_t *)MALLOCZ(cfg->osh, sizeof(*if_stats)); in wl_android_get_connection_stats() 5126 if (if_stats == NULL) { in wl_android_get_connection_stats() 5130 bzero(if_stats, sizeof(*if_stats)); in wl_android_get_connection_stats() 5134 ret = wl_cfg80211_ifstats_counters(dev, if_stats); in wl_android_get_connection_stats() 5139 (char *)if_stats, sizeof(*if_stats), NULL); in wl_android_get_connection_stats() [all …]
|
| H A D | wl_cfgvendor.c | 6880 wl_if_stats_t *if_stats = NULL; in wl_cfgvendor_lstats_get_info() local 6899 BCM_REFERENCE(if_stats); in wl_cfgvendor_lstats_get_info() 7219 if_stats = (wl_if_stats_t *)MALLOCZ(cfg->osh, sizeof(wl_if_stats_t)); in wl_cfgvendor_lstats_get_info() 7220 if (!if_stats) { in wl_cfgvendor_lstats_get_info() 7227 err = wl_cfg80211_ifstats_counters(bcmcfg_to_prmry_ndev(cfg), if_stats); in wl_cfgvendor_lstats_get_info() 7230 NULL, 0, (char *)if_stats, sizeof(*if_stats), NULL); in wl_cfgvendor_lstats_get_info() 7235 if (dtoh16(if_stats->version) > WL_IF_STATS_T_VERSION) { in wl_cfgvendor_lstats_get_info() 7238 if_stats->version)); in wl_cfgvendor_lstats_get_info() 7241 COMPAT_ASSIGN_VALUE(iface, ac[WIFI_AC_BE].tx_mpdu, (uint32)if_stats->txframe); in wl_cfgvendor_lstats_get_info() 7243 (uint32)(if_stats->rxframe - if_stats->rxmulti)); in wl_cfgvendor_lstats_get_info() [all …]
|
| H A D | wl_cfg80211.c | 7420 wl_cfg80211_ifstats_counters(struct net_device *dev, wl_if_stats_t *if_stats) in wl_cfg80211_ifstats_counters() argument 7548 ret = bcm_unpack_xtlv_buf(if_stats, in wl_cfg80211_ifstats_counters() 7588 wl_if_stats_t *if_stats = NULL; in wl_cfg80211_get_station() local 7821 if_stats = (wl_if_stats_t *)buf; in wl_cfg80211_get_station() 7822 bzero(if_stats, WLC_IOCTL_MEDLEN); in wl_cfg80211_get_station() 7825 err = wl_cfg80211_ifstats_counters(dev, if_stats); in wl_cfg80211_get_station() 7830 (char *)if_stats, WLC_IOCTL_MEDLEN, NULL); in wl_cfg80211_get_station() 7845 sinfo->rx_packets = (uint32)dtoh64(if_stats->rxframe); in wl_cfg80211_get_station() 7850 sinfo->tx_packets = (uint32)dtoh64(if_stats->txfrmsnt); in wl_cfg80211_get_station() 7851 sinfo->tx_failed = (uint32)dtoh64(if_stats->txnobuf) + in wl_cfg80211_get_station() [all …]
|
| H A D | wl_cfg80211.h | 2981 extern int wl_cfg80211_ifstats_counters(struct net_device *dev, wl_if_stats_t *if_stats);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | wl_android.c | 3877 wl_if_stats_t *if_stats = NULL; in wl_cfg80211_get_sta_info() local 3884 BCM_REFERENCE(if_stats); in wl_cfg80211_get_sta_info() 4100 if (if_stats) { in wl_cfg80211_get_sta_info() 4101 MFREE(cfg->osh, if_stats, sizeof(*if_stats)); in wl_cfg80211_get_sta_info() 5077 wl_if_stats_t* if_stats = NULL; in wl_android_get_connection_stats() local 5109 if_stats = (wl_if_stats_t *)MALLOCZ(cfg->osh, sizeof(*if_stats)); in wl_android_get_connection_stats() 5110 if (if_stats == NULL) { in wl_android_get_connection_stats() 5114 bzero(if_stats, sizeof(*if_stats)); in wl_android_get_connection_stats() 5118 ret = wl_cfg80211_ifstats_counters(dev, if_stats); in wl_android_get_connection_stats() 5123 (char *)if_stats, sizeof(*if_stats), NULL); in wl_android_get_connection_stats() [all …]
|
| H A D | wl_cfgvendor.c | 6874 wl_if_stats_t *if_stats = NULL; in wl_cfgvendor_lstats_get_info() local 6893 BCM_REFERENCE(if_stats); in wl_cfgvendor_lstats_get_info() 7201 if_stats = (wl_if_stats_t *)MALLOCZ(cfg->osh, sizeof(wl_if_stats_t)); in wl_cfgvendor_lstats_get_info() 7202 if (!if_stats) { in wl_cfgvendor_lstats_get_info() 7209 err = wl_cfg80211_ifstats_counters(bcmcfg_to_prmry_ndev(cfg), if_stats); in wl_cfgvendor_lstats_get_info() 7212 NULL, 0, (char *)if_stats, sizeof(*if_stats), NULL); in wl_cfgvendor_lstats_get_info() 7217 if (dtoh16(if_stats->version) > WL_IF_STATS_T_VERSION) { in wl_cfgvendor_lstats_get_info() 7220 if_stats->version)); in wl_cfgvendor_lstats_get_info() 7223 COMPAT_ASSIGN_VALUE(iface, ac[WIFI_AC_BE].tx_mpdu, (uint32)if_stats->txframe); in wl_cfgvendor_lstats_get_info() 7225 (uint32)(if_stats->rxframe - if_stats->rxmulti)); in wl_cfgvendor_lstats_get_info() [all …]
|
| H A D | wl_cfg80211.c | 7372 wl_cfg80211_ifstats_counters(struct net_device *dev, wl_if_stats_t *if_stats) in wl_cfg80211_ifstats_counters() argument 7500 ret = bcm_unpack_xtlv_buf(if_stats, in wl_cfg80211_ifstats_counters() 7540 wl_if_stats_t *if_stats = NULL; in wl_cfg80211_get_station() local 7773 if_stats = (wl_if_stats_t *)buf; in wl_cfg80211_get_station() 7774 bzero(if_stats, WLC_IOCTL_MEDLEN); in wl_cfg80211_get_station() 7777 err = wl_cfg80211_ifstats_counters(dev, if_stats); in wl_cfg80211_get_station() 7782 (char *)if_stats, WLC_IOCTL_MEDLEN, NULL); in wl_cfg80211_get_station() 7797 sinfo->rx_packets = (uint32)dtoh64(if_stats->rxframe); in wl_cfg80211_get_station() 7802 sinfo->tx_packets = (uint32)dtoh64(if_stats->txfrmsnt); in wl_cfg80211_get_station() 7803 sinfo->tx_failed = (uint32)dtoh64(if_stats->txnobuf) + in wl_cfg80211_get_station() [all …]
|
| H A D | wl_cfg80211.h | 2978 extern int wl_cfg80211_ifstats_counters(struct net_device *dev, wl_if_stats_t *if_stats);
|