Lines Matching refs:airoc_sta_if
63 static whd_interface_t airoc_sta_if; variable
452 if (whd_wifi_get_mac_address(airoc_sta_if, &airoc_sta_if->mac_addr) != WHD_SUCCESS) { in airoc_mgmt_init()
455 (void)memcpy(&data->mac_addr, &airoc_sta_if->mac_addr, in airoc_mgmt_init()
456 sizeof(airoc_sta_if->mac_addr)); in airoc_mgmt_init()
491 if (whd_wifi_scan(airoc_sta_if, params->scan_type, WHD_BSS_TYPE_ANY, &(data->ssid), NULL, in airoc_mgmt_scan()
533 if (whd_wifi_scan(airoc_sta_if, WHD_SCAN_TYPE_ACTIVE, WHD_BSS_TYPE_ANY, NULL, NULL, NULL, in airoc_mgmt_connect()
542 whd_wifi_stop_scan(airoc_sta_if); in airoc_mgmt_connect()
554 if (whd_wifi_join(airoc_sta_if, &usr_result.SSID, usr_result.security, params->psk, in airoc_mgmt_connect()
587 if (whd_wifi_leave(airoc_sta_if) != WHD_SUCCESS) { in airoc_mgmt_disconnect()
748 airoc_if = airoc_sta_if; in airoc_mgmt_ap_disable()
780 whd_ret = airoc_wifi_init_primary(dev, &airoc_sta_if, &airoc_wifi_netif_if_default, in airoc_init()
786 airoc_if = airoc_sta_if; in airoc_init()
788 whd_ret = whd_management_set_event_handler(airoc_sta_if, sta_link_events, in airoc_init()