Home
last modified time | relevance | path

Searched refs:pmlmeinfo (Results 1 – 24 of 24) sorted by relevance

/drivers/staging/r8188eu/core/
Drtw_wlan_util.c107 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in judge_network_type() local
112 if (pmlmeinfo->HT_enable) in judge_network_type()
337 struct mlme_ext_info *pmlmeinfo; in is_client_associated_to_ap() local
343 pmlmeinfo = &pmlmeext->mlmext_info; in is_client_associated_to_ap()
345 …if ((pmlmeinfo->state & WIFI_FW_ASSOC_SUCCESS) && ((pmlmeinfo->state & 0x03) == WIFI_FW_STATION_ST… in is_client_associated_to_ap()
354 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in is_client_associated_to_ibss() local
356 …if ((pmlmeinfo->state & WIFI_FW_ASSOC_SUCCESS) && ((pmlmeinfo->state & 0x03) == WIFI_FW_ADHOC_STAT… in is_client_associated_to_ibss()
366 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in is_IBSS_empty() local
369 if (pmlmeinfo->FW_sta_info[i].status == 1) in is_IBSS_empty()
433 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in allocate_fw_sta_entry() local
[all …]
Drtw_mlme_ext.c179 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in init_mlme_ext_priv_value() local
210 pmlmeinfo->state = WIFI_FW_NULL_STATE; in init_mlme_ext_priv_value()
211 pmlmeinfo->reauth_count = 0; in init_mlme_ext_priv_value()
212 pmlmeinfo->reassoc_count = 0; in init_mlme_ext_priv_value()
213 pmlmeinfo->link_count = 0; in init_mlme_ext_priv_value()
214 pmlmeinfo->auth_seq = 0; in init_mlme_ext_priv_value()
215 pmlmeinfo->auth_algo = dot11AuthAlgrthm_Open; in init_mlme_ext_priv_value()
216 pmlmeinfo->key_index = 0; in init_mlme_ext_priv_value()
217 pmlmeinfo->iv = 0; in init_mlme_ext_priv_value()
219 pmlmeinfo->enc_algo = _NO_PRIVACY_; in init_mlme_ext_priv_value()
[all …]
Drtw_ap.c32 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in free_mlme_ap_info() local
39 pmlmeinfo->state = _HW_STATE_NOLINK_; in free_mlme_ap_info()
55 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in update_BCNTIM() local
56 struct wlan_bssid_ex *pnetwork_mlmeext = &pmlmeinfo->network; in update_BCNTIM()
536 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in update_bcn_erpinfo_ie() local
537 struct wlan_bssid_ex *pnetwork = &pmlmeinfo->network; in update_bcn_erpinfo_ie()
541 if (!pmlmeinfo->ERP_enable) in update_bcn_erpinfo_ie()
571 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in update_bcn_wps_ie() local
572 struct wlan_bssid_ex *pnetwork = &pmlmeinfo->network; in update_bcn_wps_ie()
1027 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtw_sta_flush() local
[all …]
Drtw_ioctl_set.c438 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtw_get_cur_max_rate() local
459 …bw_40MHz = (pmlmeext->cur_bwmode && (HT_INFO_HT_PARAM_REC_TRANS_CHNL_WIDTH & pmlmeinfo->HT_info.in… in rtw_get_cur_max_rate()
461 …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()
462 …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()
467 pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate); in rtw_get_cur_max_rate()
Drtw_mlme.c1175 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in search_max_mac_id() local
1186 if (pmlmeinfo->FW_sta_info[mac_id].status == 1) in search_max_mac_id()
1961 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtw_update_ht_cap() local
1966 if ((!pmlmeinfo->HT_info_enable) || (!pmlmeinfo->HT_caps_enable)) in rtw_update_ht_cap()
1993 (le16_to_cpu(pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info) & BIT(1)) && in rtw_update_ht_cap()
1994 (pmlmeinfo->HT_info.infos[0] & BIT(2))) { in rtw_update_ht_cap()
1999 pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= MCS_rate_1R[i]; in rtw_update_ht_cap()
2003 switch ((pmlmeinfo->HT_info.infos[0] & 0x3)) { in rtw_update_ht_cap()
2017 pmlmeinfo->SM_PS = (le16_to_cpu(pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info) & 0x0C) >> 2; in rtw_update_ht_cap()
2020 pmlmeinfo->HT_protection = pmlmeinfo->HT_info.infos[1] & 0x3; in rtw_update_ht_cap()
Drtw_cmd.c424 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtw_joinbss_cmd() local
510 pmlmeinfo->assoc_AP_vendor = check_assoc_AP(pnetwork->network.IEs, pnetwork->network.IELength); in rtw_joinbss_cmd()
512 if (pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_TENDA) in rtw_joinbss_cmd()
Drtw_xmit.c323 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in update_attrib_vcs_info() local
348 if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_ATHEROS) && pattrib->ampdu_en && in update_attrib_vcs_info()
366 u8 htopmode = pmlmeinfo->HT_protection; in update_attrib_vcs_info()
Drtw_recv.c377 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in recvframe_chkmic() local
414 if (is_multicast_ether_addr(prxattrib->ra) && prxattrib->key_index != pmlmeinfo->key_index) in recvframe_chkmic()
/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c387 struct mlme_ext_info *pmlmeinfo; in is_client_associated_to_ap() local
393 pmlmeinfo = &(pmlmeext->mlmext_info); in is_client_associated_to_ap()
395 …if ((pmlmeinfo->state & WIFI_FW_ASSOC_SUCCESS) && ((pmlmeinfo->state&0x03) == WIFI_FW_STATION_STAT… in is_client_associated_to_ap()
404 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in is_client_associated_to_ibss() local
406 if ((pmlmeinfo->state & WIFI_FW_ASSOC_SUCCESS) && ((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE)) in is_client_associated_to_ibss()
416 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in is_IBSS_empty() local
419 if (pmlmeinfo->FW_sta_info[i].status == 1) in is_IBSS_empty()
697 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in allocate_fw_sta_entry() local
700 if (pmlmeinfo->FW_sta_info[mac_id].status == 0) { in allocate_fw_sta_entry()
701 pmlmeinfo->FW_sta_info[mac_id].status = 1; in allocate_fw_sta_entry()
[all …]
Drtw_mlme_ext.c222 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in init_mlme_ext_priv_value() local
245 pmlmeinfo->state = WIFI_FW_NULL_STATE; in init_mlme_ext_priv_value()
246 pmlmeinfo->reauth_count = 0; in init_mlme_ext_priv_value()
247 pmlmeinfo->reassoc_count = 0; in init_mlme_ext_priv_value()
248 pmlmeinfo->link_count = 0; in init_mlme_ext_priv_value()
249 pmlmeinfo->auth_seq = 0; in init_mlme_ext_priv_value()
250 pmlmeinfo->auth_algo = dot11AuthAlgrthm_Open; in init_mlme_ext_priv_value()
251 pmlmeinfo->key_index = 0; in init_mlme_ext_priv_value()
252 pmlmeinfo->iv = 0; in init_mlme_ext_priv_value()
254 pmlmeinfo->enc_algo = _NO_PRIVACY_; in init_mlme_ext_priv_value()
[all …]
Drtw_btcoex.c38 struct mlme_ext_info *pmlmeinfo; in rtw_btcoex_RejectApAggregatedPacket() local
41 pmlmeinfo = &padapter->mlmeextpriv.mlmext_info; in rtw_btcoex_RejectApAggregatedPacket()
45 pmlmeinfo->accept_addba_req = false; in rtw_btcoex_RejectApAggregatedPacket()
49 pmlmeinfo->accept_addba_req = true; in rtw_btcoex_RejectApAggregatedPacket()
Drtw_ap.c34 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in free_mlme_ap_info() local
43 pmlmeinfo->state = _HW_STATE_NOLINK_; in free_mlme_ap_info()
57 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in update_BCNTIM() local
58 struct wlan_bssid_ex *pnetwork_mlmeext = &pmlmeinfo->network; in update_BCNTIM()
378 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in update_bmc_sta() local
388 pmlmeinfo->FW_sta_info[psta->mac_id].psta = psta; in update_bmc_sta()
613 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in update_hw_ht_param() local
620 max_AMPDU_len = pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x03; in update_hw_ht_param()
622 min_MPDU_spacing = (pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x1c) >> 2; in update_hw_ht_param()
631 pmlmeinfo->SM_PS = (le16_to_cpu( in update_hw_ht_param()
[all …]
Drtw_mlme.c1416 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_stadel_event_callback() local
1433 if ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE) in rtw_stadel_event_callback()
1606 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_mlme_reset_auto_scan_int() local
1608 if (pmlmeinfo->VHT_enable) /* disable auto scan when connect to 11AC AP */ in rtw_mlme_reset_auto_scan_int()
2437 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in rtw_update_ht_cap() local
2443 if ((!pmlmeinfo->HT_info_enable) || (!pmlmeinfo->HT_caps_enable)) in rtw_update_ht_cap()
2479 (le16_to_cpu(pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info) & in rtw_update_ht_cap()
2480 BIT(1)) && (pmlmeinfo->HT_info.infos[0] & BIT(2))) { in rtw_update_ht_cap()
2485 pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= pmlmeext->default_supported_mcs_set[i]; in rtw_update_ht_cap()
2488 set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_1R); in rtw_update_ht_cap()
[all …]
Drtw_xmit.c359 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in update_attrib_vcs_info() local
384 if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_ATHEROS) && (pattrib->ampdu_en == true) && in update_attrib_vcs_info()
402 u8 HTOpMode = pmlmeinfo->HT_protection; in update_attrib_vcs_info()
Drtw_cmd.c687 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtw_joinbss_cmd() local
778 pmlmeinfo->assoc_AP_vendor = check_assoc_AP(pnetwork->network.ies, pnetwork->network.ie_length); in rtw_joinbss_cmd()
Drtw_recv.c313 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in recvframe_chkmic() local
355 if ((IS_MCAST(prxattrib->ra) == true) && (prxattrib->key_index != pmlmeinfo->key_index)) in recvframe_chkmic()
/drivers/staging/r8188eu/hal/
Drtl8188e_cmd.c209 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in ConstructBeacon() local
210 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in ConstructBeacon()
243 if ((pmlmeinfo->state & 0x03) == WIFI_FW_AP_STATE) { in ConstructBeacon()
262 if ((pmlmeinfo->state & 0x03) == WIFI_FW_ADHOC_STATE) { in ConstructBeacon()
289 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in ConstructPSPoll() local
301 SetDuration(pframe, (pmlmeinfo->aid | 0xc000)); in ConstructPSPoll()
304 memcpy(pwlanhdr->addr1, get_my_bssid(&pmlmeinfo->network), ETH_ALEN); in ConstructPSPoll()
326 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in ConstructNullFunctionData() local
338 memcpy(pwlanhdr->addr1, get_my_bssid(&pmlmeinfo->network), ETH_ALEN); in ConstructNullFunctionData()
345 memcpy(pwlanhdr->addr2, get_my_bssid(&pmlmeinfo->network), ETH_ALEN); in ConstructNullFunctionData()
[all …]
Dusb_halinit.c949 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in UpdateHalRAMask8188EUsb() local
950 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in UpdateHalRAMask8188EUsb()
954 psta = pmlmeinfo->FW_sta_info[mac_id].psta; in UpdateHalRAMask8188EUsb()
963 mask |= (pmlmeinfo->HT_enable) ? update_MSC_rate(&pmlmeinfo->HT_caps) : 0; in UpdateHalRAMask8188EUsb()
964 if (support_short_GI(adapt, &pmlmeinfo->HT_caps)) in UpdateHalRAMask8188EUsb()
968 supportRateNum = rtw_get_rateset_len(pmlmeinfo->FW_sta_info[mac_id].SupportedRates); in UpdateHalRAMask8188EUsb()
977 supportRateNum = rtw_get_rateset_len(pmlmeinfo->FW_sta_info[mac_id].SupportedRates); in UpdateHalRAMask8188EUsb()
978 …networkType = judge_network_type(adapt, pmlmeinfo->FW_sta_info[mac_id].SupportedRates, supportRate… in UpdateHalRAMask8188EUsb()
1017 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in SetBeaconRelatedRegisters8188EUsb() local
1024 rtw_write16(adapt, REG_BCN_INTERVAL, pmlmeinfo->bcn_interval); in SetBeaconRelatedRegisters8188EUsb()
Dodm.c512 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in odm_EdcaTurboCheck() local
517 if (pmlmeinfo->assoc_AP_vendor >= HT_IOT_PEER_MAX) in odm_EdcaTurboCheck()
526 if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_RALINK) || in odm_EdcaTurboCheck()
527 (pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_ATHEROS)) { in odm_EdcaTurboCheck()
546 …if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_CISCO) && (pmlmeext->cur_wireless_mode & WIRELESS_1… in odm_EdcaTurboCheck()
547 edca_param = EDCAParam[pmlmeinfo->assoc_AP_vendor][trafficIndex]; in odm_EdcaTurboCheck()
Drtl8188eu_xmit.c160 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in update_txdesc() local
238 if (pmlmeinfo->preamble_mode == PREAMBLE_SHORT) in update_txdesc()
/drivers/staging/rtl8723bs/hal/
Drtl8723b_cmd.c114 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in ConstructBeacon() local
115 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in ConstructBeacon()
149 if ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE) { in ConstructBeacon()
168 if ((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE) { in ConstructBeacon()
201 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in ConstructPSPoll() local
212 SetDuration(pframe, (pmlmeinfo->aid | 0xc000)); in ConstructPSPoll()
215 memcpy(pwlanhdr->addr1, get_my_bssid(&(pmlmeinfo->network)), ETH_ALEN); in ConstructPSPoll()
240 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in ConstructNullFunctionData() local
252 memcpy(pwlanhdr->addr1, get_my_bssid(&(pmlmeinfo->network)), ETH_ALEN); in ConstructNullFunctionData()
259 memcpy(pwlanhdr->addr2, get_my_bssid(&(pmlmeinfo->network)), ETH_ALEN); in ConstructNullFunctionData()
[all …]
Dodm_EdcaTurboCheck.c64 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in odm_EdcaTurboCheckCE() local
90 iot_peer = pmlmeinfo->assoc_AP_vendor; in odm_EdcaTurboCheckCE()
Drtl8723b_hal_init.c1766 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtl8723b_SetBeaconRelatedRegisters() local
1792 rtw_write16(padapter, REG_BCN_INTERVAL, pmlmeinfo->bcn_interval); in rtl8723b_SetBeaconRelatedRegisters()
1858 struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); in UpdateHalRAMask8723B() local
1863 psta = pmlmeinfo->FW_sta_info[mac_id].psta; in UpdateHalRAMask8723B()
2597 struct mlme_ext_info *pmlmeinfo; in rtl8723b_fill_default_txdesc() local
2607 pmlmeinfo = &(pmlmeext->mlmext_info); in rtl8723b_fill_default_txdesc()
2677 if (pmlmeinfo->preamble_mode == PREAMBLE_SHORT) in rtl8723b_fill_default_txdesc()
2951 struct mlme_ext_info *pmlmeinfo; in hw_var_set_correct_tsf() local
2955 pmlmeinfo = &pmlmeext->mlmext_info; in hw_var_set_correct_tsf()
2957 tsf = pmlmeext->TSFValue-do_div(pmlmeext->TSFValue, (pmlmeinfo->bcn_interval*1024))-1024; /* us */ in hw_var_set_correct_tsf()
[all …]
/drivers/staging/r8188eu/os_dep/
Dioctl_linux.c3234 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in rtw_dbg_port() local
3439 receive_disconnect(padapter, pmlmeinfo->network.MacAddress in rtw_dbg_port()