Lines Matching full:mid
450 rc = wmi_call(wil, WMI_NOTIFY_REQ_CMDID, vif->mid, &cmd, sizeof(cmd), in wil_cid_fill_sinfo()
458 wil_dbg_wmi(wil, "Link status for CID %d MID %d: {\n" 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()
545 wil_dbg_misc(wil, "get_station: %pM CID %d MID %d\n", mac, cid, in wil_cfg80211_get_station()
546 vif->mid); in wil_cfg80211_get_station()
556 * Find @idx-th active STA for specific MID for station dump.
558 int wil_find_cid_by_idx(struct wil6210_priv *wil, u8 mid, int idx) in wil_find_cid_by_idx() argument
565 if (wil->sta[i].mid != mid) in wil_find_cid_by_idx()
582 int cid = wil_find_cid_by_idx(wil, vif->mid, idx); 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()
589 vif->mid); in wil_cfg80211_dump_station()
731 addr[0] = (addr[0] ^ (1 << vif->mid)) | 0x2; /* locally administered */ in wil_cfg80211_add_iface()
741 wil_info(wil, "added VIF, mid %d iftype %d MAC %pM\n", in wil_cfg80211_add_iface()
742 vif->mid, type, wdev->address); in wil_cfg80211_add_iface()
795 if (vif->mid == 0) { in wil_cfg80211_del_iface()
804 wil_info(wil, "deleted VIF, mid %d iftype %d MAC %pM\n", in wil_cfg80211_del_iface()
805 vif->mid, wdev->iftype, wdev->address); in wil_cfg80211_del_iface()
807 wil_vif_remove(wil, vif->mid); in wil_cfg80211_del_iface()
874 if (vif->mid != 0 && wil_has_active_ifaces(wil, true, false)) { in wil_cfg80211_change_iface()
877 rc = wmi_port_delete(wil, vif->mid); in wil_cfg80211_change_iface()
880 rc = wmi_port_allocate(wil, vif->mid, ndev->dev_addr, type); in wil_cfg80211_change_iface()
941 if (vif->mid == 0) in wil_cfg80211_scan()
945 if (vif->mid == 0) in wil_cfg80211_scan()
1015 if (vif->mid == 0) in wil_cfg80211_scan()
1017 rc = wmi_send(wil, WMI_START_SCAN_CMDID, vif->mid, in wil_cfg80211_scan()
1024 if (vif->mid == 0) in wil_cfg80211_scan()
1175 rc = wmi_send(wil, WMI_FT_AUTH_CMDID, vif->mid, in wil_ft_connect()
1229 wil_dbg_misc(wil, "connect, mid=%d\n", vif->mid); in wil_cfg80211_connect()
1368 rc = wmi_send(wil, WMI_CONNECT_CMDID, vif->mid, &conn, sizeof(conn)); in wil_cfg80211_connect()
1395 wil_dbg_misc(wil, "disconnect: reason=%d, mid=%d\n", in wil_cfg80211_disconnect()
1396 reason_code, vif->mid); in wil_cfg80211_disconnect()
1405 rc = wmi_call(wil, WMI_DISCONNECT_CMDID, vif->mid, NULL, 0, in wil_cfg80211_disconnect()
1539 wil_find_sta_by_key_usage(struct wil6210_priv *wil, u8 mid, in wil_find_sta_by_key_usage() argument
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()
1633 struct wil_sta_info *cs = wil_find_sta_by_key_usage(wil, vif->mid, in wil_cfg80211_add_key()
1707 struct wil_sta_info *cs = wil_find_sta_by_key_usage(wil, vif->mid, in wil_cfg80211_del_key()
1951 wil_dbg_misc(wil, "start_ap: mid=%d, is_go=%d\n", vif->mid, is_go); in _wil_cfg80211_start_ap()
2093 wil_dbg_misc(wil, "change_beacon, mid=%d\n", vif->mid); in wil_cfg80211_change_beacon()
2196 wil_dbg_misc(wil, "stop_ap, mid=%d\n", vif->mid); in wil_cfg80211_stop_ap()
2235 wil_dbg_misc(wil, "add station %pM aid %d mid %d mask 0x%x set 0x%x\n", in wil_cfg80211_add_station()
2236 mac, params->aid, vif->mid, in wil_cfg80211_add_station()
2259 wil_dbg_misc(wil, "del_station: %pM, reason=%d mid=%d\n", in wil_cfg80211_del_station()
2260 params->mac, params->reason_code, vif->mid); in wil_cfg80211_del_station()
2280 wil_dbg_misc(wil, "change station %pM mask 0x%x set 0x%x mid %d\n", in wil_cfg80211_change_station()
2282 vif->mid); in wil_cfg80211_change_station()
2292 cid = wil_find_cid(wil, vif->mid, mac); in wil_cfg80211_change_station()
2389 int cid = wil_find_cid(wil, vif->mid, peer); in wil_cfg80211_probe_client()
2391 wil_dbg_misc(wil, "probe_client: %pM => CID %d MID %d\n", in wil_cfg80211_probe_client()
2392 peer, cid, vif->mid); in wil_cfg80211_probe_client()
2421 wil_dbg_misc(wil, "change_bss: ap_isolate MID %d, %d => %d\n", in wil_cfg80211_change_bss()
2422 vif->mid, vif->ap_isolate, params->ap_isolate); in wil_cfg80211_change_bss()
2495 if (vif->mid != 0) in wil_cfg80211_sched_scan_start()
2546 if (vif->mid != 0) in wil_cfg80211_sched_scan_stop()
2568 wil_dbg_misc(wil, "update ft ies, mid=%d\n", vif->mid); in wil_cfg80211_update_ft_ies()
2598 rc = wmi_send(wil, WMI_FT_REASSOC_CMDID, vif->mid, in wil_cfg80211_update_ft_ies()
2931 rc = wmi_call(wil, WMI_GET_RF_SECTOR_PARAMS_CMDID, vif->mid, in wil_rf_sector_get_cfg()
3092 rc = wmi_call(wil, WMI_SET_RF_SECTOR_PARAMS_CMDID, vif->mid, in wil_rf_sector_set_cfg()
3142 cid = wil_find_cid(wil, vif->mid, mac_addr); in wil_rf_sector_get_selected()
3157 rc = wmi_call(wil, WMI_GET_SELECTED_RF_SECTOR_INDEX_CMDID, vif->mid, in wil_rf_sector_get_selected()
3190 u8 mid, u16 sector_index, in wil_rf_sector_wmi_set_selected() argument
3206 rc = wmi_call(wil, WMI_SET_SELECTED_RF_SECTOR_INDEX_CMDID, mid, in wil_rf_sector_wmi_set_selected()
3261 cid = wil_find_cid(wil, vif->mid, mac_addr); in wil_rf_sector_set_selected()
3283 rc = wil_rf_sector_wmi_set_selected(wil, vif->mid, sector_index, in wil_rf_sector_set_selected()
3288 wil, vif->mid, WMI_INVALID_RF_SECTOR_INDEX, in wil_rf_sector_set_selected()
3292 if (wil->sta[i].mid != vif->mid) in wil_rf_sector_set_selected()
3295 wil, vif->mid, in wil_rf_sector_set_selected()