/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | link.c | 85 struct iwl_mvm_vif_link_info *link_info = in iwl_mvm_add_link() 88 if (link_info->fw_link_id == IWL_MVM_FW_LINK_ID_INVALID) { in iwl_mvm_add_link() 89 link_info->fw_link_id = iwl_mvm_get_free_fw_link_id(mvm, in iwl_mvm_add_link() 91 if (link_info->fw_link_id >= in iwl_mvm_add_link() 95 rcu_assign_pointer(mvm->link_id_to_link_conf[link_info->fw_link_id], in iwl_mvm_add_link() 107 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id]; in iwl_mvm_link_changed() 113 if (WARN_ON_ONCE(!link_info)) in iwl_mvm_link_changed() 126 cmd.link_id = cpu_to_le32(link_info->fw_link_id); in iwl_mvm_link_changed() 129 WARN_ON_ONCE(link_info->phy_ctxt); in iwl_mvm_link_changed() 138 cmd.listen_lmac = cpu_to_le32(link_info in iwl_mvm_link_changed() 54 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id]; iwl_mvm_add_link() local 103 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id]; iwl_mvm_link_changed() local 243 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id]; iwl_mvm_remove_link() local [all...] |
H A D | coex.c | 222 struct iwl_mvm_vif_link_info *link_info, 225 link_info->bf_data.last_bt_coex_event = rssi; in iwl_mvm_bt_coex_enable_rssi_event() 226 link_info->bf_data.bt_coex_max_thold = in iwl_mvm_bt_coex_enable_rssi_event() 228 link_info->bf_data.bt_coex_min_thold = in iwl_mvm_bt_coex_enable_rssi_event() 337 struct iwl_mvm_vif_link_info *link_info; in iwl_mvm_bt_notif_per_link() 343 link_info = mvmvif->link[link_id]; in iwl_mvm_bt_notif_per_link() 344 if (!link_info) in iwl_mvm_bt_notif_per_link() 364 iwl_mvm_bt_coex_reduced_txp(mvm, link_info->ap_sta_id, in iwl_mvm_bt_notif_per_link() 366 iwl_mvm_bt_coex_enable_rssi_event(mvm, link_info, false, in iwl_mvm_bt_notif_per_link() 389 if (link_info in iwl_mvm_bt_notif_per_link() 270 struct iwl_mvm_vif_link_info *link_info; iwl_mvm_bt_notif_per_link() local [all...] |
H A D | mld-key.c | 17 struct iwl_mvm_vif_link_info *link_info = &mvmvif->deflink; in iwl_mvm_get_sec_sta_mask() local 22 link_info = mvmvif->link[keyconf->link_id]; in iwl_mvm_get_sec_sta_mask() 23 if (!link_info) in iwl_mvm_get_sec_sta_mask() 32 return BIT(link_info->bcast_sta.sta_id); in iwl_mvm_get_sec_sta_mask() 34 return BIT(link_info->mcast_sta.sta_id); in iwl_mvm_get_sec_sta_mask() 44 * Since this happens for group keys only, just use the link_info as in iwl_mvm_get_sec_sta_mask() 51 return BIT(link_info->ap_sta_id); in iwl_mvm_get_sec_sta_mask()
|
H A D | utils.c | 516 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id]; in iwl_mvm_update_low_latency() 518 if (link_info->phy_ctxt != data->ctxt) 522 if (link_info->smps_requests[i] == IEEE80211_SMPS_STATIC || 523 link_info->smps_requests[i] == IEEE80211_SMPS_DYNAMIC) { in iwl_mvm_ll_iter() 426 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id]; iwl_mvm_diversity_iter() local
|
H A D | mld-sta.c | 439 struct iwl_mvm_vif_link_info *link_info = in iwl_mvm_mld_cfg_sta() 448 if (WARN_ON(link_info->fw_link_id == IWL_MVM_FW_LINK_ID_INVALID)) in iwl_mvm_mld_cfg_sta() 451 cmd.link_id = cpu_to_le32(link_info->fw_link_id); in iwl_mvm_mld_cfg_sta() 436 struct iwl_mvm_vif_link_info *link_info = iwl_mvm_mld_cfg_sta() local
|
H A D | power.c | 532 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id]; 537 if (link_info->ap_sta_id == *ap_sta_id) { in iwl_mvm_power_uapsd_misbehaving_ap_notif() 519 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id]; iwl_mvm_power_uapsd_misbehav_ap_iterator() local
|
H A D | scan.c | 2407 struct iwl_mvm_vif_link_info *link_info = in iwl_mvm_scan_umac_fill_ch_p_v7() 2411 if (!WARN_ON(!link_info)) in iwl_mvm_scan_umac_fill_ch_p_v7() 2412 gp->scan_start_mac_or_link_id = link_info->fw_link_id; in iwl_mvm_scan_umac_fill_ch_p_v7() 3255 struct iwl_mvm_vif_link_info *link_info = in iwl_mvm_scan_stop_wait() 3261 if (link_info) in iwl_mvm_scan_stop_wait() 3262 memcpy(info.tsf_bssid, link_info->bssid, ETH_ALEN); in iwl_mvm_scan_stop_wait() 2352 struct iwl_mvm_vif_link_info *link_info; iwl_mvm_scan_umac_fill_general_p_v12() local
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | if_bnxt.c | 2676 struct bnxt_link_info *link_info = &softc->link_info; in bnxt_get_port_module_status() 2677 struct hwrm_port_phy_qcfg_output *resp = &link_info->phy_qcfg_resp; in bnxt_get_port_module_status() 2683 module_status = link_info->module_status; in bnxt_get_port_module_status() 3016 struct bnxt_link_info *link_info = &softc->link_info; in bnxt_media_status() 3018 uint64_t target_baudrate = bnxt_get_baudrate(link_info); in bnxt_media_status() 3026 if (link_info->link_up) in bnxt_media_status() 3031 if (link_info->duplex == HWRM_PORT_PHY_QCFG_OUTPUT_DUPLEX_CFG_FULL) in bnxt_media_status() 3048 if (link_info in bnxt_media_status() 2672 struct bnxt_link_info *link_info = &softc->link_info; bnxt_get_port_module_status() local 3012 struct bnxt_link_info *link_info = &softc->link_info; bnxt_media_status() local 3913 struct bnxt_link_info *link_info = &softc->link_info; bnxt_probe_phy() local 4019 struct bnxt_link_info *link_info = &softc->link_info; bnxt_add_media_types() local 4192 struct bnxt_link_info *link_info = &softc->link_info; bnxt_update_link() local 4256 struct bnxt_link_info *link_info = &softc->link_info; bnxt_report_link() local 4667 struct bnxt_link_info *link_info = &softc->link_info; get_phy_type() local [all...] |
H A D | bnxt_hwrm.c | 1278 struct bnxt_link_info *link_info = &softc->link_info; in bnxt_hwrm_set_link_common() local 1279 uint8_t autoneg = softc->link_info.autoneg; in bnxt_hwrm_set_link_common() 1280 uint16_t fw_link_speed = softc->link_info.req_link_speed; in bnxt_hwrm_set_link_common() 1290 if (link_info->advertising) { in bnxt_hwrm_set_link_common() 1292 req->auto_link_speed_mask = htole16(link_info->advertising); in bnxt_hwrm_set_link_common() 1305 if (link_info->force_pam4_speed_set_by_user) { in bnxt_hwrm_set_link_common() 1308 link_info->force_pam4_speed_set_by_user = false; in bnxt_hwrm_set_link_common() 1322 struct bnxt_link_info *link_info = &softc->link_info; in bnxt_hwrm_set_pause_common() local 1324 if (link_info->flow_ctrl.autoneg) { in bnxt_hwrm_set_pause_common() 1327 if (link_info->flow_ctrl.rx) in bnxt_hwrm_set_pause_common() [all …]
|
H A D | bnxt.h | 261 #define BNXT_IS_FLOW_CTRL_CHANGED(link_info) \ 262 ((link_info->last_flow_ctrl.tx != link_info->flow_ctrl.tx) || \ 263 (link_info->last_flow_ctrl.rx != link_info->flow_ctrl.rx) || \ 264 (link_info->last_flow_ctrl.autoneg != link_info->flow_ctrl.autoneg)) 991 struct bnxt_link_info link_info; 260 BNXT_IS_FLOW_CTRL_CHANGED(link_info) global() argument 990 struct bnxt_link_info link_info; global() member
|
H A D | bnxt_sysctl.c | 1706 val = softc->link_info.flow_ctrl.arg; \ in BNXT_HW_LRO_FN() 1714 if (softc->link_info.flow_ctrl.arg != val) { \ in BNXT_HW_LRO_FN() 1715 softc->link_info.flow_ctrl.arg = val; \ in BNXT_HW_LRO_FN()
|
/freebsd/sys/gnu/gcov/ |
H A D | gcov_subr.c | 98 linker_file_t link_info; in within_module() local 102 link_info = module_file(mod); in within_module() 103 mod_addr = (vm_offset_t)link_info->address; in within_module() 104 mod_size = link_info->size; in within_module()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | ieee802_11_eht.c | 1158 struct mld_link_info *link_info; in hostapd_process_ml_assoc_req() local 1305 link_info = &info->links[control & in hostapd_process_ml_assoc_req() 1335 link_info->nstr_bitmap_len = 2; in hostapd_process_ml_assoc_req() 1337 link_info->nstr_bitmap_len = 1; in hostapd_process_ml_assoc_req() 1340 sta_info_len += link_info->nstr_bitmap_len; in hostapd_process_ml_assoc_req() 1353 os_memcpy(link_info->peer_addr, pos, ETH_ALEN); in hostapd_process_ml_assoc_req() 1357 MAC2STR(link_info->peer_addr)); in hostapd_process_ml_assoc_req() 1363 if (link_info->nstr_bitmap_len) { in hostapd_process_ml_assoc_req() 1364 os_memcpy(link_info->nstr_bitmap, pos, in hostapd_process_ml_assoc_req() 1365 link_info->nstr_bitmap_len); in hostapd_process_ml_assoc_req() [all …]
|
H A D | beacon.c | 973 struct mld_link_info *link_info; in hostapd_fill_probe_resp_ml_params() local 996 link_info = ¶ms->mld_info->links[mld_link_id]; in hostapd_fill_probe_resp_ml_params() 1018 link_info->valid = true; in hostapd_fill_probe_resp_ml_params() 1028 link_info->resp_sta_profile_len = epos - buf; in hostapd_fill_probe_resp_ml_params() 1029 os_free(link_info->resp_sta_profile); in hostapd_fill_probe_resp_ml_params() 1030 link_info->resp_sta_profile = os_memdup( in hostapd_fill_probe_resp_ml_params() 1031 buf, link_info->resp_sta_profile_len); in hostapd_fill_probe_resp_ml_params() 1032 if (!link_info->resp_sta_profile) in hostapd_fill_probe_resp_ml_params() 1033 link_info->resp_sta_profile_len = 0; in hostapd_fill_probe_resp_ml_params() 1034 os_memcpy(link_info->local_addr, link->own_addr, ETH_ALEN); in hostapd_fill_probe_resp_ml_params() [all …]
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | coex.c | 813 struct rtw89_btc_bt_link_info *bt_linfo = &bt->link_info; in _chk_btc_err() 840 wl_linfo = &wl->link_info[i]; in _chk_btc_err() 1105 if (cnt == 0 && bt->link_info.slave_role) in _chk_btc_report() 1162 struct rtw89_btc_bt_link_info *bt_linfo = &bt->link_info; in _chk_btc_report() 1950 else if (bt->link_info.status.map.connect == 0) in _fw_set_drv_info() 2884 struct rtw89_btc_bt_link_info *b = &bt->link_info; in rtw89_btc_set_policy_v1() 2970 struct rtw89_btc_bt_link_info *bt_linfo = &bt->link_info; in rtw89_btc_set_policy_v1() 2997 struct rtw89_btc_bt_link_info *b = &bt->link_info; in rtw89_btc_set_policy_v1() 3150 struct rtw89_btc_bt_link_info *bt_linfo = &bt->link_info; in rtw89_btc_set_policy_v1() 3615 struct rtw89_btc_bt_hid_desc *hid = &btc->cx.bt.link_info in _action_bt_pan() 5943 struct rtw89_btc_wl_link_info *link_info = NULL; rtw89_btc_ntfy_wl_sta_iter() local [all...] |
/freebsd/sys/dev/ixl/ |
H A D | ixl_pf_iflib.c | 405 struct i40e_link_status *link_info = &hw->phy.link_info; in ixl_link_event() local 417 if ((link_info->link_info & I40E_AQ_MEDIA_AVAILABLE) && in ixl_link_event() 420 (!(link_info->an_info & I40E_AQ_QUALIFIED_MODULE)) && in ixl_link_event() 421 (!(link_info->link_info & I40E_AQ_LINK_UP))) in ixl_link_event()
|
H A D | i40e_common.c | 1245 switch (hw->phy.link_info.phy_type) { in i40e_get_media_type() 1964 struct i40e_link_status *hw_link_info = &hw->phy.link_info; in i40e_aq_get_link_info() 1990 hw_link_info->link_info = resp->link_info; in i40e_aq_get_link_info() 2883 *link_up = hw->phy.link_info.link_info & I40E_AQ_LINK_UP; in i40e_get_link_status() 2902 if (((hw->phy.link_info.link_info & I40E_AQ_MEDIA_AVAILABLE) && in i40e_update_link_info() 2903 ((hw->phy.link_info.link_info & I40E_AQ_LINK_UP) || in i40e_update_link_info() 2904 !(hw->phy.link_info_old.link_info & I40E_AQ_LINK_UP))) || in i40e_update_link_info() 2915 hw->phy.link_info.req_fec_info = in i40e_update_link_info() 2919 hw->phy.link_info.req_fec_info = in i40e_update_link_info() 2924 i40e_memcpy(hw->phy.link_info.module_type, &abilities.module_type, in i40e_update_link_info() [all …]
|
H A D | ixl_pf_main.c | 747 fec_abilities = hw->phy.link_info.req_fec_info; in ixl_link_up_msg() 756 if (hw->phy.link_info.fec_info & I40E_AQ_CONFIG_FEC_RS_ENA) in ixl_link_up_msg() 758 else if (hw->phy.link_info.fec_info & I40E_AQ_CONFIG_FEC_KR_ENA) in ixl_link_up_msg() 765 ixl_link_speed_string(hw->phy.link_info.link_speed), in ixl_link_up_msg() 767 (hw->phy.link_info.an_info & I40E_AQ_AN_COMPLETED) ? "True" : "False", in ixl_link_up_msg() 768 (hw->phy.link_info.an_info & I40E_AQ_LINK_PAUSE_TX && in ixl_link_up_msg() 769 hw->phy.link_info.an_info & I40E_AQ_LINK_PAUSE_RX) ? in ixl_link_up_msg() 770 ixl_fc_string[3] : (hw->phy.link_info.an_info & I40E_AQ_LINK_PAUSE_TX) ? in ixl_link_up_msg() 771 ixl_fc_string[2] : (hw->phy.link_info.an_info & I40E_AQ_LINK_PAUSE_RX) ? in ixl_link_up_msg() 2874 ixl_link_speed_string(hw->phy.link_info.link_speed)), in ixl_sysctl_current_speed() [all …]
|
H A D | if_ixl.c | 1345 baudrate = ixl_max_aq_speed_to_value(hw->phy.link_info.link_speed); in ixl_update_link_status() 1529 switch (hw->phy.link_info.phy_type) { in ixl_if_media_status() 1645 if (hw->phy.link_info.an_info & I40E_AQ_LINK_PAUSE_TX) in ixl_if_media_status() 1647 if (hw->phy.link_info.an_info & I40E_AQ_LINK_PAUSE_RX) in ixl_if_media_status()
|
H A D | i40e_type.h | 259 u8 link_info; member 292 struct i40e_link_status link_info; member
|
H A D | i40e_adminq_cmd.h | 2172 u8 link_info; member
|
/freebsd/sys/dev/ice/ |
H A D | ice_common.c | 460 if (!(pi->phy.link_info.link_info & ICE_AQ_MEDIA_AVAILABLE)) in ice_aq_get_phy_caps() 591 ice_memcpy(pi->phy.link_info.module_type, &pcaps->module_type, in ice_find_netlist_node() 592 sizeof(pi->phy.link_info.module_type), in ice_find_netlist_node() 690 li = &pi->phy.link_info; in ice_aq_get_link_info() 711 li->link_info = link_data.link_info; in ice_fill_tx_timer_and_fc_thresh() 741 ice_debug(hw, ICE_DBG_LINK, " link_info = 0x%x\n", li->link_info); 3665 li = &pi->phy.link_info; [all...] |
H A D | ice_lib.c | 886 switch (pi->phy.link_info.link_speed) { in ice_aq_speed_to_rate() 926 switch (pi->phy.link_info.link_speed) { in ice_aq_speed_to_str() 2203 if (pi->phy.link_info.topo_media_conflict & in ice_process_ctrlq_event() 2209 if ((pi->phy.link_info.link_info & ICE_AQ_MEDIA_AVAILABLE) && in ice_process_ctrlq_event() 2210 !(pi->phy.link_info.link_info & ICE_AQ_LINK_UP)) { in ice_process_ctrlq_event() 2211 if (!(pi->phy.link_info.an_info & ICE_AQ_QUALIFIED_MODULE)) in ice_process_ctrlq_event() 2214 if (pi->phy.link_info.link_cfg_err & ICE_AQ_LINK_MODULE_POWER_UNSUPPORTED) in ice_process_ctrlq_event() 2217 if (pi->phy.link_info in ice_process_ctrlq_event() [all...] |
H A D | ice_type.h | 354 u8 link_info; 385 struct ice_link_status link_info; 338 u8 link_info; global() member 369 struct ice_link_status link_info; global() member
|
H A D | if_ice_iflib.c | 725 if (!(hw->port_info->phy.link_info_old.link_info & ICE_AQ_LINK_UP)) in ice_update_link_status() 1925 struct ice_link_status *li = &sc->hw.port_info->phy.link_info; in ice_if_media_status() 2155 if (pi->phy.link_info.link_info & ICE_AQ_MEDIA_AVAILABLE) { in ice_poll_for_media_avail()
|