Home
last modified time | relevance | path

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

12

/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 …]
/external/wpa_supplicant_8/wpa_supplicant/
Dmlme.c110 for (i = 0; i < wpa_s->mlme.num_modes; i++) { in ieee80211_sta_set_channel()
111 mode = &wpa_s->mlme.modes[i]; in ieee80211_sta_set_channel()
113 wpa_s->mlme.curr_rates = mode->rates; in ieee80211_sta_set_channel()
114 wpa_s->mlme.num_curr_rates = mode->num_rates; in ieee80211_sta_set_channel()
145 if (count == wpa_s->mlme.wmm_last_param_set) in ieee80211_sta_wmm_params()
147 wpa_s->mlme.wmm_last_param_set = count; in ieee80211_sta_wmm_params()
193 if (wpa_s->mlme.associated == assoc && !assoc) in ieee80211_set_associated()
196 wpa_s->mlme.associated = assoc; in ieee80211_set_associated()
201 wpa_s->mlme.prev_bssid_set = 1; in ieee80211_set_associated()
202 os_memcpy(wpa_s->mlme.prev_bssid, wpa_s->bssid, ETH_ALEN); in ieee80211_set_associated()
[all …]
/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_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()
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);
/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_madwifi.c366 struct ieee80211req_mlme mlme; in madwifi_set_sta_authorized() local
373 mlme.im_op = IEEE80211_MLME_AUTHORIZE; in madwifi_set_sta_authorized()
375 mlme.im_op = IEEE80211_MLME_UNAUTHORIZE; in madwifi_set_sta_authorized()
376 mlme.im_reason = 0; in madwifi_set_sta_authorized()
377 memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in madwifi_set_sta_authorized()
378 ret = set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, sizeof(mlme)); in madwifi_set_sta_authorized()
635 struct ieee80211req_mlme mlme; in madwifi_sta_clear_stats() local
640 mlme.im_op = IEEE80211_MLME_CLEAR_STATS; in madwifi_sta_clear_stats()
641 memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in madwifi_sta_clear_stats()
642 ret = set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, in madwifi_sta_clear_stats()
[all …]
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_bsd.c251 struct ieee80211req_mlme mlme; in bsd_send_mlme_param() local
253 os_memset(&mlme, 0, sizeof(mlme)); in bsd_send_mlme_param()
254 mlme.im_op = op; in bsd_send_mlme_param()
255 mlme.im_reason = reason; in bsd_send_mlme_param()
256 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in bsd_send_mlme_param()
257 return set80211var(priv, IEEE80211_IOC_MLME, &mlme, sizeof(mlme)); in bsd_send_mlme_param()
1016 struct ieee80211req_mlme mlme; in wpa_driver_bsd_associate() local
1083 os_memset(&mlme, 0, sizeof(mlme)); in wpa_driver_bsd_associate()
1084 mlme.im_op = IEEE80211_MLME_ASSOC; in wpa_driver_bsd_associate()
1086 os_memcpy(mlme.im_ssid, params->ssid, params->ssid_len); in wpa_driver_bsd_associate()
[all …]
Ddriver_hostap.h198 } mlme; member
Ddriver_wext.c1845 struct iw_mlme mlme; in wpa_driver_wext_mlme() local
1850 os_memset(&mlme, 0, sizeof(mlme)); in wpa_driver_wext_mlme()
1851 mlme.cmd = cmd; in wpa_driver_wext_mlme()
1852 mlme.reason_code = reason_code; in wpa_driver_wext_mlme()
1853 mlme.addr.sa_family = ARPHRD_ETHER; in wpa_driver_wext_mlme()
1854 os_memcpy(mlme.addr.sa_data, addr, ETH_ALEN); in wpa_driver_wext_mlme()
1855 iwr.u.data.pointer = (caddr_t) &mlme; in wpa_driver_wext_mlme()
1856 iwr.u.data.length = sizeof(mlme); in wpa_driver_wext_mlme()
Ddriver_ralink.c1277 MLME_DEAUTH_REQ_STRUCT mlme; in wpa_driver_ralink_deauthenticate() local
1278 os_memset(&mlme, 0, sizeof(MLME_DEAUTH_REQ_STRUCT)); in wpa_driver_ralink_deauthenticate()
1279 mlme.Reason = reason_code; in wpa_driver_ralink_deauthenticate()
1280 os_memcpy(mlme.Addr, addr, MAC_ADDR_LEN); in wpa_driver_ralink_deauthenticate()
1282 (char *) &mlme, in wpa_driver_ralink_deauthenticate()

12