Home
last modified time | relevance | path

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

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_mlme.c240 int rtw_mlme_update_wfd_ie_data(struct mlme_priv *mlme, u8 type, u8 *ie, u32 ie_len) in rtw_mlme_update_wfd_ie_data() argument
242 _adapter *adapter = mlme_to_adapter(mlme); in rtw_mlme_update_wfd_ie_data()
266 t_ie = &mlme->wfd_beacon_ie; in rtw_mlme_update_wfd_ie_data()
267 t_ie_len = &mlme->wfd_beacon_ie_len; in rtw_mlme_update_wfd_ie_data()
270 t_ie = &mlme->wfd_probe_req_ie; in rtw_mlme_update_wfd_ie_data()
271 t_ie_len = &mlme->wfd_probe_req_ie_len; in rtw_mlme_update_wfd_ie_data()
274 t_ie = &mlme->wfd_probe_resp_ie; in rtw_mlme_update_wfd_ie_data()
275 t_ie_len = &mlme->wfd_probe_resp_ie_len; in rtw_mlme_update_wfd_ie_data()
278 t_ie = &mlme->wfd_go_probe_resp_ie; in rtw_mlme_update_wfd_ie_data()
279 t_ie_len = &mlme->wfd_go_probe_resp_ie_len; in rtw_mlme_update_wfd_ie_data()
[all …]
Drtw_beamforming.c32 struct mlme_priv *mlme; in _get_txvector_parameter() local
39 mlme = &adapter->mlmepriv; in _get_txvector_parameter()
41 if (check_fwstate(mlme, WIFI_AP_STATE)) { in _get_txvector_parameter()
60 } else if ((check_fwstate(mlme, WIFI_ADHOC_STATE) == _TRUE) in _get_txvector_parameter()
61 || (check_fwstate(mlme, WIFI_ADHOC_MASTER_STATE) == _TRUE)) { in _get_txvector_parameter()
97 struct mlme_priv *mlme; in _get_sta_beamform_cap() local
115 mlme = &adapter->mlmepriv; in _get_sta_beamform_cap()
121 if (check_fwstate(mlme, WIFI_AP_STATE)) { in _get_sta_beamform_cap()
163 if (check_fwstate(mlme, WIFI_AP_STATE)) { in _get_sta_beamform_cap()
1069 struct mlme_priv *mlme; in _bfer_add_entry() local
[all …]
Drtw_rson.c322 int rtw_rson_isupdate_roamcan(struct mlme_priv *mlme in rtw_rson_isupdate_roamcan() argument
336 if ((!mlme->cur_network_scanned) in rtw_rson_isupdate_roamcan()
337 || (mlme->cur_network_scanned == competitor) in rtw_rson_isupdate_roamcan()
338 || (rtw_get_rson_struct(&(mlme->cur_network_scanned->network), &rson_curr)) != _TRUE) in rtw_rson_isupdate_roamcan()
341 if (rtw_get_passing_time_ms((u32)competitor->last_scanned) >= mlme->roam_scanr_exp_ms) in rtw_rson_isupdate_roamcan()
345 curr_score = rtw_cal_rson_score(&rson_curr, mlme->cur_network_scanned->network.Rssi); in rtw_rson_isupdate_roamcan()
Drtw_p2p.c4450 struct mlme_priv *mlme = &adapter->mlmepriv; in rtw_append_beacon_wfd_ie() local
4465 else if (mlme->wfd_beacon_ie && mlme->wfd_beacon_ie_len > 0) { in rtw_append_beacon_wfd_ie()
4466 len = mlme->wfd_beacon_ie_len; in rtw_append_beacon_wfd_ie()
4467 _rtw_memcpy(pbuf, mlme->wfd_beacon_ie, len); in rtw_append_beacon_wfd_ie()
4478 struct mlme_priv *mlme = &adapter->mlmepriv; in rtw_append_probe_req_wfd_ie() local
4493 else if (mlme->wfd_probe_req_ie && mlme->wfd_probe_req_ie_len > 0) { in rtw_append_probe_req_wfd_ie()
4494 len = mlme->wfd_probe_req_ie_len; in rtw_append_probe_req_wfd_ie()
4495 _rtw_memcpy(pbuf, mlme->wfd_probe_req_ie, len); in rtw_append_probe_req_wfd_ie()
4506 struct mlme_priv *mlme = &adapter->mlmepriv; in rtw_append_probe_resp_wfd_ie() local
4521 else if (mlme->wfd_probe_resp_ie && mlme->wfd_probe_resp_ie_len > 0) { in rtw_append_probe_resp_wfd_ie()
[all …]
Drtw_wlan_util.c2977 struct mlme_priv *mlme = &adapter->mlmepriv; in process_country_ie() local
2992 if (!mlme->recv_country_ie && !ie) in process_country_ie()
2994 if (mlme->recv_country_ie_len == ie_len in process_country_ie()
2995 && _rtw_memcmp(mlme->recv_country_ie, ie, ie_len) == _TRUE) in process_country_ie()
2999 rtw_buf_free(&mlme->recv_country_ie, &mlme->recv_country_ie_len); in process_country_ie()
3004 if (mlme->recv_country_ie) in process_country_ie()
3005 _rtw_memcpy(ori_alpha2, mlme->recv_country_ie + 2, 2); in process_country_ie()
3007 rtw_buf_update(&mlme->recv_country_ie, &mlme->recv_country_ie_len, ie, ie_len); in process_country_ie()
3009 if (_rtw_memcmp(ori_alpha2, mlme->recv_country_ie + 2, 2) == _TRUE) in process_country_ie()
3013 , mlme->cur_beacon_keys.ch > 14 ? BAND_ON_5G : BAND_ON_2_4G in process_country_ie()
[all …]
Drtw_ap.c1872 struct mlme_priv *mlme; in start_bss_network() local
1881 mlme = &(pdvobj->padapters[i]->mlmepriv); in start_bss_network()
1884 if ((ATOMIC_READ(&mlme->olbc) == _TRUE) || (ATOMIC_READ(&mlme->olbc_ht) == _TRUE)) { in start_bss_network()
1886 mlme->ht_op_mode &= (~HT_INFO_OPERATION_MODE_OP_MODE_MASK); in start_bss_network()
1887 mlme->ht_op_mode |= OP_MODE_MAY_BE_LEGACY_STAS; in start_bss_network()
1894 if (MLME_ACTIVE_TPC_REPORT(mlme)) in start_bss_network()
5634 struct mlme_priv *mlme = &adapter->mlmepriv; in rtw_ap_parse_sta_security_ie() local
5636 if (mlme->wps_beacon_ie) { in rtw_ap_parse_sta_security_ie()
5639 …rtw_get_wps_attr_content(mlme->wps_beacon_ie, mlme->wps_beacon_ie_len, WPS_ATTR_SELECTED_REGISTRAR… in rtw_ap_parse_sta_security_ie()
5679 struct mlme_priv *mlme = &adapter->mlmepriv; in rtw_ap_parse_sta_wmm_ie() local
[all …]
Drtw_debug.c970 struct mlme_priv *mlme = &adapter->mlmepriv; in proc_get_defs_param() local
974 , mlme->defs_lmt_sta in proc_get_defs_param()
975 , mlme->defs_lmt_time in proc_get_defs_param()
985 struct mlme_priv *mlme = &adapter->mlmepriv; in proc_set_defs_param() local
1004 mlme->defs_lmt_sta = defs_lmt_sta; in proc_set_defs_param()
1006 mlme->defs_lmt_time = defs_lmt_time; in proc_set_defs_param()
1392 struct mlme_priv *mlme = &adapter->mlmepriv; in proc_get_roam_param() local
1396 , mlme->roam_rssi_diff_th in proc_get_roam_param()
1397 , mlme->roam_scanr_exp_ms in proc_get_roam_param()
1398 , mlme->roam_scan_int in proc_get_roam_param()
[all …]
Drtw_mlme_ext.c2787 struct mlme_priv *mlme = &(padapter->mlmepriv); in rtw_defs_attack_chk() local
2794 if ((ptime > 0) && ((stime - ptime) < mlme->defs_lmt_time)) { in rtw_defs_attack_chk()
2796 if (sta_limit >= mlme->defs_lmt_sta) in rtw_defs_attack_chk()
4339 struct mlme_priv *mlme = &adapter->mlmepriv; in rx_ampdu_size_sta_limit() local
4346 nss = rtw_min(rtw_vht_mcsmap_to_nss(mlme->vhtpriv.vht_mcs_map) in rx_ampdu_size_sta_limit()
12658 struct mlme_priv *mlme = &adapter->mlmepriv; in rtw_joinbss_update_regulatory() local
12677 rtw_buf_update(&mlme->recv_country_ie, &mlme->recv_country_ie_len, country_ie, country_ie_len); in rtw_joinbss_update_regulatory()
12684 rtw_buf_free(&mlme->recv_country_ie, &mlme->recv_country_ie_len); in rtw_joinbss_update_regulatory()
16452 struct mlme_priv *mlme; in rtw_join_done_chk_ch() local
16480 mlme = &iface->mlmepriv; in rtw_join_done_chk_ch()
[all …]
Drtw_cmd.c1001 struct mlme_priv *mlme = &adapter->mlmepriv; in rtw_joinbss_check_country_ie() local
1020 rtw_buf_update(&mlme->recv_country_ie, &mlme->recv_country_ie_len, country_ie, country_ie_len); in rtw_joinbss_check_country_ie()
1034 rtw_buf_free(&mlme->recv_country_ie, &mlme->recv_country_ie_len); in rtw_joinbss_check_country_ie()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Drtw_rson.h56 int rtw_rson_isupdate_roamcan(struct mlme_priv *mlme, struct wlan_network **candidate, struct wlan_…
Drtw_mlme.h848 #define mlme_set_scan_to_timer(mlme, ms) \ argument
851 _set_timer(&(mlme)->scan_to_timer, (ms)); \
860 #define MLME_ACTIVE_TPC_REPORT(mlme) (mlme->active_tpc_report) argument
862 #define MLME_ACTIVE_TPC_REPORT(mlme) 0 argument
1093 int rtw_mlme_update_wfd_ie_data(struct mlme_priv *mlme, u8 type, u8 *ie, u32 ie_len);
1166 #define rtw_select_roaming_candidate(mlme) _FAIL argument
Ddrv_types.h2048 #define mlme_to_adapter(mlme) container_of((mlme), struct _ADAPTER, mlmepriv) argument
Dieee80211.h343 } mlme; member
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/mesh/
Drtw_mesh.c356 struct mlme_priv *mlme = &adapter->mlmepriv; in rtw_mesh_acnode_candidate_exist() local
357 _queue *queue = &(mlme->scanned_queue); in rtw_mesh_acnode_candidate_exist()
364 _enter_critical_bh(&(mlme->scanned_queue.lock), &irqL); in rtw_mesh_acnode_candidate_exist()
391 _exit_critical_bh(&(mlme->scanned_queue.lock), &irqL); in rtw_mesh_acnode_candidate_exist()
692 struct mlme_priv *mlme = &adapter->mlmepriv; in rtw_chk_candidate_peer_notify() local
756 struct mlme_priv *mlme = &adapter->mlmepriv; in rtw_mesh_peer_status_chk() local
923 struct mlme_priv *mlme = &adapter->mlmepriv; in rtw_mesh_offch_cto_mgate_required() local
924 _queue *queue = &(mlme->scanned_queue); in rtw_mesh_offch_cto_mgate_required()
932 enter_critical_bh(&(mlme->scanned_queue.lock)); in rtw_mesh_offch_cto_mgate_required()
959 exit_critical_bh(&(mlme->scanned_queue.lock)); in rtw_mesh_offch_cto_mgate_required()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Dmlme.c2740 .u.mlme.data = tx ? DEAUTH_TX_EVENT : DEAUTH_RX_EVENT, in ieee80211_report_disconnect()
2741 .u.mlme.reason = reason, in ieee80211_report_disconnect()
2969 .u.mlme.data = AUTH_EVENT, in ieee80211_rx_mgmt_auth()
3007 event.u.mlme.status = MLME_DENIED; in ieee80211_rx_mgmt_auth()
3008 event.u.mlme.reason = status_code; in ieee80211_rx_mgmt_auth()
3035 event.u.mlme.status = MLME_SUCCESS; in ieee80211_rx_mgmt_auth()
3617 .u.mlme.data = ASSOC_EVENT, in ieee80211_rx_mgmt_assoc_resp()
3675 event.u.mlme.status = MLME_DENIED; in ieee80211_rx_mgmt_assoc_resp()
3676 event.u.mlme.reason = status_code; in ieee80211_rx_mgmt_assoc_resp()
3685 event.u.mlme.status = MLME_SUCCESS; in ieee80211_rx_mgmt_assoc_resp()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/rtl8822c/
Drtl8822c_phy.c1685 struct mlme_priv *mlme; in _config_beamformee_su() local
1698 mlme = &adapter->mlmepriv; in _config_beamformee_su()
1702 if ((check_fwstate(mlme, WIFI_ADHOC_STATE) == _TRUE) in _config_beamformee_su()
1703 || (check_fwstate(mlme, WIFI_ADHOC_MASTER_STATE) == _TRUE)) in _config_beamformee_su()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dwl_iw.c1132 struct iw_mlme *mlme; in wl_iw_mlme() local
1138 mlme = (struct iw_mlme *)extra; in wl_iw_mlme()
1139 if (mlme == NULL) { in wl_iw_mlme()
1144 scbval.val = mlme->reason_code; in wl_iw_mlme()
1145 bcopy(&mlme->addr.sa_data, &scbval.ea, ETHER_ADDR_LEN); in wl_iw_mlme()
1147 if (mlme->cmd == IW_MLME_DISASSOC) { in wl_iw_mlme()
1152 else if (mlme->cmd == IW_MLME_DEAUTH) { in wl_iw_mlme()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dwl_iw.c1072 struct iw_mlme *mlme; in wl_iw_mlme() local
1078 mlme = (struct iw_mlme *)extra; in wl_iw_mlme()
1079 if (mlme == NULL) { in wl_iw_mlme()
1084 scbval.val = mlme->reason_code; in wl_iw_mlme()
1085 bcopy(&mlme->addr.sa_data, &scbval.ea, ETHER_ADDR_LEN); in wl_iw_mlme()
1087 if (mlme->cmd == IW_MLME_DISASSOC) { in wl_iw_mlme()
1091 } else if (mlme->cmd == IW_MLME_DEAUTH) { in wl_iw_mlme()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dwl_iw.c1159 struct iw_mlme *mlme; in wl_iw_mlme() local
1165 mlme = (struct iw_mlme *)extra; in wl_iw_mlme()
1166 if (mlme == NULL) { in wl_iw_mlme()
1171 scbval.val = mlme->reason_code; in wl_iw_mlme()
1172 bcopy(&mlme->addr.sa_data, &scbval.ea, ETHER_ADDR_LEN); in wl_iw_mlme()
1174 if (mlme->cmd == IW_MLME_DISASSOC) { in wl_iw_mlme()
1179 else if (mlme->cmd == IW_MLME_DEAUTH) { in wl_iw_mlme()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dwl_iw.c1216 struct iw_mlme *mlme; in wl_iw_mlme() local
1222 mlme = (struct iw_mlme *)extra; in wl_iw_mlme()
1223 if (mlme == NULL) { in wl_iw_mlme()
1228 scbval.val = mlme->reason_code; in wl_iw_mlme()
1229 bcopy(&mlme->addr.sa_data, &scbval.ea, ETHER_ADDR_LEN); in wl_iw_mlme()
1231 if (mlme->cmd == IW_MLME_DISASSOC) { in wl_iw_mlme()
1235 else if (mlme->cmd == IW_MLME_DEAUTH) { in wl_iw_mlme()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/
Dhal_intf.c1975 struct mlme_priv *mlme; in rtw_hal_update_txpwr_level() local
1985 mlme = &(dvobj->padapters[i]->mlmepriv); in rtw_hal_update_txpwr_level()
1986 if (MLME_ACTIVE_TPC_REPORT(mlme)) in rtw_hal_update_txpwr_level()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/
Dioctl_linux.c1879 struct iw_mlme *mlme = (struct iw_mlme *) extra; in rtw_wx_set_mlme() local
1882 if (mlme == NULL) in rtw_wx_set_mlme()
1887 reason = cpu_to_le16(mlme->reason_code); in rtw_wx_set_mlme()
1890 RTW_INFO("%s, cmd=%d, reason=%d\n", __FUNCTION__, mlme->cmd, reason); in rtw_wx_set_mlme()
1893 switch (mlme->cmd) { in rtw_wx_set_mlme()
6744 ret = wpa_mlme(dev, param->u.mlme.command, param->u.mlme.reason_code);
7556 rtw_set_macaddr_acl(padapter, RTW_ACL_PERIOD_BSS, param->u.mlme.command);
Drtw_proc.c1889 struct mlme_priv *mlme = &adapter->mlmepriv; in proc_set_pre_link_sta() local
5276 struct mlme_priv *mlme = &adapter->mlmepriv; in proc_get_cur_beacon_keys() local
5278 rtw_dump_bcn_keys(m, &mlme->cur_beacon_keys); in proc_get_cur_beacon_keys()
Dioctl_cfg80211.c4993 struct mlme_priv *mlme = &padapter->mlmepriv; in cfg80211_rtw_set_pmksa() local
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/net/
Dmac80211.h477 struct ieee80211_mlme_event mlme; member