Lines Matching refs:ifname
48 char ifname[IFNAMSIZ];
349 dbss->ifname, freq);
770 "freq %d MHz", bss->ifname, freq);
785 bss->ifname, freq, own_freq);
992 static int test_driver_bss_add(void *priv, const char *ifname, const u8 *bssid,
999 wpa_printf(MSG_DEBUG, "%s(ifname=%s bssid=" MACSTR ")",
1000 __func__, ifname, MAC2STR(bssid));
1008 os_strlcpy(bss->ifname, ifname, IFNAMSIZ);
1024 static int test_driver_bss_remove(void *priv, const char *ifname)
1031 wpa_printf(MSG_DEBUG, "%s(ifname=%s)", __func__, ifname);
1034 if (strcmp(bss->ifname, ifname) != 0)
1059 const char *ifname, const u8 *addr,
1067 wpa_printf(MSG_DEBUG, "%s(type=%d ifname=%s bss_ctx=%p)",
1068 __func__, type, ifname, bss_ctx);
1082 return test_driver_bss_add(priv, ifname, if_addr, bss_ctx,
1089 const char *ifname)
1091 wpa_printf(MSG_DEBUG, "%s(type=%d ifname=%s)", __func__, type, ifname);
1094 return test_driver_bss_remove(priv, ifname);
1103 wpa_printf(MSG_DEBUG, "%s(ifname=%s)", __func__, bss->ifname);
1130 const char *ifname, int vlan_id)
1132 wpa_printf(MSG_DEBUG, "%s(addr=" MACSTR " ifname=%s vlan_id=%d)",
1133 __func__, MAC2STR(addr), ifname, vlan_id);
1145 wpa_printf(MSG_DEBUG, "%s(ifname=%s addr=" MACSTR " aid=%d "
1147 __func__, bss->ifname, MAC2STR(params->addr), params->aid,
1171 const char *ifname)
1193 os_strlcpy(bss->ifname, ifname, IFNAMSIZ);
1199 sha1_prf((const u8 *) ifname, os_strlen(ifname),
1217 drv = test_alloc_data(hapd, params->ifname);
1503 static int wpa_driver_test_set_key(const char *ifname, void *priv,
1509 wpa_printf(MSG_DEBUG, "%s: ifname=%s priv=%p alg=%d key_idx=%d "
1511 __func__, ifname, priv, alg, key_idx, set_tx);
1924 "freq %d MHz", bss->ifname, freq);
1939 bss->ifname, freq, own_freq);
2124 static void * wpa_driver_test_init2(void *ctx, const char *ifname,
2131 drv = test_alloc_data(ctx, ifname);
2551 iface->ifname = os_strdup("sta0");
2556 iface->next->ifname = os_strdup("sta1");