Home
last modified time | relevance | path

Searched refs:mlme (Results 1 – 24 of 24) 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.mk1025 OBJS += mlme.c src/common/ieee802_11_common.c
1047 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/
Dmlme.c465 for (i = 0; i < wpa_s->mlme.num_modes; i++) { in ieee80211_sta_set_channel()
466 mode = &wpa_s->mlme.modes[i]; in ieee80211_sta_set_channel()
468 wpa_s->mlme.curr_rates = mode->rates; in ieee80211_sta_set_channel()
469 wpa_s->mlme.num_curr_rates = mode->num_rates; in ieee80211_sta_set_channel()
502 if (count == wpa_s->mlme.wmm_last_param_set) in ieee80211_sta_wmm_params()
504 wpa_s->mlme.wmm_last_param_set = count; in ieee80211_sta_wmm_params()
536 wpa_s->mlme.wmm_acm |= BIT(0) | BIT(3); in ieee80211_sta_wmm_params()
562 if (wpa_s->mlme.associated == assoc) in ieee80211_set_associated()
565 wpa_s->mlme.associated = assoc; in ieee80211_set_associated()
570 wpa_s->mlme.prev_bssid_set = 1; in ieee80211_set_associated()
[all …]
Ddriver_madwifi.c309 struct ieee80211req_mlme mlme; in wpa_driver_madwifi_deauthenticate() local
312 mlme.im_op = IEEE80211_MLME_DEAUTH; in wpa_driver_madwifi_deauthenticate()
313 mlme.im_reason = reason_code; in wpa_driver_madwifi_deauthenticate()
314 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in wpa_driver_madwifi_deauthenticate()
315 return set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, sizeof(mlme), 1); in wpa_driver_madwifi_deauthenticate()
322 struct ieee80211req_mlme mlme; in wpa_driver_madwifi_disassociate() local
325 mlme.im_op = IEEE80211_MLME_DISASSOC; in wpa_driver_madwifi_disassociate()
326 mlme.im_reason = reason_code; in wpa_driver_madwifi_disassociate()
327 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in wpa_driver_madwifi_disassociate()
328 return set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, sizeof(mlme), 1); in wpa_driver_madwifi_disassociate()
[all …]
Ddriver_bsd.c341 struct ieee80211req_mlme mlme; in wpa_driver_bsd_deauthenticate() local
344 os_memset(&mlme, 0, sizeof(mlme)); in wpa_driver_bsd_deauthenticate()
345 mlme.im_op = IEEE80211_MLME_DEAUTH; in wpa_driver_bsd_deauthenticate()
346 mlme.im_reason = reason_code; in wpa_driver_bsd_deauthenticate()
347 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in wpa_driver_bsd_deauthenticate()
348 return set80211var(drv, IEEE80211_IOC_MLME, &mlme, sizeof(mlme)); in wpa_driver_bsd_deauthenticate()
355 struct ieee80211req_mlme mlme; in wpa_driver_bsd_disassociate() local
358 os_memset(&mlme, 0, sizeof(mlme)); in wpa_driver_bsd_disassociate()
359 mlme.im_op = IEEE80211_MLME_DISASSOC; in wpa_driver_bsd_disassociate()
360 mlme.im_reason = reason_code; in wpa_driver_bsd_disassociate()
[all …]
Ddriver_atmel.c94 }mlme; member
298 param.mlme.reason_code = reason_code; in wpa_driver_atmel_mlme()
299 param.mlme.state = mgmt_error; in wpa_driver_atmel_mlme()
Ddriver_ipw.c82 } mlme; member
194 param.u.mlme.command = cmd; in ipw_mlme()
195 param.u.mlme.reason_code = reason; in ipw_mlme()
Ddriver_hostap.h135 } mlme; member
Ddriver_wext.c1800 struct iw_mlme mlme; local
1805 os_memset(&mlme, 0, sizeof(mlme));
1806 mlme.cmd = cmd;
1807 mlme.reason_code = reason_code;
1808 mlme.addr.sa_family = ARPHRD_ETHER;
1809 os_memcpy(mlme.addr.sa_data, addr, ETH_ALEN);
1810 iwr.u.data.pointer = (caddr_t) &mlme;
1811 iwr.u.data.length = sizeof(mlme);
Ddriver_hostap.c279 param.u.mlme.cmd = cmd; in wpa_driver_hostap_mlme()
280 param.u.mlme.reason_code = reason_code; in wpa_driver_hostap_mlme()
Dwpa_supplicant_i.h343 struct wpa_client_mlme mlme; member
DAndroid.mk631 OBJS += mlme.c
DMakefile739 OBJS += mlme.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_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_wext.c2032 struct iw_mlme mlme; local
2037 os_memset(&mlme, 0, sizeof(mlme));
2038 mlme.cmd = cmd;
2039 mlme.reason_code = reason_code;
2040 mlme.addr.sa_family = ARPHRD_ETHER;
2041 os_memcpy(mlme.addr.sa_data, addr, ETH_ALEN);
2042 iwr.u.data.pointer = (caddr_t) &mlme;
2043 iwr.u.data.length = sizeof(mlme);
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_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()