Home
last modified time | relevance | path

Searched refs:aid (Results 1 – 25 of 26) sorted by relevance

12

/hostap-latest/src/utils/
Dpcsc_funcs.c254 sim_types sim_type, unsigned char *aid,
401 static int scard_get_aid(struct scard_data *scard, unsigned char *aid, in scard_get_aid() argument
496 os_memcpy(aid, aid_pos, aid_len); in scard_get_aid()
657 unsigned char aid[32]; in scard_init() local
660 aid_len = scard_get_aid(scard, aid, sizeof(aid)); in scard_init()
664 os_memcpy(aid, "\xa0\x00\x00\x00\x87", 5); in scard_init()
667 wpa_hexdump(MSG_DEBUG, "SCARD: 3G USIM AID", aid, aid_len); in scard_init()
673 aid, aid_len)) { in scard_init()
677 aid, aid_len); in scard_init()
808 sim_types sim_type, unsigned char *aid, in _scard_select_file() argument
[all …]
/hostap-latest/wpa_supplicant/
Dmesh_mpm.c291 wpabuf_put_le16(buf, sta->aid); in mesh_mpm_send_plink_action()
809 params.aid = sta->aid; in mesh_mpm_add_peer()
1161 u16 plid = 0, llid = 0, aid = 0; in mesh_mpm_action_rx() local
1199 aid = WPA_GET_LE16(ies); in mesh_mpm_action_rx()
1200 wpa_printf(MSG_DEBUG, "MPM: AID 0x%x", aid); in mesh_mpm_action_rx()
1385 sta->peer_aid = aid; in mesh_mpm_action_rx()
Dwpas_glue.c813 void *ctx, const u8 *peer, int add, u16 aid, u16 capability, in wpa_supplicant_tdls_peer_addset() argument
832 params.aid = aid; in wpa_supplicant_tdls_peer_addset()
/hostap-latest/tests/hwsim/
Dtest_eht.py1724 aid = []
1726 aid.append(int(hapd0.get_sta(dev[i].own_addr())['aid']))
1728 logger.info("Assigned AIDs: " + str(aid))
1729 if len(set(aid)) != 3:
1765 aid = []
1766 aid.append(int(hapd0.get_sta(wpas.own_addr())['aid']))
1768 aid.append(int(hapd0.get_sta(wpas2.own_addr())['aid']))
1770 logger.info("Assigned AIDs: " + str(aid))
1771 if len(set(aid)) != 2:
/hostap-latest/src/ap/
Dieee802_11.c3399 int i, j = 32, aid; in hostapd_get_aid() local
3407 if (sta->aid > 0) { in hostapd_get_aid()
3408 wpa_printf(MSG_DEBUG, " old AID %d", sta->aid); in hostapd_get_aid()
3429 aid = i * 32 + j + (1 << hostapd_max_bssid_indicator(hapd)); in hostapd_get_aid()
3430 if (aid > 2007) in hostapd_get_aid()
3433 sta->aid = aid; in hostapd_get_aid()
3435 wpa_printf(MSG_DEBUG, " new AID %d", sta->aid); in hostapd_get_aid()
4581 sta->aid = origin_sta->aid; in ieee80211_ml_process_link()
4582 if (sta->aid == 0) { in ieee80211_ml_process_link()
4587 hapd->sta_aid[(sta->aid - 1) / 32] |= BIT((sta->aid - 1) % 32); in ieee80211_ml_process_link()
[all …]
Dap_drv_ops.c385 const u8 *addr, int aid, int val) in hostapd_set_wds_sta() argument
395 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val, in hostapd_set_wds_sta()
464 const u8 *addr, u16 aid, u16 capability, in hostapd_sta_add() argument
486 params.aid = aid; in hostapd_sta_add()
Dsta_info.c244 hostapd_set_wds_sta(hapd, NULL, sta->addr, sta->aid, 0); in ap_free_sta()
259 if (sta->aid > 0) in ap_free_sta()
260 hapd->sta_aid[(sta->aid - 1) / 32] &= in ap_free_sta()
261 ~BIT((sta->aid - 1) % 32); in ap_free_sta()
1076 tmp_sta->aid != assoc_sta->aid) in ap_sta_ml_disconnect()
Dap_drv_ops.h39 const u8 *addr, int aid, int val);
41 const u8 *addr, u16 aid, u16 capability,
Dsta_info.h106 u16 aid; /* STA's unique AID (1 .. 2007) or 0 if not yet assigned */ member
Dieee802_1x.c183 tmp_sta->aid != sta->aid) in ieee802_1x_ml_set_sta_authorized()
513 sta->aid > 0 && in add_common_radius_sta_attr()
514 !radius_msg_add_attr_int32(msg, RADIUS_ATTR_NAS_PORT, sta->aid)) { in add_common_radius_sta_attr()
2878 sta->aid, in ieee802_1x_get_mib_sta()
Dieee802_11_shared.c1210 tmp_sta->aid == sta->aid) { in hostapd_ml_get_assoc_sta()
Dctrl_iface_ap.c260 sta->aid, sta->capability, sta->listen_interval); in hostapd_ctrl_iface_sta_mib()
/hostap-latest/wlantest/
Drx_mgmt.c1325 u16 capab, status, aid; in rx_mgmt_assoc_resp() local
1351 aid = le_to_host16(mgmt->u.assoc_resp.aid); in rx_mgmt_assoc_resp()
1356 aid & 0x3fff); in rx_mgmt_assoc_resp()
1399 if ((aid & 0xc000) != 0xc000) { in rx_mgmt_assoc_resp()
1404 sta->aid = aid & 0xc000; in rx_mgmt_assoc_resp()
2084 u16 capab, status, aid; in rx_mgmt_reassoc_resp() local
2111 aid = le_to_host16(mgmt->u.reassoc_resp.aid); in rx_mgmt_reassoc_resp()
2116 aid & 0x3fff); in rx_mgmt_reassoc_resp()
2160 if ((aid & 0xc000) != 0xc000) { in rx_mgmt_reassoc_resp()
2165 sta->aid = aid & 0xc000; in rx_mgmt_reassoc_resp()
Dtest_vectors.c176 u16 aid = 7; in test_vector_ccmp_pv1() local
190 wpa_printf(MSG_INFO, "Association ID: %u", aid); in test_vector_ccmp_pv1()
Dwlantest.h67 u16 aid; member
/hostap-latest/src/drivers/
Ddriver_hostap.h156 u16 aid; member
Ddriver_hostap.c654 param.u.add_sta.aid = params->aid; in hostap_sta_add()
Ddriver.h2540 u16 aid; member
4011 int (*set_wds_sta)(void *priv, const u8 *addr, int aid, int val,
Ddriver_nl80211.c5691 if (params->aid) { in wpa_driver_nl80211_sta_add()
5692 wpa_printf(MSG_DEBUG, " * aid=%u", params->aid); in wpa_driver_nl80211_sta_add()
5693 if (nla_put_u16(msg, NL80211_ATTR_STA_AID, params->aid)) in wpa_driver_nl80211_sta_add()
5713 } else if (params->aid && (params->flags & WPA_STA_TDLS_PEER)) { in wpa_driver_nl80211_sta_add()
5714 wpa_printf(MSG_DEBUG, " * peer_aid=%u", params->aid); in wpa_driver_nl80211_sta_add()
5715 if (nla_put_u16(msg, NL80211_ATTR_PEER_AID, params->aid)) in wpa_driver_nl80211_sta_add()
5719 wpa_printf(MSG_DEBUG, " * aid=%u", params->aid); in wpa_driver_nl80211_sta_add()
5722 if (nla_put_u16(msg, NL80211_ATTR_STA_AID, params->aid) || in wpa_driver_nl80211_sta_add()
8471 static int i802_set_wds_sta(void *priv, const u8 *addr, int aid, int val, in i802_set_wds_sta() argument
8480 ret = os_snprintf(name, sizeof(name), "%s.sta%d", bss->ifname, aid); in i802_set_wds_sta()
[all …]
/hostap-latest/src/rsn_supp/
Dwpa_i.h416 u16 aid, u16 capability, const u8 *supp_rates, in wpa_sm_tdls_peer_addset() argument
432 aid, capability, supp_rates, in wpa_sm_tdls_peer_addset()
Dtdls.c147 u16 aid; member
1909 return wpa_sm_tdls_peer_addset(sm, peer->addr, add, peer->aid, in wpa_tdls_addset_peer()
2082 peer->aid = kde.aid; in wpa_tdls_process_tpk_m1()
2500 peer->aid = kde.aid; in wpa_tdls_process_tpk_m2()
Dwpa.h70 int (*tdls_peer_addset)(void *ctx, const u8 *addr, int add, u16 aid,
/hostap-latest/src/common/
Dwpa_common.h713 u16 aid; member
Dieee802_11_defs.h1017 le16 aid; member
Dwpa_common.c3771 ie->aid = WPA_GET_LE16(pos + 2) & 0x3fff; in wpa_parse_kde_ies()

12