/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_wlan_util.c | 111 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in judge_network_type() local 114 if (pmlmeinfo->HT_enable) in judge_network_type() 119 if (pmlmeinfo->HT_enable) in judge_network_type() 379 struct mlme_ext_info *pmlmeinfo; in is_client_associated_to_ap() local 385 pmlmeinfo = &(pmlmeext->mlmext_info); in is_client_associated_to_ap() 387 …if ((pmlmeinfo->state & WIFI_FW_ASSOC_SUCCESS) && ((pmlmeinfo->state&0x03) == WIFI_FW_STATION_STAT… in is_client_associated_to_ap() 396 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in is_client_associated_to_ibss() local 398 if ((pmlmeinfo->state & WIFI_FW_ASSOC_SUCCESS) && ((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE)) in is_client_associated_to_ibss() 408 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in is_IBSS_empty() local 411 if (pmlmeinfo->FW_sta_info[i].status == 1) in is_IBSS_empty() [all …]
|
D | rtw_mlme_ext.c | 322 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in issue_beacon() local 323 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in issue_beacon() 359 if ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE) { in issue_beacon() 369 , pmlmeinfo->hidden_ssid_mode in issue_beacon() 467 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in issue_probersp() local 468 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in issue_probersp() 507 if ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE) { in issue_probersp() 575 if ((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE) { in issue_probersp() 751 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in issue_auth() local 752 struct wlan_bssid_ex *pnetwork = &(pmlmeinfo->network); in issue_auth() [all …]
|
D | rtw_ap.c | 39 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in free_mlme_ap_info() local 46 pmlmeinfo->state = _HW_STATE_NOLINK_; in free_mlme_ap_info() 62 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in update_BCNTIM() local 63 struct wlan_bssid_ex *pnetwork_mlmeext = &pmlmeinfo->network; in update_BCNTIM() 576 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in update_hw_ht_param() local 585 max_AMPDU_len = pmlmeinfo->HT_caps.ampdu_params_info & 0x03; in update_hw_ht_param() 587 min_MPDU_spacing = (pmlmeinfo->HT_caps.ampdu_params_info & 0x1c) >> 2; in update_hw_ht_param() 596 pmlmeinfo->SM_PS = (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & 0x0C) >> 2; in update_hw_ht_param() 597 if (pmlmeinfo->SM_PS == WLAN_HT_CAP_SM_PS_STATIC) in update_hw_ht_param() 613 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in start_bss_network() local [all …]
|
D | rtw_ioctl_set.c | 542 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_get_cur_max_rate() local 557 …bw_40MHz = (pmlmeext->cur_bwmode && (HT_INFO_HT_PARAM_REC_TRANS_CHNL_WIDTH & pmlmeinfo->HT_info.in… in rtw_get_cur_max_rate() 559 short_GI_20 = (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & IEEE80211_HT_CAP_SGI_20) ? 1 : 0; in rtw_get_cur_max_rate() 560 short_GI_40 = (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & IEEE80211_HT_CAP_SGI_40) ? 1 : 0; in rtw_get_cur_max_rate() 567 pmlmeinfo->HT_caps.mcs.rx_mask in rtw_get_cur_max_rate()
|
D | rtw_mlme.c | 1121 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in search_max_mac_id() local 1134 if (pmlmeinfo->FW_sta_info[mac_id].status == 1) in search_max_mac_id() 1965 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_update_ht_cap() local 1970 if ((!pmlmeinfo->HT_info_enable) || (!pmlmeinfo->HT_caps_enable)) in rtw_update_ht_cap() 1987 (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & BIT(1)) && in rtw_update_ht_cap() 1988 (pmlmeinfo->HT_info.infos[0] & BIT(2))) { in rtw_update_ht_cap() 1993 ((u8 *)&pmlmeinfo->HT_caps.mcs)[i] &= MCS_rate_1R[i]; in rtw_update_ht_cap() 1996 switch ((pmlmeinfo->HT_info.infos[0] & 0x3)) { in rtw_update_ht_cap() 2010 pmlmeinfo->SM_PS = (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & 0x0C) >> 2; in rtw_update_ht_cap() 2011 if (pmlmeinfo->SM_PS == WLAN_HT_CAP_SM_PS_STATIC) in rtw_update_ht_cap() [all …]
|
D | rtw_cmd.c | 361 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtw_joinbss_cmd() local 460 pmlmeinfo->assoc_AP_vendor = check_assoc_AP(pnetwork->network.ies, pnetwork->network.ie_length); in rtw_joinbss_cmd() 462 if (pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_TENDA) in rtw_joinbss_cmd()
|
D | rtw_xmit.c | 250 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in update_attrib_vcs_info() local 275 if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_ATHEROS) && pattrib->ampdu_en && in update_attrib_vcs_info() 293 u8 htopmode = pmlmeinfo->HT_protection; in update_attrib_vcs_info()
|
D | rtw_recv.c | 222 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in recvframe_chkmic() local 324 if ((IS_MCAST(prxattrib->ra) == true) && (prxattrib->key_index != pmlmeinfo->key_index)) in recvframe_chkmic()
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_wlan_util.c | 475 struct mlme_ext_info *pmlmeinfo; in is_client_associated_to_ap() local 481 pmlmeinfo = &(pmlmeext->mlmext_info); in is_client_associated_to_ap() 483 …if ((pmlmeinfo->state & WIFI_FW_ASSOC_SUCCESS) && ((pmlmeinfo->state&0x03) == WIFI_FW_STATION_STAT… in is_client_associated_to_ap() 492 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in is_client_associated_to_ibss() local 494 if ((pmlmeinfo->state & WIFI_FW_ASSOC_SUCCESS) && ((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE)) in is_client_associated_to_ibss() 504 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in is_IBSS_empty() local 507 if (pmlmeinfo->FW_sta_info[i].status == 1) in is_IBSS_empty() 800 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in allocate_fw_sta_entry() local 803 if (pmlmeinfo->FW_sta_info[mac_id].status == 0) { in allocate_fw_sta_entry() 804 pmlmeinfo->FW_sta_info[mac_id].status = 1; in allocate_fw_sta_entry() [all …]
|
D | rtw_mlme_ext.c | 282 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in init_mlme_ext_priv_value() local 309 pmlmeinfo->state = WIFI_FW_NULL_STATE; in init_mlme_ext_priv_value() 310 pmlmeinfo->reauth_count = 0; in init_mlme_ext_priv_value() 311 pmlmeinfo->reassoc_count = 0; in init_mlme_ext_priv_value() 312 pmlmeinfo->link_count = 0; in init_mlme_ext_priv_value() 313 pmlmeinfo->auth_seq = 0; in init_mlme_ext_priv_value() 314 pmlmeinfo->auth_algo = dot11AuthAlgrthm_Open; in init_mlme_ext_priv_value() 315 pmlmeinfo->key_index = 0; in init_mlme_ext_priv_value() 316 pmlmeinfo->iv = 0; in init_mlme_ext_priv_value() 318 pmlmeinfo->enc_algo = _NO_PRIVACY_; in init_mlme_ext_priv_value() [all …]
|
D | rtw_btcoex.c | 191 struct mlme_ext_info *pmlmeinfo; in rtw_btcoex_RejectApAggregatedPacket() local 194 pmlmeinfo = &padapter->mlmeextpriv.mlmext_info; in rtw_btcoex_RejectApAggregatedPacket() 198 pmlmeinfo->accept_addba_req = false; in rtw_btcoex_RejectApAggregatedPacket() 202 pmlmeinfo->accept_addba_req = true; in rtw_btcoex_RejectApAggregatedPacket()
|
D | rtw_ap.c | 40 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in free_mlme_ap_info() local 49 pmlmeinfo->state = _HW_STATE_NOLINK_; in free_mlme_ap_info() 63 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in update_BCNTIM() local 64 struct wlan_bssid_ex *pnetwork_mlmeext = &(pmlmeinfo->network); in update_BCNTIM() 504 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in update_bmc_sta() local 515 pmlmeinfo->FW_sta_info[psta->mac_id].psta = psta; in update_bmc_sta() 771 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in update_hw_ht_param() local 781 max_AMPDU_len = pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x03; in update_hw_ht_param() 784 pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x1c in update_hw_ht_param() 798 pmlmeinfo->SM_PS = (le16_to_cpu( in update_hw_ht_param() [all …]
|
D | rtw_mlme.c | 1667 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_stadel_event_callback() local 1685 if ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE) in rtw_stadel_event_callback() 1886 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_mlme_reset_auto_scan_int() local 1888 if (pmlmeinfo->VHT_enable) /* disable auto scan when connect to 11AC AP */ in rtw_mlme_reset_auto_scan_int() 2887 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_update_ht_cap() local 2894 if ((!pmlmeinfo->HT_info_enable) || (!pmlmeinfo->HT_caps_enable)) in rtw_update_ht_cap() 2945 (le16_to_cpu(pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info) & in rtw_update_ht_cap() 2946 BIT(1)) && (pmlmeinfo->HT_info.infos[0] & BIT(2))) { in rtw_update_ht_cap() 2954 pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= pmlmeext->default_supported_mcs_set[i]; in rtw_update_ht_cap() 2960 set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_1R); in rtw_update_ht_cap() [all …]
|
D | rtw_debug.c | 285 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in proc_get_mlmext_state() local 287 DBG_871X_SEL_NL(m, "pmlmeinfo->state = 0x%x\n", pmlmeinfo->state); in proc_get_mlmext_state() 1113 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in proc_get_rx_ampdu() local 1118 pmlmeinfo->accept_addba_req in proc_get_rx_ampdu() 1130 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in proc_set_rx_ampdu() local 1142 pmlmeinfo->accept_addba_req = mode; in proc_set_rx_ampdu() 1144 pmlmeinfo->accept_addba_req); in proc_set_rx_ampdu() 1147 send_delba(padapter, 0, get_my_bssid(&(pmlmeinfo->network)));/* recipient*/ in proc_set_rx_ampdu()
|
D | rtw_xmit.c | 374 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in update_attrib_vcs_info() local 399 if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_ATHEROS) && (pattrib->ampdu_en == true) && in update_attrib_vcs_info() 418 u8 HTOpMode = pmlmeinfo->HT_protection; in update_attrib_vcs_info()
|
D | rtw_cmd.c | 800 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_joinbss_cmd() local 910 pmlmeinfo->assoc_AP_vendor = check_assoc_AP(pnetwork->network.IEs, pnetwork->network.IELength); in rtw_joinbss_cmd()
|
/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_cmd.c | 216 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in ConstructBeacon() local 217 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in ConstructBeacon() 251 if ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE) { in ConstructBeacon() 270 if ((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE) { in ConstructBeacon() 299 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in ConstructPSPoll() local 301 struct wlan_bssid_ex *pnetwork = &(pmlmeinfo->network); in ConstructPSPoll() 312 SetDuration(pframe, (pmlmeinfo->aid | 0xc000)); in ConstructPSPoll() 337 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in ConstructNullFunctionData() local 338 struct wlan_bssid_ex *pnetwork = &(pmlmeinfo->network); in ConstructNullFunctionData() 396 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in ConstructProbeRsp() local [all …]
|
D | usb_halinit.c | 1306 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtw_hal_set_hwreg() local 1308 …tsf = pmlmeext->TSFValue - rtw_modular64(pmlmeext->TSFValue, (pmlmeinfo->bcn_interval*1024)) - 102… in rtw_hal_set_hwreg() 1310 …if (((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE) || ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STA… in rtw_hal_set_hwreg() 1322 …if (((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE) || ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STA… in rtw_hal_set_hwreg() 1364 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtw_hal_set_hwreg() local 1367 ((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE)) { in rtw_hal_set_hwreg() 1373 } else if ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE) { in rtw_hal_set_hwreg() 1419 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtw_hal_set_hwreg() local 1423 if (pmlmeinfo->WMM_enable == 0) { in rtw_hal_set_hwreg() 1429 u1bAIFS = aSifsTime + (2 * pmlmeinfo->slotTime); in rtw_hal_set_hwreg() [all …]
|
D | odm.c | 1075 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in odm_EdcaTurboCheckCE() local 1080 if (pmlmeinfo->assoc_AP_vendor >= HT_IOT_PEER_MAX) in odm_EdcaTurboCheckCE() 1089 if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_RALINK) || in odm_EdcaTurboCheckCE() 1090 (pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_ATHEROS)) { in odm_EdcaTurboCheckCE() 1109 …if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_CISCO) && (pmlmeext->cur_wireless_mode & WIRELESS_1… in odm_EdcaTurboCheckCE() 1110 edca_param = EDCAParam[pmlmeinfo->assoc_AP_vendor][trafficIndex]; in odm_EdcaTurboCheckCE()
|
D | rtl8188eu_xmit.c | 171 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in update_txdesc() local 263 if (pmlmeinfo->preamble_mode == PREAMBLE_SHORT) in update_txdesc()
|
/Linux-v4.19/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_cmd.c | 128 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in ConstructBeacon() local 129 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in ConstructBeacon() 167 if ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE) { in ConstructBeacon() 187 if ((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE) { in ConstructBeacon() 224 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in ConstructPSPoll() local 237 SetDuration(pframe, (pmlmeinfo->aid | 0xc000)); in ConstructPSPoll() 240 memcpy(pwlanhdr->addr1, get_my_bssid(&(pmlmeinfo->network)), ETH_ALEN); in ConstructPSPoll() 265 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in ConstructNullFunctionData() local 280 memcpy(pwlanhdr->addr1, get_my_bssid(&(pmlmeinfo->network)), ETH_ALEN); in ConstructNullFunctionData() 287 memcpy(pwlanhdr->addr2, get_my_bssid(&(pmlmeinfo->network)), ETH_ALEN); in ConstructNullFunctionData() [all …]
|
D | odm_EdcaTurboCheck.c | 82 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in odm_EdcaTurboCheckCE() local 108 iot_peer = pmlmeinfo->assoc_AP_vendor; in odm_EdcaTurboCheckCE()
|
D | rtl8723b_hal_init.c | 2039 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtl8723b_SetBeaconRelatedRegisters() local 2065 rtw_write16(padapter, REG_BCN_INTERVAL, pmlmeinfo->bcn_interval); in rtl8723b_SetBeaconRelatedRegisters() 2134 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in UpdateHalRAMask8723B() local 2141 psta = pmlmeinfo->FW_sta_info[mac_id].psta; in UpdateHalRAMask8723B() 3058 struct mlme_ext_info *pmlmeinfo; in rtl8723b_fill_default_txdesc() local 3069 pmlmeinfo = &(pmlmeext->mlmext_info); in rtl8723b_fill_default_txdesc() 3146 if (pmlmeinfo->preamble_mode == PREAMBLE_SHORT) in rtl8723b_fill_default_txdesc() 3460 struct mlme_ext_info *pmlmeinfo; in hw_var_set_correct_tsf() local 3464 pmlmeinfo = &pmlmeext->mlmext_info; in hw_var_set_correct_tsf() 3466 …tsf = pmlmeext->TSFValue-rtw_modular64(pmlmeext->TSFValue, (pmlmeinfo->bcn_interval*1024))-1024; /… in hw_var_set_correct_tsf() [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/ |
D | os_intfs.c | 1553 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_resume_process_wow() local 1651 pmlmeinfo->state = WIFI_FW_NULL_STATE; in rtw_resume_process_wow()
|
D | ioctl_linux.c | 57 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_indicate_wx_assoc_event() local 58 struct wlan_bssid_ex *pnetwork = (struct wlan_bssid_ex*)(&(pmlmeinfo->network)); in rtw_indicate_wx_assoc_event() 2697 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_dbg_port() local 2790 receive_disconnect(padapter, pmlmeinfo->network.MacAddress in rtw_dbg_port() 2802 DBG_871X("pmlmeinfo->state = 0x%x\n", pmlmeinfo->state); in rtw_dbg_port()
|