Home
last modified time | relevance | path

Searched refs:WifiError (Results 1 - 12 of 12) sorted by relevance

/drivers/peripheral/wlan/chip/hdi_service/
H A Dwifi_hal.h60 } WifiError; typedef
73 WifiError VendorHalInit(wifiHandle *handle);
74 WifiError WaitDriverStart(void);
80 WifiError VendorHalGetIfaces(wifiHandle handle, int *numIfaces, wifiInterfaceHandle **ifaces);
81 WifiError VendorHalGetIfName(wifiInterfaceHandle iface, char *name, size_t size);
87 WifiError VendorHalSetRestartHandler(wifiHandle handle,
100 WifiError (*vendorHalInit)(wifiHandle *);
101 WifiError (*waitDriverStart)(void);
105 WifiError (*wifiGetChipFeatureSet)(wifiHandle handle, uint64_t *set);
106 WifiError (*vendorHalGetIface
[all...]
H A Dwifi_vendor_hal.h43 virtual WifiError Initialize();
44 WifiError Start();
45 virtual WifiError Stop(std::unique_lock<std::recursive_mutex>* lock,
47 WifiError GetSupportedFeatureSet(const std::string& ifaceName, uint32_t& capabilities);
48 WifiError CreateVirtualInterface(const std::string& ifname, HalIfaceType iftype);
49 WifiError DeleteVirtualInterface(const std::string& ifname);
50 std::pair<WifiError, std::vector<uint32_t>> GetValidFrequenciesForBand(
52 WifiError SetCountryCode(const std::string& ifaceName, const std::string& code);
53 WifiError GetChipCaps(const std::string& ifaceName, uint32_t& capabilities);
54 WifiError RegisterRestartCallbac
[all...]
H A Dwifi_vendor_hal.cpp67 WifiError WifiVendorHal::Initialize() in Initialize()
73 WifiError WifiVendorHal::Start() in Start()
84 WifiError status = globalFuncTable_.waitDriverStart(); in Start()
155 WifiError WifiVendorHal::Stop(std::unique_lock<std::recursive_mutex>* lock, in Stop()
198 WifiError WifiVendorHal::GetChipCaps(const std::string& ifaceName, uint32_t& capabilities) in GetChipCaps()
207 WifiError WifiVendorHal::GetSupportedFeatureSet(const std::string& ifaceName, uint32_t& capabilities) in GetSupportedFeatureSet()
216 std::pair<WifiError, std::vector<uint32_t>>WifiVendorHal::GetValidFrequenciesForBand( in GetValidFrequenciesForBand()
221 WifiError status = globalFuncTable_.vendorHalGetChannelsInBand( in GetValidFrequenciesForBand()
226 WifiError WifiVendorHal::CreateVirtualInterface(const std::string& ifname, HalIfaceType iftype) in CreateVirtualInterface()
228 WifiError statu in CreateVirtualInterface()
[all...]
H A Dwifi_sta_iface.cpp65 WifiError status; in GetSupportFreqs()
78 WifiError status = vendorHal_.lock()->GetSupportedFeatureSet(ifname_, capabilities); in GetIfaceCap()
96 WifiError status = vendorHal_.lock()->SetCountryCode(ifname_, code); in SetCountryCode()
138 WifiError status = vendorHal_.lock()->StartScan(ifname_, scanParam); in StartScan()
148 WifiError status = vendorHal_.lock()->GetScanInfos(ifname_, scanResultsInfo); in GetScanInfos()
158 WifiError status = vendorHal_.lock()->StartPnoScan(ifname_, pnoParams); in StartPnoScan()
168 WifiError status = vendorHal_.lock()->StopPnoScan(ifname_); in StopPnoScan()
177 WifiError status = vendorHal_.lock()->GetSignalPollInfo(ifname_, signalPollResult); in GetSignalPollInfo()
191 WifiError status = vendorHal_.lock()->EnablePowerMode(ifname_, mode); in EnablePowerMode()
200 WifiError statu in SetDpiMarkRule()
[all...]
H A Dwifi_ap_iface.cpp69 WifiError status; in GetSupportFreqs()
96 WifiError status = vendorHal_.lock()->SetCountryCode(ifname_, code); in SetCountryCode()
105 WifiError status; in GetPowerMode()
118 WifiError status = vendorHal_.lock()->SetPowerMode(ifname_, powerMode); in SetPowerMode()
173 WifiError status = vendorHal_.lock()->SetTxPower(ifname_, power); in SetTxPower()
188 WifiError status = vendorHal_.lock()->SendCmdToDriver(ifName, cmdId, paramBuf); in SendCmdToDriver()
H A Dwifi_chip.cpp137 WifiError status; in GetChipCaps()
206 WifiError status = vendorHal_.lock()->Stop(&lock, []() {}); in HandleChipConfiguration()
212 WifiError status = vendorHal_.lock()->Start(); in HandleChipConfiguration()
497 WifiError status = vendorHal_.lock()->CreateVirtualInterface( in CreateVirtualApInterface()
499 if (status != WifiError::HAL_SUCCESS) { in CreateVirtualApInterface()
601 WifiError status; in CreateStaService()
605 if (status != WifiError::HAL_SUCCESS) { in CreateStaService()
645 WifiError status = in RemoveStaService()
647 if (status != WifiError::HAL_SUCCESS) { in RemoveStaService()
660 WifiError statu in CreateExtService()
[all...]
H A Dwifi_p2p_iface.cpp137 WifiError status = vendorHal_.lock()->SetTxPower(ifname_, power); in SetTxPower()
149 WifiError status = vendorHal_.lock()->SendCmdToDriver(ifName, cmdId, paramBuf); in SendCmdToDriver()
H A Dwifi.cpp173 WifiError legacyStatus = HAL_SUCCESS; in StopVendorHal()
179 WifiError tmp = hal->Stop(lock, [&]() {}); in StopVendorHal()
208 WifiError legacyStatus = hal->Initialize(); in InitializVendorHal()
H A Dwifi_vendor_hal_list.cpp67 WifiError res; in LoadVendorHalLib()
H A Dwifi_ext_iface.cpp146 WifiError status = vendorHal_.lock()->SendCmdToDriver(ifName, cmdId, paramBuf); in SendCmdToDriver()
/drivers/peripheral/wlan/test/unittest/chip/
H A Dwifi_hal_fn.cpp22 WifiError VendorHalInit(wifiHandle *handle) in VendorHalInit()
27 WifiError WaitDriverStart(void) in WaitDriverStart()
42 WifiError VendorHalGetIfaces(wifiHandle handle, int *num, wifiInterfaceHandle **interfaces) in VendorHalGetIfaces()
47 WifiError VendorHalGetIfName(wifiInterfaceHandle handle, char *name, size_t size) in VendorHalGetIfName()
52 WifiError VendorHalGetChannelsInBand(wifiInterfaceHandle handle, int band, in VendorHalGetChannelsInBand()
61 WifiError VendorHalSetRestartHandler(wifiHandle handle, VendorHalRestartHandler handler) in VendorHalSetRestartHandler()
66 WifiError VendorHalCreateIface(wifiHandle handle, const char* ifname, HalIfaceType ifaceType) in VendorHalCreateIface()
71 WifiError VendorHalDeleteIface(wifiHandle handle, const char* ifname) in VendorHalDeleteIface()
79 WifiError TriggerVendorHalRestart(wifiHandle handle) in TriggerVendorHalRestart()
84 static WifiError WifiSetCountryCod
[all...]
H A Dwifi_hal_fn.h22 WifiError InitWifiHalFuncTable(WifiHalFn *fn);

Completed in 6 milliseconds