Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:sm

139 static inline void wpa_sm_set_state(struct wpa_sm *sm, wpa_states state)
141 sm->ctx->set_state(sm->ctx->ctx, state);
144 static inline wpa_states wpa_sm_get_state(struct wpa_sm *sm)
146 return sm->ctx->get_state(sm->ctx->ctx);
149 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code)
151 sm->ctx->deauthenticate(sm->ctx->ctx, reason_code);
154 static inline void wpa_sm_disassociate(struct wpa_sm *sm, int reason_code)
156 sm->ctx->disassociate(sm->ctx->ctx, reason_code);
159 static inline int wpa_sm_set_key(struct wpa_sm *sm, wpa_alg alg,
164 return sm->ctx->set_key(sm->ctx->ctx, alg, addr, key_idx, set_tx,
168 static inline struct wpa_ssid * wpa_sm_get_ssid(struct wpa_sm *sm)
170 return sm->ctx->get_ssid(sm->ctx->ctx);
173 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid)
175 return sm->ctx->get_bssid(sm->ctx->ctx, bssid);
178 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest,
181 return sm->ctx->ether_send(sm->ctx->ctx, dest, proto, buf, len);
184 static inline int wpa_sm_get_beacon_ie(struct wpa_sm *sm)
186 return sm->ctx->get_beacon_ie(sm->ctx->ctx);
189 static inline void wpa_sm_cancel_auth_timeout(struct wpa_sm *sm)
191 sm->ctx->cancel_auth_timeout(sm->ctx->ctx);
194 static inline u8 * wpa_sm_alloc_eapol(struct wpa_sm *sm, u8 type,
198 return sm->ctx->alloc_eapol(sm->ctx->ctx, type, data, data_len,
202 static inline int wpa_sm_add_pmkid(struct wpa_sm *sm, const u8 *bssid,
205 return sm->ctx->add_pmkid(sm->ctx->ctx, bssid, pmkid);
208 static inline int wpa_sm_remove_pmkid(struct wpa_sm *sm, const u8 *bssid,
211 return sm->ctx->remove_pmkid(sm->ctx->ctx, bssid, pmkid);
214 static inline int wpa_sm_mlme_setprotection(struct wpa_sm *sm, const u8 *addr,
217 return sm->ctx->mlme_setprotection(sm->ctx->ctx, addr, protect_type,