Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Dieee80211.h157 #define is_legacy_only(net_type) ((net_type) == ((net_type) & (WIRELESS_11BG))) argument
159 #define is_supported_24g(net_type) ((net_type) & SUPPORTED_24G_NETTYPE_MSK ? true : false) argument
161 #define is_supported_tx_cck(net_type) (((net_type) & (WIRELESS_11B)) ? true : false) argument
162 #define is_supported_ht(net_type) (((net_type) & (WIRELESS_11_24N)) ? true : false) argument
/openbmc/linux/drivers/net/wireless/realtek/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.c575 rtwvif->net_type = RTW_NET_MGD_LINKED; in rtw_vif_assoc_changed()
578 rtwvif->net_type = RTW_NET_NO_LINK; in rtw_vif_assoc_changed()
928 addr = rtwvif->conf->net_type.addr; in rtw_vif_port_config()
929 mask = rtwvif->conf->net_type.mask; in rtw_vif_port_config()
930 rtw_write32_mask(rtwdev, addr, mask, rtwvif->net_type); in rtw_vif_port_config()
2347 reg1 = &rtwvif_ap->conf->net_type; in rtw_port_switch_iter()
2348 reg2 = &rtwvif_target->conf->net_type; in rtw_port_switch_iter()
H A Dbf.c140 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.h572 struct rtw_hw_reg net_type; member
795 enum rtw_net_type net_type; member
/openbmc/linux/drivers/net/wireless/legacy/
H A Dray_cs.h54 UCHAR net_type; member
H A Dwl3501_cs.c563 return this->net_type == IW_MODE_INFRA ? WL3501_NET_TYPE_INFRA : in wl3501_fw_bss_type()
669 if ((this->net_type == IW_MODE_INFRA && in wl3501_mgmt_scan_confirm()
671 (this->net_type == IW_MODE_ADHOC && in wl3501_mgmt_scan_confirm()
673 this->net_type == IW_MODE_AUTO) { in wl3501_mgmt_scan_confirm()
711 if (this->net_type == IW_MODE_INFRA) in wl3501_mgmt_scan_confirm()
888 if (this->net_type == IW_MODE_INFRA) { in wl3501_mgmt_join_confirm()
915 if (this->net_type == IW_MODE_INFRA) in wl3501_mgmt_join_confirm()
931 if (this->net_type == IW_MODE_INFRA) { in wl3501_alarm_interrupt()
1483 this->net_type = wrqu->mode; in wl3501_set_mode()
1494 wrqu->mode = this->net_type; in wl3501_get_mode()
[all …]
H A Dray_cs.c118 static int net_type = ADHOC; variable
162 module_param(net_type, int, 0);
478 local->net_type = net_type; in ray_init()
626 local->sparm.b4.a_network_type = net_type & 0x01; in init_startup_params()
993 if (local->net_type == ADHOC) { in ray_build_header()
1931 if (!sniffer && (local->net_type == INFRA) in ray_interrupt()
2800 &net_type); in init_ray_cs()
H A Dwl3501.h595 int net_type; member
H A Drayctl.h451 UCHAR net_type; member
/openbmc/linux/drivers/infiniband/core/
H A Dverbs.c712 enum rdma_network_type net_type, in ib_get_gids_from_rdma_hdr() argument
722 if (net_type == RDMA_NETWORK_IPV4) { in ib_get_gids_from_rdma_hdr()
734 } else if (net_type == RDMA_NETWORK_IPV6 || in ib_get_gids_from_rdma_hdr()
735 net_type == RDMA_NETWORK_IB || RDMA_NETWORK_ROCE_V1) { in ib_get_gids_from_rdma_hdr()
793 enum rdma_network_type net_type = RDMA_NETWORK_IB; in ib_init_ah_attr_from_wc() local
806 net_type = wc->network_hdr_type; in ib_init_ah_attr_from_wc()
808 net_type = ib_get_net_type_by_grh(device, port_num, grh); in ib_init_ah_attr_from_wc()
809 gid_type = ib_network_to_gid_type(net_type); in ib_init_ah_attr_from_wc()
811 ret = ib_get_gids_from_rdma_hdr((union rdma_network_hdr *)grh, net_type, in ib_init_ah_attr_from_wc()
/openbmc/linux/drivers/net/wireless/realtek/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()
319 if (rtwvif->net_type == RTW89_NET_TYPE_AP_MODE || sta->tdls) in ser_sta_deinit_cam_iter()
H A Dmac.c3792 rtwvif->net_type); in rtw89_mac_port_cfg_net_type()
3799 bool en = rtwvif->net_type != RTW89_NET_TYPE_NO_LINK; in rtw89_mac_port_cfg_bcn_prct()
3812 bool en = rtwvif->net_type == RTW89_NET_TYPE_INFRA || in rtw89_mac_port_cfg_rx_sw()
3813 rtwvif->net_type == RTW89_NET_TYPE_AD_HOC; in rtw89_mac_port_cfg_rx_sw()
3826 bool en = rtwvif->net_type == RTW89_NET_TYPE_INFRA || in rtw89_mac_port_cfg_rx_sync()
3827 rtwvif->net_type == RTW89_NET_TYPE_AD_HOC; in rtw89_mac_port_cfg_rx_sync()
3850 rtwvif->net_type == RTW89_NET_TYPE_AD_HOC; in rtw89_mac_port_cfg_tx_sw_by_nettype()
3860 if (rtwvif->net_type == RTW89_NET_TYPE_AP_MODE) in rtw89_mac_enable_beacon_for_ap_vifs()
3967 if (rtwvif->net_type == RTW89_NET_TYPE_AP_MODE) in rtw89_mac_port_cfg_mbssid()
4072 if (!src || tmp->net_type == RTW89_NET_TYPE_INFRA) in rtw89_mac_port_tsf_resync_all()
[all …]
H A Dfw.c1677 if (rtwvif->net_type == RTW89_NET_TYPE_AP_MODE) in rtw89_fw_h2c_default_cmac_tbl()
1813 if (rtwvif->net_type == RTW89_NET_TYPE_AP_MODE) in rtw89_fw_h2c_assoc_cmac_tbl()
1999 if (rtwvif->net_type == RTW89_NET_TYPE_AP_MODE) { in rtw89_fw_h2c_role_maintain()
2044 u8 net_type = rtwvif->net_type; in rtw89_fw_h2c_join_info() local
2047 if (net_type == RTW89_NET_TYPE_AP_MODE && rtwsta) { in rtw89_fw_h2c_join_info()
2049 net_type = dis_conn ? RTW89_NET_TYPE_NO_LINK : net_type; in rtw89_fw_h2c_join_info()
2068 SET_JOININFO_NET_TYPE(skb->data, net_type); in rtw89_fw_h2c_join_info()
2249 if (!rtwvif || !bss_conf || rtwvif->net_type != RTW89_NET_TYPE_INFRA) in rtw89_fw_h2c_set_bcn_fltr_cfg()
2343 if (rtwvif->net_type != RTW89_NET_TYPE_INFRA) in rtw89_fw_h2c_tp_offload()
H A Dcore.c1529 rtwvif->net_type == RTW89_NET_TYPE_NO_LINK) in rtw89_stats_trigger_frame()
2844 rtwvif->net_type = RTW89_NET_TYPE_AP_MODE; in rtw89_vif_type_mapping()
2848 rtwvif->net_type = RTW89_NET_TYPE_AD_HOC; in rtw89_vif_type_mapping()
2853 rtwvif->net_type = RTW89_NET_TYPE_INFRA; in rtw89_vif_type_mapping()
2856 rtwvif->net_type = RTW89_NET_TYPE_NO_LINK; in rtw89_vif_type_mapping()
3453 if (rtwvif->net_type != RTW89_NET_TYPE_AP_MODE) in rtw89_core_update_beacon_work()
H A Dwow.c156 switch (rtwvif->net_type) { in rtw89_wow_vif_iter()
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dverbs.h40 u8 net_type; member
H A Dverbs.c1298 av->net_type = rdma_gid_attr_network_type(sgid_attr); in irdma_modify_qp_roce()
1299 if (av->net_type == RDMA_NETWORK_IPV6) { in irdma_modify_qp_roce()
1311 } else if (av->net_type == RDMA_NETWORK_IPV4) { in irdma_modify_qp_roce()
4310 ah->av.net_type = rdma_gid_attr_network_type(sgid_attr); in irdma_setup_ah()
4320 if (ah->av.net_type == RDMA_NETWORK_IPV4) { in irdma_setup_ah()
/openbmc/linux/Documentation/networking/device_drivers/wifi/
H A Dray_cs.rst115 net_type integer 0 (default) = adhoc network,
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dmad.c491 enum rdma_network_type net_type; in get_gids_from_l3_hdr() local
494 net_type = RDMA_NETWORK_IPV4; in get_gids_from_l3_hdr()
496 net_type = RDMA_NETWORK_IPV6; in get_gids_from_l3_hdr()
500 return ib_get_gids_from_rdma_hdr((union rdma_network_hdr *)grh, net_type, in get_gids_from_l3_hdr()
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dmain.c630 enum network_type net_type, u8 beacon_ie_len, in ath6kl_connect_event() argument
638 net_type, beacon_ie_len, in ath6kl_connect_event()
H A Dcore.h940 u16 beacon_int, enum network_type net_type,

12