Home
last modified time | relevance | path

Searched refs:mlme (Results 1 – 18 of 18) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/
Dmlme.c106 for (i = 0; i < wpa_s->mlme.num_modes; i++) { in ieee80211_sta_set_channel()
107 mode = &wpa_s->mlme.modes[i]; in ieee80211_sta_set_channel()
109 wpa_s->mlme.curr_rates = mode->rates; in ieee80211_sta_set_channel()
110 wpa_s->mlme.num_curr_rates = mode->num_rates; in ieee80211_sta_set_channel()
143 if (count == wpa_s->mlme.wmm_last_param_set) in ieee80211_sta_wmm_params()
145 wpa_s->mlme.wmm_last_param_set = count; in ieee80211_sta_wmm_params()
177 wpa_s->mlme.wmm_acm |= BIT(0) | BIT(3); in ieee80211_sta_wmm_params()
203 if (wpa_s->mlme.associated == assoc && !assoc) in ieee80211_set_associated()
206 wpa_s->mlme.associated = assoc; in ieee80211_set_associated()
211 wpa_s->mlme.prev_bssid_set = 1; in ieee80211_set_associated()
[all …]
Dwpa_supplicant_i.h352 struct wpa_client_mlme mlme; member
DAndroid.mk1023 OBJS += mlme.c src/common/ieee802_11_common.c
1045 OBJS_wpa_rm := ctrl_iface.c mlme.c ctrl_iface_unix.c
DMakefile1002 OBJS += mlme.o ../src/common/ieee802_11_common.o
1024 OBJS_wpa_rm := ctrl_iface.o mlme.o ctrl_iface_unix.o
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_madwifi.c319 struct ieee80211req_mlme mlme; in wpa_driver_madwifi_deauthenticate() local
322 mlme.im_op = IEEE80211_MLME_DEAUTH; in wpa_driver_madwifi_deauthenticate()
323 mlme.im_reason = reason_code; in wpa_driver_madwifi_deauthenticate()
324 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in wpa_driver_madwifi_deauthenticate()
325 return set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, sizeof(mlme), 1); in wpa_driver_madwifi_deauthenticate()
332 struct ieee80211req_mlme mlme; in wpa_driver_madwifi_disassociate() local
335 mlme.im_op = IEEE80211_MLME_DISASSOC; in wpa_driver_madwifi_disassociate()
336 mlme.im_reason = reason_code; in wpa_driver_madwifi_disassociate()
337 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in wpa_driver_madwifi_disassociate()
338 return set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, sizeof(mlme), 1); in wpa_driver_madwifi_disassociate()
[all …]
Ddriver_bsd.c345 struct ieee80211req_mlme mlme; in wpa_driver_bsd_deauthenticate() local
348 os_memset(&mlme, 0, sizeof(mlme)); in wpa_driver_bsd_deauthenticate()
349 mlme.im_op = IEEE80211_MLME_DEAUTH; in wpa_driver_bsd_deauthenticate()
350 mlme.im_reason = reason_code; in wpa_driver_bsd_deauthenticate()
351 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in wpa_driver_bsd_deauthenticate()
352 return set80211var(drv, IEEE80211_IOC_MLME, &mlme, sizeof(mlme)); in wpa_driver_bsd_deauthenticate()
359 struct ieee80211req_mlme mlme; in wpa_driver_bsd_disassociate() local
362 os_memset(&mlme, 0, sizeof(mlme)); in wpa_driver_bsd_disassociate()
363 mlme.im_op = IEEE80211_MLME_DISASSOC; in wpa_driver_bsd_disassociate()
364 mlme.im_reason = reason_code; in wpa_driver_bsd_disassociate()
[all …]
Ddriver_atmel.c93 }mlme; member
297 param.mlme.reason_code = reason_code; in wpa_driver_atmel_mlme()
298 param.mlme.state = mgmt_error; in wpa_driver_atmel_mlme()
Ddriver_ipw.c80 } mlme; member
192 param.u.mlme.command = cmd; in ipw_mlme()
193 param.u.mlme.reason_code = reason; in ipw_mlme()
Ddriver_hostap.h135 } mlme; member
Ddriver_hostap.c277 param.u.mlme.cmd = cmd; in wpa_driver_hostap_mlme()
278 param.u.mlme.reason_code = reason_code; in wpa_driver_hostap_mlme()
Ddriver_wext.c2047 struct iw_mlme mlme; local
2052 os_memset(&mlme, 0, sizeof(mlme));
2053 mlme.cmd = cmd;
2054 mlme.reason_code = reason_code;
2055 mlme.addr.sa_family = ARPHRD_ETHER;
2056 os_memcpy(mlme.addr.sa_data, addr, ETH_ALEN);
2057 iwr.u.data.pointer = (caddr_t) &mlme;
2058 iwr.u.data.length = sizeof(mlme);
Ddriver_nl80211.c1994 struct iw_mlme mlme; in wpa_driver_nl80211_mlme() local
1999 os_memset(&mlme, 0, sizeof(mlme)); in wpa_driver_nl80211_mlme()
2000 mlme.cmd = cmd; in wpa_driver_nl80211_mlme()
2001 mlme.reason_code = reason_code; in wpa_driver_nl80211_mlme()
2002 mlme.addr.sa_family = ARPHRD_ETHER; in wpa_driver_nl80211_mlme()
2003 os_memcpy(mlme.addr.sa_data, addr, ETH_ALEN); in wpa_driver_nl80211_mlme()
2004 iwr.u.data.pointer = (caddr_t) &mlme; in wpa_driver_nl80211_mlme()
2005 iwr.u.data.length = sizeof(mlme); in wpa_driver_nl80211_mlme()
Ddriver_ralink.c1356 MLME_DEAUTH_REQ_STRUCT mlme; in wpa_driver_ralink_deauthenticate() local
1357 os_memset(&mlme, 0, sizeof(MLME_DEAUTH_REQ_STRUCT)); in wpa_driver_ralink_deauthenticate()
1358 mlme.Reason = reason_code; in wpa_driver_ralink_deauthenticate()
1359 os_memcpy(mlme.Addr, addr, MAC_ADDR_LEN); in wpa_driver_ralink_deauthenticate()
1361 (char *) &mlme, in wpa_driver_ralink_deauthenticate()
/external/wpa_supplicant_8/src/drivers/
Ddriver_atheros.c390 struct ieee80211req_mlme mlme; in atheros_set_sta_authorized() local
397 mlme.im_op = IEEE80211_MLME_AUTHORIZE; in atheros_set_sta_authorized()
399 mlme.im_op = IEEE80211_MLME_UNAUTHORIZE; in atheros_set_sta_authorized()
400 mlme.im_reason = 0; in atheros_set_sta_authorized()
401 memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in atheros_set_sta_authorized()
402 ret = set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, sizeof(mlme)); in atheros_set_sta_authorized()
617 struct ieee80211req_mlme mlme; in atheros_sta_clear_stats() local
622 mlme.im_op = IEEE80211_MLME_CLEAR_STATS; in atheros_sta_clear_stats()
623 memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in atheros_sta_clear_stats()
624 ret = set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, in atheros_sta_clear_stats()
[all …]
Ddriver_madwifi.c358 struct ieee80211req_mlme mlme; in madwifi_set_sta_authorized() local
365 mlme.im_op = IEEE80211_MLME_AUTHORIZE; in madwifi_set_sta_authorized()
367 mlme.im_op = IEEE80211_MLME_UNAUTHORIZE; in madwifi_set_sta_authorized()
368 mlme.im_reason = 0; in madwifi_set_sta_authorized()
369 memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in madwifi_set_sta_authorized()
370 ret = set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, sizeof(mlme)); in madwifi_set_sta_authorized()
627 struct ieee80211req_mlme mlme; in madwifi_sta_clear_stats() local
632 mlme.im_op = IEEE80211_MLME_CLEAR_STATS; in madwifi_sta_clear_stats()
633 memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in madwifi_sta_clear_stats()
634 ret = set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, in madwifi_sta_clear_stats()
[all …]
Ddriver_bsd.c245 struct ieee80211req_mlme mlme; in bsd_send_mlme_param() local
247 os_memset(&mlme, 0, sizeof(mlme)); in bsd_send_mlme_param()
248 mlme.im_op = op; in bsd_send_mlme_param()
249 mlme.im_reason = reason; in bsd_send_mlme_param()
250 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in bsd_send_mlme_param()
251 return set80211var(priv, IEEE80211_IOC_MLME, &mlme, sizeof(mlme)); in bsd_send_mlme_param()
1010 struct ieee80211req_mlme mlme; in wpa_driver_bsd_associate() local
1077 os_memset(&mlme, 0, sizeof(mlme)); in wpa_driver_bsd_associate()
1078 mlme.im_op = IEEE80211_MLME_ASSOC; in wpa_driver_bsd_associate()
1080 os_memcpy(mlme.im_ssid, params->ssid, params->ssid_len); in wpa_driver_bsd_associate()
[all …]
Ddriver_hostap.h192 } mlme; member
Ddriver_wext.c1848 struct iw_mlme mlme; in wpa_driver_wext_mlme() local
1853 os_memset(&mlme, 0, sizeof(mlme)); in wpa_driver_wext_mlme()
1854 mlme.cmd = cmd; in wpa_driver_wext_mlme()
1855 mlme.reason_code = reason_code; in wpa_driver_wext_mlme()
1856 mlme.addr.sa_family = ARPHRD_ETHER; in wpa_driver_wext_mlme()
1857 os_memcpy(mlme.addr.sa_data, addr, ETH_ALEN); in wpa_driver_wext_mlme()
1858 iwr.u.data.pointer = (caddr_t) &mlme; in wpa_driver_wext_mlme()
1859 iwr.u.data.length = sizeof(mlme); in wpa_driver_wext_mlme()