Home
last modified time | relevance | path

Searched refs:IWiFiBaseFeature (Results 1 – 14 of 14) sorted by relevance

/drivers/peripheral/wlan/interfaces/include/
Dwifi_hal_base_feature.h100 struct IWiFiBaseFeature { struct
115 const char *(*getNetworkIfaceName)(const struct IWiFiBaseFeature *baseFeature); argument
127 int32_t (*getFeatureType)(const struct IWiFiBaseFeature *baseFeature); argument
141 …int32_t (*setMacAddress)(const struct IWiFiBaseFeature *baseFeature, unsigned char *mac, uint8_t l… argument
155 …int32_t (*getDeviceMacAddress)(const struct IWiFiBaseFeature *baseFeature, unsigned char *mac, uin… argument
171 …int32_t (*getValidFreqsWithBand)(const struct IWiFiBaseFeature *baseFeature, int32_t band, int32_t… argument
185 int32_t (*setTxPower)(const struct IWiFiBaseFeature *baseFeature, int32_t power); argument
198 int32_t (*getChipId)(const struct IWiFiBaseFeature *baseFeature, uint8_t *chipId); argument
226 int32_t InitBaseFeature(struct IWiFiBaseFeature **fe); argument
Dwifi_hal.h152 int32_t (*createFeature)(int32_t type, struct IWiFiBaseFeature **ifeature);
165 int32_t (*getFeatureByIfName)(const char *ifName, struct IWiFiBaseFeature **ifeature);
203 int32_t (*destroyFeature)(struct IWiFiBaseFeature *ifeature);
Dwifi_hal_ap_feature.h68 struct IWiFiBaseFeature baseFeature; /**< Basic features of {@link IWiFiBaseFeature} */
Dwifi_hal_sta_feature.h59 struct IWiFiBaseFeature baseFeature; /**< Basic features of {@link IWiFiBaseFeature} */
/drivers/peripheral/wlan/hal/src/
Dwifi_hal_base_feature.c29 static const char *GetNetworkIfaceNameInner(const struct IWiFiBaseFeature *baseFeature) in GetNetworkIfaceNameInner()
38 static int32_t GetFeatureTypeInner(const struct IWiFiBaseFeature *baseFeature) in GetFeatureTypeInner()
47 static int32_t SetMacAddressInner(const struct IWiFiBaseFeature *baseFeature, unsigned char *mac, u… in SetMacAddressInner()
56 static int32_t GetDeviceMacAddressInner(const struct IWiFiBaseFeature *baseFeature, unsigned char *… in GetDeviceMacAddressInner()
65 static int32_t GetValidFreqsWithBandInner(const struct IWiFiBaseFeature *baseFeature, in GetValidFreqsWithBandInner()
75 static int32_t SetTxPowerInner(const struct IWiFiBaseFeature *baseFeature, int32_t power) in SetTxPowerInner()
84 static int32_t GetChipIdInner(const struct IWiFiBaseFeature *baseFeature, uint8_t *chipId) in GetChipIdInner()
102 static const char *GetNetworkIfaceName(const struct IWiFiBaseFeature *baseFeature) in GetNetworkIfaceName()
110 static int32_t GetFeatureType(const struct IWiFiBaseFeature *baseFeature) in GetFeatureType()
118 static int32_t SetMacAddress(const struct IWiFiBaseFeature *baseFeature, unsigned char *mac, uint8_… in SetMacAddress()
[all …]
Dwifi_hal.c96 static int32_t InitFeatureByType(int32_t type, struct IWiFiBaseFeature **ifeature) in InitFeatureByType()
102 *ifeature = (struct IWiFiBaseFeature *)malloc(sizeof(struct IWiFiAp)); in InitFeatureByType()
111 *ifeature = (struct IWiFiBaseFeature *)malloc(sizeof(struct IWiFiSta)); in InitFeatureByType()
130 static int32_t FindValidNetwork(int32_t type, struct IWiFiBaseFeature **feature) in FindValidNetwork()
159 static int32_t CreateFeatureInner(int32_t type, struct IWiFiBaseFeature **ifeature) in CreateFeatureInner()
185 static int32_t GetFeatureByIfNameInner(const char *ifName, struct IWiFiBaseFeature **ifeature) in GetFeatureByIfNameInner()
204 static int32_t DestroyFeatureInner(struct IWiFiBaseFeature *ifeature) in DestroyFeatureInner()
386 static int32_t CreateFeature(int32_t type, struct IWiFiBaseFeature **ifeature) in CreateFeature()
394 static int32_t GetFeatureByIfName(const char *ifName, struct IWiFiBaseFeature **ifeature) in GetFeatureByIfName()
402 static int32_t DestroyFeature(struct IWiFiBaseFeature *ifeature) in DestroyFeature()
Dwifi_hal_ap_feature.c71 if (InitBaseFeature((struct IWiFiBaseFeature **)fe) != HDF_SUCCESS) { in InitApFeature()
Dwifi_hal_sta_feature.c120 if (InitBaseFeature((struct IWiFiBaseFeature **)fe) != HDF_SUCCESS) { in InitStaFeature()
/drivers/peripheral/wlan/test/unittest/hal/
Dwifi_hal_test.cpp148 ret = g_wifi->createFeature(PROTOCOL_80211_IFTYPE_AP, (struct IWiFiBaseFeature **)&apFeature);
153 ret = g_wifi->destroyFeature((struct IWiFiBaseFeature *)apFeature);
169 …ret = g_wifi->createFeature(PROTOCOL_80211_IFTYPE_STATION, (struct IWiFiBaseFeature **)&staFeature…
174 ret = g_wifi->destroyFeature((struct IWiFiBaseFeature *)staFeature);
192 ret = g_wifi->createFeature(PROTOCOL_80211_IFTYPE_AP, (struct IWiFiBaseFeature **)&apFeature);
195 ret = g_wifi->getFeatureByIfName(nullptr, (struct IWiFiBaseFeature **)&apFeatureGet);
197 ret = g_wifi->getFeatureByIfName(ifName0, (struct IWiFiBaseFeature **)&apFeatureGet);
199 …ret = g_wifi->getFeatureByIfName(apFeature->baseFeature.ifName, (struct IWiFiBaseFeature **)&apFea…
202 ret = g_wifi->destroyFeature((struct IWiFiBaseFeature *)apFeature);
269 ret = g_wifi->createFeature(PROTOCOL_80211_IFTYPE_AP, (struct IWiFiBaseFeature **)&apFeature);
[all …]
/drivers/peripheral/wlan/test/performance/common/
Dhdf_wlan_performance_test.cpp173 ret = g_wifi->createFeature(PROTOCOL_80211_IFTYPE_AP, (struct IWiFiBaseFeature **)&apFeature);
176 …ret = apFeature->baseFeature.getDeviceMacAddress((struct IWiFiBaseFeature *)apFeature, nullptr, 0);
178 …ret = apFeature->baseFeature.getDeviceMacAddress((struct IWiFiBaseFeature *)apFeature, mac, ETH_AD…
181 …ret = apFeature->baseFeature.getDeviceMacAddress((struct IWiFiBaseFeature *)apFeature, mac, ETH_AD…
188 ret = g_wifi->destroyFeature((struct IWiFiBaseFeature *)apFeature);
208 …ret = g_wifi->createFeature(PROTOCOL_80211_IFTYPE_STATION, (struct IWiFiBaseFeature **)&staFeature…
211 …ret = staFeature->baseFeature.getDeviceMacAddress((struct IWiFiBaseFeature *)staFeature, nullptr, …
213 …ret = staFeature->baseFeature.getDeviceMacAddress((struct IWiFiBaseFeature *)staFeature, mac, ETH_…
216 …ret = staFeature->baseFeature.getDeviceMacAddress((struct IWiFiBaseFeature *)staFeature, mac, ETH_…
223 ret = g_wifi->destroyFeature((struct IWiFiBaseFeature *)staFeature);
[all …]
/drivers/peripheral/wlan/hal/include/
Dwifi_hal_common.h32 struct IWiFiBaseFeature *ifeature;
/drivers/peripheral/wlan/
DREADME.md83 …"p13503142195814"></a>int32_t (*createFeature)(int32_t type, struct IWiFiBaseFeature **ifeature);<…
85 …b85498454446"><a name="b85498454446"></a><a name="b85498454446"></a>IWiFiBaseFeature</strong> obje…
88 …25820"></a>int32_t (*getFeatureByIfName)(const char *ifName, struct IWiFiBaseFeature **ifeature);<…
90 …12213451"><a name="b1678312213451"></a><a name="b1678312213451"></a>IWiFiBaseFeature</strong> obje…
103 …104"></a><a name="p2273125104"></a>int32_t (*destroyFeature)(struct IWiFiBaseFeature *ifeature);</…
105 …794518"><a name="b15348165794518"></a><a name="b15348165794518"></a>IWiFiBaseFeature</strong> obje…
132 …73831421111010"></a>const char *(*getNetworkIfaceName)(const struct IWiFiBaseFeature *baseFeature)…
137 …"></a><a name="p15117233152315"></a>int32_t (*getFeatureType)(const struct IWiFiBaseFeature *);</p>
142 …a><a name="p125181260501"></a>int32_t (*setMacAddress)(const struct IWiFiBaseFeature *, unsigned c…
147 …name="p20519865500"></a>int32_t (*getDeviceMacAddress)(const struct IWiFiBaseFeature *, unsigned c…
[all …]
DREADME_zh.md90 …"p13503142195814"></a>int32_t (*createFeature)(int32_t type, struct IWiFiBaseFeature **ifeature);<…
97 …25820"></a>int32_t (*getFeatureByIfName)(const char *ifName, struct IWiFiBaseFeature **ifeature);<…
118 …104"></a><a name="p2273125104"></a>int32_t (*destroyFeature)(struct IWiFiBaseFeature *ifeature);</…
201 …73831421111010"></a>const char *(*getNetworkIfaceName)(const struct IWiFiBaseFeature *baseFeature)…
208 …"></a><a name="p15117233152315"></a>int32_t (*getFeatureType)(const struct IWiFiBaseFeature *);</p>
215 …a><a name="p125181260501"></a>int32_t (*setMacAddress)(const struct IWiFiBaseFeature *, unsigned c…
222 …name="p20519865500"></a>int32_t (*getDeviceMacAddress)(const struct IWiFiBaseFeature *, unsigned c…
229 …="p2867181581116"></a>int32_t (*getValidFreqsWithBand)(const struct IWiFiBaseFeature *baseFeature,…
236 …></a><a name="p145195620502"></a>int32_t (*setTxPower)(const struct IWiFiBaseFeature *, int32_t);<…
243 …></a><a name="p7449128101215"></a>int32_t (*getChipId)(const struct IWiFiBaseFeature *baseFeature,…
[all …]
/drivers/peripheral/wlan/hdi_service/service_common/
Dwlan_common_cmd.c28 struct IWiFiBaseFeature *g_baseFeature = NULL;
97 ret = g_wifi->createFeature(type, (struct IWiFiBaseFeature **)&g_apFeature); in WlanInterfaceCreateFeature()
108 ret = g_wifi->createFeature(type, (struct IWiFiBaseFeature **)&g_staFeature); in WlanInterfaceCreateFeature()
223 static int32_t GetBasefeature(const struct HdfFeatureInfo *ifeature, struct IWiFiBaseFeature **base… in GetBasefeature()
247 struct IWiFiBaseFeature *baseFeature = NULL; in WlanInterfaceGetChipId()
272 struct IWiFiBaseFeature *baseFeature = NULL; in WlanInterfaceGetDeviceMacAddress()
298 struct IWiFiBaseFeature *baseFeature = NULL; in WlanInterfaceGetFeatureByIfName()
309 ret = g_wifi->getFeatureByIfName(ifName, (struct IWiFiBaseFeature **)&baseFeature); in WlanInterfaceGetFeatureByIfName()
329 struct IWiFiBaseFeature *baseFeature = NULL; in WlanInterfaceGetFeatureType()
350 struct IWiFiBaseFeature *baseFeature = NULL; in WlanInterfaceGetFreqsWithBand()
[all …]