Home
last modified time | relevance | path

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

/freebsd/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
191 net_type = RTW_NET_AP_MODE; in rtw_ops_add_interface()
196 net_type = RTW_NET_AD_HOC; in rtw_ops_add_interface()
201 net_type = RTW_NET_NO_LINK; in rtw_ops_add_interface()
213 rtwvif->net_type = net_type; in rtw_ops_add_interface()
[all …]
H A Dmain.c673 rtwvif->net_type = RTW_NET_MGD_LINKED; in rtw_vif_assoc_changed()
676 rtwvif->net_type = RTW_NET_NO_LINK; in rtw_vif_assoc_changed()
1029 addr = rtwvif->conf->net_type.addr; in rtw_vif_port_config()
1030 mask = rtwvif->conf->net_type.mask; in rtw_vif_port_config()
1031 rtw_write32_mask(rtwdev, addr, mask, rtwvif->net_type); in rtw_vif_port_config()
2486 reg1 = &rtwvif_ap->conf->net_type; in rtw_port_switch_iter()
2487 reg2 = &rtwvif_target->conf->net_type; in rtw_port_switch_iter()
H A Dbf.c148 if (vif->net_type == RTW_NET_AP_MODE) in rtw_bf_cfg_sounding()
H A Dwow.c790 switch (rtwvif->net_type) { in rtw_wow_vif_iter()
H A Dmain.h606 struct rtw_hw_reg net_type; member
828 enum rtw_net_type net_type; member
H A Dfw.c608 if (rtwvif->net_type != RTW_NET_MGD_LINKED) in rtw_fw_default_port()
H A Dcoex.c3897 "Network Type", rtwvif->net_type); in rtw_coex_vif_stat_iter()
H A Drtw8822c.c3118 if (vif->net_type == RTW_NET_AP_MODE) in rtw8822c_bf_enable_bfee_su()
/freebsd/sys/contrib/dev/rtw89/
H A Dwow.h102 return rtwvif_link->net_type == RTW89_NET_TYPE_INFRA; in rtw89_wow_mgd_linked()
109 return rtwvif_link->net_type == RTW89_NET_TYPE_NO_LINK; in rtw89_wow_no_link()
H A Dcam.c853 FWCMD_SET_ADDR_NET_TYPE(cmd, rtwvif_link->net_type); in rtw89_cam_fill_addr_cam_info()
886 if (rtwvif_link->net_type == RTW89_NET_TYPE_INFRA) in rtw89_cam_fill_addr_cam_info()
888 else if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE) in rtw89_cam_fill_addr_cam_info()
1088 if (rtwvif_link->net_type == RTW89_NET_TYPE_INFRA) { in rtw89_cam_fill_dctl_sec_cam_info_v2()
1092 } else if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE && sta) { in rtw89_cam_fill_dctl_sec_cam_info_v2()
H A Dser.c310 rtwvif_link->net_type = RTW89_NET_TYPE_NO_LINK; in ser_reset_vif()
334 if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE || sta->tdls) in ser_sta_deinit_cam_iter()
H A Dmac.c4285 if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE) in rtw89_mac_port_cfg_func_sw()
4351 rtwvif_link->net_type); in rtw89_mac_port_cfg_net_type()
4359 bool en = rtwvif_link->net_type != RTW89_NET_TYPE_NO_LINK; in rtw89_mac_port_cfg_bcn_prct()
4373 bool en = rtwvif_link->net_type == RTW89_NET_TYPE_INFRA || in rtw89_mac_port_cfg_rx_sw()
4374 rtwvif_link->net_type == RTW89_NET_TYPE_AD_HOC; in rtw89_mac_port_cfg_rx_sw()
4398 bool en = rtwvif_link->net_type == RTW89_NET_TYPE_INFRA || in rtw89_mac_port_cfg_rx_sync_by_nettype()
4399 rtwvif_link->net_type == RTW89_NET_TYPE_AD_HOC; in rtw89_mac_port_cfg_rx_sync_by_nettype()
4419 bool en = rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE || in rtw89_mac_port_cfg_tx_sw_by_nettype()
4420 rtwvif_link->net_type == RTW89_NET_TYPE_AD_HOC; in rtw89_mac_port_cfg_tx_sw_by_nettype()
4432 if (rtwvif_link->net_type != RTW89_NET_TYPE_AP_MODE) in rtw89_mac_enable_ap_bcn_by_chan()
[all …]
H A Dfw.c3204 if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE)
3430 if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE)
3579 if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE) {
4060 if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE) {
4152 u8 net_type = rtwvif_link->net_type; local
4167 if (net_type == RTW89_NET_TYPE_AP_MODE && rtwsta_link) {
4169 net_type = dis_conn ? RTW89_NET_TYPE_NO_LINK : net_type;
4190 le32_encode_bits(net_type, RTW89_H2C_JOININFO_W0_NET_TYPE) |
4512 if (!rtwvif_link || rtwvif_link->net_type != RTW89_NET_TYPE_INFRA)
4626 if (rtwvif_link->net_type != RTW89_NET_TYPE_INFRA)
H A Dcore.c2149 rtwvif_link->net_type == RTW89_NET_TYPE_NO_LINK) in rtw89_stats_trigger_frame()
4083 rtwvif_link->net_type = RTW89_NET_TYPE_AP_MODE; in rtw89_vif_type_mapping()
4087 rtwvif_link->net_type = RTW89_NET_TYPE_AD_HOC; in rtw89_vif_type_mapping()
4092 rtwvif_link->net_type = RTW89_NET_TYPE_INFRA; in rtw89_vif_type_mapping()
4099 rtwvif_link->net_type = RTW89_NET_TYPE_NO_LINK; in rtw89_vif_type_mapping()
4864 if (rtwvif_link->net_type != RTW89_NET_TYPE_AP_MODE) in rtw89_core_update_beacon_work()
4884 if (rtwvif_link->net_type != RTW89_NET_TYPE_AP_MODE) in rtw89_core_csa_beacon_work()
H A Dwow.c848 switch (rtwvif_link->net_type) { in rtw89_wow_vif_iter()
H A Dcore.h3597 u8 net_type; member
6780 if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE || sta->tdls) in rtw89_get_addr_cam_of()
/freebsd/lib/libc/net/
H A Dgetnetbydns.c262 int net_type; in _dns_getnetbyaddr() local
276 net_type = va_arg(ap, int); in _dns_getnetbyaddr()
298 if (net_type != AF_INET) { in _dns_getnetbyaddr()
/freebsd/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/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()