Lines Matching refs:sta_info_le

2431 	struct brcmf_sta_info_le sta_info_le;  in brcmf_cfg80211_get_station()  local
2442 memset(&sta_info_le, 0, sizeof(sta_info_le)); in brcmf_cfg80211_get_station()
2443 memcpy(&sta_info_le, mac, ETH_ALEN); in brcmf_cfg80211_get_station()
2445 &sta_info_le, in brcmf_cfg80211_get_station()
2446 sizeof(sta_info_le)); in brcmf_cfg80211_get_station()
2450 &sta_info_le, in brcmf_cfg80211_get_station()
2451 sizeof(sta_info_le)); in brcmf_cfg80211_get_station()
2457 brcmf_dbg(TRACE, "version %d\n", le16_to_cpu(sta_info_le.ver)); in brcmf_cfg80211_get_station()
2459 sinfo->inactive_time = le32_to_cpu(sta_info_le.idle) * 1000; in brcmf_cfg80211_get_station()
2460 sta_flags = le32_to_cpu(sta_info_le.flags); in brcmf_cfg80211_get_station()
2469 sinfo->connected_time = le32_to_cpu(sta_info_le.in); in brcmf_cfg80211_get_station()
2474 sinfo->tx_failed = le32_to_cpu(sta_info_le.tx_failures); in brcmf_cfg80211_get_station()
2476 sinfo->tx_packets = le32_to_cpu(sta_info_le.tx_pkts); in brcmf_cfg80211_get_station()
2477 sinfo->tx_packets += le32_to_cpu(sta_info_le.tx_mcast_pkts); in brcmf_cfg80211_get_station()
2479 sinfo->rx_packets = le32_to_cpu(sta_info_le.rx_ucast_pkts); in brcmf_cfg80211_get_station()
2480 sinfo->rx_packets += le32_to_cpu(sta_info_le.rx_mcast_pkts); in brcmf_cfg80211_get_station()
2484 le32_to_cpu(sta_info_le.tx_rate) / 100; in brcmf_cfg80211_get_station()
2489 le32_to_cpu(sta_info_le.rx_rate) / 100; in brcmf_cfg80211_get_station()
2491 if (le16_to_cpu(sta_info_le.ver) >= 4) { in brcmf_cfg80211_get_station()
2493 sinfo->tx_bytes = le64_to_cpu(sta_info_le.tx_tot_bytes); in brcmf_cfg80211_get_station()
2495 sinfo->rx_bytes = le64_to_cpu(sta_info_le.rx_tot_bytes); in brcmf_cfg80211_get_station()
2500 if (sta_info_le.rssi[i]) { in brcmf_cfg80211_get_station()
2502 sta_info_le.rssi[i]; in brcmf_cfg80211_get_station()
2504 sta_info_le.rssi[i]; in brcmf_cfg80211_get_station()
2505 total_rssi += sta_info_le.rssi[i]; in brcmf_cfg80211_get_station()