Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 25 of 715) sorted by relevance

12345678910>>...29

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dhw_features.c75 int hostapd_get_hw_features(struct hostapd_iface *iface) in hostapd_get_hw_features() argument
77 struct hostapd_data *hapd = iface->bss[0]; in hostapd_get_hw_features()
95 iface->hw_flags = flags; in hostapd_get_hw_features()
96 iface->dfs_domain = dfs_domain; in hostapd_get_hw_features()
98 hostapd_free_hw_features(iface->hw_features, iface->num_hw_features); in hostapd_get_hw_features()
99 iface->hw_features = modes; in hostapd_get_hw_features()
100 iface->num_hw_features = num_modes; in hostapd_get_hw_features()
105 (iface->drv_flags & WPA_DRIVER_FLAGS_RADAR); in hostapd_get_hw_features()
123 !(iface->drv_flags & in hostapd_get_hw_features()
148 int hostapd_prepare_rates(struct hostapd_iface *iface, in hostapd_prepare_rates() argument
[all …]
Ddfs.c22 static int dfs_get_used_n_chans(struct hostapd_iface *iface, int *seg1) in dfs_get_used_n_chans() argument
28 if (iface->conf->ieee80211n && iface->conf->secondary_channel) in dfs_get_used_n_chans()
31 if (iface->conf->ieee80211ac || iface->conf->ieee80211ax) { in dfs_get_used_n_chans()
32 switch (hostapd_get_oper_chwidth(iface->conf)) { in dfs_get_used_n_chans()
191 static int is_in_chanlist(struct hostapd_iface *iface, in is_in_chanlist() argument
194 if (!iface->conf->acs_ch_list.num) in is_in_chanlist()
197 return freq_range_list_includes(&iface->conf->acs_ch_list, chan->chan); in is_in_chanlist()
208 static int dfs_find_channel(struct hostapd_iface *iface, in dfs_find_channel() argument
216 mode = iface->current_mode; in dfs_find_channel()
217 n_chans = dfs_get_used_n_chans(iface, &n_chans1); in dfs_find_channel()
[all …]
Dap_list.c31 static int ap_list_beacon_olbc(struct hostapd_iface *iface, struct ap_info *ap) in ap_list_beacon_olbc() argument
35 if (iface->current_mode == NULL || in ap_list_beacon_olbc()
36 iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G || in ap_list_beacon_olbc()
37 iface->conf->channel != ap->channel) in ap_list_beacon_olbc()
53 static struct ap_info * ap_get_ap(struct hostapd_iface *iface, const u8 *ap) in ap_get_ap() argument
57 s = iface->ap_hash[STA_HASH(ap)]; in ap_get_ap()
64 static void ap_ap_list_add(struct hostapd_iface *iface, struct ap_info *ap) in ap_ap_list_add() argument
66 if (iface->ap_list) { in ap_ap_list_add()
67 ap->prev = iface->ap_list->prev; in ap_ap_list_add()
68 iface->ap_list->prev = ap; in ap_ap_list_add()
[all …]
Dacs.c245 static int acs_request_scan(struct hostapd_iface *iface);
282 void acs_cleanup(struct hostapd_iface *iface) in acs_cleanup() argument
286 for (i = 0; i < iface->num_hw_features; i++) in acs_cleanup()
287 acs_cleanup_mode(&iface->hw_features[i]); in acs_cleanup()
289 iface->chans_surveyed = 0; in acs_cleanup()
290 iface->acs_num_completed_scans = 0; in acs_cleanup()
294 static void acs_fail(struct hostapd_iface *iface) in acs_fail() argument
297 acs_cleanup(iface); in acs_fail()
298 hostapd_disable_iface(iface); in acs_fail()
334 acs_survey_chan_interference_factor(struct hostapd_iface *iface, in acs_survey_chan_interference_factor() argument
[all …]
Dhostapd.c62 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd);
65 static int setup_interface2(struct hostapd_iface *iface);
72 int (*cb)(struct hostapd_iface *iface, in hostapd_for_each_interface() argument
79 if (!interfaces->iface[i]) in hostapd_for_each_interface()
81 ret = cb(interfaces->iface[i], ctx); in hostapd_for_each_interface()
97 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reconfig_encryption()
132 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); in hostapd_reload_bss()
134 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); in hostapd_reload_bss()
153 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reload_bss()
167 wpa_printf(MSG_DEBUG, "Reconfigured interface %s", hapd->conf->iface); in hostapd_reload_bss()
[all …]
Dieee802_11_ht.c29 if (!hapd->iconf->ieee80211n || !hapd->iface->current_mode || in hostapd_eid_ht_capabilities()
39 cap->a_mpdu_params = hapd->iface->current_mode->a_mpdu_params; in hostapd_eid_ht_capabilities()
40 os_memcpy(cap->supported_mcs_set, hapd->iface->current_mode->mcs_set, in hostapd_eid_ht_capabilities()
98 oper->operation_mode = host_to_le16(hapd->iface->ht_op_mode); in hostapd_eid_ht_operation()
123 int hostapd_ht_operation_update(struct hostapd_iface *iface) in hostapd_ht_operation_update() argument
128 if (!iface->conf->ieee80211n || iface->conf->ht_op_mode_fixed) in hostapd_ht_operation_update()
132 __func__, iface->ht_op_mode); in hostapd_ht_operation_update()
134 if (!(iface->ht_op_mode & HT_OPER_OP_MODE_NON_GF_HT_STAS_PRESENT) in hostapd_ht_operation_update()
135 && iface->num_sta_ht_no_gf) { in hostapd_ht_operation_update()
136 iface->ht_op_mode |= HT_OPER_OP_MODE_NON_GF_HT_STAS_PRESENT; in hostapd_ht_operation_update()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dhw_features.c75 int hostapd_get_hw_features(struct hostapd_iface *iface) in hostapd_get_hw_features() argument
77 struct hostapd_data *hapd = iface->bss[0]; in hostapd_get_hw_features()
95 iface->hw_flags = flags; in hostapd_get_hw_features()
96 iface->dfs_domain = dfs_domain; in hostapd_get_hw_features()
98 hostapd_free_hw_features(iface->hw_features, iface->num_hw_features); in hostapd_get_hw_features()
99 iface->hw_features = modes; in hostapd_get_hw_features()
100 iface->num_hw_features = num_modes; in hostapd_get_hw_features()
105 (iface->drv_flags & WPA_DRIVER_FLAGS_RADAR); in hostapd_get_hw_features()
123 !(iface->drv_flags & in hostapd_get_hw_features()
148 int hostapd_prepare_rates(struct hostapd_iface *iface, in hostapd_prepare_rates() argument
[all …]
Ddfs.c22 static int dfs_get_used_n_chans(struct hostapd_iface *iface, int *seg1) in dfs_get_used_n_chans() argument
28 if (iface->conf->ieee80211n && iface->conf->secondary_channel) in dfs_get_used_n_chans()
31 if (iface->conf->ieee80211ac || iface->conf->ieee80211ax) { in dfs_get_used_n_chans()
32 switch (hostapd_get_oper_chwidth(iface->conf)) { in dfs_get_used_n_chans()
177 static int is_in_chanlist(struct hostapd_iface *iface, in is_in_chanlist() argument
180 if (!iface->conf->acs_ch_list.num) in is_in_chanlist()
183 return freq_range_list_includes(&iface->conf->acs_ch_list, chan->chan); in is_in_chanlist()
194 static int dfs_find_channel(struct hostapd_iface *iface, in dfs_find_channel() argument
202 mode = iface->current_mode; in dfs_find_channel()
203 n_chans = dfs_get_used_n_chans(iface, &n_chans1); in dfs_find_channel()
[all …]
Dap_list.c31 static int ap_list_beacon_olbc(struct hostapd_iface *iface, struct ap_info *ap) in ap_list_beacon_olbc() argument
35 if (iface->current_mode == NULL || in ap_list_beacon_olbc()
36 iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G || in ap_list_beacon_olbc()
37 iface->conf->channel != ap->channel) in ap_list_beacon_olbc()
53 static struct ap_info * ap_get_ap(struct hostapd_iface *iface, const u8 *ap) in ap_get_ap() argument
57 s = iface->ap_hash[STA_HASH(ap)]; in ap_get_ap()
64 static void ap_ap_list_add(struct hostapd_iface *iface, struct ap_info *ap) in ap_ap_list_add() argument
66 if (iface->ap_list) { in ap_ap_list_add()
67 ap->prev = iface->ap_list->prev; in ap_ap_list_add()
68 iface->ap_list->prev = ap; in ap_ap_list_add()
[all …]
Dacs.c245 static int acs_request_scan(struct hostapd_iface *iface);
264 void acs_cleanup(struct hostapd_iface *iface) in acs_cleanup() argument
269 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_cleanup()
270 chan = &iface->current_mode->channels[i]; in acs_cleanup()
280 iface->chans_surveyed = 0; in acs_cleanup()
281 iface->acs_num_completed_scans = 0; in acs_cleanup()
285 static void acs_fail(struct hostapd_iface *iface) in acs_fail() argument
288 acs_cleanup(iface); in acs_fail()
289 hostapd_disable_iface(iface); in acs_fail()
327 acs_survey_chan_interference_factor(struct hostapd_iface *iface, in acs_survey_chan_interference_factor() argument
[all …]
Dhostapd.c61 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd);
63 static int setup_interface2(struct hostapd_iface *iface);
70 int (*cb)(struct hostapd_iface *iface, in hostapd_for_each_interface() argument
77 ret = cb(interfaces->iface[i], ctx); in hostapd_for_each_interface()
92 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reconfig_encryption()
125 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); in hostapd_reload_bss()
127 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); in hostapd_reload_bss()
145 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reload_bss()
158 wpa_printf(MSG_DEBUG, "Reconfigured interface %s", hapd->conf->iface); in hostapd_reload_bss()
162 static void hostapd_clear_old(struct hostapd_iface *iface) in hostapd_clear_old() argument
[all …]
Dieee802_11_ht.c29 if (!hapd->iconf->ieee80211n || !hapd->iface->current_mode || in hostapd_eid_ht_capabilities()
39 cap->a_mpdu_params = hapd->iface->current_mode->a_mpdu_params; in hostapd_eid_ht_capabilities()
40 os_memcpy(cap->supported_mcs_set, hapd->iface->current_mode->mcs_set, in hostapd_eid_ht_capabilities()
97 oper->operation_mode = host_to_le16(hapd->iface->ht_op_mode); in hostapd_eid_ht_operation()
145 int hostapd_ht_operation_update(struct hostapd_iface *iface) in hostapd_ht_operation_update() argument
150 if (!iface->conf->ieee80211n || iface->conf->ht_op_mode_fixed) in hostapd_ht_operation_update()
154 __func__, iface->ht_op_mode); in hostapd_ht_operation_update()
156 if (!(iface->ht_op_mode & HT_OPER_OP_MODE_NON_GF_HT_STAS_PRESENT) in hostapd_ht_operation_update()
157 && iface->num_sta_ht_no_gf) { in hostapd_ht_operation_update()
158 iface->ht_op_mode |= HT_OPER_OP_MODE_NON_GF_HT_STAS_PRESENT; in hostapd_ht_operation_update()
[all …]
Deth_p_oui.c33 struct eth_p_oui_iface *iface; member
53 struct eth_p_oui_iface *iface = ctx; in eth_p_rx() local
73 dl_list_for_each(receiver, &iface->receiver, in eth_p_rx()
91 struct eth_p_oui_iface *iface; in eth_p_oui_register() local
104 interfaces = hapd->iface->interfaces; in eth_p_oui_register()
106 dl_list_for_each(iface, &interfaces->eth_p_oui, struct eth_p_oui_iface, in eth_p_oui_register()
108 if (os_strcmp(iface->ifname, ifname) != 0) in eth_p_oui_register()
115 iface = os_zalloc(sizeof(*iface)); in eth_p_oui_register()
116 if (!iface) in eth_p_oui_register()
119 os_strlcpy(iface->ifname, ifname, sizeof(iface->ifname)); in eth_p_oui_register()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwpa_priv.c56 static void wpa_priv_cmd_register(struct wpa_priv_interface *iface, in wpa_priv_cmd_register() argument
61 if (iface->drv_priv) { in wpa_priv_cmd_register()
63 if (iface->driver->deinit) in wpa_priv_cmd_register()
64 iface->driver->deinit(iface->drv_priv); in wpa_priv_cmd_register()
65 iface->drv_priv = NULL; in wpa_priv_cmd_register()
66 if (iface->drv_global_priv) { in wpa_priv_cmd_register()
67 iface->driver->global_deinit(iface->drv_global_priv); in wpa_priv_cmd_register()
68 iface->drv_global_priv = NULL; in wpa_priv_cmd_register()
70 iface->wpas_registered = 0; in wpa_priv_cmd_register()
74 if (iface->l2[i]) { in wpa_priv_cmd_register()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwpa_priv.c56 static void wpa_priv_cmd_register(struct wpa_priv_interface *iface, in wpa_priv_cmd_register() argument
61 if (iface->drv_priv) { in wpa_priv_cmd_register()
63 if (iface->driver->deinit) in wpa_priv_cmd_register()
64 iface->driver->deinit(iface->drv_priv); in wpa_priv_cmd_register()
65 iface->drv_priv = NULL; in wpa_priv_cmd_register()
66 if (iface->drv_global_priv) { in wpa_priv_cmd_register()
67 iface->driver->global_deinit(iface->drv_global_priv); in wpa_priv_cmd_register()
68 iface->drv_global_priv = NULL; in wpa_priv_cmd_register()
70 iface->wpas_registered = 0; in wpa_priv_cmd_register()
74 if (iface->l2[i]) { in wpa_priv_cmd_register()
[all …]
/third_party/glib/gio/
Dgdrive.c68 g_drive_default_init (GDriveInterface *iface) in G_DEFINE_INTERFACE()
146 GDriveIface *iface; in g_drive_get_name() local
150 iface = G_DRIVE_GET_IFACE (drive); in g_drive_get_name()
152 return (* iface->get_name) (drive); in g_drive_get_name()
167 GDriveIface *iface; in g_drive_get_icon() local
171 iface = G_DRIVE_GET_IFACE (drive); in g_drive_get_icon()
173 return (* iface->get_icon) (drive); in g_drive_get_icon()
190 GDriveIface *iface; in g_drive_get_symbolic_icon() local
195 iface = G_DRIVE_GET_IFACE (drive); in g_drive_get_symbolic_icon()
197 if (iface->get_symbolic_icon != NULL) in g_drive_get_symbolic_icon()
[all …]
Dgvolume.c84 g_volume_default_init (GVolumeInterface *iface) in G_DEFINE_INTERFACE()
127 GVolumeIface *iface; in g_volume_get_name() local
131 iface = G_VOLUME_GET_IFACE (volume); in g_volume_get_name()
133 return (* iface->get_name) (volume); in g_volume_get_name()
149 GVolumeIface *iface; in g_volume_get_icon() local
153 iface = G_VOLUME_GET_IFACE (volume); in g_volume_get_icon()
155 return (* iface->get_icon) (volume); in g_volume_get_icon()
173 GVolumeIface *iface; in g_volume_get_symbolic_icon() local
178 iface = G_VOLUME_GET_IFACE (volume); in g_volume_get_symbolic_icon()
180 if (iface->get_symbolic_icon != NULL) in g_volume_get_symbolic_icon()
[all …]
Dgmount.c68 g_mount_default_init (GMountInterface *iface) in G_DEFINE_INTERFACE()
134 GMountIface *iface; in g_mount_get_root() local
138 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_root()
140 return (* iface->get_root) (mount); in g_mount_get_root()
158 GMountIface *iface; in g_mount_get_default_location() local
163 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_default_location()
166 if (iface->get_default_location) in g_mount_get_default_location()
167 file = (* iface->get_default_location) (mount); in g_mount_get_default_location()
169 file = (* iface->get_root) (mount); in g_mount_get_default_location()
187 GMountIface *iface; in g_mount_get_name() local
[all …]
Dgappinfo.c109 g_app_info_default_init (GAppInfoInterface *iface) in G_DEFINE_INTERFACE()
125 GAppInfoIface *iface; in g_app_info_dup() local
129 iface = G_APP_INFO_GET_IFACE (appinfo); in g_app_info_dup()
131 return (* iface->dup) (appinfo); in g_app_info_dup()
151 GAppInfoIface *iface; in g_app_info_equal() local
159 iface = G_APP_INFO_GET_IFACE (appinfo1); in g_app_info_equal()
161 return (* iface->equal) (appinfo1, appinfo2); in g_app_info_equal()
181 GAppInfoIface *iface; in g_app_info_get_id() local
185 iface = G_APP_INFO_GET_IFACE (appinfo); in g_app_info_get_id()
187 return (* iface->get_id) (appinfo); in g_app_info_get_id()
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/interfaces/
Dphotography.c41 static void gst_photography_iface_base_init (GstPhotographyInterface * iface);
70 gst_photography_iface_base_init (GstPhotographyInterface * iface) in gst_photography_iface_base_init() argument
73 iface->get_ev_compensation = NULL; in gst_photography_iface_base_init()
74 iface->get_iso_speed = NULL; in gst_photography_iface_base_init()
75 iface->get_aperture = NULL; in gst_photography_iface_base_init()
76 iface->get_exposure = NULL; in gst_photography_iface_base_init()
77 iface->get_white_balance_mode = NULL; in gst_photography_iface_base_init()
78 iface->get_color_tone_mode = NULL; in gst_photography_iface_base_init()
79 iface->get_scene_mode = NULL; in gst_photography_iface_base_init()
80 iface->get_flash_mode = NULL; in gst_photography_iface_base_init()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideoorientation.c47 iface) in gst_video_orientation_default_init()
51 iface->get_hflip = NULL; in gst_video_orientation_default_init()
52 iface->get_vflip = NULL; in gst_video_orientation_default_init()
53 iface->get_hcenter = NULL; in gst_video_orientation_default_init()
54 iface->get_vcenter = NULL; in gst_video_orientation_default_init()
56 iface->set_hflip = NULL; in gst_video_orientation_default_init()
57 iface->set_vflip = NULL; in gst_video_orientation_default_init()
58 iface->set_hcenter = NULL; in gst_video_orientation_default_init()
59 iface->set_vcenter = NULL; in gst_video_orientation_default_init()
74 GstVideoOrientationInterface *iface = in gst_video_orientation_get_hflip() local
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtspextension.c39 static void gst_rtsp_extension_iface_init (GstRTSPExtension * iface);
74 gst_rtsp_extension_iface_init (GstRTSPExtension * iface) in gst_rtsp_extension_iface_init() argument
80 g_signal_new ("send", G_TYPE_FROM_CLASS (iface), in gst_rtsp_extension_iface_init()
91 GstRTSPExtensionInterface *iface; in gst_rtsp_extension_detect_server() local
94 iface = GST_RTSP_EXTENSION_GET_INTERFACE (ext); in gst_rtsp_extension_detect_server()
95 if (iface->detect_server) in gst_rtsp_extension_detect_server()
96 res = iface->detect_server (ext, resp); in gst_rtsp_extension_detect_server()
104 GstRTSPExtensionInterface *iface; in gst_rtsp_extension_before_send() local
107 iface = GST_RTSP_EXTENSION_GET_INTERFACE (ext); in gst_rtsp_extension_before_send()
108 if (iface->before_send) in gst_rtsp_extension_before_send()
[all …]
/third_party/selinux/libsepol/src/
Diface_record.c59 const sepol_iface_t * iface, in sepol_iface_key_extract() argument
63 if (sepol_iface_key_create(handle, iface->name, key_ptr) < 0) { in sepol_iface_key_extract()
65 "interface %s", iface->name); in sepol_iface_key_extract()
80 int sepol_iface_compare(const sepol_iface_t * iface, in sepol_iface_compare() argument
84 return strcmp(iface->name, key->name); in sepol_iface_compare()
87 int sepol_iface_compare2(const sepol_iface_t * iface, in sepol_iface_compare2() argument
91 return strcmp(iface->name, iface2->name); in sepol_iface_compare2()
95 int sepol_iface_create(sepol_handle_t * handle, sepol_iface_t ** iface) in sepol_iface_create() argument
110 *iface = tmp_iface; in sepol_iface_create()
117 const char *sepol_iface_get_name(const sepol_iface_t * iface) in sepol_iface_get_name() argument
[all …]
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dtuner.c83 gst_tuner_default_init (GstTunerInterface * iface) in gst_tuner_default_init() argument
146 iface->list_channels = NULL; in gst_tuner_default_init()
147 iface->set_channel = NULL; in gst_tuner_default_init()
148 iface->get_channel = NULL; in gst_tuner_default_init()
150 iface->list_norms = NULL; in gst_tuner_default_init()
151 iface->set_norm = NULL; in gst_tuner_default_init()
152 iface->get_norm = NULL; in gst_tuner_default_init()
154 iface->set_frequency = NULL; in gst_tuner_default_init()
155 iface->get_frequency = NULL; in gst_tuner_default_init()
156 iface->signal_strength = NULL; in gst_tuner_default_init()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/
Dfst.c22 static void fst_ctrl_iface_notify_peer_state_change(struct fst_iface *iface, in fst_ctrl_iface_notify_peer_state_change() argument
29 os_strlcpy(extra.peer_state.ifname, fst_iface_get_name(iface), in fst_ctrl_iface_notify_peer_state_change()
34 iface, NULL, &extra); in fst_ctrl_iface_notify_peer_state_change()
44 struct fst_iface *iface = NULL; in fst_attach() local
68 iface = fst_iface_create(group, ifname, own_addr, iface_obj, cfg); in fst_attach()
69 if (!iface) { in fst_attach()
77 fst_group_attach_iface(group, iface); in fst_attach()
80 foreach_fst_ctrl_call(on_iface_added, iface); in fst_attach()
82 fst_printf_iface(iface, MSG_DEBUG, in fst_attach()
86 return iface; in fst_attach()
[all …]

12345678910>>...29