Lines Matching refs:best_ap
2631 struct wifi_scan_result2 *best_ap = OSA_MemoryAllocate(sizeof(struct wifi_scan_result2)); in handle_scan_results() local
2633 struct wifi_scan_result2 *best_ap = OSA_MemoryPoolAllocate(buf_512_MemoryPool); in handle_scan_results() local
2636 if (best_ap == NULL) in handle_scan_results()
2665 … (void)memcpy((void *)best_ap, (const void *)res, sizeof(struct wifi_scan_result2)); in handle_scan_results()
2674 wlcm_d("RSSI: Best AP=%d Result AP=%d", best_ap->RSSI, res->RSSI); in handle_scan_results()
2675 if (best_ap->RSSI > res->RSSI) in handle_scan_results()
2683 … (void)memcpy((void *)best_ap, (const void *)res, sizeof(struct wifi_scan_result2)); in handle_scan_results()
2695 …if (memcmp((const void *)network->bssid, (const void *)best_ap->bssid, (size_t)IEEEtypes_ADDRESS_S… in handle_scan_results()
2709 OSA_MemoryFree((void *)best_ap); in handle_scan_results()
2711 OSA_MemoryPoolFree(buf_512_MemoryPool, best_ap); in handle_scan_results()
2718 wlan_send_btm_response(best_ap->bssid, WNM_BTM_ACCEPT); in handle_scan_results()
2726 if ((wlan.ft_bss == true) && (network->mdid == best_ap->mdid)) in handle_scan_results()
2733 update_network_params(network, best_ap); in handle_scan_results()
2739 OSA_MemoryFree((void *)best_ap); in handle_scan_results()
2741 OSA_MemoryPoolFree(buf_512_MemoryPool, best_ap); in handle_scan_results()
2749 ret = start_association(network, best_ap); in handle_scan_results()
2753 OSA_MemoryFree((void *)best_ap); in handle_scan_results()
2755 OSA_MemoryPoolFree(buf_512_MemoryPool, best_ap); in handle_scan_results()
2766 OSA_MemoryFree((void *)best_ap); in handle_scan_results()
2768 OSA_MemoryPoolFree(buf_512_MemoryPool, best_ap); in handle_scan_results()
2780 OSA_MemoryFree((void *)best_ap); in handle_scan_results()
2782 OSA_MemoryPoolFree(buf_512_MemoryPool, best_ap); in handle_scan_results()