/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | bss.c | 22 static void wpa_bss_set_hessid(struct wpa_bss *bss) in wpa_bss_set_hessid() argument 25 const u8 *ie = wpa_bss_get_ie(bss, WLAN_EID_INTERWORKING); in wpa_bss_set_hessid() 27 os_memset(bss->hessid, 0, ETH_ALEN); in wpa_bss_set_hessid() 31 os_memcpy(bss->hessid, ie + 3, ETH_ALEN); in wpa_bss_set_hessid() 33 os_memcpy(bss->hessid, ie + 5, ETH_ALEN); in wpa_bss_set_hessid() 110 int wpa_bss_anqp_unshare_alloc(struct wpa_bss *bss) in wpa_bss_anqp_unshare_alloc() argument 114 if (bss->anqp && bss->anqp->users > 1) { in wpa_bss_anqp_unshare_alloc() 116 anqp = wpa_bss_anqp_clone(bss->anqp); in wpa_bss_anqp_unshare_alloc() 120 bss->anqp->users--; in wpa_bss_anqp_unshare_alloc() 121 bss->anqp = anqp; in wpa_bss_anqp_unshare_alloc() [all …]
|
D | bgscan_learn.c | 39 struct dl_list bss; member 45 static void bss_free(struct bgscan_learn_bss *bss) in bss_free() argument 47 os_free(bss->neigh); in bss_free() 48 os_free(bss); in bss_free() 68 static void bgscan_learn_add_neighbor(struct bgscan_learn_bss *bss, in bgscan_learn_add_neighbor() argument 73 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0) in bgscan_learn_add_neighbor() 75 if (bssid_in_array(bss->neigh, bss->num_neigh, bssid)) in bgscan_learn_add_neighbor() 78 n = os_realloc_array(bss->neigh, bss->num_neigh + 1, ETH_ALEN); in bgscan_learn_add_neighbor() 82 os_memcpy(n + bss->num_neigh * ETH_ALEN, bssid, ETH_ALEN); in bgscan_learn_add_neighbor() 83 bss->neigh = n; in bgscan_learn_add_neighbor() [all …]
|
D | ap.c | 444 struct hostapd_bss_config *bss = conf->bss[0]; in wpa_supplicant_conf_ap() local 448 os_strlcpy(bss->iface, wpa_s->ifname, sizeof(bss->iface)); in wpa_supplicant_conf_ap() 458 bss->pbss = ssid->pbss; in wpa_supplicant_conf_ap() 512 bss->isolate = !wpa_s->conf->p2p_intra_bss; in wpa_supplicant_conf_ap() 513 bss->extended_key_id = wpa_s->conf->extended_key_id; in wpa_supplicant_conf_ap() 514 bss->force_per_enrollee_psk = wpa_s->global->p2p_per_sta_psk; in wpa_supplicant_conf_ap() 515 bss->wpa_deny_ptk0_rekey = ssid->wpa_deny_ptk0_rekey; in wpa_supplicant_conf_ap() 518 os_memcpy(bss->ip_addr_go, wpa_s->p2pdev->conf->ip_addr_go, 4); in wpa_supplicant_conf_ap() 519 os_memcpy(bss->ip_addr_mask, wpa_s->p2pdev->conf->ip_addr_mask, in wpa_supplicant_conf_ap() 521 os_memcpy(bss->ip_addr_start, in wpa_supplicant_conf_ap() [all …]
|
D | interworking.c | 50 struct wpa_supplicant *wpa_s, struct wpa_bss *bss, int ignore_bw, 53 struct wpa_supplicant *wpa_s, struct wpa_bss *bss, int ignore_bw, 230 static int additional_roaming_consortiums(struct wpa_bss *bss) in additional_roaming_consortiums() argument 233 ie = wpa_bss_get_ie(bss, WLAN_EID_ROAMING_CONSORTIUM); in additional_roaming_consortiums() 248 struct wpa_bss *bss) in interworking_anqp_send_req() argument 259 MAC2STR(bss->bssid)); in interworking_anqp_send_req() 260 wpa_s->interworking_gas_bss = bss; in interworking_anqp_send_req() 268 additional_roaming_consortiums(bss))) in interworking_anqp_send_req() 284 if (wpa_bss_get_vendor_ie(bss, HS20_IE_VENDOR_TYPE)) { in interworking_anqp_send_req() 319 res = gas_query_req(wpa_s->gas, bss->bssid, bss->freq, 0, 0, buf, in interworking_anqp_send_req() [all …]
|
D | bss.h | 128 static inline const u8 * wpa_bss_ie_ptr(const struct wpa_bss *bss) in wpa_bss_ie_ptr() argument 130 return bss->ies; in wpa_bss_ie_ptr() 134 const struct wpa_bss *bss); 139 void wpa_bss_remove(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, 158 const u8 * wpa_bss_get_ie(const struct wpa_bss *bss, u8 ie); 159 const u8 * wpa_bss_get_ie_ext(const struct wpa_bss *bss, u8 ext); 160 const u8 * wpa_bss_get_vendor_ie(const struct wpa_bss *bss, u32 vendor_type); 161 const u8 * wpa_bss_get_vendor_ie_beacon(const struct wpa_bss *bss, 163 struct wpabuf * wpa_bss_get_vendor_ie_multi(const struct wpa_bss *bss, 165 struct wpabuf * wpa_bss_get_vendor_ie_multi_beacon(const struct wpa_bss *bss, [all …]
|
D | mesh.c | 153 static void wpas_mesh_copy_groups(struct hostapd_data *bss, in wpas_mesh_copy_groups() argument 164 bss->conf->sae_groups = os_malloc(groups_size); in wpas_mesh_copy_groups() 165 if (bss->conf->sae_groups) in wpas_mesh_copy_groups() 166 os_memcpy(bss->conf->sae_groups, wpa_s->conf->sae_groups, in wpas_mesh_copy_groups() 175 struct hostapd_data *bss = ifmsh->bss[0]; in wpas_mesh_init_rsn() local 189 bss->conf->wpa = ssid->proto; in wpas_mesh_init_rsn() 190 bss->conf->wpa_key_mgmt = ssid->key_mgmt; in wpas_mesh_init_rsn() 193 wpas_mesh_copy_groups(bss, wpa_s); in wpas_mesh_init_rsn() 195 bss->conf->sae_groups = os_memdup(default_groups, in wpas_mesh_init_rsn() 197 if (!bss->conf->sae_groups) in wpas_mesh_init_rsn() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | bss.c | 34 static void wpa_bss_set_hessid(struct wpa_bss *bss) in wpa_bss_set_hessid() argument 37 const u8 *ie = wpa_bss_get_ie(bss, WLAN_EID_INTERWORKING); in wpa_bss_set_hessid() 39 os_memset(bss->hessid, 0, ETH_ALEN); in wpa_bss_set_hessid() 43 os_memcpy(bss->hessid, ie + 3, ETH_ALEN); in wpa_bss_set_hessid() 45 os_memcpy(bss->hessid, ie + 5, ETH_ALEN); in wpa_bss_set_hessid() 122 int wpa_bss_anqp_unshare_alloc(struct wpa_bss *bss) in wpa_bss_anqp_unshare_alloc() argument 126 if (bss->anqp && bss->anqp->users > 1) { in wpa_bss_anqp_unshare_alloc() 128 anqp = wpa_bss_anqp_clone(bss->anqp); in wpa_bss_anqp_unshare_alloc() 132 bss->anqp->users--; in wpa_bss_anqp_unshare_alloc() 133 bss->anqp = anqp; in wpa_bss_anqp_unshare_alloc() [all …]
|
D | ap.c | 282 struct hostapd_bss_config *bss = conf->bss[0]; in wpa_supplicant_conf_ap() local 286 os_strlcpy(bss->iface, wpa_s->ifname, sizeof(bss->iface)); in wpa_supplicant_conf_ap() 296 bss->pbss = ssid->pbss; in wpa_supplicant_conf_ap() 350 bss->isolate = !wpa_s->conf->p2p_intra_bss; in wpa_supplicant_conf_ap() 351 bss->force_per_enrollee_psk = wpa_s->global->p2p_per_sta_psk; in wpa_supplicant_conf_ap() 354 os_memcpy(bss->ip_addr_go, wpa_s->p2pdev->conf->ip_addr_go, 4); in wpa_supplicant_conf_ap() 355 os_memcpy(bss->ip_addr_mask, wpa_s->p2pdev->conf->ip_addr_mask, in wpa_supplicant_conf_ap() 357 os_memcpy(bss->ip_addr_start, in wpa_supplicant_conf_ap() 359 os_memcpy(bss->ip_addr_end, wpa_s->p2pdev->conf->ip_addr_end, in wpa_supplicant_conf_ap() 368 os_memcpy(bss->ssid.ssid, ssid->ssid, ssid->ssid_len); in wpa_supplicant_conf_ap() [all …]
|
D | bgscan_learn.c | 39 struct dl_list bss; member 45 static void bss_free(struct bgscan_learn_bss *bss) in bss_free() argument 47 os_free(bss->neigh); in bss_free() 48 os_free(bss); in bss_free() 68 static void bgscan_learn_add_neighbor(struct bgscan_learn_bss *bss, in bgscan_learn_add_neighbor() argument 73 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0) in bgscan_learn_add_neighbor() 75 if (bssid_in_array(bss->neigh, bss->num_neigh, bssid)) in bgscan_learn_add_neighbor() 78 n = os_realloc_array(bss->neigh, bss->num_neigh + 1, ETH_ALEN); in bgscan_learn_add_neighbor() 82 os_memcpy(n + bss->num_neigh * ETH_ALEN, bssid, ETH_ALEN); in bgscan_learn_add_neighbor() 83 bss->neigh = n; in bgscan_learn_add_neighbor() [all …]
|
D | interworking.c | 50 struct wpa_supplicant *wpa_s, struct wpa_bss *bss, int ignore_bw, 53 struct wpa_supplicant *wpa_s, struct wpa_bss *bss, int ignore_bw, 230 static int additional_roaming_consortiums(struct wpa_bss *bss) in additional_roaming_consortiums() argument 233 ie = wpa_bss_get_ie(bss, WLAN_EID_ROAMING_CONSORTIUM); in additional_roaming_consortiums() 248 struct wpa_bss *bss) in interworking_anqp_send_req() argument 259 MAC2STR(bss->bssid)); in interworking_anqp_send_req() 260 wpa_s->interworking_gas_bss = bss; in interworking_anqp_send_req() 268 additional_roaming_consortiums(bss))) in interworking_anqp_send_req() 284 if (wpa_bss_get_vendor_ie(bss, HS20_IE_VENDOR_TYPE)) { in interworking_anqp_send_req() 319 res = gas_query_req(wpa_s->gas, bss->bssid, bss->freq, 0, buf, in interworking_anqp_send_req() [all …]
|
D | bss.h | 119 void wpa_bss_remove(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, 138 const u8 * wpa_bss_get_ie(const struct wpa_bss *bss, u8 ie); 139 const u8 * wpa_bss_get_vendor_ie(const struct wpa_bss *bss, u32 vendor_type); 140 const u8 * wpa_bss_get_vendor_ie_beacon(const struct wpa_bss *bss, 142 struct wpabuf * wpa_bss_get_vendor_ie_multi(const struct wpa_bss *bss, 144 struct wpabuf * wpa_bss_get_vendor_ie_multi_beacon(const struct wpa_bss *bss, 146 int wpa_bss_get_max_rate(const struct wpa_bss *bss); 147 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates); 149 int wpa_bss_anqp_unshare_alloc(struct wpa_bss *bss); 158 const u8 * wpa_bss_get_fils_cache_id(struct wpa_bss *bss); [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | ap_config.c | 28 static void hostapd_config_free_vlan(struct hostapd_bss_config *bss) in hostapd_config_free_vlan() argument 32 vlan = bss->vlan; in hostapd_config_free_vlan() 40 bss->vlan = NULL; in hostapd_config_free_vlan() 48 void hostapd_config_defaults_bss(struct hostapd_bss_config *bss) in hostapd_config_defaults_bss() argument 50 dl_list_init(&bss->anqp_elem); in hostapd_config_defaults_bss() 52 bss->logger_syslog_level = HOSTAPD_LEVEL_INFO; in hostapd_config_defaults_bss() 53 bss->logger_stdout_level = HOSTAPD_LEVEL_INFO; in hostapd_config_defaults_bss() 54 bss->logger_syslog = (unsigned int) -1; in hostapd_config_defaults_bss() 55 bss->logger_stdout = (unsigned int) -1; in hostapd_config_defaults_bss() 58 bss->auth_algs = WPA_AUTH_ALG_OPEN | WPA_AUTH_ALG_SHARED; in hostapd_config_defaults_bss() [all …]
|
D | airtime_policy.c | 136 struct hostapd_data *bss; in update_airtime_weights() local 147 bss = iface->bss[i]; in update_airtime_weights() 148 if (!bss->started || !bss->conf->airtime_weight) in update_airtime_weights() 151 count_backlogged_sta(bss); in update_airtime_weights() 152 if (!bss->num_backlogged_sta) in update_airtime_weights() 155 if (!num_sta_min || bss->num_backlogged_sta < num_sta_min) in update_airtime_weights() 156 num_sta_min = bss->num_backlogged_sta; in update_airtime_weights() 158 num_sta_prod *= bss->num_backlogged_sta; in update_airtime_weights() 159 num_sta_sum += bss->num_backlogged_sta; in update_airtime_weights() 160 wt_sum += bss->conf->airtime_weight; in update_airtime_weights() [all …]
|
D | hostapd.c | 180 hostapd_flush_old_stations(iface->bss[j], in hostapd_clear_old() 183 hostapd_broadcast_wep_clear(iface->bss[j]); in hostapd_clear_old() 189 radius_client_flush(iface->bss[j]->radius, 0); in hostapd_clear_old() 204 if (os_strcmp(newconf->bss[i]->iface, in hostapd_iface_conf_changed() 205 oldconf->bss[i]->iface) != 0) in hostapd_iface_conf_changed() 216 struct hostapd_data *hapd = iface->bss[0]; in hostapd_reload_config() 224 hostapd_reload_bss(iface->bss[j]); in hostapd_reload_config() 270 hapd = iface->bss[j]; in hostapd_reload_config() 287 hapd->conf = newconf->bss[j]; in hostapd_reload_config() 545 os_free(iface->bss); in hostapd_cleanup_iface() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
D | ap_config_file.c | 30 static int hostapd_config_read_vlan_file(struct hostapd_bss_config *bss, in hostapd_config_read_vlan_file() argument 110 vlan->next = bss->vlan; in hostapd_config_read_vlan_file() 111 bss->vlan = vlan; in hostapd_config_read_vlan_file() 658 static int hostapd_parse_das_client(struct hostapd_bss_config *bss, char *val) in hostapd_parse_das_client() argument 668 if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr)) in hostapd_parse_das_client() 671 os_free(bss->radius_das_shared_secret); in hostapd_parse_das_client() 672 bss->radius_das_shared_secret = (u8 *) os_strdup(secret); in hostapd_parse_das_client() 673 if (bss->radius_das_shared_secret == NULL) in hostapd_parse_das_client() 675 bss->radius_das_shared_secret_len = os_strlen(secret); in hostapd_parse_das_client() 915 struct hostapd_bss_config **all, *bss; in hostapd_config_bss() local [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
D | ap_config_file.c | 28 static int hostapd_config_read_vlan_file(struct hostapd_bss_config *bss, in hostapd_config_read_vlan_file() argument 108 vlan->next = bss->vlan; in hostapd_config_read_vlan_file() 109 bss->vlan = vlan; in hostapd_config_read_vlan_file() 656 static int hostapd_parse_das_client(struct hostapd_bss_config *bss, char *val) in hostapd_parse_das_client() argument 666 if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr)) in hostapd_parse_das_client() 669 os_free(bss->radius_das_shared_secret); in hostapd_parse_das_client() 670 bss->radius_das_shared_secret = (u8 *) os_strdup(secret); in hostapd_parse_das_client() 671 if (bss->radius_das_shared_secret == NULL) in hostapd_parse_das_client() 673 bss->radius_das_shared_secret_len = os_strlen(secret); in hostapd_parse_das_client() 909 struct hostapd_bss_config **all, *bss; in hostapd_config_bss() local [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | ap_config.c | 27 static void hostapd_config_free_vlan(struct hostapd_bss_config *bss) in hostapd_config_free_vlan() argument 31 vlan = bss->vlan; in hostapd_config_free_vlan() 39 bss->vlan = NULL; in hostapd_config_free_vlan() 47 void hostapd_config_defaults_bss(struct hostapd_bss_config *bss) in hostapd_config_defaults_bss() argument 49 dl_list_init(&bss->anqp_elem); in hostapd_config_defaults_bss() 51 bss->logger_syslog_level = HOSTAPD_LEVEL_INFO; in hostapd_config_defaults_bss() 52 bss->logger_stdout_level = HOSTAPD_LEVEL_INFO; in hostapd_config_defaults_bss() 53 bss->logger_syslog = (unsigned int) -1; in hostapd_config_defaults_bss() 54 bss->logger_stdout = (unsigned int) -1; in hostapd_config_defaults_bss() 56 bss->auth_algs = WPA_AUTH_ALG_OPEN | WPA_AUTH_ALG_SHARED; in hostapd_config_defaults_bss() [all …]
|
D | airtime_policy.c | 132 struct hostapd_data *bss; in update_airtime_weights() local 143 bss = iface->bss[i]; in update_airtime_weights() 144 if (!bss->started || !bss->conf->airtime_weight) in update_airtime_weights() 147 count_backlogged_sta(bss); in update_airtime_weights() 148 if (!bss->num_backlogged_sta) in update_airtime_weights() 151 if (!num_sta_min || bss->num_backlogged_sta < num_sta_min) in update_airtime_weights() 152 num_sta_min = bss->num_backlogged_sta; in update_airtime_weights() 154 num_sta_prod *= bss->num_backlogged_sta; in update_airtime_weights() 155 num_sta_sum += bss->num_backlogged_sta; in update_airtime_weights() 156 wt_sum += bss->conf->airtime_weight; in update_airtime_weights() [all …]
|
D | hostapd.c | 171 hostapd_flush_old_stations(iface->bss[j], in hostapd_clear_old() 173 hostapd_broadcast_wep_clear(iface->bss[j]); in hostapd_clear_old() 178 radius_client_flush(iface->bss[j]->radius, 0); in hostapd_clear_old() 193 if (os_strcmp(newconf->bss[i]->iface, in hostapd_iface_conf_changed() 194 oldconf->bss[i]->iface) != 0) in hostapd_iface_conf_changed() 205 struct hostapd_data *hapd = iface->bss[0]; in hostapd_reload_config() 213 hostapd_reload_bss(iface->bss[j]); in hostapd_reload_config() 259 hapd = iface->bss[j]; in hostapd_reload_config() 276 hapd->conf = newconf->bss[j]; in hostapd_reload_config() 526 os_free(iface->bss); in hostapd_cleanup_iface() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | driver_nl80211.c | 199 static void wpa_driver_nl80211_deinit(struct i802_bss *bss); 200 static int wpa_driver_nl80211_set_mode_ibss(struct i802_bss *bss, 207 static int nl80211_send_frame_cmd(struct i802_bss *bss, 212 static int wpa_driver_nl80211_probe_req_report(struct i802_bss *bss, 224 static int nl80211_set_channel(struct i802_bss *bss, 232 static int i802_set_iface_flags(struct i802_bss *bss, int up); 287 struct i802_bss *bss; in get_bss_ifindex() local 289 for (bss = drv->first_bss; bss; bss = bss->next) { in get_bss_ifindex() 290 if (bss->ifindex == ifindex) in get_bss_ifindex() 291 return bss; in get_bss_ifindex() [all …]
|
D | driver_nl80211_scan.c | 89 static int nl80211_abort_scan(struct i802_bss *bss) in nl80211_abort_scan() argument 93 struct wpa_driver_nl80211_data *drv = bss->drv; in nl80211_abort_scan() 96 msg = nl80211_cmd_msg(bss, 0, NL80211_CMD_ABORT_SCAN); in nl80211_abort_scan() 181 nl80211_scan_common(struct i802_bss *bss, u8 cmd, in nl80211_scan_common() argument 184 struct wpa_driver_nl80211_data *drv = bss->drv; in nl80211_scan_common() 189 msg = nl80211_cmd_msg(bss, 0, cmd); in nl80211_scan_common() 318 int wpa_driver_nl80211_scan(struct i802_bss *bss, in wpa_driver_nl80211_scan() argument 321 struct wpa_driver_nl80211_data *drv = bss->drv; in wpa_driver_nl80211_scan() 331 msg = nl80211_scan_common(bss, NL80211_CMD_TRIGGER_SCAN, params); in wpa_driver_nl80211_scan() 379 bss, NL80211_IFTYPE_STATION)) in wpa_driver_nl80211_scan() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | driver_nl80211.c | 158 static void wpa_driver_nl80211_deinit(struct i802_bss *bss); 159 static int wpa_driver_nl80211_set_mode_ibss(struct i802_bss *bss, 166 static int nl80211_send_frame_cmd(struct i802_bss *bss, 172 static int wpa_driver_nl80211_probe_req_report(struct i802_bss *bss, 184 static int nl80211_set_channel(struct i802_bss *bss, 192 static int i802_set_iface_flags(struct i802_bss *bss, int up); 247 struct i802_bss *bss; in get_bss_ifindex() local 249 for (bss = drv->first_bss; bss; bss = bss->next) { in get_bss_ifindex() 250 if (bss->ifindex == ifindex) in get_bss_ifindex() 251 return bss; in get_bss_ifindex() [all …]
|
D | driver_nl80211_scan.c | 90 static int nl80211_abort_scan(struct i802_bss *bss) in nl80211_abort_scan() argument 94 struct wpa_driver_nl80211_data *drv = bss->drv; in nl80211_abort_scan() 97 msg = nl80211_cmd_msg(bss, 0, NL80211_CMD_ABORT_SCAN); in nl80211_abort_scan() 179 nl80211_scan_common(struct i802_bss *bss, u8 cmd, in nl80211_scan_common() argument 182 struct wpa_driver_nl80211_data *drv = bss->drv; in nl80211_scan_common() 187 msg = nl80211_cmd_msg(bss, 0, cmd); in nl80211_scan_common() 321 int wpa_driver_nl80211_scan(struct i802_bss *bss, in wpa_driver_nl80211_scan() argument 324 struct wpa_driver_nl80211_data *drv = bss->drv; in wpa_driver_nl80211_scan() 334 msg = nl80211_scan_common(bss, NL80211_CMD_TRIGGER_SCAN, params); in wpa_driver_nl80211_scan() 382 bss, NL80211_IFTYPE_STATION)) in wpa_driver_nl80211_scan() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | hw_features_common.c | 156 void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, int *sec_chan) in get_pri_sec_chan() argument 163 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0); in get_pri_sec_chan() 201 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 202 if (bss->freq == pri_freq) in check_40mhz_5g() 204 else if (bss->freq == sec_freq) in check_40mhz_5g() 220 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 221 get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); in check_40mhz_5g() 230 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 231 get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); in check_40mhz_5g() 237 MAC2STR(bss->bssid)); in check_40mhz_5g() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | hw_features_common.c | 179 void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, int *sec_chan) in get_pri_sec_chan() argument 186 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0); in get_pri_sec_chan() 221 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 222 if (bss->freq == pri_chan->freq) in check_40mhz_5g() 224 else if (bss->freq == sec_chan->freq) in check_40mhz_5g() 240 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 241 get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); in check_40mhz_5g() 250 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 251 get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); in check_40mhz_5g() 257 MAC2STR(bss->bssid)); in check_40mhz_5g() [all …]
|