Lines Matching defs:sta_info
100 struct sta_info { struct
101 struct sta_info *next; /* next entry in sta list */ argument
102 struct sta_info *hnext; /* next entry in hash table list */ argument
103 u8 addr[6];
104 be32 ipaddr;
105 struct dl_list ip6addr; /* list head for struct ip6addr */
106 u16 aid; /* STA's unique AID (1 .. 2007) or 0 if not yet assigned */
107 u16 disconnect_reason_code; /* RADIUS server override */
108 u32 flags; /* Bitfield of WLAN_STA_* */
109 u16 capability;
110 u16 listen_interval; /* or beacon_int for APs */
111 u8 supported_rates[WLAN_SUPP_RATES_MAX];
112 int supported_rates_len;
113 u8 qosinfo; /* Valid when WLAN_STA_WMM is set */
116 enum mesh_plink_state plink_state;
117 u16 peer_lid;
118 u16 my_lid;
119 u16 peer_aid;
120 u16 mpm_close_reason;
121 int mpm_retries;
122 u8 my_nonce[WPA_NONCE_LEN];
123 u8 peer_nonce[WPA_NONCE_LEN];
124 u8 aek[32]; /* SHA256 digest length */
125 u8 mtk[WPA_TK_MAX_LEN];
126 size_t mtk_len;
127 u8 mgtk_rsc[6];
128 u8 mgtk_key_id;
129 u8 mgtk[WPA_TK_MAX_LEN];
130 size_t mgtk_len;
131 u8 igtk_rsc[6];
132 u8 igtk[WPA_TK_MAX_LEN];
133 size_t igtk_len;
134 u16 igtk_key_id;
135 u8 sae_auth_retry;
138 unsigned int nonerp_set:1;
139 unsigned int no_short_slot_time_set:1;
140 unsigned int no_short_preamble_set:1;
141 unsigned int no_ht_gf_set:1;
142 unsigned int no_ht_set:1;
143 unsigned int ht40_intolerant_set:1;
144 unsigned int ht_20mhz_set:1;
145 unsigned int no_p2p_set:1;
146 unsigned int qos_map_enabled:1;
147 unsigned int remediation:1;
148 unsigned int hs20_deauth_requested:1;
149 unsigned int hs20_deauth_on_ack:1;
150 unsigned int session_timeout_set:1;
151 unsigned int radius_das_match:1;
152 unsigned int ecsa_supported:1;
153 unsigned int added_unassoc:1;
154 unsigned int pending_wds_enable:1;
155 unsigned int power_capab:1;
156 unsigned int agreed_to_steer:1;
157 unsigned int hs20_t_c_filtering:1;
158 unsigned int ft_over_ds:1;
159 unsigned int external_dh_updated:1;
160 unsigned int post_csa_sa_query:1;
162 u16 auth_alg;
164 enum {
167 } timeout_next;
169 u16 deauth_reason;
170 u16 disassoc_reason;
173 struct eapol_state_machine *eapol_sm;
175 struct pending_eapol_rx *pending_eapol_rx;
177 u64 acct_session_id;
178 struct os_reltime acct_session_start;
179 int acct_session_started;
180 int acct_terminate_cause; /* Acct-Terminate-Cause */
181 int acct_interim_interval; /* Acct-Interim-Interval */
182 unsigned int acct_interim_errors;
185 u32 last_rx_bytes_hi;
186 u32 last_rx_bytes_lo;
187 u32 last_tx_bytes_hi;
188 u32 last_tx_bytes_lo;
190 u8 *challenge; /* IEEE 802.11 Shared Key Authentication Challenge */
192 struct wpa_state_machine *wpa_sm;
193 struct rsn_preauth_interface *preauth_iface;
195 int vlan_id; /* 0: none, >0: VID */
196 struct vlan_description *vlan_desc;
197 int vlan_id_bound; /* updated by ap_sta_bind_vlan() */
199 struct hostapd_sta_wpa_psk_short *psk;
201 char *identity; /* User-Name from RADIUS */
202 char *radius_cui; /* Chargeable-User-Identity from RADIUS */
204 struct ieee80211_ht_capabilities *ht_capabilities;
205 struct ieee80211_vht_capabilities *vht_capabilities;
206 struct ieee80211_vht_operation *vht_operation;
207 u8 vht_opmode;
208 struct ieee80211_he_capabilities *he_capab;
209 size_t he_capab_len;
210 struct ieee80211_he_6ghz_band_cap *he_6ghz_capab;
211 struct ieee80211_eht_capabilities *eht_capab;
212 size_t eht_capab_len;
214 int sa_query_count; /* number of pending SA Query requests;
216 int sa_query_timed_out;
217 u8 *sa_query_trans_id; /* buffer of WLAN_SA_QUERY_TR_ID_LEN *
220 struct os_reltime sa_query_start;
224 struct gas_dialog_info *gas_dialog;
225 u8 gas_dialog_next;
228 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */
229 struct wpabuf *p2p_ie; /* P2P IE from (Re)Association Request */
230 struct wpabuf *hs20_ie; /* HS 2.0 IE from (Re)Association Request */
232 struct wpabuf *roaming_consortium;
233 u8 remediation_method;
234 char *remediation_url; /* HS 2.0 Subscription Remediation Server URL */
235 char *t_c_url; /* HS 2.0 Terms and Conditions Server URL */
236 struct wpabuf *hs20_deauth_req;
237 char *hs20_session_info_url;
238 int hs20_disassoc_timer;
240 struct wpabuf *mb_ies; /* MB IEs from (Re)Association Request */
243 struct os_reltime connected_time;
246 struct sae_data *sae;
247 unsigned int mesh_sae_pmksa_caching:1;
251 struct os_reltime session_timeout;
255 u16 last_seq_ctrl;
257 u8 last_subtype;
260 u8 cell_capa; /* 0 = unknown (not an MBO STA); otherwise,
262 struct mbo_non_pref_chan_info *non_pref_chan;
263 int auth_rssi; /* Last Authentication frame RSSI */
266 u8 *supp_op_classes; /* Supported Operating Classes element, if
291 void (*fils_pending_cb)(struct hostapd_data *hapd, struct sta_info *sta, argument
294 struct crypto_ecdh *fils_ecdh;
296 struct wpabuf *fils_dh_ss;
297 struct wpabuf *fils_g_sta;
301 u8 *owe_pmk;
302 size_t owe_pmk_len;
303 struct crypto_ecdh *owe_ecdh;
304 u16 owe_group;
307 u8 *ext_capability;
308 char *ifname_wds; /* WDS ifname, if in use */
311 struct dpp_pfs *dpp_pfs;
315 enum wpa_alg last_tk_alg;
316 int last_tk_key_idx;
317 u8 last_tk[WPA_TK_MAX_LEN];
318 size_t last_tk_len;
319 u8 *sae_postponed_commit;
320 size_t sae_postponed_commit_len;
323 unsigned int airtime_weight;
324 struct os_reltime backlogged_until;
328 struct pasn_data *pasn;
332 struct mld_info mld_info;
333 u8 mld_assoc_link_id;
358 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, argument