Lines Matching refs:cid

430 int wil_cid_fill_sinfo(struct wil6210_vif *vif, int cid,  in wil_cid_fill_sinfo()  argument
435 .cid = cid, in wil_cid_fill_sinfo()
442 struct wil_net_stats *stats = &wil->sta[cid].stats; in wil_cid_fill_sinfo()
464 cid, vif->mid, WIL_EXTENDED_MCS_CHECK(tx_mcs), in wil_cid_fill_sinfo()
543 int cid = wil_find_cid(wil, vif->mid, mac); in wil_cfg80211_get_station() local
545 wil_dbg_misc(wil, "get_station: %pM CID %d MID %d\n", mac, cid, in wil_cfg80211_get_station()
547 if (!wil_cid_valid(wil, cid)) in wil_cfg80211_get_station()
550 rc = wil_cid_fill_sinfo(vif, cid, sinfo); in wil_cfg80211_get_station()
582 int cid = wil_find_cid_by_idx(wil, vif->mid, idx); in wil_cfg80211_dump_station() local
584 if (!wil_cid_valid(wil, cid)) in wil_cfg80211_dump_station()
587 ether_addr_copy(mac, wil->sta[cid].addr); in wil_cfg80211_dump_station()
588 wil_dbg_misc(wil, "dump_station: %pM CID %d MID %d\n", mac, cid, in wil_cfg80211_dump_station()
591 rc = wil_cid_fill_sinfo(vif, cid, sinfo); in wil_cfg80211_dump_station()
1542 int cid = -EINVAL; in wil_find_sta_by_key_usage() local
1549 cid = wil_find_cid(wil, mid, mac_addr); in wil_find_sta_by_key_usage()
1551 cid = wil_find_cid_by_idx(wil, mid, 0); in wil_find_sta_by_key_usage()
1552 if (cid < 0) { in wil_find_sta_by_key_usage()
1555 return ERR_PTR(cid); in wil_find_sta_by_key_usage()
1558 return &wil->sta[cid]; in wil_find_sta_by_key_usage()
2277 int cid, i; in wil_cfg80211_change_station() local
2292 cid = wil_find_cid(wil, vif->mid, mac); in wil_cfg80211_change_station()
2293 if (cid < 0) { in wil_cfg80211_change_station()
2299 if (wil->ring2cid_tid[i][0] == cid) { in wil_cfg80211_change_station()
2311 wil_dbg_misc(wil, "cid %d ring %d authorize %d\n", cid, i, in wil_cfg80211_change_station()
2323 struct wil_sta_info *sta = &wil->sta[req->cid]; in wil_probe_client_handle()
2389 int cid = wil_find_cid(wil, vif->mid, peer); in wil_cfg80211_probe_client() local
2392 peer, cid, vif->mid); in wil_cfg80211_probe_client()
2394 if (cid < 0) in wil_cfg80211_probe_client()
2401 req->cid = cid; in wil_cfg80211_probe_client()
2402 req->cookie = cid; in wil_cfg80211_probe_client()
3110 int cid = 0; in wil_rf_sector_get_selected() local
3142 cid = wil_find_cid(wil, vif->mid, mac_addr); in wil_rf_sector_get_selected()
3143 if (cid < 0) { in wil_rf_sector_get_selected()
3155 cmd.cid = (u8)cid; in wil_rf_sector_get_selected()
3191 u8 sector_type, u8 cid) in wil_rf_sector_wmi_set_selected() argument
3205 cmd.cid = (u8)cid; in wil_rf_sector_wmi_set_selected()
3226 int cid = 0; in wil_rf_sector_set_selected() local
3261 cid = wil_find_cid(wil, vif->mid, mac_addr); in wil_rf_sector_set_selected()
3262 if (cid < 0) { in wil_rf_sector_set_selected()
3272 cid = -1; in wil_rf_sector_set_selected()
3282 if (cid >= 0) { in wil_rf_sector_set_selected()
3284 sector_type, cid); in wil_rf_sector_set_selected()