/hardware/broadcom/wlan/bcm4329/src/dhd/sys/ |
D | dhd_linux.c | 408 static int dhd_wl_host_event(dhd_info_t *dhd, int *ifidx, void *pktdata, 555 dhd_ifname(dhd_pub_t *dhdp, int ifidx) in dhd_ifname() argument 561 if (ifidx < 0 || ifidx >= DHD_MAX_IFS) { in dhd_ifname() 562 DHD_ERROR(("%s: ifidx %d out of range\n", __FUNCTION__, ifidx)); in dhd_ifname() 566 if (dhd->iflist[ifidx] == NULL) { in dhd_ifname() 567 DHD_ERROR(("%s: null i/f %d\n", __FUNCTION__, ifidx)); in dhd_ifname() 571 if (dhd->iflist[ifidx]->net) in dhd_ifname() 572 return dhd->iflist[ifidx]->net->name; in dhd_ifname() 578 _dhd_set_multicast_list(dhd_info_t *dhd, int ifidx) in _dhd_set_multicast_list() argument 589 ASSERT(dhd && dhd->iflist[ifidx]); in _dhd_set_multicast_list() [all …]
|
D | dhd.h | 213 uint8 ifidx; member 239 extern void dhd_txflowcontrol(dhd_pub_t *dhdp, int ifidx, bool on); 244 extern void dhd_rx_frame(dhd_pub_t *dhdp, int ifidx, void *rxp, int numpkt); 256 extern int dhdcdc_query_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len); 304 extern int dhd_add_if(struct dhd_info *dhd, int ifidx, void *handle, 306 extern void dhd_del_if(struct dhd_info *dhd, int ifidx); 308 extern void dhd_vif_add(struct dhd_info *dhd, int ifidx, char * name); 309 extern void dhd_vif_del(struct dhd_info *dhd, int ifidx); 311 extern void dhd_event(struct dhd_info *dhd, char *evpkt, int evlen, int ifidx); 312 extern void dhd_vif_sendup(struct dhd_info *dhd, int ifidx, uchar *cp, int len); [all …]
|
D | dhd_cdc.c | 113 dhdcdc_query_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len) in dhdcdc_query_ioctl() argument 146 CDC_SET_IF_IDX(msg, ifidx); in dhdcdc_query_ioctl() 168 dhd_ifname(dhd, ifidx), __FUNCTION__, id, prot->reqid)); in dhdcdc_query_ioctl() 197 dhdcdc_set_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len) in dhdcdc_set_ioctl() argument 213 CDC_SET_IF_IDX(msg, ifidx); in dhdcdc_set_ioctl() 229 dhd_ifname(dhd, ifidx), __FUNCTION__, id, prot->reqid)); in dhdcdc_set_ioctl() 248 dhd_prot_ioctl(dhd_pub_t *dhd, int ifidx, wl_ioctl_t * ioc, void * buf, int len) in dhd_prot_ioctl() argument 279 ret = dhdcdc_set_ioctl(dhd, ifidx, ioc->cmd, buf, len); in dhd_prot_ioctl() 281 ret = dhdcdc_query_ioctl(dhd, ifidx, ioc->cmd, buf, len); in dhd_prot_ioctl() 291 CDC_SET_IF_IDX(msg, ifidx); in dhd_prot_ioctl() [all …]
|
D | dhd_proto.h | 63 extern void dhd_prot_hdrpush(dhd_pub_t *, int ifidx, void *txp); 66 extern int dhd_prot_hdrpull(dhd_pub_t *, int *ifidx, void *rxp); 69 extern int dhd_prot_ioctl(dhd_pub_t *dhd, int ifidx, wl_ioctl_t * ioc, void * buf, int len);
|
D | dhd_common.c | 779 wl_host_event(struct dhd_info *dhd, int *ifidx, void *pktdata, in wl_host_event() argument 817 if (ifevent->ifidx > 0 && ifevent->ifidx < DHD_MAX_IFS) in wl_host_event() 820 dhd_add_if(dhd, ifevent->ifidx, in wl_host_event() 825 dhd_del_if(dhd, ifevent->ifidx); in wl_host_event() 828 __FUNCTION__, ifevent->ifidx, event->ifname)); in wl_host_event() 832 *ifidx = dhd_ifname2idx(dhd, event->ifname); in wl_host_event() 834 dhd_event(dhd, (char *)pvt_data, evlen, *ifidx); in wl_host_event() 852 *ifidx = dhd_ifname2idx(dhd, event->ifname); in wl_host_event() 854 dhd_event(dhd, (char *)pvt_data, evlen, *ifidx); in wl_host_event()
|
D | dhd_sdio.c | 142 extern int dhdcdc_set_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len); 2723 int ifidx = 0; in dhdsdio_rxglom() local 3049 } else if (dhd_prot_hdrpull(bus->dhd, &ifidx, pfirst) != 0) { in dhdsdio_rxglom() 3081 dhd_rx_frame(bus->dhd, ifidx, save_pfirst, num); in dhdsdio_rxglom() 3112 int ifidx = 0; in dhdsdio_readframes() local 3640 } else if (dhd_prot_hdrpull(bus->dhd, &ifidx, pkt) != 0) { in dhdsdio_readframes() 3652 dhd_rx_frame(bus->dhd, ifidx, pkt, 1); in dhdsdio_readframes()
|