Home
last modified time | relevance | path

Searched refs:g_wifiHalVendorInterface (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/
H A Dwifi_hal_adapter.c29 WifiHalVendorInterface *g_wifiHalVendorInterface = NULL; variable
118 if (g_wifiHalVendorInterface != NULL) { in GetWifiHalVendorInterface()
119 return g_wifiHalVendorInterface; in GetWifiHalVendorInterface()
121 g_wifiHalVendorInterface = (WifiHalVendorInterface *)calloc(1, sizeof(WifiHalVendorInterface)); in GetWifiHalVendorInterface()
122 if (g_wifiHalVendorInterface == NULL) { in GetWifiHalVendorInterface()
125 InitDefaultHalVendorFunc(&g_wifiHalVendorInterface->func); in GetWifiHalVendorInterface()
126 int ret = OpenHalVendorModule(g_wifiHalVendorInterface); in GetWifiHalVendorInterface()
130 return g_wifiHalVendorInterface; in GetWifiHalVendorInterface()
135 if (g_wifiHalVendorInterface != NULL) { in ReleaseWifiHalVendorInterface()
136 if (g_wifiHalVendorInterface in ReleaseWifiHalVendorInterface()
[all...]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/
H A Dwifi_hal_adapter_test.cpp43 WifiHalVendorInterface *g_wifiHalVendorInterface = GetWifiHalVendorInterface(); in HWTEST_F() local
45 EXPECT_TRUE(g_wifiHalVendorInterface != NULL); in HWTEST_F()

Completed in 2 milliseconds