Home
last modified time | relevance | path

Searched refs:iface (Results 1 - 25 of 356) sorted by relevance

12345678910>>...15

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A 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 in hostapd_get_hw_features()
148 hostapd_prepare_rates(struct hostapd_iface *iface, struct hostapd_hw_modes *mode) hostapd_prepare_rates() argument
227 ieee80211n_allowed_ht40_channel_pair(struct hostapd_iface *iface) ieee80211n_allowed_ht40_channel_pair() argument
256 ieee80211n_switch_pri_sec(struct hostapd_iface *iface) ieee80211n_switch_pri_sec() argument
270 ieee80211n_check_40mhz_5g(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) ieee80211n_check_40mhz_5g() argument
304 ieee80211n_check_40mhz_2g4(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) ieee80211n_check_40mhz_2g4() argument
317 ieee80211n_check_scan(struct hostapd_iface *iface) ieee80211n_check_scan() argument
388 ieee80211n_scan_channels_2g4(struct hostapd_iface *iface, struct wpa_driver_scan_params *params) ieee80211n_scan_channels_2g4() argument
433 ieee80211n_scan_channels_5g(struct hostapd_iface *iface, struct wpa_driver_scan_params *params) ieee80211n_scan_channels_5g() argument
477 struct hostapd_iface *iface = eloop_data; ap_ht40_scan_retry() local
513 hostapd_stop_setup_timers(struct hostapd_iface *iface) hostapd_stop_setup_timers() argument
519 ieee80211n_check_40mhz(struct hostapd_iface *iface) ieee80211n_check_40mhz() argument
562 ieee80211n_supported_ht_capab(struct hostapd_iface *iface) ieee80211n_supported_ht_capab() argument
652 ieee80211ac_supported_vht_capab(struct hostapd_iface *iface) ieee80211ac_supported_vht_capab() argument
685 ieee80211ax_supported_he_capab(struct hostapd_iface *iface) ieee80211ax_supported_he_capab() argument
692 hostapd_check_ht_capab(struct hostapd_iface *iface) hostapd_check_ht_capab() argument
731 hostapd_check_edmg_capab(struct hostapd_iface *iface) hostapd_check_edmg_capab() argument
757 hostapd_check_he_6ghz_capab(struct hostapd_iface *iface) hostapd_check_he_6ghz_capab() argument
802 hostapd_is_usable_chan(struct hostapd_iface *iface, int frequency, int primary) hostapd_is_usable_chan() argument
828 hostapd_is_usable_edmg(struct hostapd_iface *iface) hostapd_is_usable_edmg() argument
900 hostapd_is_usable_chans(struct hostapd_iface *iface) hostapd_is_usable_chans() argument
956 hostapd_determine_mode(struct hostapd_iface *iface) hostapd_determine_mode() argument
989 hostapd_check_chans(struct hostapd_iface *iface) hostapd_check_chans() argument
1015 hostapd_notify_bad_chans(struct hostapd_iface *iface) hostapd_notify_bad_chans() argument
1037 hostapd_acs_completed(struct hostapd_iface *iface, int err) hostapd_acs_completed() argument
1085 hostapd_select_hw_mode(struct hostapd_iface *iface) hostapd_select_hw_mode() argument
1204 hostapd_hw_skip_mode(struct hostapd_iface *iface, struct hostapd_hw_modes *mode) hostapd_hw_skip_mode() argument
[all...]
H A 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 in ap_ap_list_add()
76 ap_ap_list_del(struct hostapd_iface *iface, struct ap_info *ap) ap_ap_list_del() argument
90 ap_ap_hash_add(struct hostapd_iface *iface, struct ap_info *ap) ap_ap_hash_add() argument
97 ap_ap_hash_del(struct hostapd_iface *iface, struct ap_info *ap) ap_ap_hash_del() argument
119 ap_free_ap(struct hostapd_iface *iface, struct ap_info *ap) ap_free_ap() argument
129 hostapd_free_aps(struct hostapd_iface *iface) hostapd_free_aps() argument
145 ap_ap_add(struct hostapd_iface *iface, const u8 *addr) ap_ap_add() argument
169 ap_list_process_beacon(struct hostapd_iface *iface, const struct ieee80211_mgmt *mgmt, struct ieee802_11_elems *elems, struct hostapd_frame_info *fi) ap_list_process_beacon() argument
249 ap_list_timer(struct hostapd_iface *iface) ap_list_timer() argument
299 ap_list_init(struct hostapd_iface *iface) ap_list_init() argument
305 ap_list_deinit(struct hostapd_iface *iface) ap_list_deinit() argument
[all...]
H A 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
486 acs_surveys_are_sufficient(struct hostapd_iface *iface) acs_surveys_are_sufficient() argument
510 is_in_chanlist(struct hostapd_iface *iface, struct hostapd_channel_data *chan) is_in_chanlist() argument
520 is_in_freqlist(struct hostapd_iface *iface, struct hostapd_channel_data *chan) is_in_freqlist() argument
531 acs_survey_mode_interference_factor( struct hostapd_iface *iface, struct hostapd_hw_modes *mode) acs_survey_mode_interference_factor() argument
563 acs_survey_all_chans_interference_factor( struct hostapd_iface *iface) acs_survey_all_chans_interference_factor() argument
598 acs_find_chan(struct hostapd_iface *iface, int freq) acs_find_chan() argument
648 acs_find_ideal_chan_mode(struct hostapd_iface *iface, struct hostapd_hw_modes *mode, int n_chans, u32 bw, struct hostapd_channel_data **rand_chan, struct hostapd_channel_data **ideal_chan, long double *ideal_factor) acs_find_ideal_chan_mode() argument
838 acs_find_ideal_chan(struct hostapd_iface *iface) acs_find_ideal_chan() argument
903 acs_adjust_center_freq(struct hostapd_iface *iface) acs_adjust_center_freq() argument
932 acs_study_survey_based(struct hostapd_iface *iface) acs_study_survey_based() argument
951 acs_study_options(struct hostapd_iface *iface) acs_study_options() argument
963 acs_study(struct hostapd_iface *iface) acs_study() argument
1005 acs_scan_complete(struct hostapd_iface *iface) acs_scan_complete() argument
1038 acs_request_scan_add_freqs(struct hostapd_iface *iface, struct hostapd_hw_modes *mode, int *freq) acs_request_scan_add_freqs() argument
1066 acs_request_scan(struct hostapd_iface *iface) acs_request_scan() argument
1120 acs_init(struct hostapd_iface *iface) acs_init() argument
[all...]
H A 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()
196 static int is_in_chanlist(struct hostapd_iface *iface, in is_in_chanlist() argument
199 if (!iface->conf->acs_ch_list.num) in is_in_chanlist()
202 return freq_range_list_includes(&iface->conf->acs_ch_list, chan->chan); in is_in_chanlist()
213 static int dfs_find_channel(struct hostapd_iface *iface, in dfs_find_channel() argument
271 dfs_adjust_center_freq(struct hostapd_iface *iface, struct hostapd_channel_data *chan, int secondary_channel, int sec_chan_idx_80p80, u8 *oper_centr_freq_seg0_idx, u8 *oper_centr_freq_seg1_idx) dfs_adjust_center_freq() argument
320 dfs_get_start_chan_idx(struct hostapd_iface *iface, int *seg1_start) dfs_get_start_chan_idx() argument
407 dfs_check_chans_radar(struct hostapd_iface *iface, int start_chan_idx, int n_chans) dfs_check_chans_radar() argument
427 dfs_check_chans_available(struct hostapd_iface *iface, int start_chan_idx, int n_chans) dfs_check_chans_available() argument
455 dfs_check_chans_unavailable(struct hostapd_iface *iface, int start_chan_idx, int n_chans) dfs_check_chans_unavailable() argument
479 dfs_get_valid_channel(struct hostapd_iface *iface, int *secondary_channel, u8 *oper_centr_freq_seg0_idx, u8 *oper_centr_freq_seg1_idx, int skip_radar) dfs_get_valid_channel() argument
576 set_dfs_state_freq(struct hostapd_iface *iface, int freq, u32 state) set_dfs_state_freq() argument
602 set_dfs_state(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2, u32 state) set_dfs_state() argument
668 dfs_are_channels_overlapped(struct hostapd_iface *iface, int freq, int chan_width, int cf1, int cf2) dfs_are_channels_overlapped() argument
733 dfs_get_cac_time(struct hostapd_iface *iface, int start_chan_idx, int n_chans) dfs_get_cac_time() argument
761 hostapd_handle_dfs(struct hostapd_iface *iface) hostapd_handle_dfs() argument
867 hostapd_is_dfs_chan_available(struct hostapd_iface *iface) hostapd_is_dfs_chan_available() argument
884 hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) hostapd_dfs_complete_cac() argument
926 hostapd_dfs_pre_cac_expired(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) hostapd_dfs_pre_cac_expired() argument
946 dfs_downgrade_bandwidth(struct hostapd_iface *iface, int *secondary_channel, u8 *oper_centr_freq_seg0_idx, u8 *oper_centr_freq_seg1_idx, int *skip_radar) dfs_downgrade_bandwidth() argument
983 hostapd_dfs_start_channel_switch_cac(struct hostapd_iface *iface) hostapd_dfs_start_channel_switch_cac() argument
1030 hostapd_dfs_start_channel_switch(struct hostapd_iface *iface) hostapd_dfs_start_channel_switch() argument
1176 hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) hostapd_dfs_radar_detected() argument
1211 hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) hostapd_dfs_nop_finished() argument
1235 hostapd_is_dfs_required(struct hostapd_iface *iface) hostapd_is_dfs_required() argument
1263 hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) hostapd_dfs_start_cac() argument
1290 hostapd_handle_dfs_offload(struct hostapd_iface *iface) hostapd_handle_dfs_offload() argument
1329 hostapd_is_dfs_overlap(struct hostapd_iface *iface, enum chan_width width, int center_freq) hostapd_is_dfs_overlap() argument
[all...]
H A Dhostapd.c64 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd);
67 static int setup_interface2(struct hostapd_iface *iface);
74 int (*cb)(struct hostapd_iface *iface, in hostapd_for_each_interface()
81 if (!interfaces->iface[i]) in hostapd_for_each_interface()
83 ret = cb(interfaces->iface[i], ctx); in hostapd_for_each_interface()
99 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reconfig_encryption()
134 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); in hostapd_reload_bss()
136 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); in hostapd_reload_bss()
155 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reload_bss()
169 wpa_printf(MSG_DEBUG, "Reconfigured interface %s", hapd->conf->iface); in hostapd_reload_bss()
73 hostapd_for_each_interface(struct hapd_interfaces *interfaces, int (*cb)(struct hostapd_iface *iface, void *ctx), void *ctx) hostapd_for_each_interface() argument
173 hostapd_clear_old(struct hostapd_iface *iface) hostapd_clear_old() argument
215 hostapd_reload_config(struct hostapd_iface *iface) hostapd_reload_config() argument
500 sta_track_deinit(struct hostapd_iface *iface) sta_track_deinit() argument
516 hostapd_cleanup_iface_partial(struct hostapd_iface *iface) hostapd_cleanup_iface_partial() argument
544 hostapd_cleanup_iface(struct hostapd_iface *iface) hostapd_cleanup_iface() argument
573 hostapd_setup_encryption(char *iface, struct hostapd_data *hapd) hostapd_setup_encryption() argument
661 hostapd_validate_bssid_configuration(struct hostapd_iface *iface) hostapd_validate_bssid_configuration() argument
1421 hostapd_tx_queue_params(struct hostapd_iface *iface) hostapd_tx_queue_params() argument
1520 start_ctrl_iface(struct hostapd_iface *iface) start_ctrl_iface() argument
1543 struct hostapd_iface *iface = eloop_ctx; channel_list_update_timeout() local
1559 hostapd_channel_list_updated(struct hostapd_iface *iface, int initiator) hostapd_channel_list_updated() argument
1570 setup_interface(struct hostapd_iface *iface) setup_interface() argument
1642 configured_fixed_chan_to_freq(struct hostapd_iface *iface) configured_fixed_chan_to_freq() argument
1687 hostapd_set_6ghz_sec_chan(struct hostapd_iface *iface) hostapd_set_6ghz_sec_chan() argument
1707 setup_interface2(struct hostapd_iface *iface) setup_interface2() argument
1904 hostapd_owe_iface_iter(struct hostapd_iface *iface, void *ctx) hostapd_owe_iface_iter() argument
1958 hostapd_owe_iface_iter2(struct hostapd_iface *iface, void *ctx) hostapd_owe_iface_iter2() argument
1990 hostapd_owe_update_trans(struct hostapd_iface *iface) hostapd_owe_update_trans() argument
2008 struct hostapd_iface *iface = eloop_ctx; hostapd_interface_setup_failure_handler() local
2019 hostapd_setup_interface_complete_sync(struct hostapd_iface *iface, int err) hostapd_setup_interface_complete_sync() argument
2280 hostapd_setup_interface_complete(struct hostapd_iface *iface, int err) hostapd_setup_interface_complete() argument
2380 hostapd_setup_interface(struct hostapd_iface *iface) hostapd_setup_interface() argument
2470 hostapd_interface_deinit(struct hostapd_iface *iface) hostapd_interface_deinit() argument
2503 hostapd_interface_free(struct hostapd_iface *iface) hostapd_interface_free() argument
2600 struct hostapd_iface *iface = interfaces->iface[i]; ifname_in_use() local
2627 struct hostapd_iface *new_iface = NULL, *iface = NULL; hostapd_interface_init_bss() local
2729 hostapd_interface_deinit_free(struct hostapd_iface *iface) hostapd_interface_deinit_free() argument
2907 struct hostapd_iface **iface, *hapd_iface; hostapd_iface_alloc() local
3189 hostapd_remove_bss(struct hostapd_iface *iface, unsigned int idx) hostapd_remove_bss() argument
3371 hostapd_set_state(struct hostapd_iface *iface, enum hostapd_iface_state s) hostapd_set_state() argument
3380 hostapd_csa_in_progress(struct hostapd_iface *iface) hostapd_csa_in_progress() argument
3587 struct hostapd_iface *iface = hapd->iface; hostapd_fill_csa_settings() local
3727 hostapd_switch_channel_fallback(struct hostapd_iface *iface, const struct hostapd_freq_params *freq_params) hostapd_switch_channel_fallback() argument
3788 struct hostapd_iface *iface = interfaces->iface[i]; hostapd_get_iface() local
3802 hostapd_periodic_iface(struct hostapd_iface *iface) hostapd_periodic_iface() argument
[all...]
H A 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 in hostapd_ht_operation_update()
179 is_40_allowed(struct hostapd_iface *iface, int channel) is_40_allowed() argument
210 struct hostapd_iface *iface = hapd->iface; hostapd_2040_coex_action() local
388 ht40_intolerant_add(struct hostapd_iface *iface, struct sta_info *sta) ht40_intolerant_add() argument
411 ht40_intolerant_remove(struct hostapd_iface *iface, struct sta_info *sta) ht40_intolerant_remove() argument
529 struct hostapd_iface *iface = eloop_data; ap_ht2040_timeout() local
[all...]
H A 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()
143 struct eth_p_oui_iface *iface; eth_p_oui_unregister() local
164 struct eth_p_oui_iface *iface = ctx->iface; eth_p_oui_send() local
[all...]
H A Dhw_features.h17 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
43 hostapd_acs_completed(struct hostapd_iface *iface, int err) hostapd_acs_completed() argument
48 hostapd_select_hw_mode(struct hostapd_iface *iface) hostapd_select_hw_mode() argument
63 hostapd_check_ht_capab(struct hostapd_iface *iface) hostapd_check_ht_capab() argument
68 hostapd_check_edmg_capab(struct hostapd_iface *iface) hostapd_check_edmg_capab() argument
73 hostapd_prepare_rates(struct hostapd_iface *iface, struct hostapd_hw_modes *mode) hostapd_prepare_rates() argument
79 hostapd_stop_setup_timers(struct hostapd_iface *iface) hostapd_stop_setup_timers() argument
83 hostapd_hw_skip_mode(struct hostapd_iface *iface, struct hostapd_hw_modes *mode) hostapd_hw_skip_mode() argument
89 hostapd_check_he_6ghz_capab(struct hostapd_iface *iface) hostapd_check_he_6ghz_capab() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A 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 in hostapd_get_hw_features()
148 hostapd_prepare_rates(struct hostapd_iface *iface, struct hostapd_hw_modes *mode) hostapd_prepare_rates() argument
228 ieee80211n_allowed_ht40_channel_pair(struct hostapd_iface *iface) ieee80211n_allowed_ht40_channel_pair() argument
246 ieee80211n_switch_pri_sec(struct hostapd_iface *iface) ieee80211n_switch_pri_sec() argument
258 ieee80211n_check_40mhz_5g(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) ieee80211n_check_40mhz_5g() argument
282 ieee80211n_check_40mhz_2g4(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) ieee80211n_check_40mhz_2g4() argument
295 ieee80211n_check_scan(struct hostapd_iface *iface) ieee80211n_check_scan() argument
349 ieee80211n_scan_channels_2g4(struct hostapd_iface *iface, struct wpa_driver_scan_params *params) ieee80211n_scan_channels_2g4() argument
394 ieee80211n_scan_channels_5g(struct hostapd_iface *iface, struct wpa_driver_scan_params *params) ieee80211n_scan_channels_5g() argument
438 struct hostapd_iface *iface = eloop_data; ap_ht40_scan_retry() local
474 hostapd_stop_setup_timers(struct hostapd_iface *iface) hostapd_stop_setup_timers() argument
480 ieee80211n_check_40mhz(struct hostapd_iface *iface) ieee80211n_check_40mhz() argument
523 ieee80211n_supported_ht_capab(struct hostapd_iface *iface) ieee80211n_supported_ht_capab() argument
633 ieee80211ac_supported_vht_capab(struct hostapd_iface *iface) ieee80211ac_supported_vht_capab() argument
666 ieee80211ax_supported_he_capab(struct hostapd_iface *iface) ieee80211ax_supported_he_capab() argument
675 hostapd_check_ht_capab(struct hostapd_iface *iface) hostapd_check_ht_capab() argument
713 hostapd_is_usable_chan(struct hostapd_iface *iface, int channel, int primary) hostapd_is_usable_chan() argument
738 hostapd_is_usable_chans(struct hostapd_iface *iface) hostapd_is_usable_chans() argument
779 hostapd_check_chans(struct hostapd_iface *iface) hostapd_check_chans() argument
804 hostapd_notify_bad_chans(struct hostapd_iface *iface) hostapd_notify_bad_chans() argument
826 hostapd_acs_completed(struct hostapd_iface *iface, int err) hostapd_acs_completed() argument
876 hostapd_select_hw_mode(struct hostapd_iface *iface) hostapd_select_hw_mode() argument
[all...]
H A 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
235 dfs_adjust_center_freq(struct hostapd_iface *iface, struct hostapd_channel_data *chan, int secondary_channel, u8 *oper_centr_freq_seg0_idx, u8 *oper_centr_freq_seg1_idx) dfs_adjust_center_freq() argument
277 dfs_get_start_chan_idx(struct hostapd_iface *iface, int *seg1_start) dfs_get_start_chan_idx() argument
364 dfs_check_chans_radar(struct hostapd_iface *iface, int start_chan_idx, int n_chans) dfs_check_chans_radar() argument
384 dfs_check_chans_available(struct hostapd_iface *iface, int start_chan_idx, int n_chans) dfs_check_chans_available() argument
412 dfs_check_chans_unavailable(struct hostapd_iface *iface, int start_chan_idx, int n_chans) dfs_check_chans_unavailable() argument
436 dfs_get_valid_channel(struct hostapd_iface *iface, int *secondary_channel, u8 *oper_centr_freq_seg0_idx, u8 *oper_centr_freq_seg1_idx, int skip_radar) dfs_get_valid_channel() argument
485 set_dfs_state_freq(struct hostapd_iface *iface, int freq, u32 state) set_dfs_state_freq() argument
511 set_dfs_state(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2, u32 state) set_dfs_state() argument
566 dfs_are_channels_overlapped(struct hostapd_iface *iface, int freq, int chan_width, int cf1, int cf2) dfs_are_channels_overlapped() argument
631 dfs_get_cac_time(struct hostapd_iface *iface, int start_chan_idx, int n_chans) dfs_get_cac_time() argument
659 hostapd_handle_dfs(struct hostapd_iface *iface) hostapd_handle_dfs() argument
762 hostapd_config_dfs_chan_available(struct hostapd_iface *iface) hostapd_config_dfs_chan_available() argument
779 hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) hostapd_dfs_complete_cac() argument
821 hostapd_dfs_pre_cac_expired(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) hostapd_dfs_pre_cac_expired() argument
840 hostapd_dfs_start_channel_switch_cac(struct hostapd_iface *iface) hostapd_dfs_start_channel_switch_cac() argument
881 hostapd_dfs_start_channel_switch(struct hostapd_iface *iface) hostapd_dfs_start_channel_switch() argument
1009 hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) hostapd_dfs_radar_detected() argument
1042 hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) hostapd_dfs_nop_finished() argument
1066 hostapd_is_dfs_required(struct hostapd_iface *iface) hostapd_is_dfs_required() argument
1092 hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) hostapd_dfs_start_cac() argument
1112 hostapd_handle_dfs_offload(struct hostapd_iface *iface) hostapd_handle_dfs_offload() argument
[all...]
H A 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
456 acs_surveys_are_sufficient(struct hostapd_iface *iface) acs_surveys_are_sufficient() argument
482 is_in_chanlist(struct hostapd_iface *iface, struct hostapd_channel_data *chan) is_in_chanlist() argument
492 acs_survey_all_chans_intereference_factor( struct hostapd_iface *iface) acs_survey_all_chans_intereference_factor() argument
518 acs_find_chan(struct hostapd_iface *iface, int freq) acs_find_chan() argument
575 acs_find_ideal_chan(struct hostapd_iface *iface) acs_find_ideal_chan() argument
786 acs_adjust_center_freq(struct hostapd_iface *iface) acs_adjust_center_freq() argument
815 acs_study_survey_based(struct hostapd_iface *iface) acs_study_survey_based() argument
834 acs_study_options(struct hostapd_iface *iface) acs_study_options() argument
846 acs_study(struct hostapd_iface *iface) acs_study() argument
887 acs_scan_complete(struct hostapd_iface *iface) acs_scan_complete() argument
920 acs_request_scan(struct hostapd_iface *iface) acs_request_scan() argument
963 acs_init(struct hostapd_iface *iface) acs_init() argument
[all...]
H A 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 in ap_ap_list_add()
76 ap_ap_list_del(struct hostapd_iface *iface, struct ap_info *ap) ap_ap_list_del() argument
90 ap_ap_hash_add(struct hostapd_iface *iface, struct ap_info *ap) ap_ap_hash_add() argument
97 ap_ap_hash_del(struct hostapd_iface *iface, struct ap_info *ap) ap_ap_hash_del() argument
119 ap_free_ap(struct hostapd_iface *iface, struct ap_info *ap) ap_free_ap() argument
129 hostapd_free_aps(struct hostapd_iface *iface) hostapd_free_aps() argument
145 ap_ap_add(struct hostapd_iface *iface, const u8 *addr) ap_ap_add() argument
169 ap_list_process_beacon(struct hostapd_iface *iface, const struct ieee80211_mgmt *mgmt, struct ieee802_11_elems *elems, struct hostapd_frame_info *fi) ap_list_process_beacon() argument
251 ap_list_timer(struct hostapd_iface *iface) ap_list_timer() argument
303 ap_list_init(struct hostapd_iface *iface) ap_list_init() argument
309 ap_list_deinit(struct hostapd_iface *iface) ap_list_deinit() argument
[all...]
H A 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 in hostapd_ht_operation_update()
201 is_40_allowed(struct hostapd_iface *iface, int channel) is_40_allowed() argument
232 struct hostapd_iface *iface = hapd->iface; hostapd_2040_coex_action() local
410 ht40_intolerant_add(struct hostapd_iface *iface, struct sta_info *sta) ht40_intolerant_add() argument
433 ht40_intolerant_remove(struct hostapd_iface *iface, struct sta_info *sta) ht40_intolerant_remove() argument
551 struct hostapd_iface *iface = eloop_data; ap_ht2040_timeout() local
[all...]
H A 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()
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
69 hostapd_for_each_interface(struct hapd_interfaces *interfaces, int (*cb)(struct hostapd_iface *iface, void *ctx), void *ctx) hostapd_for_each_interface() argument
202 hostapd_reload_config(struct hostapd_iface *iface) hostapd_reload_config() argument
468 sta_track_deinit(struct hostapd_iface *iface) sta_track_deinit() argument
484 hostapd_cleanup_iface_partial(struct hostapd_iface *iface) hostapd_cleanup_iface_partial() argument
514 hostapd_cleanup_iface(struct hostapd_iface *iface) hostapd_cleanup_iface() argument
541 hostapd_setup_encryption(char *iface, struct hostapd_data *hapd) hostapd_setup_encryption() argument
622 hostapd_validate_bssid_configuration(struct hostapd_iface *iface) hostapd_validate_bssid_configuration() argument
1365 hostapd_tx_queue_params(struct hostapd_iface *iface) hostapd_tx_queue_params() argument
1464 start_ctrl_iface(struct hostapd_iface *iface) start_ctrl_iface() argument
1487 struct hostapd_iface *iface = eloop_ctx; channel_list_update_timeout() local
1503 hostapd_channel_list_updated(struct hostapd_iface *iface, int initiator) hostapd_channel_list_updated() argument
1514 setup_interface(struct hostapd_iface *iface) setup_interface() argument
1587 setup_interface2(struct hostapd_iface *iface) setup_interface2() argument
1755 hostapd_owe_iface_iter(struct hostapd_iface *iface, void *ctx) hostapd_owe_iface_iter() argument
1809 hostapd_owe_iface_iter2(struct hostapd_iface *iface, void *ctx) hostapd_owe_iface_iter2() argument
1834 hostapd_owe_update_trans(struct hostapd_iface *iface) hostapd_owe_update_trans() argument
1852 struct hostapd_iface *iface = eloop_ctx; hostapd_interface_setup_failure_handler() local
1863 hostapd_setup_interface_complete_sync(struct hostapd_iface *iface, int err) hostapd_setup_interface_complete_sync() argument
2097 hostapd_setup_interface_complete(struct hostapd_iface *iface, int err) hostapd_setup_interface_complete() argument
2188 hostapd_setup_interface(struct hostapd_iface *iface) hostapd_setup_interface() argument
2265 hostapd_interface_deinit(struct hostapd_iface *iface) hostapd_interface_deinit() argument
2300 hostapd_interface_free(struct hostapd_iface *iface) hostapd_interface_free() argument
2397 struct hostapd_iface *iface = interfaces->iface[i]; ifname_in_use() local
2424 struct hostapd_iface *new_iface = NULL, *iface = NULL; hostapd_interface_init_bss() local
2526 hostapd_interface_deinit_free(struct hostapd_iface *iface) hostapd_interface_deinit_free() argument
2683 struct hostapd_iface **iface, *hapd_iface; hostapd_iface_alloc() local
2965 hostapd_remove_bss(struct hostapd_iface *iface, unsigned int idx) hostapd_remove_bss() argument
3150 hostapd_set_state(struct hostapd_iface *iface, enum hostapd_iface_state s) hostapd_set_state() argument
3159 hostapd_csa_in_progress(struct hostapd_iface *iface) hostapd_csa_in_progress() argument
3350 struct hostapd_iface *iface = hapd->iface; hostapd_fill_csa_settings() local
3482 hostapd_switch_channel_fallback(struct hostapd_iface *iface, const struct hostapd_freq_params *freq_params) hostapd_switch_channel_fallback() argument
3543 struct hostapd_iface *iface = interfaces->iface[i]; hostapd_get_iface() local
3557 hostapd_periodic_iface(struct hostapd_iface *iface) hostapd_periodic_iface() argument
[all...]
H A 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()
143 struct eth_p_oui_iface *iface; eth_p_oui_unregister() local
164 struct eth_p_oui_iface *iface = ctx->iface; eth_p_oui_send() local
[all...]
H A Dhw_features.h17 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_prepare_rates(struct hostapd_iface *iface,
26 void hostapd_stop_setup_timers(struct hostapd_iface *iface);
34 static inline int hostapd_get_hw_features(struct hostapd_iface *iface) in hostapd_get_hw_features() argument
39 static inline int hostapd_acs_completed(struct hostapd_iface *iface, int err) in hostapd_acs_completed() argument
44 static inline int hostapd_select_hw_mode(struct hostapd_iface *iface) in hostapd_select_hw_mode() argument
59 static inline int hostapd_check_ht_capab(struct hostapd_iface *iface) in hostapd_check_ht_capab() argument
64 hostapd_prepare_rates(struct hostapd_iface *iface, struct hostapd_hw_modes *mode) hostapd_prepare_rates() argument
70 hostapd_stop_setup_timers(struct hostapd_iface *iface) hostapd_stop_setup_timers() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A 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 in wpa_priv_cmd_register()
120 wpa_priv_cmd_unregister(struct wpa_priv_interface *iface, struct sockaddr_un *from) wpa_priv_cmd_unregister() argument
136 wpa_priv_cmd_scan(struct wpa_priv_interface *iface, void *buf, size_t len) wpa_priv_cmd_scan() argument
181 wpa_priv_get_scan_results2(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) wpa_priv_get_scan_results2() argument
227 wpa_priv_cmd_get_scan_results(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) wpa_priv_cmd_get_scan_results() argument
241 wpa_priv_cmd_authenticate(struct wpa_priv_interface *iface, void *buf, size_t len) wpa_priv_cmd_authenticate() argument
293 wpa_priv_cmd_associate(struct wpa_priv_interface *iface, void *buf, size_t len) wpa_priv_cmd_associate() argument
341 wpa_priv_cmd_get_bssid(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) wpa_priv_cmd_get_bssid() argument
362 wpa_priv_cmd_get_ssid(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) wpa_priv_cmd_get_ssid() argument
389 wpa_priv_cmd_set_key(struct wpa_priv_interface *iface, void *buf, size_t len) wpa_priv_cmd_set_key() argument
417 wpa_priv_cmd_get_capa(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) wpa_priv_cmd_get_capa() argument
446 struct wpa_priv_interface *iface = l2_ctx->parent; wpa_priv_l2_rx() local
474 wpa_priv_cmd_l2_register(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen, void *buf, size_t len) wpa_priv_cmd_l2_register() argument
535 wpa_priv_cmd_l2_unregister(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) wpa_priv_cmd_l2_unregister() argument
559 wpa_priv_cmd_l2_notify_auth_start(struct wpa_priv_interface *iface, struct sockaddr_un *from) wpa_priv_cmd_l2_notify_auth_start() argument
571 wpa_priv_cmd_l2_send(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen, void *buf, size_t len) wpa_priv_cmd_l2_send() argument
615 wpa_priv_cmd_set_country(struct wpa_priv_interface *iface, char *buf) wpa_priv_cmd_set_country() argument
628 struct wpa_priv_interface *iface = eloop_ctx; wpa_priv_receive() local
709 wpa_priv_interface_deinit(struct wpa_priv_interface *iface) wpa_priv_interface_deinit() argument
741 struct wpa_priv_interface *iface; wpa_priv_interface_init() local
856 wpa_priv_send_event(struct wpa_priv_interface *iface, int event, const void *data, size_t data_len) wpa_priv_send_event() argument
883 wpa_priv_send_auth(struct wpa_priv_interface *iface, union wpa_event_data *data) wpa_priv_send_auth() argument
913 wpa_priv_send_assoc(struct wpa_priv_interface *iface, int event, union wpa_event_data *data) wpa_priv_send_assoc() argument
974 wpa_priv_send_interface_status(struct wpa_priv_interface *iface, union wpa_event_data *data) wpa_priv_send_interface_status() argument
1006 wpa_priv_send_ft_response(struct wpa_priv_interface *iface, union wpa_event_data *data) wpa_priv_send_ft_response() argument
1037 struct wpa_priv_interface *iface = ctx; wpa_supplicant_event() local
1102 struct wpa_priv_interface *iface; wpa_supplicant_event_global() local
1132 struct wpa_priv_interface *iface = ctx; wpa_supplicant_rx_eapol() local
1205 struct wpa_priv_interface *iface; main() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A 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 in wpa_priv_cmd_register()
120 wpa_priv_cmd_unregister(struct wpa_priv_interface *iface, struct sockaddr_un *from) wpa_priv_cmd_unregister() argument
136 wpa_priv_cmd_scan(struct wpa_priv_interface *iface, void *buf, size_t len) wpa_priv_cmd_scan() argument
181 wpa_priv_get_scan_results2(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) wpa_priv_get_scan_results2() argument
227 wpa_priv_cmd_get_scan_results(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) wpa_priv_cmd_get_scan_results() argument
241 wpa_priv_cmd_authenticate(struct wpa_priv_interface *iface, void *buf, size_t len) wpa_priv_cmd_authenticate() argument
293 wpa_priv_cmd_associate(struct wpa_priv_interface *iface, void *buf, size_t len) wpa_priv_cmd_associate() argument
341 wpa_priv_cmd_get_bssid(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) wpa_priv_cmd_get_bssid() argument
362 wpa_priv_cmd_get_ssid(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) wpa_priv_cmd_get_ssid() argument
389 wpa_priv_cmd_set_key(struct wpa_priv_interface *iface, void *buf, size_t len) wpa_priv_cmd_set_key() argument
425 wpa_priv_cmd_get_capa(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) wpa_priv_cmd_get_capa() argument
454 struct wpa_priv_interface *iface = l2_ctx->parent; wpa_priv_l2_rx() local
482 wpa_priv_cmd_l2_register(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen, void *buf, size_t len) wpa_priv_cmd_l2_register() argument
543 wpa_priv_cmd_l2_unregister(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) wpa_priv_cmd_l2_unregister() argument
567 wpa_priv_cmd_l2_notify_auth_start(struct wpa_priv_interface *iface, struct sockaddr_un *from) wpa_priv_cmd_l2_notify_auth_start() argument
579 wpa_priv_cmd_l2_send(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen, void *buf, size_t len) wpa_priv_cmd_l2_send() argument
624 wpa_priv_cmd_set_country(struct wpa_priv_interface *iface, char *buf) wpa_priv_cmd_set_country() argument
637 struct wpa_priv_interface *iface = eloop_ctx; wpa_priv_receive() local
718 wpa_priv_interface_deinit(struct wpa_priv_interface *iface) wpa_priv_interface_deinit() argument
750 struct wpa_priv_interface *iface; wpa_priv_interface_init() local
865 wpa_priv_send_event(struct wpa_priv_interface *iface, int event, const void *data, size_t data_len) wpa_priv_send_event() argument
892 wpa_priv_send_auth(struct wpa_priv_interface *iface, union wpa_event_data *data) wpa_priv_send_auth() argument
922 wpa_priv_send_assoc(struct wpa_priv_interface *iface, int event, union wpa_event_data *data) wpa_priv_send_assoc() argument
983 wpa_priv_send_interface_status(struct wpa_priv_interface *iface, union wpa_event_data *data) wpa_priv_send_interface_status() argument
1015 wpa_priv_send_ft_response(struct wpa_priv_interface *iface, union wpa_event_data *data) wpa_priv_send_ft_response() argument
1046 struct wpa_priv_interface *iface = ctx; wpa_supplicant_event() local
1111 struct wpa_priv_interface *iface; wpa_supplicant_event_global() local
1141 struct wpa_priv_interface *iface = ctx; wpa_supplicant_rx_eapol() local
1215 struct wpa_priv_interface *iface; main() local
[all...]
/third_party/selinux/libsepol/src/
H A Diface_record.c59 const sepol_iface_t * iface, in sepol_iface_key_extract()
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
58 sepol_iface_key_extract(sepol_handle_t * handle, const sepol_iface_t * iface, sepol_iface_key_t ** key_ptr) sepol_iface_key_extract() argument
124 sepol_iface_set_name(sepol_handle_t * handle, sepol_iface_t * iface, const char *name) sepol_iface_set_name() argument
140 sepol_iface_get_ifcon(const sepol_iface_t * iface) sepol_iface_get_ifcon() argument
147 sepol_iface_set_ifcon(sepol_handle_t * handle, sepol_iface_t * iface, sepol_context_t * con) sepol_iface_set_ifcon() argument
165 sepol_iface_get_msgcon(const sepol_iface_t * iface) sepol_iface_get_msgcon() argument
172 sepol_iface_set_msgcon(sepol_handle_t * handle, sepol_iface_t * iface, sepol_context_t * con) sepol_iface_set_msgcon() argument
189 sepol_iface_clone(sepol_handle_t * handle, const sepol_iface_t * iface, sepol_iface_t ** iface_ptr) sepol_iface_clone() argument
220 sepol_iface_free(sepol_iface_t * iface) sepol_iface_free() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/
H A 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()
70 fst_printf_group(group, MSG_ERROR, "cannot create iface for %s", 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_DEBU in fst_attach()
90 fst_detach(struct fst_iface *iface) fst_detach() argument
166 fst_rx_action(struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t len) fst_rx_action() argument
178 fst_notify_peer_connected(struct fst_iface *iface, const u8 *addr) fst_notify_peer_connected() argument
194 fst_notify_peer_disconnected(struct fst_iface *iface, const u8 *addr) fst_notify_peer_disconnected() argument
217 fst_update_mac_addr(struct fst_iface *iface, const u8 *addr) fst_update_mac_addr() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
H A Ddbus_new_introspect.c30 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 in add_interface()
100 struct interfaces *iface; extract_interfaces_methods() local
115 struct interfaces *iface; extract_interfaces_signals() local
130 struct interfaces *iface; extract_interfaces_properties() local
161 struct interfaces *iface, *n; add_interfaces() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
H A Ddbus_new_introspect.c30 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 in add_interface()
100 struct interfaces *iface; extract_interfaces_methods() local
115 struct interfaces *iface; extract_interfaces_signals() local
130 struct interfaces *iface; extract_interfaces_properties() local
161 struct interfaces *iface, *n; add_interfaces() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/
H A 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()
70 fst_printf_group(group, MSG_ERROR, "cannot create iface for %s", 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_DEBU in fst_attach()
90 fst_detach(struct fst_iface *iface) fst_detach() argument
166 fst_rx_action(struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t len) fst_rx_action() argument
178 fst_notify_peer_connected(struct fst_iface *iface, const u8 *addr) fst_notify_peer_connected() argument
194 fst_notify_peer_disconnected(struct fst_iface *iface, const u8 *addr) fst_notify_peer_disconnected() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dap_main.c94 hapd->conf->iface, MAC2STR_SEC(addr), in hostapd_logger_cb()
99 hapd->conf->iface, module_str ? " " : "", in hostapd_logger_cb()
152 static int hostapd_driver_init(struct hostapd_iface *iface) in hostapd_driver_init() argument
156 struct hostapd_data *hapd = iface->bss[0]; in hostapd_driver_init()
169 if (strstr(hapd->conf->iface, "wlan") != NULL) { in hostapd_driver_init()
173 wpa_printf(MSG_INFO, "fail to set gHostapd ifname = %s", hapd->conf->iface); in hostapd_driver_init()
188 wpa_drivers[i]->global_init(iface->interfaces); in hostapd_driver_init()
201 params.ifname = hapd->conf->iface; in hostapd_driver_init()
205 params.num_bridge = hapd->iface->num_bss; in hostapd_driver_init()
206 params.bridge = os_calloc(hapd->iface in hostapd_driver_init()
270 struct hostapd_iface *iface; hostapd_interface_init() local
315 handle_reload_iface(struct hostapd_iface *iface, void *ctx) handle_reload_iface() argument
629 hostapd_periodic_call(struct hostapd_iface *iface, void *ctx) hostapd_periodic_call() argument
858 struct hostapd_iface *iface; ap_main() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dap_main.c97 hapd->conf->iface, MAC2STR(addr), in hostapd_logger_cb()
102 hapd->conf->iface, module_str ? " " : "", in hostapd_logger_cb()
155 static int hostapd_driver_init(struct hostapd_iface *iface) in hostapd_driver_init() argument
159 struct hostapd_data *hapd = iface->bss[0]; in hostapd_driver_init()
181 wpa_drivers[i]->global_init(iface->interfaces); in hostapd_driver_init()
194 params.ifname = hapd->conf->iface; in hostapd_driver_init()
198 params.num_bridge = hapd->iface->num_bss; in hostapd_driver_init()
199 params.bridge = os_calloc(hapd->iface->num_bss, sizeof(char *)); in hostapd_driver_init()
202 for (i = 0; i < hapd->iface->num_bss; i++) { in hostapd_driver_init()
203 struct hostapd_data *bss = hapd->iface in hostapd_driver_init()
263 struct hostapd_iface *iface; hostapd_interface_init() local
308 handle_reload_iface(struct hostapd_iface *iface, void *ctx) handle_reload_iface() argument
621 hostapd_periodic_call(struct hostapd_iface *iface, void *ctx) hostapd_periodic_call() argument
844 struct hostapd_iface *iface; ap_main() local
[all...]

Completed in 247 milliseconds

12345678910>>...15