Lines Matching refs:cid
122 int wil_cid_fill_sinfo(struct wil6210_priv *wil, int cid, in wil_cid_fill_sinfo() argument
126 .cid = cid, in wil_cid_fill_sinfo()
133 struct wil_net_stats *stats = &wil->sta[cid].stats; in wil_cid_fill_sinfo()
146 cid, le16_to_cpu(reply.evt.bf_mcs), in wil_cid_fill_sinfo()
195 int cid = wil_find_cid(wil, mac); in wil_cfg80211_get_station() local
197 wil_dbg_misc(wil, "%s(%pM) CID %d\n", __func__, mac, cid); in wil_cfg80211_get_station()
198 if (cid < 0) in wil_cfg80211_get_station()
199 return cid; in wil_cfg80211_get_station()
201 rc = wil_cid_fill_sinfo(wil, cid, sinfo); in wil_cfg80211_get_station()
230 int cid = wil_find_cid_by_idx(wil, idx); in wil_cfg80211_dump_station() local
232 if (cid < 0) in wil_cfg80211_dump_station()
235 ether_addr_copy(mac, wil->sta[cid].addr); in wil_cfg80211_dump_station()
236 wil_dbg_misc(wil, "%s(%pM) CID %d\n", __func__, mac, cid); in wil_cfg80211_dump_station()
238 rc = wil_cid_fill_sinfo(wil, cid, sinfo); in wil_cfg80211_dump_station()
770 int cid = -EINVAL; in wil_find_sta_by_key_usage() local
777 cid = wil_find_cid(wil, mac_addr); in wil_find_sta_by_key_usage()
779 cid = wil_find_cid_by_idx(wil, 0); in wil_find_sta_by_key_usage()
780 if (cid < 0) { in wil_find_sta_by_key_usage()
783 return ERR_PTR(cid); in wil_find_sta_by_key_usage()
786 return &wil->sta[cid]; in wil_find_sta_by_key_usage()
1301 struct wil_sta_info *sta = &wil->sta[req->cid]; in wil_probe_client_handle()
1363 int cid = wil_find_cid(wil, peer); in wil_cfg80211_probe_client() local
1365 wil_dbg_misc(wil, "%s(%pM => CID %d)\n", __func__, peer, cid); in wil_cfg80211_probe_client()
1367 if (cid < 0) in wil_cfg80211_probe_client()
1374 req->cid = cid; in wil_cfg80211_probe_client()
1375 req->cookie = cid; in wil_cfg80211_probe_client()