• Home
  • Raw
  • Download

Lines Matching refs:sta_info_le

2784 	struct brcmf_sta_info_le sta_info_le;  in brcmf_cfg80211_get_station()  local
2800 memset(&sta_info_le, 0, sizeof(sta_info_le)); in brcmf_cfg80211_get_station()
2801 memcpy(&sta_info_le, mac, ETH_ALEN); in brcmf_cfg80211_get_station()
2803 &sta_info_le, in brcmf_cfg80211_get_station()
2804 sizeof(sta_info_le)); in brcmf_cfg80211_get_station()
2808 &sta_info_le, in brcmf_cfg80211_get_station()
2809 sizeof(sta_info_le)); in brcmf_cfg80211_get_station()
2815 brcmf_dbg(TRACE, "version %d\n", le16_to_cpu(sta_info_le.ver)); in brcmf_cfg80211_get_station()
2817 sinfo->inactive_time = le32_to_cpu(sta_info_le.idle) * 1000; in brcmf_cfg80211_get_station()
2818 sta_flags = le32_to_cpu(sta_info_le.flags); in brcmf_cfg80211_get_station()
2827 sinfo->connected_time = le32_to_cpu(sta_info_le.in); in brcmf_cfg80211_get_station()
2832 sinfo->tx_failed = le32_to_cpu(sta_info_le.tx_failures); in brcmf_cfg80211_get_station()
2834 sinfo->tx_packets = le32_to_cpu(sta_info_le.tx_pkts); in brcmf_cfg80211_get_station()
2835 sinfo->tx_packets += le32_to_cpu(sta_info_le.tx_mcast_pkts); in brcmf_cfg80211_get_station()
2837 sinfo->rx_packets = le32_to_cpu(sta_info_le.rx_ucast_pkts); in brcmf_cfg80211_get_station()
2838 sinfo->rx_packets += le32_to_cpu(sta_info_le.rx_mcast_pkts); in brcmf_cfg80211_get_station()
2842 le32_to_cpu(sta_info_le.tx_rate) / 100; in brcmf_cfg80211_get_station()
2847 le32_to_cpu(sta_info_le.rx_rate) / 100; in brcmf_cfg80211_get_station()
2849 if (le16_to_cpu(sta_info_le.ver) >= 4) { in brcmf_cfg80211_get_station()
2851 sinfo->tx_bytes = le64_to_cpu(sta_info_le.tx_tot_bytes); in brcmf_cfg80211_get_station()
2853 sinfo->rx_bytes = le64_to_cpu(sta_info_le.rx_tot_bytes); in brcmf_cfg80211_get_station()
2856 if (sta_info_le.rssi[i] == 0 || in brcmf_cfg80211_get_station()
2857 sta_info_le.rx_lastpkt_rssi[i] == 0) in brcmf_cfg80211_get_station()
2861 sta_info_le.rx_lastpkt_rssi[i]; in brcmf_cfg80211_get_station()
2863 sta_info_le.rssi[i]; in brcmf_cfg80211_get_station()
2864 total_rssi += sta_info_le.rx_lastpkt_rssi[i]; in brcmf_cfg80211_get_station()
2865 total_rssi_avg += sta_info_le.rssi[i]; in brcmf_cfg80211_get_station()