/freebsd-current/contrib/wpa/src/ap/ |
H A D | ieee802_11_vht.c | 170 u16 copy_sta_vht_capab(struct hostapd_data *hapd, struct sta_info *sta, argument 174 if (!vht_capab || !(sta->flags & WLAN_STA_WMM) || 177 sta->flags &= ~WLAN_STA_VHT; 178 os_free(sta->vht_capabilities); 179 sta->vht_capabilities = NULL; 183 if (sta->vht_capabilities == NULL) { 184 sta->vht_capabilities = 186 if (sta->vht_capabilities == NULL) 190 sta->flags |= WLAN_STA_VHT; 191 os_memcpy(sta 198 copy_sta_vht_oper(struct hostapd_data *hapd, struct sta_info *sta, const u8 *vht_oper) argument 221 copy_sta_vendor_vht(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ie, size_t len) argument 283 set_sta_vht_opmode(struct hostapd_data *hapd, struct sta_info *sta, const u8 *vht_oper_notif) argument [all...] |
H A D | mbo_ap.c | 19 void mbo_ap_sta_free(struct sta_info *sta) argument 23 info = sta->non_pref_chan; 24 sta->non_pref_chan = NULL; 33 static void mbo_ap_parse_non_pref_chan(struct sta_info *sta, argument 54 if (!sta->non_pref_chan) { 55 sta->non_pref_chan = info; 57 tmp = sta->non_pref_chan; 78 MAC2STR(sta->addr), info->op_class, info->pref, 83 void mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta, argument 98 sta 115 mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen) argument 168 mbo_ap_wnm_notif_req_cell_capa(struct sta_info *sta, const u8 *buf, size_t len) argument 180 mbo_ap_wnm_notif_req_elem(struct sta_info *sta, u8 type, const u8 *buf, size_t len, int *first_non_pref_chan) argument 213 struct sta_info *sta; local [all...] |
H A D | fils_hlp.h | 12 int fils_process_hlp(struct hostapd_data *hapd, struct sta_info *sta,
|
H A D | p2p_hostapd.h | 14 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, 25 struct sta_info *sta, 24 hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
|
H A D | wpa_auth_glue.c | 275 struct sta_info *sta = ap_get_sta(hapd, addr); local 276 if (sta == NULL) 280 ieee802_1x_notify_port_enabled(sta->eapol_sm, value); 283 ieee802_1x_notify_port_valid(sta->eapol_sm, value); 286 ieee802_1x_set_sta_authorized(hapd, sta, value); 289 if (sta->eapol_sm) 290 sta->eapol_sm->portControl = Auto; 293 if (sta->eapol_sm) 294 sta->eapol_sm->keyRun = value; 297 if (sta 316 struct sta_info *sta = ap_get_sta(hapd, addr); local 336 struct sta_info *sta = ap_get_sta(hapd, addr); local 413 struct sta_info *sta; local 460 struct sta_info *sta; local 513 struct sta_info *sta; local 545 struct sta_info *sta; local 946 struct sta_info *sta; local 993 struct sta_info *sta; local 1017 struct sta_info *sta; local 1044 struct sta_info *sta; local 1087 struct sta_info *sta; local 1116 struct sta_info *sta; local 1149 struct sta_info *sta; local 1169 struct sta_info *sta; local 1209 struct sta_info *sta; local 1239 struct sta_info *sta; local 1277 struct sta_info *sta; local 1310 struct sta_info *sta; local 1331 struct sta_info *sta; local [all...] |
H A D | sta_info.h | 107 struct sta_info *next; /* next entry in sta list */ 294 void (*fils_pending_cb)(struct hostapd_data *hapd, struct sta_info *sta, 353 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, 356 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta); 358 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta); 359 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta); 360 void ap_sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta); 363 void ap_sta_replenish_timeout(struct hostapd_data *hapd, struct sta_info *sta, 365 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta, 368 struct sta_info *sta); 393 ap_sta_is_authorized(struct sta_info *sta) argument [all...] |
H A D | ieee802_11_ht.c | 217 struct sta_info *sta; local 269 sta = ap_get_sta(hapd, mgmt->sa); 270 if (!sta || !(sta->flags & WLAN_STA_ASSOC)) { 357 u16 copy_sta_ht_capab(struct hostapd_data *hapd, struct sta_info *sta, argument 365 if (!ht_capab || !(sta->flags & WLAN_STA_WMM) || 367 sta->flags &= ~WLAN_STA_HT; 368 os_free(sta->ht_capabilities); 369 sta->ht_capabilities = NULL; 373 if (sta 388 ht40_intolerant_add(struct hostapd_iface *iface, struct sta_info *sta) argument 411 ht40_intolerant_remove(struct hostapd_iface *iface, struct sta_info *sta) argument 434 update_sta_ht(struct hostapd_data *hapd, struct sta_info *sta) argument 467 update_sta_no_ht(struct hostapd_data *hapd, struct sta_info *sta) argument 482 update_ht_state(struct hostapd_data *hapd, struct sta_info *sta) argument [all...] |
H A D | ctrl_iface_ap.c | 53 static int hostapd_get_sta_conn_time(struct sta_info *sta, argument 61 if (sta->connected_time.sec) { 63 os_reltime_age(&sta->connected_time, &age); 80 struct sta_info *sta, 87 if (hostapd_drv_read_sta_data(hapd, &data, sta->addr) < 0) 164 if ((sta->flags & WLAN_STA_VHT) && sta->vht_capabilities) { 168 le_to_host16(sta->vht_capabilities-> 170 le_to_host16(sta->vht_capabilities-> 176 if ((sta 79 hostapd_get_sta_info(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument 214 hostapd_ctrl_iface_sta_mib(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument 405 struct sta_info *sta; local 445 struct sta_info *sta; local 517 struct sta_info *sta; local 579 struct sta_info *sta; local 643 struct sta_info *sta; local 663 struct sta_info *sta; local [all...] |
H A D | fils_hlp.c | 36 static int fils_dhcp_request(struct hostapd_data *hapd, struct sta_info *sta, argument 45 if (!sta->hlp_dhcp_discover) { 53 pos = wpabuf_mhead(sta->hlp_dhcp_discover); 54 end = pos + wpabuf_len(sta->hlp_dhcp_discover); 91 sta->hlp_dhcp_discover->used = pos - (u8 *) dhcp; 117 if (wpabuf_resize(&sta->hlp_dhcp_discover, 121 wpabuf_put_data(sta->hlp_dhcp_discover, server_id, 123 wpabuf_put_u8(sta->hlp_dhcp_discover, DHCP_OPT_REQUESTED_IP_ADDRESS); 124 wpabuf_put_u8(sta->hlp_dhcp_discover, 4); 125 wpabuf_put_data(sta 153 struct sta_info *sta; local 325 fils_process_hlp_dhcp(struct hostapd_data *hapd, struct sta_info *sta, const u8 *msg, size_t len) argument 478 fils_process_hlp_udp(struct hostapd_data *hapd, struct sta_info *sta, const u8 *dst, const u8 *pos, size_t len) argument 509 fils_process_hlp_ip(struct hostapd_data *hapd, struct sta_info *sta, const u8 *dst, const u8 *pos, size_t len) argument 539 fils_process_hlp_req(struct hostapd_data *hapd, struct sta_info *sta, const u8 *pos, size_t len) argument 576 fils_process_hlp(struct hostapd_data *hapd, struct sta_info *sta, const u8 *pos, int left) argument [all...] |
H A D | ieee802_11.h | 30 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, 40 struct sta_info *sta, 81 int hostapd_get_aid(struct hostapd_data *hapd, struct sta_info *sta); 82 u16 copy_sta_ht_capab(struct hostapd_data *hapd, struct sta_info *sta, 84 u16 copy_sta_vendor_vht(struct hostapd_data *hapd, struct sta_info *sta, 87 void update_ht_state(struct hostapd_data *hapd, struct sta_info *sta); 88 void ht40_intolerant_add(struct hostapd_iface *iface, struct sta_info *sta); 89 void ht40_intolerant_remove(struct hostapd_iface *iface, struct sta_info *sta); 90 u16 copy_sta_vht_capab(struct hostapd_data *hapd, struct sta_info *sta, 92 u16 copy_sta_vht_oper(struct hostapd_data *hapd, struct sta_info *sta, 39 ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument 129 sae_clear_retransmit_timer(struct hostapd_data *hapd, struct sta_info *sta) argument [all...] |
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/ |
H A D | rs.c | 63 iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *sta, bool enable) argument 76 struct ieee80211_sta *sta, 83 iwl_mvm_rs_tx_status(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int tid, argument 94 * Assumption based on mvm/sta.h is that this should update 75 iwl_mvm_rs_rate_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_bss_conf *link_conf, struct ieee80211_link_sta *link_sta, enum nl80211_band band) argument
|
H A D | mld-sta.c | 7 #include "sta.h" 9 u32 iwl_mvm_sta_fw_id_mask(struct iwl_mvm *mvm, struct ieee80211_sta *sta, argument 16 if (!sta) 19 mvmsta = iwl_mvm_sta_from_mac80211(sta); 22 if (!sta->valid_links) 60 struct iwl_mvm_int_sta *sta, 68 cmd.sta_id = cpu_to_le32((u8)sta->sta_id); 72 cmd.station_type = cpu_to_le32(sta->type); 76 sta->type == STATION_TYPE_BCAST_MGMT) 116 struct iwl_mvm_int_sta *sta, 59 iwl_mvm_mld_add_int_sta_to_fw(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta, const u8 *addr, int link_id) argument 115 iwl_mvm_add_aux_sta_to_fw(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta, u32 lmac_id) argument 136 iwl_mvm_mld_add_int_sta_with_queue(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta, const u8 *addr, int link_id, u16 *queue, u8 tid, unsigned int *_wdg_timeout) argument 428 iwl_mvm_mld_cfg_sta(struct iwl_mvm *mvm, struct ieee80211_sta *sta, struct ieee80211_vif *vif, struct ieee80211_link_sta *link_sta, struct ieee80211_bss_conf *link_conf, struct iwl_mvm_link_sta *mvm_link_sta) argument 547 iwl_mvm_mld_alloc_sta_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, unsigned int link_id) argument 580 iwl_mvm_mld_alloc_sta_links(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 607 iwl_mvm_mld_set_ap_sta_id(struct ieee80211_sta *sta, struct iwl_mvm_vif_link_info *vif_link, struct iwl_mvm_link_sta *sta_link) argument 622 iwl_mvm_alloc_sta_after_restart(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 670 iwl_mvm_mld_add_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 741 iwl_mvm_mld_update_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 773 iwl_mvm_mld_disable_sta_queues(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 800 iwl_mvm_mld_rm_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 882 iwl_mvm_mld_sta_modify_disable_tx_ap(struct iwl_mvm *mvm, struct ieee80211_sta *sta, bool disable) argument 904 struct ieee80211_sta *sta; local 927 iwl_mvm_mld_update_sta_queues(struct iwl_mvm *mvm, struct ieee80211_sta *sta, u32 old_sta_mask, u32 new_sta_mask) argument 1009 iwl_mvm_mld_update_sta_resources(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u32 old_sta_mask, u32 new_sta_mask) argument 1032 iwl_mvm_mld_update_sta_links(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 old_links, u16 new_links) argument [all...] |
H A D | tdls.c | 21 struct ieee80211_sta *sta; local 28 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], 30 if (!sta || IS_ERR(sta) || !sta->tdls) 33 mvmsta = iwl_mvm_sta_from_mac80211(sta); 34 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, 43 struct ieee80211_sta *sta; local 51 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], 53 if (!sta || IS_ER 79 struct ieee80211_sta *sta; local 209 struct ieee80211_sta *sta; local 257 struct ieee80211_sta *sta = rcu_dereference_protected( local 340 struct ieee80211_sta *sta; local 458 struct ieee80211_sta *sta; local 503 iwl_mvm_tdls_channel_switch(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u8 oper_class, struct cfg80211_chan_def *chandef, struct sk_buff *tmpl_skb, u32 ch_sw_tm_ie) argument 567 iwl_mvm_tdls_cancel_channel_switch(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument [all...] |
H A D | sta.h | 128 * mac80211, such as broadcast station in AP / GO mode, or AUX sta for 384 * @sleeping: sta sleep transitions in power management 400 * @link: per link sta entries. For non-MLO only link[0] holds data. For MLO, 402 * sta is added. 447 iwl_mvm_sta_from_mac80211(struct ieee80211_sta *sta) argument 449 return (void *)sta->drv_priv; 469 * @sta: the STA 475 int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta, 479 struct ieee80211_sta *sta, int sta_id, u8 sta_type); 482 struct ieee80211_sta *sta); 484 iwl_mvm_update_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument [all...] |
H A D | mld-key.c | 13 struct ieee80211_sta *sta, 33 if (!sta && vif->type == NL80211_IFTYPE_STATION) 34 sta = mvmvif->ap_sta; 38 * group keys have no sta pointer), so we don't have a STA now. 45 if (!sta && (keyconf->link_id >= 0 || !ieee80211_vif_is_mld(vif))) 51 return iwl_mvm_sta_fw_id_mask(mvm, sta, keyconf->link_id); 56 struct ieee80211_sta *sta, 91 if (!sta && vif->type == NL80211_IFTYPE_STATION) 92 sta = mvmvif->ap_sta; 94 if (!IS_ERR_OR_NULL(sta) 11 iwl_mvm_get_sec_sta_mask(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf) argument 54 iwl_mvm_get_sec_flags(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf) argument 101 struct ieee80211_sta *sta; member in struct:iwl_mvm_sta_key_update_data 107 iwl_mvm_mld_update_sta_key(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key, void *_data) argument 136 iwl_mvm_mld_update_sta_keys(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u32 old_sta_mask, u32 new_sta_mask) argument 227 iwl_mvm_sec_key_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf) argument 279 _iwl_mvm_sec_key_del(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf, u32 flags) argument 328 iwl_mvm_sec_key_del(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf) argument 336 iwl_mvm_sec_key_remove_ap_iter(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key, void *data) argument [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_kill.c | 56 int sta; local 73 (void)wait(&sta); 75 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != sig[i]) 88 int rv, sta; local 111 (void)wait(&sta); 113 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { 115 if (WEXITSTATUS(sta) == EINVAL) 118 if (WEXITSTATUS(sta) 138 int sta; local 219 int i, sta; local 266 int i, sta; local [all...] |
H A D | t_getlogin.c | 89 int sta; local 112 (void)wait(&sta); 114 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) 130 int sta; local 168 (void)wait(&sta); 170 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { 172 if (WEXITSTATUS(sta) == EFAULT) 175 if (WEXITSTATUS(sta) 193 int sta; local [all...] |
H A D | t_chroot.c | 56 int fd, sta; local 93 (void)wait(&sta); 95 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) 144 int sta; local 165 (void)wait(&sta); 167 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) 182 int fd, sta; local 217 (void)wait(&sta); 268 int fd, sta; local [all...] |
H A D | t_setuid.c | 83 int rv, sta; local 107 (void)wait(&sta); 109 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
|
/freebsd-current/contrib/netbsd-tests/lib/libc/termios/ |
H A D | t_tcsetpgrp.c | 50 int rv, sta; local 75 (void)wait(&sta); 77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
|
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_assert.c | 75 int sta; local 97 (void)wait(&sta); 99 if (WIFSIGNALED(sta) != 0 || WIFEXITED(sta) == 0) 113 int sta; local 135 (void)wait(&sta); 137 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGABRT)
|
H A D | t_alarm.c | 82 int sta; local 104 (void)wait(&sta); 106 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
|
H A D | t_pause.c | 80 int sta; local 101 (void)wait(&sta); 103 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL)
|
/freebsd-current/contrib/wpa/wpa_supplicant/ |
H A D | mesh_rsn.h | 32 int mesh_rsn_auth_sae_sta(struct wpa_supplicant *wpa_s, struct sta_info *sta); 33 int mesh_rsn_derive_mtk(struct wpa_supplicant *wpa_s, struct sta_info *sta); 34 void mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid); 36 struct sta_info *sta); 37 int mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta, 39 int mesh_rsn_process_ampe(struct wpa_supplicant *wpa_s, struct sta_info *sta,
|
/freebsd-current/contrib/wpa/src/wps/ |
H A D | wps_er.c | 34 static void wps_er_sta_event(struct wps_context *wps, struct wps_er_sta *sta, argument 44 ev->uuid = sta->uuid; 45 ev->mac_addr = sta->addr; 46 ev->m1_received = sta->m1_received; 47 ev->config_methods = sta->config_methods; 48 ev->dev_passwd_id = sta->dev_passwd_id; 49 ev->pri_dev_type = sta->pri_dev_type; 50 ev->dev_name = sta->dev_name; 51 ev->manufacturer = sta->manufacturer; 52 ev->model_name = sta 62 struct wps_er_sta *sta; local 74 wps_er_sta_free(struct wps_er_sta *sta) argument 93 struct wps_er_sta *prev, *sta; local 749 struct wps_er_sta *sta = eloop_data; local 761 struct wps_er_sta *sta = wps_er_sta_get(ap, addr, NULL); local 867 struct wps_er_sta *sta = ctx; local 962 wps_er_sta_send_msg(struct wps_er_sta *sta, struct wpabuf *msg) argument 1009 wps_er_sta_process(struct wps_er_sta *sta, struct wpabuf *msg, enum wsc_op_code op_code) argument 1035 wps_er_sta_start(struct wps_er_sta *sta, struct wpabuf *msg) argument 1072 struct wps_er_sta *sta; local 1333 struct wps_er_sta *sta; local 1579 struct wps_er_sta *sta = NULL; local 1631 struct wps_er_sta *sta; local [all...] |