Lines Matching refs:cid
77 static void wil_disconnect_cid(struct wil6210_priv *wil, int cid) in wil_disconnect_cid() argument
82 struct wil_sta_info *sta = &wil->sta[cid]; in wil_disconnect_cid()
84 wil_dbg_misc(wil, "%s(CID %d, status %d)\n", __func__, cid, in wil_disconnect_cid()
115 if (wil->vring2cid_tid[i][0] == cid) in wil_disconnect_cid()
123 int cid = -ENOENT; in _wil6210_disconnect() local
129 cid = wil_find_cid(wil, bssid); in _wil6210_disconnect()
130 wil_dbg_misc(wil, "%s(%pM, CID %d)\n", __func__, bssid, cid); in _wil6210_disconnect()
135 if (cid >= 0) /* disconnect 1 peer */ in _wil6210_disconnect()
136 wil_disconnect_cid(wil, cid); in _wil6210_disconnect()
138 for (cid = 0; cid < WIL6210_MAX_CID; cid++) in _wil6210_disconnect()
139 wil_disconnect_cid(wil, cid); in _wil6210_disconnect()
285 int cid = wil->pending_connect_cid; in wil_connect_worker() local
288 if (cid < 0) { in wil_connect_worker()
293 wil_dbg_wmi(wil, "Configure for connection CID %d\n", cid); in wil_connect_worker()
295 rc = wil_vring_init_tx(wil, ringid, WIL6210_TX_RING_SIZE, cid, 0); in wil_connect_worker()
298 wil->sta[cid].status = wil_sta_connected; in wil_connect_worker()
301 wil->sta[cid].status = wil_sta_unused; in wil_connect_worker()