Searched refs:sta (Results 26 - 50 of 67) sorted by relevance

123

/freebsd-10.1-release/contrib/wpa/src/ap/
H A Dwnm_ap.c58 struct sta_info *sta; local
62 sta = ap_get_sta(hapd, addr);
63 if (sta == NULL) {
107 if (!wpa_auth_uses_mfp(sta->wpa_sm) ||
111 gtk_elem_len = wpa_wnmsleep_gtk_subelem(sta->wpa_sm, pos);
116 res = wpa_wnmsleep_igtk_subelem(sta->wpa_sm, pos);
159 wpa_set_wnmsleep(sta->wpa_sm, 1);
170 wpa_set_wnmsleep(sta->wpa_sm, 0);
173 if (!wpa_auth_uses_mfp(sta->wpa_sm))
174 wpa_wnmsleep_rekey_gtk(sta
[all...]
H A Dieee802_11_shared.c23 struct sta_info *sta, u8 *eid)
33 os_time_sub(&now, &sta->sa_query_start, &passed);
79 struct sta_info *sta; local
88 sta = ap_get_sta(hapd, sa);
89 if (sta == NULL || !(sta->flags & WLAN_STA_ASSOC)) {
117 struct sta_info *sta; local
138 sta = ap_get_sta(hapd, sa);
139 if (sta == NULL || sta
22 hostapd_eid_assoc_comeback_time(struct hostapd_data *hapd, struct sta_info *sta, u8 *eid) argument
[all...]
H A Dhostapd.c535 struct sta_info *sta = NULL; local
539 sta = ap_get_sta(hapd, attr->sta_addr);
541 if (sta == NULL && attr->acct_session_id &&
543 for (sta = hapd->sta_list; sta; sta = sta->next) {
545 sta->acct_session_id_hi,
546 sta->acct_session_id_lo);
552 if (sta
585 struct sta_info *sta; local
1355 hostapd_new_assoc_sta(struct hostapd_data *hapd, struct sta_info *sta, int reassoc) argument
[all...]
H A Dgas_serv.c25 struct sta_info *sta; local
29 sta = ap_get_sta(hapd, addr);
30 if (!sta) {
37 sta = ap_sta_add(hapd, addr);
38 if (!sta) {
43 sta->flags |= WLAN_STA_GAS;
48 ap_sta_session_timeout(hapd, sta, 5);
51 if (sta->gas_dialog == NULL) {
52 sta->gas_dialog = os_zalloc(GAS_DIALOG_MAX *
54 if (sta
83 struct sta_info *sta; local
114 struct sta_info *sta; local
[all...]
H A Dap_list.h50 struct ap_info * ap_get_ap(struct hostapd_iface *iface, const u8 *sta);
H A Diapp.c241 * @sta: The associated station
243 void iapp_new_station(struct iapp_data *iapp, struct sta_info *sta) argument
251 assoc = sta->last_assoc_req;
255 hostapd_logger(iapp->hapd, sta->addr, HOSTAPD_MODULE_IAPP,
257 iapp_send_layer2_update(iapp, sta->addr);
258 iapp_send_add(iapp, sta->addr, seq);
276 struct sta_info *sta; local
284 sta = ap_get_sta(iapp->hapd, add->mac_addr);
292 sta ? "" : " (STA not found)");
294 if (!sta)
[all...]
H A Dhostapd.h81 #define STA_HASH(sta) (sta[5])
96 struct sta_info *sta, int reassoc);
276 void hostapd_new_assoc_sta(struct hostapd_data *hapd, struct sta_info *sta,
H A Dap_drv_ops.c223 struct sta_info *sta, int authorized)
226 return hostapd_sta_set_flags(hapd, sta->addr,
228 sta->flags),
232 return hostapd_sta_set_flags(hapd, sta->addr,
233 hostapd_sta_flags_to_drv(sta->flags),
238 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta) argument
241 total_flags = hostapd_sta_flags_to_drv(sta->flags);
244 sta->auth_alg == WLAN_AUTH_FT) &&
245 sta->flags & WLAN_STA_AUTHORIZED)
249 return hostapd_sta_set_flags(hapd, sta
222 hostapd_set_authorized(struct hostapd_data *hapd, struct sta_info *sta, int authorized) argument
[all...]
H A Dwmm.c269 struct sta_info *sta = ap_get_sta(hapd, mgmt->sa); local
272 if (!sta ||
273 (sta->flags & (WLAN_STA_ASSOC | WLAN_STA_WMM)) !=
H A Dauthsrv.c30 struct sta_info *sta, void *ctx)
32 if (eapol_auth_eap_pending_cb(sta->eapol_sm, ctx) == 0)
29 hostapd_sim_db_cb_sta(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
H A Dwps_hostapd.c1223 struct sta_info *sta; local
1241 sta = ap_get_sta(hapd, mac_addr);
1243 if (!sta) {
1251 for (sta = hapd->sta_list; sta; sta = sta->next) {
1252 if (sta->eapol_sm && (sta->flags & WLAN_STA_WPS))
1258 if (!sta || !(st
[all...]
H A Dbeacon.c191 struct sta_info *sta,
229 host_to_le16(hostapd_own_capab_info(hapd, sta, 1));
361 struct sta_info *sta = NULL; local
427 sta = ap_get_sta(hapd, mgmt->sa);
442 if (sta)
443 sta->ssid_probe = &hapd->conf->ssid;
491 resp = hostapd_gen_probe_resp(hapd, sta, mgmt, elems.p2p != NULL,
190 hostapd_gen_probe_resp(struct hostapd_data *hapd, struct sta_info *sta, const struct ieee80211_mgmt *req, int is_p2p, size_t *resp_len) argument
H A Dap_drv_ops.h27 struct sta_info *sta, int authorized);
28 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta);
H A Dpmksa_cache_auth.c146 entry->vlan_id = ((struct sta_info *) eapol->sta)->vlan_id;
183 ((struct sta_info *) eapol->sta)->vlan_id = entry->vlan_id;
/freebsd-10.1-release/usr.sbin/pciconf/
H A Dcap.c414 uint16_t ctl, flags, sta; local
462 sta = read_config(fd, &p->pc_sel, ptr + PCIER_LINK_STA, 2);
463 printf(" link x%d(x%d)", (sta & PCIEM_LINK_STA_WIDTH) >> 4,
468 printf(" speed %s(%s)", (sta & PCIEM_LINK_STA_WIDTH) == 0 ?
469 "0.0" : link_speed_string(sta & PCIEM_LINK_STA_SPEED),
528 uint16_t sta; local
532 sta = read_config(fd, &p->pc_sel, PCIR_STATUS, 2);
533 if (!(sta & PCIM_STATUS_CAPPRESENT))
623 uint32_t sta, mask; local
628 sta
762 uint16_t sta; local
[all...]
/freebsd-10.1-release/tools/tools/net80211/scripts/
H A Dsetup.wdsrelay5 # dwds on the sta. The sta vap associates to another ap and passes
6 # traffic from stations associated to the (local) ap. The sta
23 WLAN_STA=`ifconfig wlan create wlanmode sta wlandev $WIRELESS -beacons`
31 # NB: bring sta up first so it can locate it's AP
/freebsd-10.1-release/contrib/sendmail/libsmutil/
H A Dsafefile.c869 struct stat sta; local
881 if (fstat(fd, &sta) < 0)
884 if (sta.st_nlink != stb->st_nlink ||
885 sta.st_dev != stb->st_dev ||
886 sta.st_ino != stb->st_ino ||
888 sta.st_gen != stb->st_gen ||
890 sta.st_uid != stb->st_uid ||
891 sta.st_gid != stb->st_gid)
897 (long) stb->st_nlink, (long) sta.st_nlink);
899 (long) stb->st_dev, (long) sta
[all...]
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/
H A Dnotify.c531 const u8 *sta,
542 wpas_dbus_register_p2p_groupmember(wpa_s, sta);
548 wpas_dbus_signal_p2p_peer_joined(wpa_s, sta);
554 const u8 *sta)
561 wpas_dbus_unregister_p2p_groupmember(wpa_s, sta);
567 wpas_dbus_signal_p2p_peer_disconnected(wpa_s, sta);
530 wpas_notify_ap_sta_authorized(struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) argument
553 wpas_notify_ap_sta_deauthorized(struct wpa_supplicant *wpa_s, const u8 *sta) argument
/freebsd-10.1-release/contrib/wpa/src/wps/
H A Dwps_er.h36 struct dl_list sta; /* list of STAs/Enrollees using this AP */ member in struct:wps_er_ap
/freebsd-10.1-release/sys/dev/usb/wlan/
H A Dif_rumvar.h105 uint32_t sta[6]; member in struct:rum_softc
H A Dif_uralvar.h109 uint16_t sta[11]; member in struct:ural_softc
/freebsd-10.1-release/contrib/wpa/src/eapol_auth/
H A Deapol_auth_sm.c30 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 1)
32 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 0)
38 #define abortAuth() sm->eapol->cb.abort_auth(sm->eapol->conf.ctx, sm->sta)
39 #define txKey() sm->eapol->cb.tx_key(sm->eapol->conf.ctx, sm->sta)
98 sm->eapol->cb.eapol_send(sm->eapol->conf.ctx, sm->sta,
127 sm->eapol->cb.eapol_send(sm->eapol->conf.ctx, sm->sta,
221 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 0,
278 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 0,
304 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 1,
611 sm->eapol->cb.eapol_event(sm->eapol->conf.ctx, sm->sta,
[all...]
H A Deapol_auth_sm_i.h175 void *sta; /* station context pointer to use in callbacks */ member in struct:eapol_state_machine
/freebsd-10.1-release/contrib/tcsh/
H A Dtc.who.c211 struct stat sta; local
219 USE(sta);
267 if (stat(TCSH_PATH_UTMP, &sta)) {
275 if (stlast == sta.st_mtime) {
279 stlast = sta.st_mtime;
/freebsd-10.1-release/contrib/wpa/hostapd/
H A Dctrl_iface.c134 struct sta_info *sta; local
141 sta = ap_get_sta(hapd, addr);
142 if (sta)
147 sta = ap_sta_add(hapd, addr);
148 if (sta == NULL)
151 hostapd_new_assoc_sta(hapd, sta, 0);

Completed in 299 milliseconds

123