Home
last modified time | relevance | path

Searched refs:phy_info (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Drx.c103 struct iwl_rx_phy_info *phy_info, in iwl_mvm_get_signal_strength() argument
110 le32_to_cpu(phy_info->non_cfg_phy[IWL_RX_INFO_ENERGY_ANT_ABC_IDX]); in iwl_mvm_get_signal_strength()
123 rx_status->chains = (le16_to_cpu(phy_info->phy_flags) & in iwl_mvm_get_signal_strength()
207 struct iwl_rx_phy_info *phy_info, in iwl_mvm_rx_handle_tcm() argument
239 mdata->rx.airtime += le16_to_cpu(phy_info->frame_time); in iwl_mvm_rx_handle_tcm()
299 struct iwl_rx_phy_info *phy_info; in iwl_mvm_rx_rx_mpdu() local
313 phy_info = &mvm->last_phy_info; in iwl_mvm_rx_rx_mpdu()
348 rate_n_flags = le32_to_cpu(phy_info->rate_n_flags); in iwl_mvm_rx_rx_mpdu()
351 rx_status->mactime = le64_to_cpu(phy_info->timestamp); in iwl_mvm_rx_rx_mpdu()
352 rx_status->device_timestamp = le32_to_cpu(phy_info->system_timestamp); in iwl_mvm_rx_rx_mpdu()
[all …]
H A Drxmq.c419 struct ieee80211_rx_status *stats, u16 phy_info, in iwl_mvm_rx_crypto() argument
432 if (phy_info & IWL_RX_MPDU_PHY_AMPDU && in iwl_mvm_rx_crypto()
1007 u16 phy_info; member
1683 u16 phy_info = phy_data->phy_info; in iwl_mvm_rx_eht() local
1708 if (!queue && !(phy_info & IWL_RX_MPDU_PHY_AMPDU)) { in iwl_mvm_rx_eht()
1716 if (!queue && (phy_info & IWL_RX_MPDU_PHY_TSF_OVERLOAD) && in iwl_mvm_rx_eht()
1717 (phy_info & IWL_RX_MPDU_PHY_AMPDU) && phy_data->first_subframe) { in iwl_mvm_rx_eht()
1723 if (phy_info & IWL_RX_MPDU_PHY_TSF_OVERLOAD) in iwl_mvm_rx_eht()
1838 u16 phy_info = phy_data->phy_info; in iwl_mvm_rx_he() local
1850 if (!queue && !(phy_info & IWL_RX_MPDU_PHY_AMPDU)) { in iwl_mvm_rx_he()
[all …]
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211_capa.c2295 static int phy_info_freqs(struct phy_info_arg *phy_info, in phy_info_freqs() argument
2340 idx = phy_info->last_chan_idx; in phy_info_freqs()
2350 phy_info->last_chan_idx = idx; in phy_info_freqs()
2543 static int phy_info_band(struct phy_info_arg *phy_info, struct nlattr *nl_band) in phy_info_band() argument
2549 if (phy_info->last_mode != nl_band->nla_type) { in phy_info_band()
2550 mode = os_realloc_array(phy_info->modes, in phy_info_band()
2551 *phy_info->num_modes + 1, in phy_info_band()
2554 phy_info->failed = 1; in phy_info_band()
2557 phy_info->modes = mode; in phy_info_band()
2559 mode = &phy_info->modes[*(phy_info->num_modes)]; in phy_info_band()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mld/
H A Drx.c27 u16 phy_info; member
41 phy_data->phy_info = le16_to_cpu(desc->phy_info); in iwl_mld_fill_phy_data_from_mpdu()
1432 if (phy_data->phy_info & IWL_RX_MPDU_PHY_SHORT_PREAMBLE) in iwl_mld_set_rx_rate()
1967 phy_data->phy_info & IWL_RX_MPDU_PHY_AMPDU_TOGGLE; in iwl_mld_rx_update_ampdu_data()
1977 if (!(phy_data->phy_info & IWL_RX_MPDU_PHY_AMPDU)) in iwl_mld_rx_update_ampdu_data()
1982 if (!(phy_data->phy_info & IWL_RX_MPDU_PHY_AMPDU)) { in iwl_mld_rx_update_ampdu_data()
1985 if (phy_data->phy_info & IWL_RX_MPDU_PHY_EOF_INDICATION) in iwl_mld_rx_update_ampdu_data()
2005 if (phy_data->phy_info & IWL_RX_MPDU_PHY_EOF_INDICATION) in iwl_mld_rx_update_ampdu_data()
2106 if (likely(!(phy_data.phy_info & IWL_RX_MPDU_PHY_TSF_OVERLOAD))) { in iwl_mld_rx_mpdu()
2269 .phy_info = 0, /* short preamble set below */ in iwl_mld_no_data_rx()
[all …]
/freebsd/sys/dev/oce/
H A Doce_mbox.c1542 oce_mbox_get_phy_info(POCE_SOFTC sc, struct oce_phy_info *phy_info) in oce_mbox_get_phy_info() argument
1573 phy_info->phy_type = HOST_16(fwcmd->params.rsp.phy_info.phy_type); in oce_mbox_get_phy_info()
1574 phy_info->interface_type = in oce_mbox_get_phy_info()
1575 HOST_16(fwcmd->params.rsp.phy_info.interface_type); in oce_mbox_get_phy_info()
1576 phy_info->auto_speeds_supported = in oce_mbox_get_phy_info()
1577 HOST_16(fwcmd->params.rsp.phy_info.auto_speeds_supported); in oce_mbox_get_phy_info()
1578 phy_info->fixed_speeds_supported = in oce_mbox_get_phy_info()
1579 HOST_16(fwcmd->params.rsp.phy_info.fixed_speeds_supported); in oce_mbox_get_phy_info()
1580 phy_info->misc_params = HOST_32(fwcmd->params.rsp.phy_info.misc_params); in oce_mbox_get_phy_info()
H A Doce_sysctl.c592 struct oce_phy_info phy_info; in oce_phy_flashing_required() local
594 status = oce_mbox_get_phy_info(sc, &phy_info); in oce_phy_flashing_required()
598 if ((phy_info.phy_type == TN_8022) && in oce_phy_flashing_required()
599 (phy_info.interface_type == PHY_TYPE_BASET_10GB)) { in oce_phy_flashing_required()
H A Doce_if.h1057 int oce_mbox_get_phy_info(POCE_SOFTC sc, struct oce_phy_info *phy_info);
H A Doce_hw.h1629 struct oce_phy_info phy_info; member
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Drx.h678 __le16 phy_info; member
822 __le32 phy_info[2]; member
848 __le32 phy_info[2]; member
/freebsd/sys/dev/iwm/
H A Dif_iwm.c3072 struct iwm_rx_phy_info *phy_info = (void *)pkt->data; in iwm_rx_rx_phy_cmd() local
3076 memcpy(&sc->sc_last_phy_info, phy_info, sizeof(sc->sc_last_phy_info)); in iwm_rx_rx_phy_cmd()
3136 struct iwm_rx_phy_info *phy_info) in iwm_rx_get_signal_strength() argument
3141 val = le32toh(phy_info->non_cfg_phy[IWM_RX_INFO_ENERGY_ANT_ABC_IDX]); in iwm_rx_get_signal_strength()
3186 struct iwm_rx_phy_info *phy_info; in iwm_rx_rx_mpdu() local
3193 phy_info = &sc->sc_last_phy_info; in iwm_rx_rx_mpdu()
3198 if (__predict_false(phy_info->cfg_phy_cnt > 20)) { in iwm_rx_rx_mpdu()
3201 phy_info->cfg_phy_cnt); in iwm_rx_rx_mpdu()
3212 rssi = iwm_rx_get_signal_strength(sc, phy_info); in iwm_rx_rx_mpdu()
3233 le16toh(phy_info->channel), in iwm_rx_rx_mpdu()
[all …]
H A Dif_iwmreg.h3403 uint16_t phy_info; member
/freebsd/sys/contrib/dev/rtw88/
H A Ddebug.c93 struct rtw_debugfs_priv phy_info; member
1235 .phy_info = rtw_debug_priv_get(phy_info),
1272 rtw_debugfs_add_r(phy_info); in rtw_debugfs_add_basic()
/freebsd/sys/dev/mpt/
H A Dmpt_cam.c637 portinfo->phy_info = malloc(sizeof(*portinfo->phy_info) * in mptsas_sas_io_unit_pg0()
639 if (portinfo->phy_info == NULL) { in mptsas_sas_io_unit_pg0()
646 phyinfo = &portinfo->phy_info[i]; in mptsas_sas_io_unit_pg0()
661 mptsas_sas_phy_pg0(struct mpt_softc *mpt, struct mptsas_phyinfo *phy_info, in mptsas_sas_phy_pg0() argument
692 phy_info->hw_link_rate = buffer->HwLinkRate; in mptsas_sas_phy_pg0()
693 phy_info->programmed_link_rate = buffer->ProgrammedLinkRate; in mptsas_sas_phy_pg0()
694 phy_info->identify.dev_handle = le16toh(buffer->OwnerDevHandle); in mptsas_sas_phy_pg0()
695 phy_info->attached.dev_handle = le16toh(buffer->AttachedDevHandle); in mptsas_sas_phy_pg0()
774 phyinfo = &portinfo->phy_info[i]; in mpt_read_config_info_sas()
859 phyinfo = &mpt->sas_portinfo->phy_info[i]; in mpt_set_initial_config_sas()
H A Dmpt.h527 struct mptsas_phyinfo *phy_info; member
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_def.h477 struct phy_info { struct
/freebsd/sys/dev/ice/
H A Dice_common.c4109 struct ice_phy_info *phy_info; in ice_get_link_status() local
4115 phy_info = &pi->phy; in ice_get_link_status()
4117 if (phy_info->get_link_info) { in ice_get_link_status()
4125 *link_up = phy_info->link_info.link_info & ICE_AQ_LINK_UP; in ice_get_link_status()
/freebsd/sys/contrib/dev/rtw89/
H A Ddebug.c96 struct rtw89_debugfs_priv phy_info; member
4908 .phy_info = rtw89_debug_priv_get(phy_info),
4956 rtw89_debugfs_add_r(phy_info); in rtw89_debugfs_add_sec1()
/freebsd/sys/dev/iwx/
H A Dif_iwx.c4278 struct iwx_rx_phy_info *phy_info = (void *)pkt->data; in iwx_rx_rx_phy_cmd() local
4284 memcpy(&sc->sc_last_phy_info, phy_info, sizeof(sc->sc_last_phy_info)); in iwx_rx_rx_phy_cmd()
4574 uint16_t phy_info; in iwx_rx_mpdu_mq() local
4714 phy_info = le16toh(desc->phy_info); in iwx_rx_mpdu_mq()
4762 (phy_info & IWX_RX_MPDU_PHY_SHORT_PREAMBLE), in iwx_rx_mpdu_mq()
4777 (phy_info & IWX_RX_MPDU_PHY_SHORT_PREAMBLE), in iwx_rx_mpdu_mq()
H A Dif_iwxreg.h3716 uint16_t phy_info; member