Home
last modified time | relevance | path

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

/src/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()
/src/sys/contrib/dev/rtw89/
H A Dwow.h108 return rtwvif_link->net_type == RTW89_NET_TYPE_INFRA; in rtw89_wow_mgd_linked()
115 return rtwvif_link->net_type == RTW89_NET_TYPE_NO_LINK; in rtw89_wow_no_link()
H A Dcam.c865 le32_encode_bits(rtwvif_link->net_type, ADDR_CAM_W2_NET_TYPE) | in rtw89_cam_fill_addr_cam_info()
901 if (rtwvif_link->net_type == RTW89_NET_TYPE_INFRA) in rtw89_cam_fill_addr_cam_info()
903 else if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE) in rtw89_cam_fill_addr_cam_info()
1103 if (rtwvif_link->net_type == RTW89_NET_TYPE_INFRA) { in rtw89_cam_fill_dctl_sec_cam_info_v2()
1107 } else if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE && sta) { in rtw89_cam_fill_dctl_sec_cam_info_v2()
H A Dser.c309 rtwvif_link->net_type = RTW89_NET_TYPE_NO_LINK; in ser_reset_vif()
333 if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE || sta->tdls) in ser_sta_deinit_cam_iter()
H A Dmac.c4366 if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE) in rtw89_mac_port_cfg_func_sw()
4432 rtwvif_link->net_type); in rtw89_mac_port_cfg_net_type()
4440 bool en = rtwvif_link->net_type != RTW89_NET_TYPE_NO_LINK; in rtw89_mac_port_cfg_bcn_prct()
4454 bool en = rtwvif_link->net_type == RTW89_NET_TYPE_INFRA || in rtw89_mac_port_cfg_rx_sw()
4455 rtwvif_link->net_type == RTW89_NET_TYPE_AD_HOC; in rtw89_mac_port_cfg_rx_sw()
4479 bool en = rtwvif_link->net_type == RTW89_NET_TYPE_INFRA || in rtw89_mac_port_cfg_rx_sync_by_nettype()
4480 rtwvif_link->net_type == RTW89_NET_TYPE_AD_HOC; in rtw89_mac_port_cfg_rx_sync_by_nettype()
4500 bool en = rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE || in rtw89_mac_port_cfg_tx_sw_by_nettype()
4501 rtwvif_link->net_type == RTW89_NET_TYPE_AD_HOC; in rtw89_mac_port_cfg_tx_sw_by_nettype()
4513 if (rtwvif_link->net_type != RTW89_NET_TYPE_AP_MODE) in rtw89_mac_enable_ap_bcn_by_chan()
[all …]
H A Dfw.c3269 if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE)
3496 if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE)
3645 if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE) {
4213 if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE) {
4305 u8 net_type = rtwvif_link->net_type; local
4320 if (net_type == RTW89_NET_TYPE_AP_MODE && rtwsta_link) {
4322 net_type = dis_conn ? RTW89_NET_TYPE_NO_LINK : net_type;
4343 le32_encode_bits(net_type, RTW89_H2C_JOININFO_W0_NET_TYPE) |
4665 if (!rtwvif_link || rtwvif_link->net_type != RTW89_NET_TYPE_INFRA)
4779 if (rtwvif_link->net_type != RTW89_NET_TYPE_INFRA)
H A Dcore.c2354 rtwvif_link->net_type == RTW89_NET_TYPE_NO_LINK) in rtw89_stats_trigger_frame()
4733 rtwvif_link->net_type = RTW89_NET_TYPE_AP_MODE; in rtw89_vif_type_mapping()
4737 rtwvif_link->net_type = RTW89_NET_TYPE_AD_HOC; in rtw89_vif_type_mapping()
4742 rtwvif_link->net_type = RTW89_NET_TYPE_INFRA; in rtw89_vif_type_mapping()
4749 rtwvif_link->net_type = RTW89_NET_TYPE_NO_LINK; in rtw89_vif_type_mapping()
5519 if (rtwvif_link->net_type != RTW89_NET_TYPE_AP_MODE) in rtw89_core_update_beacon_work()
5539 if (rtwvif_link->net_type != RTW89_NET_TYPE_AP_MODE) in rtw89_core_csa_beacon_work()
H A Dwow.c897 switch (rtwvif_link->net_type) { in rtw89_wow_vif_iter()
H A Dcore.h3635 u8 net_type; member
6951 if (rtwvif_link->net_type == RTW89_NET_TYPE_AP_MODE || sta->tdls) in rtw89_get_addr_cam_of()
/src/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()
/src/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()
/src/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()
578 ah->av.net_type = ib_gid_to_network_type(sgid_attr.gid_type, &sgid); in irdma_create_sleepable_ah()
597 dmac, ah->av.net_type); in irdma_create_sleepable_ah()
1417 av->net_type = ib_gid_to_network_type(sgid_attr.gid_type, &sgid); in kc_irdma_set_roce_cm_info()
H A Dirdma_verbs.h82 u8 net_type; member
H A Dirdma_verbs.c924 if (av->net_type == RDMA_NETWORK_IPV6) { in irdma_modify_qp_roce()
935 } else if (av->net_type == RDMA_NETWORK_IPV4) { in irdma_modify_qp_roce()