/drivers/staging/rtl8723au/core/ |
D | rtw_wlan_util.c | 132 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in judge_network_type23a() local 135 if (pmlmeinfo->HT_enable) in judge_network_type23a() 139 if (pmlmeinfo->HT_enable) in judge_network_type23a() 397 struct mlme_ext_info *pmlmeinfo; in is_client_associated_to_ap23a() local 403 pmlmeinfo = &pmlmeext->mlmext_info; in is_client_associated_to_ap23a() 405 if (pmlmeinfo->state & WIFI_FW_ASSOC_SUCCESS && in is_client_associated_to_ap23a() 406 (pmlmeinfo->state & 0x03) == MSR_INFRA) in is_client_associated_to_ap23a() 415 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in is_client_associated_to_ibss23a() local 417 if (pmlmeinfo->state & WIFI_FW_ASSOC_SUCCESS && in is_client_associated_to_ibss23a() 418 (pmlmeinfo->state & 0x03) == MSR_ADHOC) in is_client_associated_to_ibss23a() [all …]
|
D | rtw_mlme_ext.c | 362 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in init_mlme_ext_priv23a_value() local 396 pmlmeinfo->state = MSR_NOLINK; in init_mlme_ext_priv23a_value() 397 pmlmeinfo->reauth_count = 0; in init_mlme_ext_priv23a_value() 398 pmlmeinfo->reassoc_count = 0; in init_mlme_ext_priv23a_value() 399 pmlmeinfo->link_count = 0; in init_mlme_ext_priv23a_value() 400 pmlmeinfo->auth_seq = 0; in init_mlme_ext_priv23a_value() 401 pmlmeinfo->auth_algo = dot11AuthAlgrthm_Open; in init_mlme_ext_priv23a_value() 402 pmlmeinfo->key_index = 0; in init_mlme_ext_priv23a_value() 403 pmlmeinfo->iv = 0; in init_mlme_ext_priv23a_value() 405 pmlmeinfo->enc_algo = 0; in init_mlme_ext_priv23a_value() [all …]
|
D | rtw_sreset.c | 53 struct mlme_ext_info *pmlmeinfo = &padapter->mlmeextpriv.mlmext_info; in sreset_restore_security_station() local 56 if (pmlmeinfo->auth_algo == dot11AuthAlgrthm_8021X) in sreset_restore_security_station() 83 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in sreset_restore_network_station() local 103 hw_var_set_bssid(padapter, pmlmeinfo->network.MacAddress); in sreset_restore_network_station() 106 rtl8723a_set_media_status(padapter, pmlmeinfo->state & 0x3); in sreset_restore_network_station()
|
D | rtw_ap.c | 48 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in free_mlme_ap_info23a() local 55 pmlmeinfo->state = MSR_NOLINK; in free_mlme_ap_info23a() 71 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in update_BCNTIM() local 72 struct wlan_bssid_ex *pnetwork_mlmeext = &pmlmeinfo->network; in update_BCNTIM() 615 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in update_hw_ht_param() local 624 max_AMPDU_len = pmlmeinfo->ht_cap.ampdu_params_info & in update_hw_ht_param() 627 min_MPDU_spacing = (pmlmeinfo->ht_cap.ampdu_params_info & in update_hw_ht_param() 634 pmlmeinfo->SM_PS = (le16_to_cpu(pmlmeinfo->ht_cap.cap_info) & in update_hw_ht_param() 636 if (pmlmeinfo->SM_PS == WLAN_HT_CAP_SM_PS_STATIC) in update_hw_ht_param() 651 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in start_bss_network() local [all …]
|
D | rtw_mlme.c | 2218 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtw_update_ht_cap23a() local 2223 if ((!pmlmeinfo->HT_info_enable) || (!pmlmeinfo->HT_caps_enable)) in rtw_update_ht_cap23a() 2258 pmlmeinfo->ht_cap.cap_info & in rtw_update_ht_cap23a() 2260 pmlmeinfo->HT_info.ht_param & IEEE80211_HT_PARAM_CHAN_WIDTH_ANY) { in rtw_update_ht_cap23a() 2269 pmlmeinfo->ht_cap.mcs.rx_mask[i] &= in rtw_update_ht_cap23a() 2272 pmlmeinfo->ht_cap.mcs.rx_mask[i] &= in rtw_update_ht_cap23a() 2277 switch (pmlmeinfo->HT_info.ht_param & in rtw_update_ht_cap23a() 2297 pmlmeinfo->SM_PS = in rtw_update_ht_cap23a() 2298 (le16_to_cpu(pmlmeinfo->ht_cap.cap_info) & in rtw_update_ht_cap23a() 2300 if (pmlmeinfo->SM_PS == WLAN_HT_CAP_SM_PS_STATIC) in rtw_update_ht_cap23a() [all …]
|
D | rtw_cmd.c | 464 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtw_joinbss_cmd23a() local 575 pmlmeinfo->assoc_AP_vendor = in rtw_joinbss_cmd23a() 579 if (pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_TENDA) in rtw_joinbss_cmd23a()
|
D | rtw_xmit.c | 255 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in update_attrib_vcs_info() local 297 if (pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_ATHEROS && in update_attrib_vcs_info() 317 u8 HTOpMode = pmlmeinfo->HT_protection; in update_attrib_vcs_info()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_wlan_util.c | 126 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in judge_network_type() local 129 if (pmlmeinfo->HT_enable) in judge_network_type() 134 if (pmlmeinfo->HT_enable) in judge_network_type() 424 struct mlme_ext_info *pmlmeinfo; in is_client_associated_to_ap() local 430 pmlmeinfo = &(pmlmeext->mlmext_info); in is_client_associated_to_ap() 432 …if ((pmlmeinfo->state & WIFI_FW_ASSOC_SUCCESS) && ((pmlmeinfo->state&0x03) == WIFI_FW_STATION_STAT… in is_client_associated_to_ap() 441 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in is_client_associated_to_ibss() local 443 if ((pmlmeinfo->state & WIFI_FW_ASSOC_SUCCESS) && ((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE)) in is_client_associated_to_ibss() 453 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in is_IBSS_empty() local 456 if (pmlmeinfo->FW_sta_info[i].status == 1) in is_IBSS_empty() [all …]
|
D | rtw_mlme_ext.c | 213 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in init_mlme_ext_priv_value() local 247 pmlmeinfo->state = WIFI_FW_NULL_STATE; in init_mlme_ext_priv_value() 248 pmlmeinfo->reauth_count = 0; in init_mlme_ext_priv_value() 249 pmlmeinfo->reassoc_count = 0; in init_mlme_ext_priv_value() 250 pmlmeinfo->link_count = 0; in init_mlme_ext_priv_value() 251 pmlmeinfo->auth_seq = 0; in init_mlme_ext_priv_value() 252 pmlmeinfo->auth_algo = dot11AuthAlgrthm_Open; in init_mlme_ext_priv_value() 253 pmlmeinfo->key_index = 0; in init_mlme_ext_priv_value() 254 pmlmeinfo->iv = 0; in init_mlme_ext_priv_value() 256 pmlmeinfo->enc_algo = _NO_PRIVACY_; in init_mlme_ext_priv_value() [all …]
|
D | rtw_ap.c | 50 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in free_mlme_ap_info() local 57 pmlmeinfo->state = _HW_STATE_NOLINK_; in free_mlme_ap_info() 73 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in update_BCNTIM() local 74 struct wlan_bssid_ex *pnetwork_mlmeext = &(pmlmeinfo->network); in update_BCNTIM() 686 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in update_hw_ht_param() local 695 max_AMPDU_len = pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x03; in update_hw_ht_param() 697 min_MPDU_spacing = (pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x1c) >> 2; in update_hw_ht_param() 706 pmlmeinfo->SM_PS = (le16_to_cpu(pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info) & 0x0C) >> 2; in update_hw_ht_param() 707 if (pmlmeinfo->SM_PS == WLAN_HT_CAP_SM_PS_STATIC) in update_hw_ht_param() 723 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in start_bss_network() local [all …]
|
D | rtw_ioctl_set.c | 581 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_get_cur_max_rate() local 608 …bw_40MHz = (pmlmeext->cur_bwmode && (HT_INFO_HT_PARAM_REC_TRANS_CHNL_WIDTH & pmlmeinfo->HT_info.in… in rtw_get_cur_max_rate() 610 …short_GI_20 = (le16_to_cpu(pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info) & IEEE80211_HT_CAP_SG… in rtw_get_cur_max_rate() 611 …short_GI_40 = (le16_to_cpu(pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info) & IEEE80211_HT_CAP_SG… in rtw_get_cur_max_rate() 619 pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate in rtw_get_cur_max_rate()
|
D | rtw_mlme.c | 1164 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in search_max_mac_id() local 1177 if (pmlmeinfo->FW_sta_info[mac_id].status == 1) in search_max_mac_id() 2016 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_update_ht_cap() local 2021 if ((!pmlmeinfo->HT_info_enable) || (!pmlmeinfo->HT_caps_enable)) in rtw_update_ht_cap() 2051 (le16_to_cpu(pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info) & BIT(1)) && in rtw_update_ht_cap() 2052 (pmlmeinfo->HT_info.infos[0] & BIT(2))) { in rtw_update_ht_cap() 2061 pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= MCS_rate_1R[i]; in rtw_update_ht_cap() 2063 pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= MCS_rate_2R[i]; in rtw_update_ht_cap() 2067 switch ((pmlmeinfo->HT_info.infos[0] & 0x3)) { in rtw_update_ht_cap() 2081 pmlmeinfo->SM_PS = (le16_to_cpu(pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info) & 0x0C) >> 2; in rtw_update_ht_cap() [all …]
|
D | rtw_cmd.c | 398 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_joinbss_cmd() local 501 pmlmeinfo->assoc_AP_vendor = check_assoc_AP(pnetwork->network.IEs, pnetwork->network.IELength); in rtw_joinbss_cmd() 503 if (pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_TENDA) in rtw_joinbss_cmd()
|
D | rtw_debug.c | 187 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in proc_get_mlmext_state() local 191 len += snprintf(page + len, count - len, "pmlmeinfo->state=0x%x\n", pmlmeinfo->state); in proc_get_mlmext_state()
|
/drivers/staging/rtl8723au/hal/ |
D | rtl8723a_cmd.c | 210 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in ConstructBeacon() local 211 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in ConstructBeacon() 239 if ((pmlmeinfo->state&0x03) == MSR_AP) { in ConstructBeacon() 263 if ((pmlmeinfo->state&0x03) == MSR_ADHOC) { in ConstructBeacon() 301 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in ConstructPSPoll() local 311 pwlanhdr->duration_id = cpu_to_le16(pmlmeinfo->aid | 0xc000); in ConstructPSPoll() 314 memcpy(pwlanhdr->addr1, get_my_bssid23a(&pmlmeinfo->network), ETH_ALEN); in ConstructPSPoll() 332 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in ConstructNullFunctionData() local 347 get_my_bssid23a(&pmlmeinfo->network), ETH_ALEN); in ConstructNullFunctionData() 357 get_my_bssid23a(&pmlmeinfo->network), ETH_ALEN); in ConstructNullFunctionData() [all …]
|
D | hal_com.c | 565 struct mlme_ext_info *pmlmeinfo; in rtl8723a_mlme_sitesurvey() local 568 pmlmeinfo = &pmlmeext->mlmext_info; in rtl8723a_mlme_sitesurvey() 571 ((pmlmeinfo->state & 0x03) == MSR_ADHOC) || in rtl8723a_mlme_sitesurvey() 572 ((pmlmeinfo->state & 0x03) == MSR_AP)) { in rtl8723a_mlme_sitesurvey() 608 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtl8723a_set_slot_time() local 612 if (pmlmeinfo->WMM_enable == 0) { in rtl8723a_set_slot_time() 618 u1bAIFS = aSifsTime + (2 * pmlmeinfo->slotTime); in rtl8723a_set_slot_time()
|
D | usb_halinit.c | 1429 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtl8723a_update_ramask() local 1430 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in rtl8723a_update_ramask() 1435 psta = pmlmeinfo->FW_sta_info[mac_id].psta; in rtl8723a_update_ramask() 1451 mask |= (pmlmeinfo->HT_enable) ? in rtl8723a_update_ramask() 1452 update_MSC_rate23a(&pmlmeinfo->ht_cap) : 0; in rtl8723a_update_ramask() 1454 if (support_short_GI23a(padapter, &pmlmeinfo->ht_cap)) in rtl8723a_update_ramask() 1460 pmlmeinfo->FW_sta_info[mac_id].SupportedRates); in rtl8723a_update_ramask() 1473 pmlmeinfo->FW_sta_info[mac_id].SupportedRates); in rtl8723a_update_ramask() 1475 pmlmeinfo->FW_sta_info[mac_id].SupportedRates, in rtl8723a_update_ramask()
|
D | rtl8723a_hal_init.c | 962 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtl8723a_SetBeaconRelatedRegisters() local 984 rtl8723au_write16(padapter, REG_BCN_INTERVAL, pmlmeinfo->bcn_interval); in rtl8723a_SetBeaconRelatedRegisters() 2089 struct mlme_ext_info *pmlmeinfo; in rtl8723a_fill_default_txdesc() local 2098 pmlmeinfo = &pmlmeext->mlmext_info; in rtl8723a_fill_default_txdesc() 2143 if (pmlmeinfo->preamble_mode == PREAMBLE_SHORT) in rtl8723a_fill_default_txdesc() 2378 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in hw_var_set_correct_tsf() local 2384 (pmlmeinfo->bcn_interval * 1024)) - 1024; /* us */ in hw_var_set_correct_tsf() 2386 if (((pmlmeinfo->state & 0x03) == MSR_ADHOC) || in hw_var_set_correct_tsf() 2387 ((pmlmeinfo->state & 0x03) == MSR_AP)) { in hw_var_set_correct_tsf() 2405 if (((pmlmeinfo->state & 0x03) == MSR_ADHOC) || in hw_var_set_correct_tsf() [all …]
|
D | odm.c | 1457 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in odm_EdcaTurboCheck23a() local 1477 if (pmlmeinfo->assoc_AP_vendor >= HT_IOT_PEER_MAX) in odm_EdcaTurboCheck23a() 1489 if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_RALINK) || in odm_EdcaTurboCheck23a() 1490 (pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_ATHEROS)) { in odm_EdcaTurboCheck23a() 1508 if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_CISCO) && in odm_EdcaTurboCheck23a() 1510 edca_param = EDCAParam[pmlmeinfo->assoc_AP_vendor][trafficIndex]; in odm_EdcaTurboCheck23a()
|
D | rtl8723au_xmit.c | 155 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in update_txdesc() local 213 if (pmlmeinfo->preamble_mode == PREAMBLE_SHORT) in update_txdesc()
|
/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_cmd.c | 270 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in ConstructBeacon() local 271 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in ConstructBeacon() 305 if ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE) { in ConstructBeacon() 324 if ((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE) { in ConstructBeacon() 353 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in ConstructPSPoll() local 365 SetDuration(pframe, (pmlmeinfo->aid | 0xc000)); in ConstructPSPoll() 368 memcpy(pwlanhdr->addr1, get_my_bssid(&(pmlmeinfo->network)), ETH_ALEN); in ConstructPSPoll() 390 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in ConstructNullFunctionData() local 402 memcpy(pwlanhdr->addr1, get_my_bssid(&(pmlmeinfo->network)), ETH_ALEN); in ConstructNullFunctionData() 409 memcpy(pwlanhdr->addr2, get_my_bssid(&(pmlmeinfo->network)), ETH_ALEN); in ConstructNullFunctionData() [all …]
|
D | usb_halinit.c | 1372 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in SetHwReg8188EU() local 1374 …tsf = pmlmeext->TSFValue - rtw_modular64(pmlmeext->TSFValue, (pmlmeinfo->bcn_interval*1024)) - 102… in SetHwReg8188EU() 1376 …if (((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE) || ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STA… in SetHwReg8188EU() 1388 …if (((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE) || ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STA… in SetHwReg8188EU() 1429 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in SetHwReg8188EU() local 1432 ((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE)) { in SetHwReg8188EU() 1438 } else if ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE) { in SetHwReg8188EU() 1443 if ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE) { in SetHwReg8188EU() 1499 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in SetHwReg8188EU() local 1503 if (pmlmeinfo->WMM_enable == 0) { in SetHwReg8188EU() [all …]
|
D | odm.c | 1321 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in odm_EdcaTurboCheckCE() local 1326 if (pmlmeinfo->assoc_AP_vendor >= HT_IOT_PEER_MAX) in odm_EdcaTurboCheckCE() 1335 if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_RALINK) || in odm_EdcaTurboCheckCE() 1336 (pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_ATHEROS)) { in odm_EdcaTurboCheckCE() 1355 …if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_CISCO) && (pmlmeext->cur_wireless_mode & WIRELESS_1… in odm_EdcaTurboCheckCE() 1356 edca_param = EDCAParam[pmlmeinfo->assoc_AP_vendor][trafficIndex]; in odm_EdcaTurboCheckCE()
|
D | rtl8188eu_xmit.c | 185 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in update_txdesc() local 278 if (pmlmeinfo->preamble_mode == PREAMBLE_SHORT) in update_txdesc()
|
/drivers/staging/rtl8723au/os_dep/ |
D | ioctl_cfg80211.c | 1005 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtw_get_cur_max_rate() local 1026 (pmlmeinfo->HT_info.ht_param & in rtw_get_cur_max_rate() 1031 short_GI_20 = (pmlmeinfo->ht_cap.cap_info & in rtw_get_cur_max_rate() 1033 short_GI_40 = (pmlmeinfo->ht_cap.cap_info & in rtw_get_cur_max_rate() 1040 &pmlmeinfo->ht_cap.mcs); in rtw_get_cur_max_rate() 2396 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtw_cfg80211_indicate_sta_disassoc() local 2419 ether_addr_copy(mgmt.bssid, get_my_bssid23a(&pmlmeinfo->network)); in rtw_cfg80211_indicate_sta_disassoc()
|