/device/board/osware/imx8mm/drivers/wifi/ap6212/hdfadapter/ |
D | net_adpater.c | 62 int32_t hdf_netdev_init(struct NetDevice *netDev) in hdf_netdev_init() argument 65 if (netDev == NULL) { in hdf_netdev_init() 70 HDF_LOGE("%s: netDev->name:%s\n", __func__, netDev->name); in hdf_netdev_init() 71 netDev->netDeviceIf = wal_get_net_dev_ops(); in hdf_netdev_init() 72 CreateEapolData(netDev); in hdf_netdev_init() 77 void hdf_netdev_deinit(struct NetDevice *netDev) in hdf_netdev_deinit() argument 80 (void)netDev; in hdf_netdev_deinit() 83 int32_t hdf_netdev_open(struct NetDevice *netDev) in hdf_netdev_open() argument 88 (void)netDev; in hdf_netdev_open() 92 retVal = (int32_t)dhd_ops_pri.ndo_stop(netDev); in hdf_netdev_open() [all …]
|
D | hdf_mac80211.c | 44 extern int32_t wal_cfg80211_cancel_remain_on_channel(struct wiphy *wiphy, struct net_device *netDev… 46 extern int32_t wal_cfg80211_remain_on_channel(struct wiphy *wiphy, struct net_device *netDev, int32… 52 extern int32_t HdfWifiEventInformBssFrame(const struct NetDevice *netDev, 184 NetDevice *netDev = get_netDev(); in inform_bss_frame() local 188 if (channel == NULL || netDev == NULL || mgmt == NULL) { in inform_bss_frame() 207 retVal = HdfWifiEventInformBssFrame(netDev, &hdfchannel, &bssInfo); in inform_bss_frame() 219 NetDevice *netDev = get_netDev(); in inform_connect_result() local 222 if (netDev == NULL || bssid == NULL || rspIe == NULL || reqIe == NULL) { in inform_connect_result() 243 retVal = HdfWifiEventConnectResult(netDev, &connResult); in inform_connect_result() 252 static int32_t SetupWireLessDev(struct NetDevice *netDev, struct WlanAPConf *apSettings) in SetupWireLessDev() argument [all …]
|
/device/board/isoftstone/zhiyuan/kernel/hdf/driver/wifi/xr829_hdfadapter/ |
D | net_adpater.c | 44 int32_t hdf_netdev_init(struct NetDevice *netDev) in hdf_netdev_init() argument 46 HDF_LOGE("%s: start %s...", __func__, netDev->name); in hdf_netdev_init() 47 if (netDev == NULL) { in hdf_netdev_init() 52 HDF_LOGE("%s: netDev->name:%s\n", __func__, netDev->name); in hdf_netdev_init() 53 netDev->netDeviceIf = wal_get_net_dev_ops(); in hdf_netdev_init() 54 CreateEapolData(netDev); in hdf_netdev_init() 56 xradio_get_mac_addrs(netDev->macAddr); in hdf_netdev_init() 58 netDev->macAddr[0], in hdf_netdev_init() 59 netDev->macAddr[1], in hdf_netdev_init() 60 netDev->macAddr[2], in hdf_netdev_init() [all …]
|
D | hdf_mac80211.c | 32 extern int32_t HdfWifiEventInformBssFrame(const struct NetDevice *netDev, const struct WlanChannel … 240 NetDevice *netDev = get_netDev(); in inform_bss_frame() local 244 if (channel == NULL || netDev == NULL || mgmt == NULL) { in inform_bss_frame() 265 retVal = HdfWifiEventInformBssFrame(netDev, &hdfchannel, &bssInfo); in inform_bss_frame() 275 NetDevice *netDev = get_netDev(); in inform_connect_result() local 278 if (netDev == NULL || bssid == NULL || rspIe == NULL || reqIe == NULL) { in inform_connect_result() 301 retVal = HdfWifiEventConnectResult(netDev, &connResult); in inform_connect_result() 323 static int32_t SetupWireLessDev(struct net_device *netDev, struct WlanAPConf *apSettings) in SetupWireLessDev() argument 326 if (netDev->ieee80211_ptr == NULL) { in SetupWireLessDev() 327 netDev->ieee80211_ptr = &ap_wireless_dev; in SetupWireLessDev() [all …]
|
/device/board/hihope/rk3568/wifi/bcmdhd_wifi6/hdfadapt/ |
D | net_bdh_adpater.c | 202 static void BDH_EnableEapol(struct NetDevice *netDev) in BDH_EnableEapol() argument 210 eapolCB->eapolOp->enableEapol(netDev, (struct EapolEnable *)&eapol); in BDH_EnableEapol() 213 int32_t hdf_bdh6_netdev_init(struct NetDevice *netDev) in hdf_bdh6_netdev_init() argument 215 HDF_LOGI("%s: start %s...", __func__, netDev->name); in hdf_bdh6_netdev_init() 216 if (netDev == NULL) { in hdf_bdh6_netdev_init() 221 HDF_LOGI("%s: netDev->name:%s\n", __func__, netDev->name); in hdf_bdh6_netdev_init() 222 netDev->netDeviceIf = wal_get_net_dev_ops(); in hdf_bdh6_netdev_init() 223 CreateEapolData(netDev); in hdf_bdh6_netdev_init() 225 BDH_EnableEapol(netDev); in hdf_bdh6_netdev_init() 231 int32_t hdf_p2p_netdev_init(struct NetDevice *netDev) in hdf_p2p_netdev_init() argument [all …]
|
D | hdf_bdh_event.c | 49 NetDevice *netDev = GetHdfNetDeviceByLinuxInf(ndev); in HdfInformBssFrameEventCallback() local 53 if (innerBssInfo->channel == NULL || netDev == NULL || innerBssInfo->mgmt == NULL) { in HdfInformBssFrameEventCallback() 57 netDev = get_hdf_netdev(g_scan_event_ifidx); in HdfInformBssFrameEventCallback() 66 retVal = HdfWifiEventInformBssFrame(netDev, &hdfchannel, &bssInfo); in HdfInformBssFrameEventCallback() 76 NetDevice *netDev = GetHdfNetDeviceByLinuxInf(ndev); in HdfScanEventCallback() local 78 netDev = get_hdf_netdev(g_scan_event_ifidx); in HdfScanEventCallback() 80 ret = HdfWifiEventScanDone(netDev, status); in HdfScanEventCallback() 88 NetDevice *netDev = GetHdfNetDeviceByLinuxInf(ndev); in HdfConnectResultEventCallback() local 91 netDev = get_hdf_netdev(g_conn_event_ifidx); in HdfConnectResultEventCallback() 95 if (netDev == NULL || innerConnResult->bssid == NULL || innerConnResult->rspIe == NULL in HdfConnectResultEventCallback() [all …]
|
D | hdf_bdh_mac80211.c | 43 struct NetDevice *get_real_netdev(NetDevice *netDev); 56 struct wiphy *get_linux_wiphy_hdfdev(NetDevice *netDev) in get_linux_wiphy_hdfdev() argument 58 struct net_device *ndev = GetLinuxInfByNetDevice(netDev); in get_linux_wiphy_hdfdev() 84 NetDevice *netDev = NULL; in BDH6WalSetMode() local 87 netDev = get_real_netdev(hnetDev); in BDH6WalSetMode() 89 netdev = GetLinuxInfByNetDevice(netDev); in BDH6WalSetMode() 104 WalStopAp(netDev); in BDH6WalSetMode() 127 struct NetDevice *netDev = NULL; in BDH6WalAddKey() local 134 netDev = get_real_netdev(hnetDev); in BDH6WalAddKey() 136 netdev = GetLinuxInfByNetDevice(netDev); in BDH6WalAddKey() [all …]
|
D | net_bdh_adpater.h | 36 int32_t hdf_bdh6_netdev_init(struct NetDevice *netDev); 37 int32_t hdf_bdh6_netdev_open(struct NetDevice *netDev); 38 int32_t hdf_bdh6_netdev_stop(struct NetDevice *netDev);
|
/device/board/unionman/unionpi_tiger/kernel/hdf/wifi/rtl8822cs/hdf/ |
D | net_adapter.c | 72 ProcessingResult hdf_rtl8822cs_netdev_specialethertypeprocess(const struct NetDevice *netDev, NetBu… in hdf_rtl8822cs_netdev_specialethertypeprocess() argument 82 if (netDev == NULL || buff == NULL) { in hdf_rtl8822cs_netdev_specialethertypeprocess() 93 if (netDev->specialProcPriv == NULL) { in hdf_rtl8822cs_netdev_specialethertypeprocess() 99 ret = eapolInstance->eapolOp->writeEapolToQueue(netDev, buff); in hdf_rtl8822cs_netdev_specialethertypeprocess() 108 void hdf_rtl8822cs_netdev_linkstatuschanged(struct NetDevice *netDev) in hdf_rtl8822cs_netdev_linkstatuschanged() argument 111 (void)netDev; in hdf_rtl8822cs_netdev_linkstatuschanged() 114 int32_t hdf_rtl8822cs_netdev_changemtu(struct NetDevice *netDev, int32_t mtu) in hdf_rtl8822cs_netdev_changemtu() argument 117 struct net_device *netdev = GetLinuxInfByNetDevice(netDev); in hdf_rtl8822cs_netdev_changemtu() 129 uint32_t hdf_rtl8822cs_netdev_netifnotify(struct NetDevice *netDev, NetDevNotify *notify) in hdf_rtl8822cs_netdev_netifnotify() argument 132 (void)netDev; in hdf_rtl8822cs_netdev_netifnotify() [all …]
|
D | wal_mac80211.c | 84 struct wiphy* get_linux_wiphy_hdfdev(NetDevice *netDev) in get_linux_wiphy_hdfdev() argument 86 struct net_device *ndev = GetLinuxInfByNetDevice(netDev); in get_linux_wiphy_hdfdev() 90 int32_t WalDisconnect(NetDevice *netDev, uint16_t reasonCode) in WalDisconnect() argument 95 if (netDev == NULL) { in WalDisconnect() 99 ndev = GetLinuxInfByNetDevice(netDev); in WalDisconnect() 314 static int32_t WalConnect(NetDevice *netDev, WlanConnectParams *param) in WalConnect() argument 320 if (netDev == NULL || param == NULL) { in WalConnect() 325 ndev = GetLinuxInfByNetDevice(netDev); in WalConnect() 365 static int32_t SetupWireLessDev(struct NetDevice *netDev, struct WlanAPConf *apSettings) in SetupWireLessDev() argument 370 int32_t WalSetSsid(NetDevice *netDev, const uint8_t *ssid, uint32_t ssidLen) in WalSetSsid() argument [all …]
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/hdf/ |
D | net_bdh_adpater.c | 224 static void BDH_EnableEapol(struct NetDevice *netDev) in BDH_EnableEapol() argument 232 eapolCB->eapolOp->enableEapol(netDev, (struct EapolEnable *)&eapol); in BDH_EnableEapol() 235 int32_t hdf_bdh6_netdev_init(struct NetDevice *netDev) in hdf_bdh6_netdev_init() argument 237 HDF_LOGE("%s: start %s...", __func__, netDev->name); in hdf_bdh6_netdev_init() 238 if (netDev == NULL) { in hdf_bdh6_netdev_init() 243 HDF_LOGE("%s: netDev->name:%s\n", __func__, netDev->name); in hdf_bdh6_netdev_init() 244 netDev->netDeviceIf = wal_get_net_dev_ops(); in hdf_bdh6_netdev_init() 245 CreateEapolData(netDev); in hdf_bdh6_netdev_init() 247 BDH_EnableEapol(netDev); in hdf_bdh6_netdev_init() 253 int32_t hdf_p2p_netdev_init(struct NetDevice *netDev) in hdf_p2p_netdev_init() argument [all …]
|
D | hdf_mac80211_p2p.c | 70 extern struct wiphy *get_linux_wiphy_hdfdev(NetDevice *netDev); 81 struct NetDevice *get_real_netdev(NetDevice *netDev); 88 int32_t WalRemainOnChannel(struct NetDevice *netDev, WifiOnChannel *onChannel) in WalRemainOnChannel() argument 95 struct NetDevice *hnetdev = netDev; in WalRemainOnChannel() 98 netDev = get_real_netdev(netDev); in WalRemainOnChannel() 99 netdev = GetLinuxInfByNetDevice(netDev); in WalRemainOnChannel() 124 int32_t WalCancelRemainOnChannel(struct NetDevice *netDev) in WalCancelRemainOnChannel() argument 129 struct NetDevice *hnetdev = netDev; in WalCancelRemainOnChannel() 131 netDev = get_real_netdev(netDev); in WalCancelRemainOnChannel() 132 netdev = GetLinuxInfByNetDevice(netDev); in WalCancelRemainOnChannel() [all …]
|
D | hdf_bdh_mac80211.c | 33 struct NetDevice *get_real_netdev(NetDevice *netDev); 34 int32_t WalStopAp(NetDevice *netDev); 44 struct wiphy *get_linux_wiphy_hdfdev(NetDevice *netDev) in get_linux_wiphy_hdfdev() argument 46 struct net_device *ndev = GetLinuxInfByNetDevice(netDev); in get_linux_wiphy_hdfdev() 54 NetDevice *netDev = NULL; in BDH6WalSetMode() local 56 netDev = get_real_netdev(hnetDev); in BDH6WalSetMode() 59 netdev = GetLinuxInfByNetDevice(netDev); in BDH6WalSetMode() 74 WalStopAp(netDev); in BDH6WalSetMode() 95 struct NetDevice *netDev = NULL; in BDH6WalAddKey() local 98 netDev = get_real_netdev(hnetDev); in BDH6WalAddKey() [all …]
|
D | hdf_mac80211_ap.c | 55 struct NetDevice *netDev = GetHdfNetDeviceByLinuxInf(dev); in ChangDelSta() local 56 ret = HdfWifiEventDelSta(netDev, macAddr, ETH_MAC_LEN); in ChangDelSta() 64 struct NetDevice *netDev = NULL; in ChangNewSta() local 69 netDev = GetHdfNetDeviceByLinuxInf(dev); in ChangNewSta() 70 ret = HdfWifiEventNewSta(netDev, macAddr, addrLen, &Info); in ChangNewSta() 151 static int32_t SetupWireLessDev(struct net_device *netDev, struct WlanAPConf *apSettings) in SetupWireLessDev() argument 156 wdev = netDev->ieee80211_ptr; in SetupWireLessDev() 194 struct NetDevice *netDev = NULL; in WalConfigAp() local 196 netDev = get_real_netdev(hnetDev); in WalConfigAp() 197 netdev = GetLinuxInfByNetDevice(netDev); in WalConfigAp() [all …]
|
D | hdf_mac80211_sta_event.c | 43 NetDevice *netDev = GetHdfNetDeviceByLinuxInf(ndev); in HdfScanEventCallback() local 45 netDev = get_hdf_netdev(g_scan_event_ifidx); in HdfScanEventCallback() 47 ret = HdfWifiEventScanDone(netDev, status); in HdfScanEventCallback() 56 NetDevice *netDev = GetHdfNetDeviceByLinuxInf(ndev); in HdfDisconnectedEventCallback() local 57 netDev = get_hdf_netdev(g_conn_event_ifidx); in HdfDisconnectedEventCallback() 60 ret = HdfWifiEventDisconnected(netDev, reason, ie, len); in HdfDisconnectedEventCallback()
|
D | hdf_mac80211_sta.c | 170 struct NetDevice *netDev = NULL; in HdfAbortScan() local 172 netDev = get_real_netdev(hnetDev); in HdfAbortScan() 173 if (netDev == NULL) { in HdfAbortScan() 179 ndev = GetLinuxInfByNetDevice(netDev); in HdfAbortScan() 226 struct NetDevice *netDev = NULL; in HdfDisconnect() local 228 netDev = get_real_netdev(hnetDev); in HdfDisconnect() 231 if (netDev == NULL) { in HdfDisconnect() 235 ndev = GetLinuxInfByNetDevice(netDev); in HdfDisconnect() 254 struct NetDevice *netDev = NULL; in HdfSetScanningMacAddress() local 255 netDev = get_real_netdev(hnetDev); in HdfSetScanningMacAddress()
|
D | hdf_comm.c | 89 struct NetDevice *netDev = NULL; in Bdh6Fband() local 98 netDev = get_real_netdev(hnetDev); in Bdh6Fband() 99 wiphy = get_linux_wiphy_hdfdev(netDev); in Bdh6Fband() 105 (void)netDev; in Bdh6Fband() 156 struct NetDevice *netDev = NULL; in Bdh6Ghcap() local 161 netDev = get_real_netdev(hnetDev); in Bdh6Ghcap() 163 wiphy = get_linux_wiphy_hdfdev(netDev); in Bdh6Ghcap() 273 struct NetDevice *netDev = NULL; in Bdh6SAction() local 288 netDev = get_real_netdev(hhnetDev); in Bdh6SAction() 289 netdev = GetLinuxInfByNetDevice(netDev); in Bdh6SAction() [all …]
|
D | net_bdh_adpater.h | 34 int32_t hdf_bdh6_netdev_init(struct NetDevice *netDev); 35 int32_t hdf_bdh6_netdev_open(struct NetDevice *netDev); 36 int32_t hdf_bdh6_netdev_stop(struct NetDevice *netDev);
|
D | hdf_mac80211_sta.h | 25 int32_t HdfConnect(NetDevice *netDev, WlanConnectParams *param); 26 int32_t HdfDisconnect(NetDevice *netDev, uint16_t reasonCode); 27 int32_t HdfSetScanningMacAddress(NetDevice *netDev, unsigned char *mac, uint32_t len);
|
D | hdf_public_ap6256.h | 61 int32_t wal_cfg80211_cancel_remain_on_channel(struct wiphy *wiphy, struct net_device *netDev); 62 int32_t wal_cfg80211_remain_on_channel(struct wiphy *wiphy, struct net_device *netDev, int32_t freq, 67 extern int32_t HdfWifiEventDelSta(struct NetDevice *netDev, const uint8_t *macAddr, uint8_t addrLen… 72 struct wiphy *get_linux_wiphy_hdfdev(NetDevice *netDev); 82 struct NetDevice *get_real_netdev(NetDevice *netDev);
|
/device/qemu/drivers/virtio/ |
D | virtnet.c | 90 static inline struct VirtNetif *GetVirtnetIf(const NetDevice *netDev) in GetVirtnetIf() argument 92 return (struct VirtNetif *)GET_NET_DEV_PRIV(netDev); in GetVirtnetIf() 97 NetDevice *netDev = dev; in Feature0() local 98 struct VirtNetif *nic = GetVirtnetIf(netDev); in Feature0() 107 netDev->mtu = conf->mtu; in Feature0() 110 netDev->mtu = DEFAULT_MTU; in Feature0() 118 netDev->macAddr[i] = conf->mac[i]; in Feature0() 120 netDev->addrLen = MAC_ADDR_SIZE; in Feature0() 237 static NetDevTxResult LowLevelOutput(NetDevice *netDev, NetBuf *p) in LowLevelOutput() argument 240 struct VirtNetif *nic = GetVirtnetIf(netDev); in LowLevelOutput() [all …]
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
D | wal_mac80211.c | 41 int32_t WalDisconnect(NetDevice *netDev, uint16_t reasonCode) in WalDisconnect() argument 43 return wal_cfg80211_disconnect(NULL, netDev, reasonCode); in WalDisconnect() 269 static int32_t WalConnect(NetDevice *netDev, WlanConnectParams *param) in WalConnect() argument 271 if (netDev == NULL || param == NULL) { in WalConnect() 302 return wal_cfg80211_connect(wiphy, netDev, &cfg80211_params); in WalConnect() 305 static int32_t SetupWireLessDev(struct NetDevice *netDev, struct WlanAPConf *apSettings) in SetupWireLessDev() argument 307 if (netDev->ieee80211Ptr == NULL) { in SetupWireLessDev() 308 netDev->ieee80211Ptr = (struct wireless_dev *)OsalMemCalloc(sizeof(struct wireless_dev)); in SetupWireLessDev() 309 if (netDev->ieee80211Ptr == NULL) { in SetupWireLessDev() 314 if (GET_NET_DEV_CFG80211_WIRELESS(netDev)->preset_chandef.chan == NULL) { in SetupWireLessDev() [all …]
|
/device/board/osware/imx8mm/drivers/ethernet/ |
D | net_adapter.c | 32 extern int nxp_fec_set_mac(unsigned char *mac_address, struct NetDevice *netDev); 33 static int32_t EthSetMacAddr(struct NetDevice *netDev, void *addr) in EthSetMacAddr() argument 35 nxp_fec_set_mac((unsigned char *)addr, netDev); in EthSetMacAddr() 40 static int32_t EthXmit(struct NetDevice *netDev, NetBuf *netbuf) in EthXmit() argument 44 fec_netDev_ops.ndo_start_xmit(netbuf, netDev); in EthXmit() 49 static int32_t EthOpen(struct NetDevice *netDev) in EthOpen() argument 53 fec_netDev_ops.ndo_open(netDev); in EthOpen() 58 static int32_t EthStop(struct NetDevice *netDev) in EthStop() argument 62 fec_netDev_ops.ndo_stop(netDev); in EthStop()
|
/device/soc/hisilicon/common/platform/hieth-sf/adapter/ |
D | net_adapter.c | 22 static int32_t EthSetMacAddr(struct NetDevice *netDev, void *addr) in EthSetMacAddr() argument 26 if (netDev == NULL) { in EthSetMacAddr() 30 ret = HiethSetHwaddr((struct EthDevice *)netDev->mlPriv, (unsigned char *)addr, ETHER_ADDR_LEN); in EthSetMacAddr() 37 static NetDevTxResult EthXmit(struct NetDevice *netDev, NetBuf *netbuf) in EthXmit() argument 39 EthDrvSend((struct EthDevice *)netDev->mlPriv, netbuf); in EthXmit() 43 static void LinkStatusChanged(struct NetDevice *netDev) in LinkStatusChanged() argument 45 HiethLinkStatusChanged((struct EthDevice *)netDev->mlPriv); in LinkStatusChanged()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
D | hdf_public_ap6275s.h | 54 int32_t wal_cfg80211_cancel_remain_on_channel(struct wiphy *wiphy, struct net_device *netDev); 55 int32_t wal_cfg80211_remain_on_channel(struct wiphy *wiphy, struct net_device *netDev, int32_t freq, 60 extern int32_t HdfWifiEventDelSta(struct NetDevice *netDev, const uint8_t *macAddr, uint8_t addrLen… 65 struct wiphy *get_linux_wiphy_hdfdev(NetDevice *netDev); 75 struct NetDevice *get_real_netdev(NetDevice *netDev);
|