/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/ |
D | ht.c | 22 struct ieee80211_sta_ht_cap *ht_cap, in __check_htcap_disable() argument 28 ht_cap->cap &= ~flag; in __check_htcap_disable() 34 struct ieee80211_sta_ht_cap *ht_cap, in __check_htcap_enable() argument 41 ht_cap->cap |= flag; in __check_htcap_enable() 45 struct ieee80211_sta_ht_cap *ht_cap) in ieee80211_apply_htcap_overrides() argument 51 if (!ht_cap->ht_supported) in ieee80211_apply_htcap_overrides() 80 ht_cap->mcs.rx_mask[i] &= ~m; /* turn off all masked bits */ in ieee80211_apply_htcap_overrides() 82 ht_cap->mcs.rx_mask[i] |= (m & scaps[i]); in ieee80211_apply_htcap_overrides() 86 __check_htcap_disable(ht_capa, ht_capa_mask, ht_cap, in ieee80211_apply_htcap_overrides() 88 __check_htcap_disable(ht_capa, ht_capa_mask, ht_cap, in ieee80211_apply_htcap_overrides() [all …]
|
D | vht.c | 128 if (!sta->sta.ht_cap.ht_supported) in ieee80211_vht_cap_ie_to_sta_vht_cap() 342 return sta->sta.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ? in ieee80211_sta_cap_rx_bw() 369 if (!sta->sta.ht_cap.ht_supported) in ieee80211_sta_cap_chan_bw() 372 return sta->sta.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ? in ieee80211_sta_cap_chan_bw() 395 if (!sta->sta.ht_cap.ht_supported) in ieee80211_sta_rx_bw_to_chan_width() 467 if (sta->sta.ht_cap.ht_supported) { in ieee80211_sta_set_rx_nss() 468 if (sta->sta.ht_cap.mcs.rx_mask[0]) in ieee80211_sta_set_rx_nss() 470 if (sta->sta.ht_cap.mcs.rx_mask[1]) in ieee80211_sta_set_rx_nss() 472 if (sta->sta.ht_cap.mcs.rx_mask[2]) in ieee80211_sta_set_rx_nss() 474 if (sta->sta.ht_cap.mcs.rx_mask[3]) in ieee80211_sta_set_rx_nss()
|
D | tdls.c | 369 struct ieee80211_sta_ht_cap ht_cap; in ieee80211_tdls_add_setup_start_ies() local 449 memcpy(&ht_cap, &sband->ht_cap, sizeof(ht_cap)); in ieee80211_tdls_add_setup_start_ies() 453 ht_cap.ht_supported) { in ieee80211_tdls_add_setup_start_ies() 454 ieee80211_apply_htcap_overrides(sdata, &ht_cap); in ieee80211_tdls_add_setup_start_ies() 457 ht_cap.cap |= WLAN_HT_CAP_SM_PS_DISABLED in ieee80211_tdls_add_setup_start_ies() 461 ieee80211_ie_build_ht_cap(pos, &ht_cap, ht_cap.cap); in ieee80211_tdls_add_setup_start_ies() 463 ht_cap.ht_supported && sta->sta.ht_cap.ht_supported) { in ieee80211_tdls_add_setup_start_ies() 465 memcpy(&ht_cap, &sta->sta.ht_cap, sizeof(ht_cap)); in ieee80211_tdls_add_setup_start_ies() 468 ieee80211_ie_build_ht_cap(pos, &ht_cap, ht_cap.cap); in ieee80211_tdls_add_setup_start_ies() 471 if (ht_cap.ht_supported && in ieee80211_tdls_add_setup_start_ies() [all …]
|
D | mesh.c | 418 if (!sband->ht_cap.ht_supported || in mesh_add_ht_cap_ie() 428 ieee80211_ie_build_ht_cap(pos, &sband->ht_cap, sband->ht_cap.cap); in mesh_add_ht_cap_ie() 440 struct ieee80211_sta_ht_cap *ht_cap; in mesh_add_ht_oper_ie() local 453 ht_cap = &sband->ht_cap; in mesh_add_ht_oper_ie() 455 if (!ht_cap->ht_supported || in mesh_add_ht_oper_ie() 465 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chandef, in mesh_add_ht_oper_ie()
|
D | rc80211_minstrel_ht.c | 1389 struct ieee80211_mcs_info *mcs = &sta->ht_cap.mcs; in minstrel_ht_update_caps() 1390 u16 ht_cap = sta->ht_cap.cap; in minstrel_ht_update_caps() local 1400 if (!sta->ht_cap.ht_supported) in minstrel_ht_update_caps() 1434 stbc = (ht_cap & IEEE80211_HT_CAP_RX_STBC) >> in minstrel_ht_update_caps() 1437 ldpc = ht_cap & IEEE80211_HT_CAP_LDPC_CODING; in minstrel_ht_update_caps() 1461 if (!(ht_cap & IEEE80211_HT_CAP_SGI_40)) in minstrel_ht_update_caps() 1464 if (!(ht_cap & IEEE80211_HT_CAP_SGI_20)) in minstrel_ht_update_caps()
|
D | ibss.c | 179 sband->ht_cap.ht_supported) { in ieee80211_ibss_build_presp() 180 struct ieee80211_sta_ht_cap ht_cap; in ieee80211_ibss_build_presp() local 182 memcpy(&ht_cap, &sband->ht_cap, sizeof(ht_cap)); in ieee80211_ibss_build_presp() 183 ieee80211_apply_htcap_overrides(sdata, &ht_cap); in ieee80211_ibss_build_presp() 185 pos = ieee80211_ie_build_ht_cap(pos, &ht_cap, ht_cap.cap); in ieee80211_ibss_build_presp() 191 pos = ieee80211_ie_build_ht_oper(pos, &sband->ht_cap, in ieee80211_ibss_build_presp()
|
D | mlme.c | 163 memcpy(&sta_ht_cap, &sband->ht_cap, sizeof(sta_ht_cap)); in ieee80211_determine_chantype() 326 const struct ieee80211_ht_cap *ht_cap, in ieee80211_config_bw() argument 467 struct ieee80211_sta_ht_cap ht_cap; in ieee80211_add_ht_ie() local 469 BUILD_BUG_ON(sizeof(ht_cap) != sizeof(sband->ht_cap)); in ieee80211_add_ht_ie() 471 memcpy(&ht_cap, &sband->ht_cap, sizeof(ht_cap)); in ieee80211_add_ht_ie() 472 ieee80211_apply_htcap_overrides(sdata, &ht_cap); in ieee80211_add_ht_ie() 475 cap = ht_cap.cap; in ieee80211_add_ht_ie() 525 ieee80211_ie_build_ht_cap(pos, &ht_cap, cap); in ieee80211_add_ht_ie() 4726 const struct ieee80211_ht_cap *ht_cap; in ieee80211_ht_vht_rx_chains() local 4734 if (ht_cap_ie && ht_cap_ie[1] >= sizeof(*ht_cap)) { in ieee80211_ht_vht_rx_chains() [all …]
|
D | sta_info.c | 456 smps = (sband->ht_cap.cap & IEEE80211_HT_CAP_SM_PS) >> in sta_info_alloc() 1997 struct ieee80211_sta_ht_cap *ht_cap = &sta->sta.ht_cap; in sta_info_tx_streams() local 2000 if (!sta->sta.ht_cap.ht_supported) in sta_info_tx_streams() 2014 if (ht_cap->mcs.rx_mask[3]) in sta_info_tx_streams() 2016 else if (ht_cap->mcs.rx_mask[2]) in sta_info_tx_streams() 2018 else if (ht_cap->mcs.rx_mask[1]) in sta_info_tx_streams() 2023 if (!(ht_cap->mcs.tx_params & IEEE80211_HT_MCS_TX_RX_DIFF)) in sta_info_tx_streams() 2026 return ((ht_cap->mcs.tx_params & IEEE80211_HT_MCS_TX_MAX_STREAMS_MASK) in sta_info_tx_streams()
|
D | util.c | 1740 if (sband->ht_cap.ht_supported) { in ieee80211_build_preq_ies_band() 1743 pos = ieee80211_ie_build_ht_cap(pos, &sband->ht_cap, in ieee80211_build_preq_ies_band() 1744 sband->ht_cap.cap); in ieee80211_build_preq_ies_band() 2670 u8 *ieee80211_ie_build_ht_cap(u8 *pos, struct ieee80211_sta_ht_cap *ht_cap, in ieee80211_ie_build_ht_cap() argument 2685 *pos++ = ht_cap->ampdu_factor | in ieee80211_ie_build_ht_cap() 2686 (ht_cap->ampdu_density << in ieee80211_ie_build_ht_cap() 2690 memcpy(pos, &ht_cap->mcs, sizeof(ht_cap->mcs)); in ieee80211_ie_build_ht_cap() 2691 pos += sizeof(ht_cap->mcs); in ieee80211_ie_build_ht_cap() 2861 u8 *ieee80211_ie_build_ht_oper(u8 *pos, struct ieee80211_sta_ht_cap *ht_cap, in ieee80211_ie_build_ht_oper() argument 2886 if (ht_cap->cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 && in ieee80211_ie_build_ht_oper() [all …]
|
D | agg-rx.c | 293 if (!sta->sta.ht_cap.ht_supported) { in ___ieee80211_start_rx_ba_session() 318 (!(sta->sta.ht_cap.cap & IEEE80211_HT_CAP_DELAY_BA))) || in ___ieee80211_start_rx_ba_session()
|
D | main.c | 1094 supp_ht = supp_ht || sband->ht_cap.ht_supported; in mac80211_register_hw() 1100 if (!sband->ht_cap.ht_supported) in mac80211_register_hw() 1105 max(ieee80211_mcs_to_chains(&sband->ht_cap.mcs), in mac80211_register_hw() 1109 sband->ht_cap.cap |= WLAN_HT_CAP_SM_PS_DISABLED << in mac80211_register_hw()
|
D | agg-tx.c | 573 if (!pubsta->ht_cap.ht_supported) in mac80211_start_tx_ba_session() 617 !sta->sta.ht_cap.ht_supported) { in mac80211_start_tx_ba_session()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/ |
D | ht.h | 17 struct ieee80211_sta_ht_cap ht_cap; member 33 (ht_info->ht_cap.cap&IEEE80211_HT_CAP_SUP_WIDTH_20_40); in xradio_is_2040BSS() 40 && (ht_info->ht_cap.cap in xradio_ht_ShortGI() 50 (ht_info->ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) && in xradio_ht_greenfield() 59 return ht_info->ht_cap.ampdu_density; in xradio_ht_ampdu_density()
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/fhost/ |
D | wifi_host_config.c | 394 me_config->ht_cap.ht_capa_info = 0; in fhost_config_prepare() 396 me_config->ht_cap.ht_capa_info |= MAC_HTCAPA_LDPC; in fhost_config_prepare() 398 me_config->ht_cap.ht_capa_info |= MAC_HTCAPA_40_MHZ; in fhost_config_prepare() 400 me_config->ht_cap.ht_capa_info |= MAC_HTCAPA_GREEN_FIELD; in fhost_config_prepare() 404 me_config->ht_cap.ht_capa_info |= MAC_HTCAPA_SHORTGI_20; in fhost_config_prepare() 406 me_config->ht_cap.ht_capa_info |= MAC_HTCAPA_SHORTGI_40; in fhost_config_prepare() 409 me_config->ht_cap.ht_capa_info |= MAC_HTCAPA_TX_STBC; in fhost_config_prepare() 410 me_config->ht_cap.ht_capa_info |= (1 << MAC_HTCAPA_RX_STBC_OFT); in fhost_config_prepare() 412 me_config->ht_cap.a_mpdu_param = ((3 << MAC_AMPDU_LEN_EXP_OFT) | in fhost_config_prepare() 414 me_config->ht_cap.mcs_rate[0] = 0xff; /* RX MCS0-7*/ in fhost_config_prepare() [all …]
|
D | wifi_cfg_nx.h | 236 struct mac_htcapability ht_cap; member 665 struct mac_htcapability ht_cap; member
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/ |
D | ioctl_cfg80211.c | 9420 struct ieee80211_sta_ht_cap *sta_ht_cap = &wiphy->bands[chan->band]->ht_cap; in rtw_cfg80211_construct_mesh_beacon_ies() 9421 u8 ht_cap[HT_CAP_IE_LEN]; in rtw_cfg80211_construct_mesh_beacon_ies() local 9424 _rtw_memset(ht_cap, 0, HT_CAP_IE_LEN); in rtw_cfg80211_construct_mesh_beacon_ies() 9428 RTW_PUT_LE16(HT_CAP_ELE_CAP_INFO(ht_cap), sta_ht_cap->cap); in rtw_cfg80211_construct_mesh_beacon_ies() 9429 SET_HT_CAP_ELE_MAX_AMPDU_LEN_EXP(ht_cap, sta_ht_cap->ampdu_factor); in rtw_cfg80211_construct_mesh_beacon_ies() 9430 SET_HT_CAP_ELE_MIN_MPDU_S_SPACE(ht_cap, sta_ht_cap->ampdu_density); in rtw_cfg80211_construct_mesh_beacon_ies() 9431 _rtw_memcpy(HT_CAP_ELE_SUP_MCS_SET(ht_cap), &sta_ht_cap->mcs, 16); in rtw_cfg80211_construct_mesh_beacon_ies() 9432 c = rtw_set_ie(c, WLAN_EID_HT_CAP, HT_CAP_IE_LEN, ht_cap, NULL); in rtw_cfg80211_construct_mesh_beacon_ies() 9937 , struct ieee80211_sta_ht_cap *ht_cap, BAND_TYPE band, u8 rf_type) in rtw_cfg80211_init_ht_capab_ex() argument 9948 ht_cap->cap |= IEEE80211_HT_CAP_LDPC_CODING; in rtw_cfg80211_init_ht_capab_ex() [all …]
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/hdf/ |
D | hdf_mac80211_ap.c | 128 if (cap && cap[1] >= sizeof(*params->ht_cap)) in bdh6_nl80211_calculate_ap_params() 129 params->ht_cap = (void *)(cap + RATE_OFFSET); in bdh6_nl80211_calculate_ap_params()
|
D | hdf_comm.c | 189 hwCapability->htCapability = band->ht_cap.cap; in Bdh6Ghcap() 234 hwCapability->htCapability, band5g->ht_cap.cap, supportedRateCount, in Bdh6Ghcap()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/ |
D | rtw_ap.c | 1084 GET_HT_CAP_TXBF_EXPLICIT_COMP_STEERING_CAP((u8 *)(&phtpriv_sta->ht_cap))) { in update_sta_info_apmode_ht_bf_cap() 1087 …cur_beamform_cap, GET_HT_CAP_TXBF_CHNL_ESTIMATION_NUM_ANTENNAS((u8 *)(&phtpriv_sta->ht_cap)) << 6); in update_sta_info_apmode_ht_bf_cap() 1091 GET_HT_CAP_TXBF_EXPLICIT_COMP_FEEDBACK_CAP((u8 *)(&phtpriv_sta->ht_cap))) { in update_sta_info_apmode_ht_bf_cap() 1094 …SET_FLAG(cur_beamform_cap, GET_HT_CAP_TXBF_COMP_STEERING_NUM_ANTENNAS((u8 *)(&phtpriv_sta->ht_cap)… in update_sta_info_apmode_ht_bf_cap() 1141 …phtpriv_sta->rx_ampdu_min_spacing = (phtpriv_sta->ht_cap.ampdu_params_info & IEEE80211_HT_CAP_AMPD… in update_sta_info_apmode() 1144 …if ((phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info) & cpu_to_le16(IEEE80211_HT_CAP_SU… in update_sta_info_apmode() 1163 …if ((phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info) & cpu_to_le16(IEEE80211_HT_CAP_SG… in update_sta_info_apmode() 1167 …if ((phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info) & cpu_to_le16(IEEE80211_HT_CAP_SG… in update_sta_info_apmode() 1178 GET_HT_CAP_ELE_LDPC_CAP((u8 *)(&phtpriv_sta->ht_cap))) { in update_sta_info_apmode() 1185 GET_HT_CAP_ELE_RX_STBC((u8 *)(&phtpriv_sta->ht_cap))) { in update_sta_info_apmode() [all …]
|
D | rtw_ieee80211.c | 3248 u8 rtw_ht_cap_get_rx_nss(u8 *ht_cap) in rtw_ht_cap_get_rx_nss() argument 3250 u8 *ht_mcs_set = HT_CAP_ELE_SUP_MCS_SET(ht_cap); in rtw_ht_cap_get_rx_nss() 3255 u8 rtw_ht_cap_get_tx_nss(u8 *ht_cap) in rtw_ht_cap_get_tx_nss() argument 3257 u8 *ht_mcs_set = HT_CAP_ELE_SUP_MCS_SET(ht_cap); in rtw_ht_cap_get_tx_nss() 3259 if (GET_HT_CAP_ELE_TX_MCS_DEF(ht_cap) && GET_HT_CAP_ELE_TRX_MCS_NEQ(ht_cap)) in rtw_ht_cap_get_tx_nss() 3260 return GET_HT_CAP_ELE_TX_MAX_SS(ht_cap) + 1; in rtw_ht_cap_get_tx_nss() 3262 return rtw_ht_cap_get_rx_nss(ht_cap); in rtw_ht_cap_get_tx_nss()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/ |
D | ieee80211.h | 359 struct rtw_ieee80211_ht_cap ht_cap; member 384 struct rtw_ieee80211_ht_cap ht_cap; member 2044 u8 rtw_ht_cap_get_rx_nss(u8 *ht_cap); 2045 u8 rtw_ht_cap_get_tx_nss(u8 *ht_cap);
|
D | rtw_ht.h | 49 struct rtw_ieee80211_ht_cap ht_cap; member
|
/device/board/hihope/rk3568/wifi/bcmdhd_wifi6/hdfadapt/ |
D | hdf_bdh_mac80211.c | 425 hwCapability->htCapability = band->ht_cap.cap; in FillBdhBandInfo() 513 hwCapability->htCapability = band2g->ht_cap.cap; in Bdh6Ghcap() 515 band5g->ht_cap.cap, supportedRateCount, band2g->n_bitrates, band5g->n_bitrates); in Bdh6Ghcap() 1184 if (cap && cap[1] >= sizeof(*params->ht_cap)) in bdh6_nl80211_calculate_ap_params() 1185 params->ht_cap = (void *)(cap + RATE_OFFSET); in bdh6_nl80211_calculate_ap_params()
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/macif/ |
D | wifi_msg.h | 1555 struct mac_htcapability ht_cap; member 1625 struct mac_htcapability ht_cap; member
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/ |
D | mac_cfg.h | 371 hi_u8 ht_cap; /* ht能力 */ member
|