Lines Matching refs:mlme
341 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()
361 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in wpa_driver_bsd_disassociate()
362 return set80211var(drv, IEEE80211_IOC_MLME, &mlme, sizeof(mlme)); in wpa_driver_bsd_disassociate()
369 struct ieee80211req_mlme mlme; in wpa_driver_bsd_associate() local
404 os_memset(&mlme, 0, sizeof(mlme)); in wpa_driver_bsd_associate()
405 mlme.im_op = IEEE80211_MLME_ASSOC; in wpa_driver_bsd_associate()
408 os_memcpy(mlme.im_ssid, params->ssid, params->ssid_len); in wpa_driver_bsd_associate()
409 mlme.im_ssid_len = params->ssid_len; in wpa_driver_bsd_associate()
412 os_memcpy(mlme.im_macaddr, params->bssid, IEEE80211_ADDR_LEN); in wpa_driver_bsd_associate()
413 if (set80211var(drv, IEEE80211_IOC_MLME, &mlme, sizeof(mlme)) < 0) in wpa_driver_bsd_associate()