Home
last modified time | relevance | path

Searched refs:HT_caps (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_wlan_util.c649 u8 *HT_cap = (u8 *)(&pmlmeinfo->HT_caps); in HT_caps_handler()
665 if ((pmlmeinfo->HT_caps.ampdu_params_info & 0x3) > (pIE->data[i] & 0x3)) in HT_caps_handler()
668 max_ampdu_len = pmlmeinfo->HT_caps.ampdu_params_info & 0x3; in HT_caps_handler()
670 if ((pmlmeinfo->HT_caps.ampdu_params_info & 0x1c) > (pIE->data[i] & 0x1c)) in HT_caps_handler()
671 min_mpdu_spacing = pmlmeinfo->HT_caps.ampdu_params_info & 0x1c; in HT_caps_handler()
675 pmlmeinfo->HT_caps.ampdu_params_info = max_ampdu_len | min_mpdu_spacing; in HT_caps_handler()
681 ((u8 *)&pmlmeinfo->HT_caps.mcs)[i] &= MCS_rate_1R[i]; in HT_caps_handler()
725 max_ampdu_len = pmlmeinfo->HT_caps.ampdu_params_info & 0x03; in HTOnAssocRsp()
726 min_mpdu_spacing = (pmlmeinfo->HT_caps.ampdu_params_info & 0x1c) >> 2; in HTOnAssocRsp()
Drtw_ioctl_set.c558 short_GI_20 = (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & IEEE80211_HT_CAP_SGI_20) ? 1 : 0; in rtw_get_cur_max_rate()
559 short_GI_40 = (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & IEEE80211_HT_CAP_SGI_40) ? 1 : 0; in rtw_get_cur_max_rate()
566 pmlmeinfo->HT_caps.mcs.rx_mask in rtw_get_cur_max_rate()
Drtw_ap.c580 max_ampdu_len = pmlmeinfo->HT_caps.ampdu_params_info & 0x03; in update_hw_ht_param()
581 min_mpdu_spacing = (pmlmeinfo->HT_caps.ampdu_params_info & 0x1c) >> 2; in update_hw_ht_param()
587 pmlmeinfo->SM_PS = (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & 0x0C) >> 2; in update_hw_ht_param()
Drtw_mlme_ext.c1118 memcpy(&pmlmeinfo->HT_caps, p + 2, sizeof(struct ieee80211_ht_cap)); in issue_assocreq()
1122 pmlmeinfo->HT_caps.cap_info &= cpu_to_le16(~(BIT(6) | BIT(1))); in issue_assocreq()
1124 pmlmeinfo->HT_caps.cap_info |= cpu_to_le16(BIT(1)); in issue_assocreq()
1127 pmlmeinfo->HT_caps.cap_info |= cpu_to_le16(0x000c); in issue_assocreq()
1130 pmlmeinfo->HT_caps.cap_info |= cpu_to_le16(0x0100);/* RX STBC One spatial stream */ in issue_assocreq()
1131 memcpy((u8 *)&pmlmeinfo->HT_caps.mcs, MCS_rate_1R, 16); in issue_assocreq()
1132 …pframe = rtw_set_ie(pframe, _HT_CAPABILITY_IE_, ie_len, (u8 *)(&pmlmeinfo->HT_caps), &pattrib->pkt… in issue_assocreq()
4422 if (support_short_GI(padapter, &pmlmeinfo->HT_caps)) in update_sta_info()
Drtw_mlme.c1953 (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & BIT(1)) && in rtw_update_ht_cap()
1959 ((u8 *)&pmlmeinfo->HT_caps.mcs)[i] &= MCS_rate_1R[i]; in rtw_update_ht_cap()
1976 pmlmeinfo->SM_PS = (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & 0x0C) >> 2; in rtw_update_ht_cap()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c1039 pmlmeinfo->HT_caps.u.HT_cap[i] &= (pIE->data[i]); in HT_caps_handler()
1042 if ((pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x3) > (pIE->data[i] & 0x3)) in HT_caps_handler()
1045 max_AMPDU_len = (pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x3); in HT_caps_handler()
1047 if ((pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x1c) > (pIE->data[i] & 0x1c)) in HT_caps_handler()
1048 min_MPDU_spacing = (pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x1c); in HT_caps_handler()
1052 pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para = max_AMPDU_len | min_MPDU_spacing; in HT_caps_handler()
1059 pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= pmlmeext->default_supported_mcs_set[i]; in HT_caps_handler()
1065 set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_1R); in HT_caps_handler()
1071 set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_2R_13TO15_OFF); in HT_caps_handler()
1073 set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_2R); in HT_caps_handler()
[all …]
Drtw_mlme.c2793 (le16_to_cpu(pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info) & in rtw_update_ht_cap()
2802 pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= pmlmeext->default_supported_mcs_set[i]; in rtw_update_ht_cap()
2808 set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_1R); in rtw_update_ht_cap()
2814 set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_2R_13TO15_OFF); in rtw_update_ht_cap()
2816 set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_2R); in rtw_update_ht_cap()
2818 set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_2R); in rtw_update_ht_cap()
2843 (le16_to_cpu(pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info) & in rtw_update_ht_cap()
Drtw_ap.c729 max_AMPDU_len = pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x03; in update_hw_ht_param()
732 pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x1c in update_hw_ht_param()
747 pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info in update_hw_ht_param()
Drtw_mlme_ext.c3380 memcpy(&(pmlmeinfo->HT_caps), pIE->data, sizeof(struct HT_caps_element)); in issue_assocreq()
3381 …pframe = rtw_set_ie(pframe, EID_HTCapability, pIE->Length, (u8 *)(&(pmlmeinfo->HT_caps)), &(pattri… in issue_assocreq()
5338 …psta->htpriv.rx_ampdu_min_spacing = (pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para&IEEE80211_HT_C… in update_sta_info()
5340 if (support_short_GI(padapter, &(pmlmeinfo->HT_caps), CHANNEL_WIDTH_20)) in update_sta_info()
5343 if (support_short_GI(padapter, &(pmlmeinfo->HT_caps), CHANNEL_WIDTH_40)) in update_sta_info()
5352 memcpy(&psta->htpriv.ht_cap, &pmlmeinfo->HT_caps, sizeof(struct rtw_ieee80211_ht_cap)); in update_sta_info()
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Drtw_mlme_ext.h338 struct ieee80211_ht_cap HT_caps; member
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drtw_mlme_ext.h413 struct HT_caps_element HT_caps; member
/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Dusb_halinit.c1899 mask |= (pmlmeinfo->HT_enable) ? update_MSC_rate(&pmlmeinfo->HT_caps) : 0; in UpdateHalRAMask8188EUsb()
1900 if (support_short_GI(adapt, &pmlmeinfo->HT_caps)) in UpdateHalRAMask8188EUsb()