Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/intersil/prism54/
Doid_mgt.c304 struct obj_mlme *mlme = data; in mgt_le_to_cpu() local
305 mlme->id = le16_to_cpu(mlme->id); in mgt_le_to_cpu()
306 mlme->state = le16_to_cpu(mlme->state); in mgt_le_to_cpu()
307 mlme->code = le16_to_cpu(mlme->code); in mgt_le_to_cpu()
311 struct obj_mlmeex *mlme = data; in mgt_le_to_cpu() local
312 mlme->id = le16_to_cpu(mlme->id); in mgt_le_to_cpu()
313 mlme->state = le16_to_cpu(mlme->state); in mgt_le_to_cpu()
314 mlme->code = le16_to_cpu(mlme->code); in mgt_le_to_cpu()
315 mlme->size = le16_to_cpu(mlme->size); in mgt_le_to_cpu()
373 struct obj_mlme *mlme = data; in mgt_cpu_to_le() local
[all …]
Disl_ioctl.c128 u32 channel, authen, wep, filter, dot1x, mlme, conformance, power, mode; in prism54_mib_init() local
139 mlme = CARD_DEFAULT_MLME_MODE; in prism54_mib_init()
150 mgt_set(priv, DOT11_OID_MLMEAUTOLEVEL, &mlme); in prism54_mib_init()
1984 struct obj_mlme *mlme; in prism54_kick_all() local
1987 mlme = kmalloc(sizeof (struct obj_mlme), GFP_KERNEL); in prism54_kick_all()
1988 if (mlme == NULL) in prism54_kick_all()
1992 mlme->id = 0; in prism54_kick_all()
1994 mgt_set_request(netdev_priv(ndev), DOT11_OID_DISASSOCIATE, 0, mlme); in prism54_kick_all()
1995 kfree(mlme); in prism54_kick_all()
2004 struct obj_mlme *mlme; in prism54_kick_mac() local
[all …]
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_mlme.c1767 struct mlme_priv *mlme = &adapter->mlmepriv; in rtw_mlme_reset_auto_scan_int() local
1772 mlme->auto_scan_int_ms = 0; in rtw_mlme_reset_auto_scan_int()
1774 mlme->auto_scan_int_ms = 60*1000; in rtw_mlme_reset_auto_scan_int()
1776 if (check_fwstate(mlme, WIFI_STATION_STATE) && check_fwstate(mlme, _FW_LINKED)) in rtw_mlme_reset_auto_scan_int()
1777 mlme->auto_scan_int_ms = mlme->roam_scan_int_ms; in rtw_mlme_reset_auto_scan_int()
1779 mlme->auto_scan_int_ms = 0; /* disabled */ in rtw_mlme_reset_auto_scan_int()
1881 static int rtw_check_roaming_candidate(struct mlme_priv *mlme in rtw_check_roaming_candidate() argument
1885 struct adapter *adapter = container_of(mlme, struct adapter, mlmepriv); in rtw_check_roaming_candidate()
1887 if (is_same_ess(&competitor->network, &mlme->cur_network.network) == false) in rtw_check_roaming_candidate()
1894 (competitor == mlme->cur_network_scanned)?"*":" ", in rtw_check_roaming_candidate()
[all …]
/Linux-v5.10/net/wireless/
Dwext-sme.c367 struct iw_mlme *mlme = (struct iw_mlme *)extra; in cfg80211_wext_siwmlme() local
379 if (mlme->addr.sa_family != ARPHRD_ETHER) in cfg80211_wext_siwmlme()
383 switch (mlme->cmd) { in cfg80211_wext_siwmlme()
386 err = cfg80211_disconnect(rdev, dev, mlme->reason_code, true); in cfg80211_wext_siwmlme()
DMakefile14 cfg80211-y += mlme.o ibss.o sme.o chan.o ethtool.o mesh.o ap.o trace.o ocb.o
/Linux-v5.10/net/mac80211/
DMakefile34 trace.o mlme.o \
Dmlme.c2727 .u.mlme.data = tx ? DEAUTH_TX_EVENT : DEAUTH_RX_EVENT, in ieee80211_report_disconnect()
2728 .u.mlme.reason = reason, in ieee80211_report_disconnect()
2959 .u.mlme.data = AUTH_EVENT, in ieee80211_rx_mgmt_auth()
3005 event.u.mlme.status = MLME_DENIED; in ieee80211_rx_mgmt_auth()
3006 event.u.mlme.reason = status_code; in ieee80211_rx_mgmt_auth()
3033 event.u.mlme.status = MLME_SUCCESS; in ieee80211_rx_mgmt_auth()
3652 .u.mlme.data = ASSOC_EVENT, in ieee80211_rx_mgmt_assoc_resp()
3715 event.u.mlme.status = MLME_DENIED; in ieee80211_rx_mgmt_assoc_resp()
3716 event.u.mlme.reason = status_code; in ieee80211_rx_mgmt_assoc_resp()
3725 event.u.mlme.status = MLME_SUCCESS; in ieee80211_rx_mgmt_assoc_resp()
[all …]
/Linux-v5.10/drivers/staging/rtl8712/
Dieee80211.h86 } mlme; member
Drtl871x_ioctl_linux.c1100 struct iw_mlme *mlme = (struct iw_mlme *) extra; in r871x_wx_set_mlme() local
1102 if (!mlme) in r871x_wx_set_mlme()
1104 switch (mlme->cmd) { in r871x_wx_set_mlme()
2166 ret = wpa_mlme(dev, param->u.mlme.command, in wpa_supplicant_ioctl()
2167 param->u.mlme.reason_code); in wpa_supplicant_ioctl()
/Linux-v5.10/drivers/net/wireless/intersil/orinoco/
Dwext.c1072 struct iw_mlme *mlme = (struct iw_mlme *)extra; in orinoco_ioctl_set_mlme() local
1079 switch (mlme->cmd) { in orinoco_ioctl_set_mlme()
1086 ret = orinoco_hw_disassociate(priv, mlme->addr.sa_data, in orinoco_ioctl_set_mlme()
1087 mlme->reason_code); in orinoco_ioctl_set_mlme()
/Linux-v5.10/drivers/staging/rtl8192e/
Drtllib_wx.c673 struct iw_mlme *mlme = (struct iw_mlme *) extra; in rtllib_wx_set_mlme() local
680 switch (mlme->cmd) { in rtllib_wx_set_mlme()
692 SendDisassociation(ieee, deauth, mlme->reason_code); in rtllib_wx_set_mlme()
/Linux-v5.10/drivers/net/wireless/intersil/hostap/
Dhostap_common.h401 } mlme; member
Dhostap_ioctl.c3731 struct iw_mlme *mlme = (struct iw_mlme *) extra; in prism2_ioctl_siwmlme() local
3734 reason = cpu_to_le16(mlme->reason_code); in prism2_ioctl_siwmlme()
3736 switch (mlme->cmd) { in prism2_ioctl_siwmlme()
3738 return prism2_sta_send_mgmt(local, mlme->addr.sa_data, in prism2_ioctl_siwmlme()
3742 return prism2_sta_send_mgmt(local, mlme->addr.sa_data, in prism2_ioctl_siwmlme()
3756 reason = cpu_to_le16(param->u.mlme.reason_code); in prism2_ioctl_mlme()
3757 switch (param->u.mlme.cmd) { in prism2_ioctl_mlme()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac80211.c5016 if (event->u.mlme.data == ASSOC_EVENT) { in iwl_mvm_event_mlme_callback()
5017 if (event->u.mlme.status == MLME_DENIED) in iwl_mvm_event_mlme_callback()
5020 event->u.mlme.reason); in iwl_mvm_event_mlme_callback()
5021 else if (event->u.mlme.status == MLME_TIMEOUT) in iwl_mvm_event_mlme_callback()
5024 } else if (event->u.mlme.data == AUTH_EVENT) { in iwl_mvm_event_mlme_callback()
5025 if (event->u.mlme.status == MLME_DENIED) in iwl_mvm_event_mlme_callback()
5028 event->u.mlme.reason); in iwl_mvm_event_mlme_callback()
5029 else if (event->u.mlme.status == MLME_TIMEOUT) in iwl_mvm_event_mlme_callback()
5032 } else if (event->u.mlme.data == DEAUTH_RX_EVENT) { in iwl_mvm_event_mlme_callback()
5034 "DEAUTH RX %d", event->u.mlme.reason); in iwl_mvm_event_mlme_callback()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c1030 struct iw_mlme *mlme = (struct iw_mlme *)extra; in rtw_wx_set_mlme() local
1032 if (!mlme) in rtw_wx_set_mlme()
1037 reason = mlme->reason_code; in rtw_wx_set_mlme()
1039 DBG_88E("%s, cmd =%d, reason =%d\n", __func__, mlme->cmd, reason); in rtw_wx_set_mlme()
1041 switch (mlme->cmd) { in rtw_wx_set_mlme()
2032 ret = wpa_mlme(dev, param->u.mlme.command, param->u.mlme.reason_code); in wpa_supplicant_ioctl()
2763 rtw_set_macaddr_acl(padapter, param->u.mlme.command); in rtw_ioctl_set_macaddr_acl()
/Linux-v5.10/drivers/staging/ks7010/
Dks_wlan_net.c1786 struct iw_mlme *mlme = (struct iw_mlme *)extra; in ks_wlan_set_mlme() local
1792 if (mlme->cmd != IW_MLME_DEAUTH && in ks_wlan_set_mlme()
1793 mlme->cmd != IW_MLME_DISASSOC) in ks_wlan_set_mlme()
1796 if (mlme->cmd == IW_MLME_DEAUTH && in ks_wlan_set_mlme()
1797 mlme->reason_code == WLAN_REASON_MIC_FAILURE) in ks_wlan_set_mlme()
/Linux-v5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_wx.c713 struct iw_mlme *mlme = (struct iw_mlme *)extra; in ieee80211_wx_set_mlme() local
714 switch (mlme->cmd) { in ieee80211_wx_set_mlme()
Dieee80211_softmac.c3014 ret = ieee80211_wpa_mlme(ieee, param->u.mlme.command, in ieee80211_wpa_supplicant_ioctl()
3015 param->u.mlme.reason_code); in ieee80211_wpa_supplicant_ioctl()
Dieee80211.h311 } mlme; member
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c1231 struct iw_mlme *mlme = (struct iw_mlme *)extra; in rtw_wx_set_mlme() local
1234 if (mlme == NULL) in rtw_wx_set_mlme()
1239 reason = mlme->reason_code; in rtw_wx_set_mlme()
1241 DBG_871X("%s, cmd =%d, reason =%d\n", __func__, mlme->cmd, reason); in rtw_wx_set_mlme()
1243 switch (mlme->cmd) { in rtw_wx_set_mlme()
3406 ret = wpa_mlme(dev, param->u.mlme.command, param->u.mlme.reason_code); in wpa_supplicant_ioctl()
4178 rtw_set_macaddr_acl(padapter, param->u.mlme.command); in rtw_ioctl_set_macaddr_acl()
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Dieee80211.h207 } mlme; member
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Dieee80211.h220 } mlme; member
/Linux-v5.10/include/net/
Dmac80211.h465 struct ieee80211_mlme_event mlme; member
/Linux-v5.10/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c7759 struct iw_mlme *mlme = (struct iw_mlme *)extra; in ipw2100_wx_set_mlme() local
7761 switch (mlme->cmd) { in ipw2100_wx_set_mlme()
Dipw2200.c6792 struct iw_mlme *mlme = (struct iw_mlme *)extra; in ipw_wx_set_mlme() local
6794 switch (mlme->cmd) { in ipw_wx_set_mlme()