Home
last modified time | relevance | path

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

/drivers/hdf_core/framework/model/network/wifi/core/components/p2p/
H A Dp2p.c22 static int32_t RemainOnChannel(struct NetDevice *netdev, WifiOnChannel *onChannel) in RemainOnChannel() argument
24 struct HdfChipDriver *chipDriver = GetChipDriver(netdev); in RemainOnChannel()
31 return chipDriver->p2pOps->RemainOnChannel(netdev, onChannel); in RemainOnChannel()
37 struct NetDevice *netdev = NULL; in WifiCmdRemainOnChannel() local
51 netdev = NetDeviceGetInstByName(ifName); in WifiCmdRemainOnChannel()
52 if (netdev == NULL) { in WifiCmdRemainOnChannel()
53 HDF_LOGE("%s: netdev not found!ifName=%s", __func__, ifName); in WifiCmdRemainOnChannel()
64 ret = RemainOnChannel(netdev, &wifiOnChannel); in WifiCmdRemainOnChannel()
73 static int32_t ProbeReqReport(struct NetDevice *netdev, int32_t report) in ProbeReqReport() argument
75 struct HdfChipDriver *chipDriver = GetChipDriver(netdev); in ProbeReqReport()
88 struct NetDevice *netdev = NULL; WifiCmdProbeReqReport() local
119 CancelRemainOnChannel(struct NetDevice *netdev) CancelRemainOnChannel() argument
135 struct NetDevice *netdev = NULL; WifiCmdCancelRemainOnChannel() local
163 AddIf(struct NetDevice *netdev, WifiIfAdd *ifAdd) AddIf() argument
178 struct NetDevice *netdev = NULL; WifiCmdAddIf() local
213 RemoveIf(struct NetDevice *netdev, WifiIfRemove *ifRemove) RemoveIf() argument
228 struct NetDevice *netdev = NULL; WifiCmdRemoveIf() local
262 SetApWpsP2pIe(struct NetDevice *netdev, WifiAppIe *appIe) SetApWpsP2pIe() argument
277 struct NetDevice *netdev = NULL; WifiCmdSetApWpsP2pIe() local
318 GetDriverFlag(struct NetDevice *netdev, WifiGetDrvFlags **params) GetDriverFlag() argument
333 struct NetDevice *netdev = NULL; WifiCmdGetDriverFlag() local
[all...]
/drivers/hdf_core/framework/model/network/wifi/core/module/
H A Dwifi_base.c43 inline static uint32_t EnableEapol(struct NetDevice *netdev, WifiEnableEapol *param) in EnableEapol() argument
46 return eapol->eapolOp->enableEapol(netdev, (struct EapolEnable *)param); in EnableEapol()
48 inline static uint32_t DisableEapol(struct NetDevice *netdev) in DisableEapol() argument
51 return eapol->eapolOp->disableEapol(netdev); in DisableEapol()
53 inline static uint32_t SendEapol(struct NetDevice *netdev, WifiTxEapol *txData) in SendEapol() argument
56 return eapol->eapolOp->sendEapol(netdev, (struct EapolTx *)txData); in SendEapol()
58 inline static uint32_t ReceiveEapol(struct NetDevice *netdev, WifiRxEapol *rxData) in ReceiveEapol() argument
61 return eapol->eapolOp->getEapol(netdev, (struct EapolRx *)rxData); in ReceiveEapol()
323 struct NetDevice *netdev = NULL; in WifiCmdSendEapol() local
343 netdev in WifiCmdSendEapol()
354 struct NetDevice *netdev = NULL; WifiCmdReceiveEapol() local
397 struct NetDevice *netdev = NULL; WifiCmdEnableEapol() local
426 struct NetDevice *netdev = NULL; WifiCmdDisableEapol() local
450 struct NetDevice *netdev = NULL; WifiCmdGetAddr() local
478 struct NetDevice *netdev = NULL; WifiCmdSetMode() local
535 WifiFillHwFeature(struct NetDevice *netdev, WifiHwFeatureData *featureData) WifiFillHwFeature() argument
589 GetDeviceMacAddr(struct NetDevice *netdev, int32_t type, uint8_t *mac, uint8_t len) GetDeviceMacAddr() argument
601 SetMacAddr(struct NetDevice *netdev, uint8_t *mac, uint8_t len) SetMacAddr() argument
612 SetTxPower(struct NetDevice *netdev, int32_t power) SetTxPower() argument
624 GetValidFreqsWithBand(struct NetDevice *netdev, int32_t band, int32_t *freqs, uint32_t *num) GetValidFreqsWithBand() argument
638 struct NetDevice *netdev = NULL; WifiCmdGetHwFeature() local
671 SetNetIfInfo(struct NetDevice *netdev, uint32_t type) SetNetIfInfo() argument
687 UnsetNetIfInfo(struct NetDevice *netdev) UnsetNetIfInfo() argument
696 SetNetworkAddr(struct NetDevice *netdev, uint32_t type) SetNetworkAddr() argument
717 UnsetNetworkAddr(struct NetDevice *netdev) UnsetNetworkAddr() argument
734 struct NetDevice *netdev = NULL; WifiCmdSetNetdev() local
823 SendAction(struct NetDevice *netdev, WifiActionData *actionData) SendAction() argument
839 struct NetDevice *netdev = NULL; WifiCmdSendAction() local
931 struct NetDevice *netdev = NULL; WifiCmdGetDevMacAddr() local
975 struct NetDevice *netdev = NULL; WifiCmdSetMacAddr() local
1010 struct NetDevice *netdev = NULL; WifiCmdGetValidFreqsWithBand() local
1053 struct NetDevice *netdev = NULL; WifiCmdSetTxPower() local
1112 struct NetDevice *netdev = NULL; HdfdWlanGetChipId() local
1209 struct NetDevice *netdev = NULL; WifiResetEntranceCheck() local
1359 GetIftype(struct NetDevice *netdev, uint8_t *iftype) GetIftype() argument
1405 struct NetDevice *netdev = NULL; HdfdWlanGetPowerMode() local
1462 struct NetDevice *netdev = NULL; HdfdWlanSetPowerMode() local
1518 struct NetDevice *netdev = NULL; HdfWlanStartChannelMeas() local
1574 struct NetDevice *netdev = NULL; HdfWlanSetProjectionScreenParam() local
1634 struct NetDevice *netdev = NULL; HdfWlanSendCmdIoctl() local
1693 struct NetDevice *netdev = NULL; HdfWlanGetStationInfo() local
[all...]
/drivers/hdf_core/framework/model/network/wifi/core/components/sta/
H A Dsta.c171 static int WifiSetAssocParams(const WifiAssociateParams *assoc, const struct NetDevice *netdev, in WifiSetAssocParams() argument
174 (void)netdev; in WifiSetAssocParams()
207 struct NetDevice *netdev = NULL; in WifiCmdAssoc() local
225 if ((netdev = NetDeviceGetInstByName(ifName)) == NULL) { in WifiCmdAssoc()
226 HDF_LOGE("%s:netdev not found!ifName=%s", __func__, ifName); in WifiCmdAssoc()
229 if (WifiSetAssocParams(&assoc, netdev, &params) != HDF_SUCCESS) { in WifiCmdAssoc()
233 capability = GetHwCapability(netdev); in WifiCmdAssoc()
241 ret = Connect(netdev, &params); in WifiCmdAssoc()
257 struct NetDevice *netdev = NULL; in WifiCmdDisconnect() local
276 netdev in WifiCmdDisconnect()
292 struct NetDevice *netdev = NULL; WifiCmdScan() local
327 struct NetDevice *netdev = NULL; WifiCmdAbortScan() local
354 struct NetDevice *netdev = NULL; WifiCmdSetScanningMacAddress() local
449 struct NetDevice *netdev = NULL; HdfWlanStartPnoScan() local
522 struct NetDevice *netdev = NULL; HdfWlanStopPnoScan() local
571 struct NetDevice *netdev = NULL; HdfWlanGetSignalPollInfo() local
[all...]
/drivers/hdf_core/framework/model/network/wifi/core/components/softap/
H A Dap.c244 struct NetDevice *netdev = NULL; in WifiCmdSetAp() local
264 netdev = NetDeviceGetInstByName(ifName); in WifiCmdSetAp()
265 if (netdev == NULL) { in WifiCmdSetAp()
266 HDF_LOGE("%s:netdev not found!ifName=%s", __func__, ifName); in WifiCmdSetAp()
269 ret = StartAp(netdev, &apSettings); in WifiCmdSetAp()
277 struct NetDevice *netdev = NULL; in WifiCmdStopAp() local
289 netdev = NetDeviceGetInstByName(ifName); in WifiCmdStopAp()
290 if (netdev == NULL) { in WifiCmdStopAp()
291 HDF_LOGE("%s:netdev not found!ifName=%s", __func__, ifName); in WifiCmdStopAp()
295 return StopAp(netdev); in WifiCmdStopAp()
300 struct NetDevice *netdev = NULL; WifiCmdChangeBeacon() local
341 struct NetDevice *netdev = NULL; WifiCmdStaRemove() local
373 GetAssociatedStas(struct NetDevice *netdev, uint32_t num, struct HdfSBuf *rspData) GetAssociatedStas() argument
400 struct NetDevice *netdev = NULL; WifiCmdGetAssociatedStas() local
439 struct NetDevice *netdev = NULL; WifiCmdSetCountryCode() local
470 struct NetDevice *netdev = NULL; OpsGetApBandwidth() local
[all...]
/drivers/hdf_core/framework/model/network/ethernet/src/
H A Dhdf_eth_core.c120 data = GetEthNetDeviceData(ethDevice->netdev); in InitEth()
146 NetIfSetMacAddr(ethDevice->netdev, enaddr, MAC_ADDR_SIZE); in InitEth()
149 ret = SetEthNetworkAddr(ethDevice->netdev); in InitEth()
157 NetIfSetStatus(ethDevice->netdev, NETIF_UP); in InitEth()
H A Deth_device.c73 ethDevice->netdev = netDevice; in CreateEthDevice()
74 ethDevice->netdev->classDriverPriv = data; in CreateEthDevice()
279 data = GetEthNetDeviceData(ethDevice->netdev); in ReleaseEthDevice()
289 ret = NetDeviceDeInit(ethDevice->netdev); in ReleaseEthDevice()
/drivers/hdf_core/adapter/khdf/liteos/network/include/
H A Dnetbuf_adapter.h136 * @param netdev Indicates the pointer to the network device.
144 NetBuf *Pbuf2NetBuf(const struct NetDevice *netdev, struct pbuf *lwipBuf);
/drivers/hdf_core/adapter/khdf/liteos_m/network/include/
H A Dnetbuf_adapter.h136 * @param netdev Indicates the pointer to the network device.
144 NetBuf *Pbuf2NetBuf(const struct NetDevice *netdev, struct pbuf *lwipBuf);
/drivers/hdf_core/framework/model/network/wifi/core/
H A Dhdf_wifi_core.c186 struct NetDevice *netdev = NULL; in HdfWlanDeinitInterface() local
189 netdev = NetDeviceGetInstByName(ifName); in HdfWlanDeinitInterface()
190 if (netdev == NULL) { in HdfWlanDeinitInterface()
194 chipDriver = GetChipDriver(netdev); in HdfWlanDeinitInterface()
196 HDF_LOGE("%s:bad netdev!ChipDriver is NULL. ifName=%s", __func__, ifName); in HdfWlanDeinitInterface()
199 ret = chipDriver->deinit(chipDriver, netdev); in HdfWlanDeinitInterface()
206 ret = ReleasePlatformNetDevice(netdev); in HdfWlanDeinitInterface()
/drivers/hdf_core/framework/model/network/ethernet/include/
H A Deth_device.h34 struct NetDevice *netdev; member
/drivers/hdf_core/adapter/khdf/liteos_m/network/src/
H A Dnetbuf_adapter.c653 * @param : netdev The net device object
657 NetBuf *Pbuf2NetBuf(const NetDevice *netdev, struct pbuf *lwipBuf) in Pbuf2NetBuf() argument
668 nb = NetBufDevAlloc(netdev, lwipBuf->tot_len); in Pbuf2NetBuf()
/drivers/hdf_core/adapter/khdf/liteos/network/src/
H A Dnetbuf_adapter.c653 * @param : netdev The net device object
657 NetBuf *Pbuf2NetBuf(const NetDevice *netdev, struct pbuf *lwipBuf) in Pbuf2NetBuf() argument
668 nb = NetBufDevAlloc(netdev, lwipBuf->tot_len); in Pbuf2NetBuf()

Completed in 9 milliseconds