Lines Matching refs:mlme
414 struct ieee80211req_mlme mlme; in atheros_set_sta_authorized() local
421 mlme.im_op = IEEE80211_MLME_AUTHORIZE; in atheros_set_sta_authorized()
423 mlme.im_op = IEEE80211_MLME_UNAUTHORIZE; in atheros_set_sta_authorized()
424 mlme.im_reason = 0; in atheros_set_sta_authorized()
425 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in atheros_set_sta_authorized()
426 ret = set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, sizeof(mlme)); in atheros_set_sta_authorized()
665 struct ieee80211req_mlme mlme; in atheros_sta_clear_stats() local
670 mlme.im_op = IEEE80211_MLME_CLEAR_STATS; in atheros_sta_clear_stats()
671 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in atheros_sta_clear_stats()
672 ret = set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, in atheros_sta_clear_stats()
673 sizeof(mlme)); in atheros_sta_clear_stats()
739 struct ieee80211req_mlme mlme; in atheros_sta_deauth() local
745 mlme.im_op = IEEE80211_MLME_DEAUTH; in atheros_sta_deauth()
746 mlme.im_reason = reason_code; in atheros_sta_deauth()
747 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in atheros_sta_deauth()
748 ret = set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, sizeof(mlme)); in atheros_sta_deauth()
763 struct ieee80211req_mlme mlme; in atheros_sta_disassoc() local
769 mlme.im_op = IEEE80211_MLME_DISASSOC; in atheros_sta_disassoc()
770 mlme.im_reason = reason_code; in atheros_sta_disassoc()
771 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in atheros_sta_disassoc()
772 ret = set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, sizeof(mlme)); in atheros_sta_disassoc()
1039 struct ieee80211req_mlme mlme; in atheros_sta_auth() local
1045 mlme.im_op = IEEE80211_MLME_AUTH; in atheros_sta_auth()
1046 mlme.im_reason = status_code; in atheros_sta_auth()
1047 mlme.im_seq = seq; in atheros_sta_auth()
1048 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in atheros_sta_auth()
1049 mlme.im_optie_len = len; in atheros_sta_auth()
1052 os_memcpy(mlme.im_optie, ie, len); in atheros_sta_auth()
1062 ret = set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, sizeof(mlme)); in atheros_sta_auth()
1076 struct ieee80211req_mlme mlme; in atheros_sta_assoc() local
1083 mlme.im_op = IEEE80211_MLME_REASSOC; in atheros_sta_assoc()
1085 mlme.im_op = IEEE80211_MLME_ASSOC; in atheros_sta_assoc()
1086 mlme.im_reason = status_code; in atheros_sta_assoc()
1087 os_memcpy(mlme.im_macaddr, addr, IEEE80211_ADDR_LEN); in atheros_sta_assoc()
1088 mlme.im_optie_len = len; in atheros_sta_assoc()
1091 os_memcpy(mlme.im_optie, ie, len); in atheros_sta_assoc()
1101 ret = set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme, sizeof(mlme)); in atheros_sta_assoc()