/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | rs.c | 1247 if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported) in rs_switch_to_mimo2() 1302 if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported) in rs_switch_to_mimo3() 1358 if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported) in rs_switch_to_siso() 1578 struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap; in rs_move_siso_to_other() local 1672 if (!tbl->is_ht40 && !(ht_cap->cap & in rs_move_siso_to_other() 1675 if (tbl->is_ht40 && !(ht_cap->cap & in rs_move_siso_to_other() 1748 struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap; in rs_move_mimo2_to_other() local 1838 if (!tbl->is_ht40 && !(ht_cap in rs_move_mimo2_to_other() 1916 struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap; rs_move_mimo3_to_other() local 2771 struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap; iwl_rs_rate_init() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | rs.c | 1225 if (!conf_is_ht(conf) || !sta->deflink.ht_cap.ht_supported) in rs_switch_to_mimo2() 1280 if (!conf_is_ht(conf) || !sta->deflink.ht_cap.ht_supported) in rs_switch_to_mimo3() 1336 if (!conf_is_ht(conf) || !sta->deflink.ht_cap.ht_supported) in rs_switch_to_siso() 1556 struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in rs_move_siso_to_other() local 1650 if (!tbl->is_ht40 && !(ht_cap->cap & in rs_move_siso_to_other() 1653 if (tbl->is_ht40 && !(ht_cap->cap & in rs_move_siso_to_other() 1726 struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in rs_move_mimo2_to_other() local 1816 if (!tbl->is_ht40 && !(ht_cap in rs_move_mimo2_to_other() 1894 struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; rs_move_mimo3_to_other() local 2749 struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; iwl_rs_rate_init() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
H A D | cw1200.h | 54 struct ieee80211_sta_ht_cap ht_cap; member 308 (ht_info->ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) && in cw1200_ht_greenfield() 317 return ht_info->ht_cap.ampdu_density; in cw1200_ht_ampdu_density()
|
/kernel/linux/linux-6.6/drivers/net/wireless/st/cw1200/ |
H A D | cw1200.h | 54 struct ieee80211_sta_ht_cap ht_cap; member 308 (ht_info->ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) && in cw1200_ht_greenfield() 317 return ht_info->ht_cap.ampdu_density; in cw1200_ht_ampdu_density()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac_mcu.c | 785 struct ieee80211_sta_ht_cap *ht_cap; in mt76_connac_get_phy_mode_v2() local 791 ht_cap = &sta->deflink.ht_cap; in mt76_connac_get_phy_mode_v2() 798 ht_cap = &sband->ht_cap; in mt76_connac_get_phy_mode_v2() 806 if (ht_cap->ht_supported) in mt76_connac_get_phy_mode_v2() 814 if (ht_cap->ht_supported) in mt76_connac_get_phy_mode_v2() 844 if (sta->deflink.ht_cap.ht_supported) { in mt76_connac_mcu_sta_tlv() 849 ht->ht_cap = cpu_to_le16(sta->deflink.ht_cap in mt76_connac_mcu_sta_tlv() 1290 struct ieee80211_sta_ht_cap *ht_cap; mt76_connac_get_phy_mode() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
H A D | rtw_ap.c | 590 phtpriv_sta->ht_cap.ampdu_params_info & IEEE80211_HT_CAP_AMPDU_DENSITY in update_sta_info_apmode() 595 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode() 608 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode() 614 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode() 626 GET_HT_CAPABILITY_ELE_LDPC_CAP((u8 *)(&phtpriv_sta->ht_cap))) { in update_sta_info_apmode() 633 GET_HT_CAPABILITY_ELE_RX_STBC((u8 *)(&phtpriv_sta->ht_cap))) { in update_sta_info_apmode() 691 if ((phtpriv_ap->ht_cap in update_ap_info() 950 u16 cap, ht_cap = false; rtw_check_beacon_data() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/ |
H A D | rtw_ap.c | 487 phtpriv_sta->ht_cap.ampdu_params_info & IEEE80211_HT_CAP_AMPDU_DENSITY in update_sta_info_apmode() 492 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode() 505 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode() 511 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode() 523 GET_HT_CAPABILITY_ELE_LDPC_CAP((u8 *)(&phtpriv_sta->ht_cap))) in update_sta_info_apmode() 528 GET_HT_CAPABILITY_ELE_RX_STBC((u8 *)(&phtpriv_sta->ht_cap))) in update_sta_info_apmode() 584 if ((phtpriv_ap->ht_cap in update_ap_info() 818 u16 cap, ht_cap = false; rtw_check_beacon_data() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mcu.c | 156 struct ieee80211_sta_ht_cap *ht_cap; in mt7915_get_phy_mode() local 162 ht_cap = &sta->ht_cap; in mt7915_get_phy_mode() 174 ht_cap = &sband->ht_cap; in mt7915_get_phy_mode() 182 if (ht_cap->ht_supported) in mt7915_get_phy_mode() 190 if (ht_cap->ht_supported) in mt7915_get_phy_mode() 1613 if (sta->ht_cap.ht_supported) { in mt7915_mcu_sta_tlv() 1618 ht->ht_cap = cpu_to_le16(sta->ht_cap in mt7915_mcu_sta_tlv() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/ |
H A D | rtllib_wx.c | 139 struct ht_capab_ele *ht_cap = NULL; in rtl819x_translate_scan() local 144 ht_cap = (struct ht_capab_ele *) in rtl819x_translate_scan() 147 ht_cap = (struct ht_capab_ele *) in rtl819x_translate_scan() 149 is40M = (ht_cap->ChlWidth) ? 1 : 0; in rtl819x_translate_scan() 150 isShortGI = (ht_cap->ChlWidth) ? in rtl819x_translate_scan() 151 ((ht_cap->ShortGI40Mhz) ? 1 : 0) : in rtl819x_translate_scan() 152 ((ht_cap->ShortGI20Mhz) ? 1 : 0); in rtl819x_translate_scan() 154 max_mcs = HTGetHighestMCSRate(ieee, ht_cap->MCS, in rtl819x_translate_scan()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_wx.c | 134 struct ht_capability_ele *ht_cap = NULL; in rtl819x_translate_scan() local 138 ht_cap = (struct ht_capability_ele *)&network->bssht.bdHTCapBuf[4]; in rtl819x_translate_scan() 140 ht_cap = (struct ht_capability_ele *)&network->bssht.bdHTCapBuf[0]; in rtl819x_translate_scan() 141 is40M = (ht_cap->ChlWidth) ? 1 : 0; in rtl819x_translate_scan() 142 isShortGI = (ht_cap->ChlWidth) ? in rtl819x_translate_scan() 143 ((ht_cap->ShortGI40Mhz) ? 1 : 0) : in rtl819x_translate_scan() 144 ((ht_cap->ShortGI20Mhz) ? 1 : 0); in rtl819x_translate_scan() 146 max_mcs = HTGetHighestMCSRate(ieee, ht_cap->MCS, MCS_FILTER_ALL); in rtl819x_translate_scan()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8192e/ |
H A D | rtllib_wx.c | 122 struct ht_capab_ele *ht_cap = NULL; in rtl819x_translate_scan() local 127 ht_cap = (struct ht_capab_ele *) in rtl819x_translate_scan() 130 ht_cap = (struct ht_capab_ele *) in rtl819x_translate_scan() 132 is40M = (ht_cap->ChlWidth) ? 1 : 0; in rtl819x_translate_scan() 133 isShortGI = (ht_cap->ChlWidth) ? in rtl819x_translate_scan() 134 ((ht_cap->ShortGI40Mhz) ? 1 : 0) : in rtl819x_translate_scan() 135 ((ht_cap->ShortGI20Mhz) ? 1 : 0); in rtl819x_translate_scan() 137 max_mcs = HTGetHighestMCSRate(ieee, ht_cap->MCS, in rtl819x_translate_scan()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_wx.c | 134 struct ht_capability_ele *ht_cap = NULL; in rtl819x_translate_scan() local 138 ht_cap = (struct ht_capability_ele *)&network->bssht.bdHTCapBuf[4]; in rtl819x_translate_scan() 140 ht_cap = (struct ht_capability_ele *)&network->bssht.bdHTCapBuf[0]; in rtl819x_translate_scan() 141 is40M = (ht_cap->ChlWidth) ? 1 : 0; in rtl819x_translate_scan() 142 isShortGI = (ht_cap->ChlWidth) ? in rtl819x_translate_scan() 143 ((ht_cap->ShortGI40Mhz) ? 1 : 0) : in rtl819x_translate_scan() 144 ((ht_cap->ShortGI20Mhz) ? 1 : 0); in rtl819x_translate_scan() 146 max_mcs = HTGetHighestMCSRate(ieee, ht_cap->MCS, MCS_FILTER_ALL); in rtl819x_translate_scan()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | join.c | 855 struct mwifiex_ie_types_htcap *ht_cap; in mwifiex_cmd_802_11_ad_hoc_start() local 1045 ht_cap = (struct mwifiex_ie_types_htcap *) pos; in mwifiex_cmd_802_11_ad_hoc_start() 1046 memset(ht_cap, 0, sizeof(struct mwifiex_ie_types_htcap)); in mwifiex_cmd_802_11_ad_hoc_start() 1047 ht_cap->header.type = cpu_to_le16(WLAN_EID_HT_CAPABILITY); in mwifiex_cmd_802_11_ad_hoc_start() 1048 ht_cap->header.len = in mwifiex_cmd_802_11_ad_hoc_start() 1052 mwifiex_fill_cap_info(priv, radio_type, &ht_cap->ht_cap); in mwifiex_cmd_802_11_ad_hoc_start() 1058 tmp_ht_cap = le16_to_cpu(ht_cap->ht_cap.cap_info); in mwifiex_cmd_802_11_ad_hoc_start() 1061 ht_cap in mwifiex_cmd_802_11_ad_hoc_start() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
H A D | join.c | 843 struct mwifiex_ie_types_htcap *ht_cap; in mwifiex_cmd_802_11_ad_hoc_start() local 1033 ht_cap = (struct mwifiex_ie_types_htcap *) pos; in mwifiex_cmd_802_11_ad_hoc_start() 1034 memset(ht_cap, 0, sizeof(struct mwifiex_ie_types_htcap)); in mwifiex_cmd_802_11_ad_hoc_start() 1035 ht_cap->header.type = cpu_to_le16(WLAN_EID_HT_CAPABILITY); in mwifiex_cmd_802_11_ad_hoc_start() 1036 ht_cap->header.len = in mwifiex_cmd_802_11_ad_hoc_start() 1040 mwifiex_fill_cap_info(priv, radio_type, &ht_cap->ht_cap); in mwifiex_cmd_802_11_ad_hoc_start() 1046 tmp_ht_cap = le16_to_cpu(ht_cap->ht_cap.cap_info); in mwifiex_cmd_802_11_ad_hoc_start() 1049 ht_cap in mwifiex_cmd_802_11_ad_hoc_start() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | mac.c | 1015 const struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap; in ath11k_peer_assoc_h_ht() local 1029 if (!ht_cap->ht_supported) in ath11k_peer_assoc_h_ht() 1041 ht_cap->ampdu_factor)) - 1; in ath11k_peer_assoc_h_ht() 1044 ath11k_parse_mpdudensity(ht_cap->ampdu_density); in ath11k_peer_assoc_h_ht() 1046 arg->peer_ht_caps = ht_cap->cap; in ath11k_peer_assoc_h_ht() 1049 if (ht_cap->cap & IEEE80211_HT_CAP_LDPC_CODING) in ath11k_peer_assoc_h_ht() 1058 if (ht_cap->cap & (IEEE80211_HT_CAP_SGI_20 | in ath11k_peer_assoc_h_ht() 1063 if (ht_cap->cap & IEEE80211_HT_CAP_TX_STBC) { in ath11k_peer_assoc_h_ht() 1068 if (ht_cap in ath11k_peer_assoc_h_ht() 1383 const struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap; ath11k_peer_assoc_h_smps() local 1671 ath11k_setup_peer_smps(struct ath11k *ar, struct ath11k_vif *arvif, const u8 *addr, const struct ieee80211_sta_ht_cap *ht_cap) ath11k_setup_peer_smps() argument 3348 struct ieee80211_sta_ht_cap ht_cap = {0}; ath11k_create_ht_cap() local 3564 u32 ht_cap; ath11k_mac_setup_ht_vht_cap() local 6234 u32 ht_cap = 0; __ath11k_mac_register() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/ |
H A D | mac.c | 1359 const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in ath12k_peer_assoc_h_ht() local 1373 if (!ht_cap->ht_supported) in ath12k_peer_assoc_h_ht() 1385 ht_cap->ampdu_factor)) - 1; in ath12k_peer_assoc_h_ht() 1388 ath12k_parse_mpdudensity(ht_cap->ampdu_density); in ath12k_peer_assoc_h_ht() 1390 arg->peer_ht_caps = ht_cap->cap; in ath12k_peer_assoc_h_ht() 1393 if (ht_cap->cap & IEEE80211_HT_CAP_LDPC_CODING) in ath12k_peer_assoc_h_ht() 1402 if (ht_cap->cap & (IEEE80211_HT_CAP_SGI_20 | in ath12k_peer_assoc_h_ht() 1407 if (ht_cap->cap & IEEE80211_HT_CAP_TX_STBC) { in ath12k_peer_assoc_h_ht() 1412 if (ht_cap in ath12k_peer_assoc_h_ht() 1767 const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; ath12k_peer_assoc_h_smps() local 2244 ath12k_setup_peer_smps(struct ath12k *ar, struct ath12k_vif *arvif, const u8 *addr, const struct ieee80211_sta_ht_cap *ht_cap) ath12k_setup_peer_smps() argument 4073 struct ieee80211_sta_ht_cap ht_cap = {0}; ath12k_create_ht_cap() local 4272 u32 ht_cap; ath12k_mac_setup_ht_vht_cap() local 7207 u32 ht_cap = 0; __ath12k_mac_register() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965-rs.c | 630 return (sta->ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) && in il4965_rs_use_green() 1167 if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported) in il4965_rs_switch_to_mimo2() 1185 if (il_is_ht40_tx_allowed(il, &sta->ht_cap)) in il4965_rs_switch_to_mimo2() 1220 if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported) in il4965_rs_switch_to_siso() 1231 if (il_is_ht40_tx_allowed(il, &sta->ht_cap)) in il4965_rs_switch_to_siso() 1387 struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap; in il4965_rs_move_siso_to_other() local 1448 !(ht_cap->cap & IEEE80211_HT_CAP_SGI_20)) in il4965_rs_move_siso_to_other() 1451 !(ht_cap->cap & IEEE80211_HT_CAP_SGI_40)) in il4965_rs_move_siso_to_other() 1510 struct ieee80211_sta_ht_cap *ht_cap in il4965_rs_move_mimo2_to_other() local 2274 struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap; il4965_rs_rate_init() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965-rs.c | 630 return (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) && in il4965_rs_use_green() 1167 if (!conf_is_ht(conf) || !sta->deflink.ht_cap.ht_supported) in il4965_rs_switch_to_mimo2() 1185 if (il_is_ht40_tx_allowed(il, &sta->deflink.ht_cap)) in il4965_rs_switch_to_mimo2() 1220 if (!conf_is_ht(conf) || !sta->deflink.ht_cap.ht_supported) in il4965_rs_switch_to_siso() 1231 if (il_is_ht40_tx_allowed(il, &sta->deflink.ht_cap)) in il4965_rs_switch_to_siso() 1387 struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in il4965_rs_move_siso_to_other() local 1448 !(ht_cap->cap & IEEE80211_HT_CAP_SGI_20)) in il4965_rs_move_siso_to_other() 1451 !(ht_cap->cap & IEEE80211_HT_CAP_SGI_40)) in il4965_rs_move_siso_to_other() 1510 struct ieee80211_sta_ht_cap *ht_cap in il4965_rs_move_mimo2_to_other() local 2274 struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; il4965_rs_rate_init() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/ |
H A D | mwl8k.c | 1984 if (priv->ap_fw && sta && sta->ht_cap.ht_supported && !eapol_frame && in mwl8k_txq_xmit() 2390 band->ht_cap.ht_supported = 1; in mwl8k_set_ht_caps() 2393 band->ht_cap.cap |= IEEE80211_HT_CAP_MAX_AMSDU; in mwl8k_set_ht_caps() 2395 band->ht_cap.cap |= IEEE80211_HT_CAP_GRN_FLD; in mwl8k_set_ht_caps() 2398 band->ht_cap.ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; in mwl8k_set_ht_caps() 2399 band->ht_cap.ampdu_density = IEEE80211_HT_MPDU_DENSITY_NONE; in mwl8k_set_ht_caps() 2402 band->ht_cap.cap |= IEEE80211_HT_CAP_RX_STBC; in mwl8k_set_ht_caps() 2404 band->ht_cap.cap |= IEEE80211_HT_CAP_TX_STBC; in mwl8k_set_ht_caps() 2406 band->ht_cap.cap |= IEEE80211_HT_CAP_SGI_40; in mwl8k_set_ht_caps() 2408 band->ht_cap in mwl8k_set_ht_caps() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/ |
H A D | mwl8k.c | 1988 if (priv->ap_fw && sta && sta->deflink.ht_cap.ht_supported && !eapol_frame && in mwl8k_txq_xmit() 2394 band->ht_cap.ht_supported = 1; in mwl8k_set_ht_caps() 2397 band->ht_cap.cap |= IEEE80211_HT_CAP_MAX_AMSDU; in mwl8k_set_ht_caps() 2399 band->ht_cap.cap |= IEEE80211_HT_CAP_GRN_FLD; in mwl8k_set_ht_caps() 2402 band->ht_cap.ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; in mwl8k_set_ht_caps() 2403 band->ht_cap.ampdu_density = IEEE80211_HT_MPDU_DENSITY_NONE; in mwl8k_set_ht_caps() 2406 band->ht_cap.cap |= IEEE80211_HT_CAP_RX_STBC; in mwl8k_set_ht_caps() 2408 band->ht_cap.cap |= IEEE80211_HT_CAP_TX_STBC; in mwl8k_set_ht_caps() 2410 band->ht_cap.cap |= IEEE80211_HT_CAP_SGI_40; in mwl8k_set_ht_caps() 2412 band->ht_cap in mwl8k_set_ht_caps() [all...] |
/kernel/linux/linux-5.10/net/wireless/ |
H A D | chan.c | 941 struct ieee80211_sta_ht_cap *ht_cap; in cfg80211_chandef_usable() local 950 ht_cap = &wiphy->bands[chandef->chan->band]->ht_cap; in cfg80211_chandef_usable() 988 if (!ht_cap->ht_supported && in cfg80211_chandef_usable() 1000 if (!ht_cap->ht_supported) in cfg80211_chandef_usable() 1002 if (!(ht_cap->cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) || in cfg80211_chandef_usable() 1003 ht_cap->cap & IEEE80211_HT_CAP_40MHZ_INTOLERANT) in cfg80211_chandef_usable()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
H A D | rc.h | 20 u8 ht_cap; member
|
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
H A D | rtl871x_ht.h | 29 struct rtl_ieee80211_ht_cap ht_cap; member
|
/kernel/linux/linux-6.6/drivers/staging/rtl8712/ |
H A D | rtl871x_ht.h | 29 struct ieee80211_ht_cap ht_cap; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/ |
H A D | rc.h | 20 u8 ht_cap; member
|