/external/wpa_supplicant_8/src/ap/ |
D | hw_features.c | 75 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 …]
|
D | dfs.c | 22 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 …]
|
D | ap_list.c | 31 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 …]
|
D | acs.c | 245 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() 336 acs_survey_chan_interference_factor(struct hostapd_iface *iface, in acs_survey_chan_interference_factor() argument [all …]
|
D | hostapd.c | 62 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() 131 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); in hostapd_reload_bss() 133 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); in hostapd_reload_bss() 152 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reload_bss() 166 wpa_printf(MSG_DEBUG, "Reconfigured interface %s", hapd->conf->iface); in hostapd_reload_bss() [all …]
|
D | ieee802_11_ht.c | 29 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 …]
|
D | eth_p_oui.c | 33 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 …]
|
D | hw_features.h | 17 int hostapd_get_hw_features(struct hostapd_iface *iface); 18 int hostapd_acs_completed(struct hostapd_iface *iface, int err); 19 int hostapd_select_hw_mode(struct hostapd_iface *iface); 23 int hostapd_check_ht_capab(struct hostapd_iface *iface); 24 int hostapd_check_edmg_capab(struct hostapd_iface *iface); 25 int hostapd_check_he_6ghz_capab(struct hostapd_iface *iface); 26 int hostapd_prepare_rates(struct hostapd_iface *iface, 28 void hostapd_stop_setup_timers(struct hostapd_iface *iface); 29 int hostapd_hw_skip_mode(struct hostapd_iface *iface, 38 static inline int hostapd_get_hw_features(struct hostapd_iface *iface) in hostapd_get_hw_features() argument [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_priv.c | 56 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 …]
|
D | main.c | 184 struct wpa_interface *ifaces, *iface; in main() local 195 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); in main() 209 iface->bridge_ifname = optarg; in main() 215 iface->confname = optarg; in main() 218 iface->ctrl_interface = optarg; in main() 221 iface->driver = optarg; in main() 252 iface->ifname = optarg; in main() 255 iface->confanother = optarg; in main() 276 iface->driver_param = optarg; in main() 313 iface = os_realloc_array(params.match_ifaces, in main() [all …]
|
/external/selinux/libsepol/src/ |
D | iface_record.c | 61 const sepol_iface_t * iface, in hidden_def() 65 if (sepol_iface_key_create(handle, iface->name, key_ptr) < 0) { in hidden_def() 67 "interface %s", iface->name); in hidden_def() 82 int sepol_iface_compare(const sepol_iface_t * iface, in sepol_iface_compare() argument 86 return strcmp(iface->name, key->name); in sepol_iface_compare() 89 int sepol_iface_compare2(const sepol_iface_t * iface, in sepol_iface_compare2() argument 93 return strcmp(iface->name, iface2->name); in sepol_iface_compare2() 97 int sepol_iface_create(sepol_handle_t * handle, sepol_iface_t ** iface) in sepol_iface_create() argument 112 *iface = tmp_iface; in sepol_iface_create() 120 const char *sepol_iface_get_name(const sepol_iface_t * iface) in hidden_def() [all …]
|
D | interfaces.c | 14 ocontext_t ** iface, const sepol_iface_t * record) in iface_from_record() argument 47 *iface = tmp_iface; in iface_from_record() 68 ocontext_t * iface, sepol_iface_t ** record) in iface_to_record() argument 71 char *name = iface->u.name; in iface_to_record() 72 context_struct_t *ifcon = &iface->context[0]; in iface_to_record() 73 context_struct_t *msgcon = &iface->context[1]; in iface_to_record() 171 ocontext_t *head, *prev, *c, *iface = NULL; in sepol_iface_modify() local 176 if (iface_from_record(handle, policydb, &iface, data) < 0) in sepol_iface_modify() 185 iface->next = c->next; in sepol_iface_modify() 187 policydb->ocontexts[OCON_NETIF] = iface; in sepol_iface_modify() [all …]
|
/external/wpa_supplicant_8/src/fst/ |
D | fst.c | 22 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 …]
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_introspect.c | 30 struct interfaces *iface; in add_interface() local 32 dl_list_for_each(iface, list, struct interfaces, list) { in add_interface() 33 if (os_strcmp(iface->dbus_interface, dbus_interface) == 0) in add_interface() 34 return iface; /* already in the list */ in add_interface() 37 iface = os_zalloc(sizeof(struct interfaces)); in add_interface() 38 if (!iface) in add_interface() 40 iface->dbus_interface = os_strdup(dbus_interface); in add_interface() 41 iface->xml = wpabuf_alloc(15000); in add_interface() 42 if (iface->dbus_interface == NULL || iface->xml == NULL) { in add_interface() 43 os_free(iface->dbus_interface); in add_interface() [all …]
|
/external/selinux/libsemanage/src/ |
D | iface_record.c | 27 int semanage_iface_compare(const semanage_iface_t * iface, in semanage_iface_compare() argument 31 return sepol_iface_compare(iface, key); in semanage_iface_compare() 36 int semanage_iface_compare2(const semanage_iface_t * iface, in hidden_def() 40 return sepol_iface_compare2(iface, iface2); in hidden_def() 45 static int semanage_iface_compare2_qsort(const semanage_iface_t ** iface, in hidden_def() 49 return sepol_iface_compare2(*iface, *iface2); in hidden_def() 60 const semanage_iface_t * iface, in semanage_iface_key_extract() argument 64 return sepol_iface_key_extract(handle->sepolh, iface, key_ptr); in semanage_iface_key_extract() 78 const char *semanage_iface_get_name(const semanage_iface_t * iface) in hidden_def() 81 return sepol_iface_get_name(iface); in hidden_def() [all …]
|
/external/llvm-project/flang/test/Semantics/ |
D | symbol15.f90 | 9 subroutine iface 25 procedure(iface), pointer :: pp1 29 procedure(iface), pointer :: pp2 => null() 33 procedure(iface), pointer :: pp3 => ext1 37 procedure(iface), pointer :: pp4 => ext2 41 procedure(iface), pointer :: pp5 => ext3 45 procedure(iface), pointer :: pp6 => modproc1 61 procedure(iface), nopass, pointer :: ppc1 65 procedure(iface), nopass, pointer :: ppc2 => null() 69 procedure(iface), nopass, pointer :: ppc3 => ext1 [all …]
|
/external/selinux/libsemanage/tests/ |
D | test_iface.c | 125 semanage_iface_t *iface; in get_iface_nth() local 136 iface = records[idx]; in get_iface_nth() 142 return iface; in get_iface_nth() 148 semanage_iface_t *iface; in get_iface_key_nth() local 154 iface = get_iface_nth(idx); in get_iface_key_nth() 155 res = semanage_iface_key_extract(sh, iface, &key); in get_iface_key_nth() 165 semanage_iface_t *iface; in add_local_iface() local 168 iface = get_iface_nth(idx); in add_local_iface() 170 CU_ASSERT_FATAL(semanage_iface_key_extract(sh, iface, &key) >= 0); in add_local_iface() 173 CU_ASSERT_FATAL(semanage_iface_modify_local(sh, key, iface) >= 0); in add_local_iface() [all …]
|
/external/autotest/client/site_tests/network_WiFiTxRx/ |
D | network-flipflop.sh | 51 iface="$1"; 53 if [[ -z "$iface" ]]; then 54 while read _iface _ignore && test -z "$iface"; do 55 iface=$_iface; 59 test -n "$iface"; 82 $iface*) 112 done < <(iwconfig $iface) 121 progress Bringing up $iface; 122 ifconfig $iface up 1>&2; 160 done < <(iwlist $iface scan); [all …]
|
/external/libvpx/libvpx/vpx/src/ |
D | vpx_encoder.c | 30 vpx_codec_iface_t *iface, in vpx_codec_enc_init_ver() argument 37 else if (!ctx || !iface || !cfg) in vpx_codec_enc_init_ver() 39 else if (iface->abi_version != VPX_CODEC_INTERNAL_ABI_VERSION) in vpx_codec_enc_init_ver() 41 else if (!(iface->caps & VPX_CODEC_CAP_ENCODER)) in vpx_codec_enc_init_ver() 43 else if ((flags & VPX_CODEC_USE_PSNR) && !(iface->caps & VPX_CODEC_CAP_PSNR)) in vpx_codec_enc_init_ver() 46 !(iface->caps & VPX_CODEC_CAP_OUTPUT_PARTITION)) in vpx_codec_enc_init_ver() 49 ctx->iface = iface; in vpx_codec_enc_init_ver() 50 ctx->name = iface->name; in vpx_codec_enc_init_ver() 54 res = ctx->iface->init(ctx, NULL); in vpx_codec_enc_init_ver() 66 vpx_codec_ctx_t *ctx, vpx_codec_iface_t *iface, vpx_codec_enc_cfg_t *cfg, in vpx_codec_enc_init_multi_ver() argument [all …]
|
D | vpx_decoder.c | 25 vpx_codec_iface_t *iface, in vpx_codec_dec_init_ver() argument 32 else if (!ctx || !iface) in vpx_codec_dec_init_ver() 34 else if (iface->abi_version != VPX_CODEC_INTERNAL_ABI_VERSION) in vpx_codec_dec_init_ver() 37 !(iface->caps & VPX_CODEC_CAP_POSTPROC)) in vpx_codec_dec_init_ver() 40 !(iface->caps & VPX_CODEC_CAP_ERROR_CONCEALMENT)) in vpx_codec_dec_init_ver() 43 !(iface->caps & VPX_CODEC_CAP_INPUT_FRAGMENTS)) in vpx_codec_dec_init_ver() 45 else if (!(iface->caps & VPX_CODEC_CAP_DECODER)) in vpx_codec_dec_init_ver() 49 ctx->iface = iface; in vpx_codec_dec_init_ver() 50 ctx->name = iface->name; in vpx_codec_dec_init_ver() 55 res = ctx->iface->init(ctx, NULL); in vpx_codec_dec_init_ver() [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | main.c | 96 hapd->conf->iface, MAC2STR(addr), in hostapd_logger_cb() 101 hapd->conf->iface, module_str ? " " : "", in hostapd_logger_cb() 154 static int hostapd_driver_init(struct hostapd_iface *iface) in hostapd_driver_init() argument 158 struct hostapd_data *hapd = iface->bss[0]; in hostapd_driver_init() 180 wpa_drivers[i]->global_init(iface->interfaces); in hostapd_driver_init() 193 params.ifname = hapd->conf->iface; in hostapd_driver_init() 197 params.num_bridge = hapd->iface->num_bss; in hostapd_driver_init() 198 params.bridge = os_calloc(hapd->iface->num_bss, sizeof(char *)); in hostapd_driver_init() 201 for (i = 0; i < hapd->iface->num_bss; i++) { in hostapd_driver_init() 202 struct hostapd_data *bss = hapd->iface->bss[i]; in hostapd_driver_init() [all …]
|
/external/libaom/libaom/aom/src/ |
D | aom_decoder.c | 26 aom_codec_iface_t *iface, in aom_codec_dec_init_ver() argument 33 else if (!ctx || !iface) in aom_codec_dec_init_ver() 35 else if (iface->abi_version != AOM_CODEC_INTERNAL_ABI_VERSION) in aom_codec_dec_init_ver() 37 else if (!(iface->caps & AOM_CODEC_CAP_DECODER)) in aom_codec_dec_init_ver() 41 ctx->iface = iface; in aom_codec_dec_init_ver() 42 ctx->name = iface->name; in aom_codec_dec_init_ver() 47 res = ctx->iface->init(ctx); in aom_codec_dec_init_ver() 57 aom_codec_err_t aom_codec_peek_stream_info(aom_codec_iface_t *iface, in aom_codec_peek_stream_info() argument 62 if (!iface || !data || !data_sz || !si) { in aom_codec_peek_stream_info() 69 res = iface->dec.peek_si(data, data_sz, si); in aom_codec_peek_stream_info() [all …]
|
D | aom_encoder.c | 38 aom_codec_iface_t *iface, in aom_codec_enc_init_ver() argument 45 else if (!ctx || !iface || !cfg) in aom_codec_enc_init_ver() 47 else if (iface->abi_version != AOM_CODEC_INTERNAL_ABI_VERSION) in aom_codec_enc_init_ver() 49 else if (!(iface->caps & AOM_CODEC_CAP_ENCODER)) in aom_codec_enc_init_ver() 51 else if ((flags & AOM_CODEC_USE_PSNR) && !(iface->caps & AOM_CODEC_CAP_PSNR)) in aom_codec_enc_init_ver() 54 ctx->iface = iface; in aom_codec_enc_init_ver() 55 ctx->name = iface->name; in aom_codec_enc_init_ver() 59 res = ctx->iface->init(ctx); in aom_codec_enc_init_ver() 70 aom_codec_err_t aom_codec_enc_config_default(aom_codec_iface_t *iface, in aom_codec_enc_config_default() argument 76 if (!iface || !cfg) in aom_codec_enc_config_default() [all …]
|
/external/arm-trusted-firmware/plat/marvell/armada/common/ |
D | marvell_ddr_info.c | 15 #define DRAM_CH0_MMAP_LOW_REG(iface, cs, base) \ argument 16 (base + DRAM_CH0_MMAP_LOW_OFFSET + (iface) * 0x10000 + (cs) * 0x8) 17 #define DRAM_CH0_MMAP_HIGH_REG(iface, cs, base) \ argument 18 (DRAM_CH0_MMAP_LOW_REG(iface, cs, base) + 4) 29 #define DRAM_CS_ENABLED(iface, cs, base) \ argument 30 (mmio_read_32(DRAM_CH0_MMAP_LOW_REG(iface, cs, base)) & \ 32 #define GET_DRAM_REGION_SIZE_CODE(iface, cs, base) \ argument 33 (mmio_read_32(DRAM_CH0_MMAP_LOW_REG(iface, cs, base)) & \ 81 uint8_t cs, iface; in mvebu_get_dram_size() local 83 for (iface = 0; iface < DRAM_MAX_IFACE; iface++) { in mvebu_get_dram_size() [all …]
|
/external/selinux/libsemanage/include/semanage/ |
D | iface_record.h | 18 extern int semanage_iface_compare(const semanage_iface_t * iface, 21 extern int semanage_iface_compare2(const semanage_iface_t * iface, 29 const semanage_iface_t * iface, 35 extern const char *semanage_iface_get_name(const semanage_iface_t * iface); 38 semanage_iface_t * iface, const char *name); 42 iface); 45 semanage_iface_t * iface, 49 iface); 52 semanage_iface_t * iface, 60 const semanage_iface_t * iface, [all …]
|