Home
last modified time | relevance | path

Searched refs:net_type (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/sys/contrib/dev/rtw88/
H A Dwow.h44 return (rtwvif->net_type == RTW_NET_MGD_LINKED); in rtw_wow_mgd_linked()
52 return (rtwvif->net_type == RTW_NET_NO_LINK); in rtw_wow_no_link()
H A Dmac80211.c112 .net_type = {.addr = 0x0100, .mask = 0x30000},
119 .net_type = {.addr = 0x0100, .mask = 0xc0000},
126 .net_type = {.addr = 0x1100, .mask = 0x3},
133 .net_type = {.addr = 0x1100, .mask = 0xc},
140 .net_type = {.addr = 0x1100, .mask = 0x30},
151 enum rtw_net_type net_type; in rtw_ops_add_interface() local
185 net_type = RTW_NET_AP_MODE; in rtw_ops_add_interface()
190 net_type = RTW_NET_AD_HOC; in rtw_ops_add_interface()
195 net_type = RTW_NET_NO_LINK; in rtw_ops_add_interface()
207 rtwvif->net_type = net_type; in rtw_ops_add_interface()
[all …]
H A Dmain.c589 rtwvif->net_type = RTW_NET_MGD_LINKED; in rtw_vif_assoc_changed()
592 rtwvif->net_type = RTW_NET_NO_LINK; in rtw_vif_assoc_changed()
942 addr = rtwvif->conf->net_type.addr; in rtw_vif_port_config()
943 mask = rtwvif->conf->net_type.mask; in rtw_vif_port_config()
944 rtw_write32_mask(rtwdev, addr, mask, rtwvif->net_type); in rtw_vif_port_config()
2375 reg1 = &rtwvif_ap->conf->net_type; in rtw_port_switch_iter()
2376 reg2 = &rtwvif_target->conf->net_type; in rtw_port_switch_iter()
H A Dbf.c145 if (vif->net_type == RTW_NET_AP_MODE) in rtw_bf_cfg_sounding()
H A Dmain.h580 struct rtw_hw_reg net_type; member
803 enum rtw_net_type net_type; member
H A Dwow.c790 switch (rtwvif->net_type) { in rtw_wow_vif_iter()
H A Dfw.c526 if (rtwvif->net_type != RTW_NET_MGD_LINKED) in rtw_fw_default_port()
H A Dcoex.c3888 "Network Type", rtwvif->net_type); in rtw_coex_vif_stat_iter()
H A Drtw8822c.c3155 if (vif->net_type == RTW_NET_AP_MODE) in rtw8822c_bf_enable_bfee_su()
/freebsd-14.2/lib/libc/net/
H A Dgetnetbydns.c265 int net_type; in _dns_getnetbyaddr() local
279 net_type = va_arg(ap, int); in _dns_getnetbyaddr()
301 if (net_type != AF_INET) { in _dns_getnetbyaddr()
/freebsd-14.2/sys/ofed/drivers/infiniband/core/
H A Dib_verbs.c540 enum rdma_network_type net_type, in get_gids_from_rdma_hdr() argument
550 if (net_type == RDMA_NETWORK_IPV4) { in get_gids_from_rdma_hdr()
562 } else if (net_type == RDMA_NETWORK_IPV6 || in get_gids_from_rdma_hdr()
563 net_type == RDMA_NETWORK_IB) { in get_gids_from_rdma_hdr()
579 enum rdma_network_type net_type = RDMA_NETWORK_IB; in ib_init_ah_from_wc() local
588 net_type = wc->network_hdr_type; in ib_init_ah_from_wc()
590 net_type = ib_get_net_type_by_grh(device, port_num, grh); in ib_init_ah_from_wc()
591 gid_type = ib_network_to_gid_type(net_type); in ib_init_ah_from_wc()
593 ret = get_gids_from_rdma_hdr((const union rdma_network_hdr *)grh, net_type, in ib_init_ah_from_wc()
/freebsd-14.2/sys/contrib/dev/rtw89/
H A Dcam.c680 FWCMD_SET_ADDR_NET_TYPE(cmd, rtwvif->net_type); in rtw89_cam_fill_addr_cam_info()
712 if (rtwvif->net_type == RTW89_NET_TYPE_INFRA) in rtw89_cam_fill_addr_cam_info()
714 else if (rtwvif->net_type == RTW89_NET_TYPE_AP_MODE) in rtw89_cam_fill_addr_cam_info()
H A Dser.c304 rtwvif->net_type = RTW89_NET_TYPE_NO_LINK; in ser_reset_vif()
315 if (rtwvif->net_type == RTW89_NET_TYPE_AP_MODE || sta->tdls) in ser_sta_deinit_cam_iter()
H A Dfw.c1724 if (rtwvif->net_type == RTW89_NET_TYPE_AP_MODE) in rtw89_fw_h2c_default_cmac_tbl()
1859 if (rtwvif->net_type == RTW89_NET_TYPE_AP_MODE) in rtw89_fw_h2c_assoc_cmac_tbl()
2035 if (rtwvif->net_type == RTW89_NET_TYPE_AP_MODE) { in rtw89_fw_h2c_role_maintain()
2080 u8 net_type = rtwvif->net_type; in rtw89_fw_h2c_join_info() local
2083 if (net_type == RTW89_NET_TYPE_AP_MODE && rtwsta) { in rtw89_fw_h2c_join_info()
2085 net_type = dis_conn ? RTW89_NET_TYPE_NO_LINK : net_type; in rtw89_fw_h2c_join_info()
2104 SET_JOININFO_NET_TYPE(skb->data, net_type); in rtw89_fw_h2c_join_info()
2289 if (!rtwvif || !bss_conf || rtwvif->net_type != RTW89_NET_TYPE_INFRA) in rtw89_fw_h2c_set_bcn_fltr_cfg()
2383 if (rtwvif->net_type != RTW89_NET_TYPE_INFRA) in rtw89_fw_h2c_tp_offload()
H A Dmac.c3784 rtwvif->net_type); in rtw89_mac_port_cfg_net_type()
3791 bool en = rtwvif->net_type != RTW89_NET_TYPE_NO_LINK; in rtw89_mac_port_cfg_bcn_prct()
3804 bool en = rtwvif->net_type == RTW89_NET_TYPE_INFRA || in rtw89_mac_port_cfg_rx_sw()
3805 rtwvif->net_type == RTW89_NET_TYPE_AD_HOC; in rtw89_mac_port_cfg_rx_sw()
3818 bool en = rtwvif->net_type == RTW89_NET_TYPE_INFRA || in rtw89_mac_port_cfg_rx_sync()
3819 rtwvif->net_type == RTW89_NET_TYPE_AD_HOC; in rtw89_mac_port_cfg_rx_sync()
3831 bool en = rtwvif->net_type == RTW89_NET_TYPE_AP_MODE || in rtw89_mac_port_cfg_tx_sw()
3832 rtwvif->net_type == RTW89_NET_TYPE_AD_HOC; in rtw89_mac_port_cfg_tx_sw()
3943 if (rtwvif->net_type == RTW89_NET_TYPE_AP_MODE) in rtw89_mac_port_cfg_mbssid()
4048 if (!src || tmp->net_type == RTW89_NET_TYPE_INFRA) in rtw89_mac_port_tsf_resync_all()
[all …]
H A Dcore.c1532 rtwvif->net_type == RTW89_NET_TYPE_NO_LINK) in rtw89_stats_trigger_frame()
2845 rtwvif->net_type = RTW89_NET_TYPE_AP_MODE; in rtw89_vif_type_mapping()
2849 rtwvif->net_type = RTW89_NET_TYPE_AD_HOC; in rtw89_vif_type_mapping()
2854 rtwvif->net_type = RTW89_NET_TYPE_INFRA; in rtw89_vif_type_mapping()
2857 rtwvif->net_type = RTW89_NET_TYPE_NO_LINK; in rtw89_vif_type_mapping()
3452 if (rtwvif->net_type != RTW89_NET_TYPE_AP_MODE) in rtw89_core_update_beacon_work()
H A Dwow.c155 switch (rtwvif->net_type) { in rtw89_wow_vif_iter()
H A Dcore.h2907 u8 net_type; member
4837 if (rtwvif->net_type == RTW89_NET_TYPE_AP_MODE || sta->tdls) in rtw89_get_addr_cam_of()
/freebsd-14.2/sys/dev/irdma/
H A Dirdma_kcompat.c396 u8 *dmac, u8 net_type) in irdma_fill_ah_info() argument
398 if (net_type == RDMA_NETWORK_IPV4) { in irdma_fill_ah_info()
563 ah->av.net_type = ib_gid_to_network_type(sgid_attr.gid_type, &sgid); in irdma_create_ah()
582 dmac, ah->av.net_type); in irdma_create_ah()
1307 av->net_type = ib_gid_to_network_type(sgid_attr.gid_type, &sgid); in kc_irdma_set_roce_cm_info()
H A Dirdma_verbs.h81 u8 net_type; member
H A Dirdma_verbs.c897 if (av->net_type == RDMA_NETWORK_IPV6) { in irdma_modify_qp_roce()
908 } else if (av->net_type == RDMA_NETWORK_IPV4) { in irdma_modify_qp_roce()