Lines Matching refs:roaming_params

48 static struct wifi_roaming_params roaming_params;  variable
378 memset(&roaming_params, 0x0, sizeof(roaming_params)); in wifi_connect()
379 roaming_params.is_11r_used = params->ft_used; in wifi_connect()
483 if (roaming_params.is_11r_used) { in wifi_start_roaming()
489 } else if (roaming_params.is_11k_enabled) { in wifi_start_roaming()
490 memset(&roaming_params.neighbor_rep, 0x0, sizeof(roaming_params.neighbor_rep)); in wifi_start_roaming()
519 for (int i = 0; i < roaming_params.neighbor_rep.neighbor_cnt; i++) { in wifi_neighbor_rep_complete()
520 params.band_chan[i].channel = roaming_params.neighbor_rep.neighbor_ap[i].channel; in wifi_neighbor_rep_complete()
544 int idx = roaming_params.neighbor_rep.neighbor_cnt; in wifi_mgmt_raise_neighbor_rep_recv_event()
560 for (i = 0; i < roaming_params.neighbor_rep.neighbor_cnt; i++) { in wifi_mgmt_raise_neighbor_rep_recv_event()
561 if (strncmp((const char *)roaming_params.neighbor_rep.neighbor_ap[i].bssid, in wifi_mgmt_raise_neighbor_rep_recv_event()
567 if (roaming_params.neighbor_rep.neighbor_ap[i].channel == channel) { in wifi_mgmt_raise_neighbor_rep_recv_event()
572 if (!match && (roaming_params.neighbor_rep.neighbor_cnt < MAX_NEIGHBOR_AP_LIMIT)) { in wifi_mgmt_raise_neighbor_rep_recv_event()
573 memcpy((char *)roaming_params.neighbor_rep.neighbor_ap[idx].bssid, in wifi_mgmt_raise_neighbor_rep_recv_event()
575 sizeof(roaming_params.neighbor_rep.neighbor_ap[idx].bssid)); in wifi_mgmt_raise_neighbor_rep_recv_event()
577 roaming_params.neighbor_rep.neighbor_ap[idx].bssid[len] = (uint8_t)'\0'; in wifi_mgmt_raise_neighbor_rep_recv_event()
579 memcpy((char *)roaming_params.neighbor_rep.neighbor_ap[idx].bssid_info, in wifi_mgmt_raise_neighbor_rep_recv_event()
581 sizeof(roaming_params.neighbor_rep.neighbor_ap[idx].bssid_info)); in wifi_mgmt_raise_neighbor_rep_recv_event()
583 roaming_params.neighbor_rep.neighbor_ap[idx].bssid_info[len] = in wifi_mgmt_raise_neighbor_rep_recv_event()
586 roaming_params.neighbor_rep.neighbor_ap[idx].channel = channel; in wifi_mgmt_raise_neighbor_rep_recv_event()
587 roaming_params.neighbor_rep.neighbor_ap[idx].op_class = op_class; in wifi_mgmt_raise_neighbor_rep_recv_event()
588 roaming_params.neighbor_rep.neighbor_ap[idx].phy_type = phy_type; in wifi_mgmt_raise_neighbor_rep_recv_event()
590 roaming_params.neighbor_rep.neighbor_cnt += 1; in wifi_mgmt_raise_neighbor_rep_recv_event()
788 roaming_params.is_11k_enabled = params->enable_11k; in wifi_11k_cfg()