Lines Matching refs:sinfo

2427 			   const u8 *mac, struct station_info *sinfo)  in brcmf_cfg80211_get_station()  argument
2458 sinfo->filled = BIT(NL80211_STA_INFO_INACTIVE_TIME); in brcmf_cfg80211_get_station()
2459 sinfo->inactive_time = le32_to_cpu(sta_info_le.idle) * 1000; in brcmf_cfg80211_get_station()
2461 brcmf_convert_sta_flags(sta_flags, sinfo); in brcmf_cfg80211_get_station()
2462 sinfo->sta_flags.mask |= BIT(NL80211_STA_FLAG_TDLS_PEER); in brcmf_cfg80211_get_station()
2464 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_TDLS_PEER); in brcmf_cfg80211_get_station()
2466 sinfo->sta_flags.set &= ~BIT(NL80211_STA_FLAG_TDLS_PEER); in brcmf_cfg80211_get_station()
2468 sinfo->filled |= BIT(NL80211_STA_INFO_CONNECTED_TIME); in brcmf_cfg80211_get_station()
2469 sinfo->connected_time = le32_to_cpu(sta_info_le.in); in brcmf_cfg80211_get_station()
2470 brcmf_fill_bss_param(ifp, sinfo); in brcmf_cfg80211_get_station()
2473 sinfo->filled |= BIT(NL80211_STA_INFO_TX_FAILED); in brcmf_cfg80211_get_station()
2474 sinfo->tx_failed = le32_to_cpu(sta_info_le.tx_failures); in brcmf_cfg80211_get_station()
2475 sinfo->filled |= BIT(NL80211_STA_INFO_TX_PACKETS); 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()
2478 sinfo->filled |= BIT(NL80211_STA_INFO_RX_PACKETS); 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()
2481 if (sinfo->tx_packets) { in brcmf_cfg80211_get_station()
2482 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BITRATE); in brcmf_cfg80211_get_station()
2483 sinfo->txrate.legacy = in brcmf_cfg80211_get_station()
2486 if (sinfo->rx_packets) { in brcmf_cfg80211_get_station()
2487 sinfo->filled |= BIT(NL80211_STA_INFO_RX_BITRATE); in brcmf_cfg80211_get_station()
2488 sinfo->rxrate.legacy = in brcmf_cfg80211_get_station()
2492 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BYTES); in brcmf_cfg80211_get_station()
2493 sinfo->tx_bytes = le64_to_cpu(sta_info_le.tx_tot_bytes); in brcmf_cfg80211_get_station()
2494 sinfo->filled |= BIT(NL80211_STA_INFO_RX_BYTES); in brcmf_cfg80211_get_station()
2495 sinfo->rx_bytes = le64_to_cpu(sta_info_le.rx_tot_bytes); in brcmf_cfg80211_get_station()
2501 sinfo->chain_signal_avg[count_rssi] = in brcmf_cfg80211_get_station()
2503 sinfo->chain_signal[count_rssi] = in brcmf_cfg80211_get_station()
2510 sinfo->filled |= BIT(NL80211_STA_INFO_CHAIN_SIGNAL); in brcmf_cfg80211_get_station()
2511 sinfo->chains = count_rssi; in brcmf_cfg80211_get_station()
2513 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); in brcmf_cfg80211_get_station()
2515 sinfo->signal = total_rssi; in brcmf_cfg80211_get_station()
2525 int idx, u8 *mac, struct station_info *sinfo) in brcmf_cfg80211_dump_station() argument
2547 return brcmf_cfg80211_get_station(wiphy, ndev, mac, sinfo); in brcmf_cfg80211_dump_station()
4965 struct station_info sinfo; in brcmf_notify_connect_status_ap() local
4979 memset(&sinfo, 0, sizeof(sinfo)); in brcmf_notify_connect_status_ap()
4984 sinfo.assoc_req_ies = data; in brcmf_notify_connect_status_ap()
4985 sinfo.assoc_req_ies_len = e->datalen; in brcmf_notify_connect_status_ap()
4987 sinfo.generation = generation; in brcmf_notify_connect_status_ap()
4988 cfg80211_new_sta(ndev, e->addr, &sinfo, GFP_KERNEL); in brcmf_notify_connect_status_ap()