Home
last modified time | relevance | path

Searched refs:ifidx (Results 1 - 25 of 33) sorted by relevance

12

/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_linux_pktdump.h56 extern void dhd_dump_pkt(dhd_pub_t *dhd, int ifidx, uint8 *pktdata,
73 extern void dhd_trx_pkt_dump(dhd_pub_t *dhdp, int ifidx,
76 static INLINE void dhd_trx_pkt_dump(dhd_pub_t *dhdp, int ifidx, in dhd_trx_pkt_dump() argument
82 extern void dhd_dhcp_dump(dhd_pub_t *dhdp, int ifidx, uint8 *pktdata, bool tx,
85 static INLINE void dhd_dhcp_dump(dhd_pub_t *dhdp, int ifidx, in dhd_dhcp_dump() argument
91 extern void dhd_dns_dump(dhd_pub_t *dhdp, int ifidx, uint8 *pktdata, bool tx,
94 static INLINE void dhd_dns_dump(dhd_pub_t *dhdp, int ifidx, in dhd_dns_dump() argument
100 extern void dhd_icmp_dump(dhd_pub_t *dhdp, int ifidx, uint8 *pktdata, bool tx,
103 static INLINE void dhd_icmp_dump(dhd_pub_t *dhdp, int ifidx, in dhd_icmp_dump() argument
109 extern void dhd_arp_dump(dhd_pub_t *dhdp, int ifidx, uint
112 dhd_arp_dump(dhd_pub_t *dhdp, int ifidx, uint8 *pktdata, bool tx, uint32 *pkthash, uint16 *pktfate) dhd_arp_dump() argument
121 dhd_dump_eapol_message(dhd_pub_t *dhd, int ifidx, uint8 *pktdata, uint32 pktlen, bool tx, uint32 *pkthash, uint16 *pktfate) dhd_dump_eapol_message() argument
[all...]
H A Ddhd_linux_pktdump.c404 dhd_dump_pkt(dhd_pub_t *dhdp, int ifidx, uint8 *pktdata, uint32 pktlen, in dhd_dump_pkt() argument
417 dhd_dump_eapol_message(dhdp, ifidx, pktdata, pktlen, in dhd_dump_pkt()
421 dhd_dhcp_dump(dhdp, ifidx, pktdata, tx, pkthash, pktfate); in dhd_dump_pkt()
422 dhd_icmp_dump(dhdp, ifidx, pktdata, tx, pkthash, pktfate); in dhd_dump_pkt()
423 dhd_dns_dump(dhdp, ifidx, pktdata, tx, pkthash, pktfate); in dhd_dump_pkt()
426 dhd_arp_dump(dhdp, ifidx, pktdata, tx, pkthash, pktfate); in dhd_dump_pkt()
428 dhd_trx_pkt_dump(dhdp, ifidx, pktdata, pktlen, tx); in dhd_dump_pkt()
601 dhd_dump_wsc_message(dhd_pub_t *dhd, int ifidx, uint8 *pktdata, in dhd_dump_wsc_message() argument
647 ifname = dhd_ifname(dhd, ifidx); in dhd_dump_wsc_message()
662 wl_ext_update_eapol_status(dhd, ifidx, EAPOL_STATUS_WPS_M in dhd_dump_wsc_message()
717 dhd_dump_eap_packet(dhd_pub_t *dhd, int ifidx, uint8 *pktdata, uint32 pktlen, bool tx, uint32 *pkthash, uint16 *pktfate) dhd_dump_eap_packet() argument
844 dhd_dump_eapol_4way_message(dhd_pub_t *dhd, int ifidx, uint8 *pktdata, bool tx, uint32 *pkthash, uint16 *pktfate) dhd_dump_eapol_4way_message() argument
916 dhd_dump_eapol_message(dhd_pub_t *dhd, int ifidx, uint8 *pktdata, uint32 pktlen, bool tx, uint32 *pkthash, uint16 *pktfate) dhd_dump_eapol_message() argument
1018 dhd_dhcp_dump(dhd_pub_t *dhdp, int ifidx, uint8 *pktdata, bool tx, uint32 *pkthash, uint16 *pktfate) dhd_dhcp_dump() argument
1126 dhd_icmp_dump(dhd_pub_t *dhdp, int ifidx, uint8 *pktdata, bool tx, uint32 *pkthash, uint16 *pktfate) dhd_icmp_dump() argument
1226 dhd_arp_dump(dhd_pub_t *dhdp, int ifidx, uint8 *pktdata, bool tx, uint32 *pkthash, uint16 *pktfate) dhd_arp_dump() argument
1347 dhd_dns_dump(dhd_pub_t *dhdp, int ifidx, uint8 *pktdata, bool tx, uint32 *pkthash, uint16 *pktfate) dhd_dns_dump() argument
1409 dhd_trx_pkt_dump(dhd_pub_t *dhdp, int ifidx, uint8 *pktdata, uint32 pktlen, bool tx) dhd_trx_pkt_dump() argument
[all...]
H A Dwl_android.h125 int wl_ext_iapsta_attach_netdev(struct net_device *net, int ifidx, uint8 bssidx);
126 int wl_ext_iapsta_attach_name(struct net_device *net, int ifidx);
127 int wl_ext_iapsta_dettach_netdev(struct net_device *net, int ifidx);
128 int wl_ext_iapsta_update_net_device(struct net_device *net, int ifidx);
131 int wl_ext_get_wlfc_maxcount(struct dhd_pub *dhd, int ifidx);
142 void wl_ext_iapsta_update_iftype(struct net_device *net, int ifidx, int wl_iftype);
147 void wl_ext_iapsta_ifadding(struct net_device *net, int ifidx);
170 int wl_ext_event_attach_netdev(struct net_device *net, int ifidx, uint8 bssidx);
171 int wl_ext_event_dettach_netdev(struct net_device *net, int ifidx);
184 void wl_ext_user_sync(struct dhd_pub *dhd, int ifidx, boo
215 wl_ext_update_eapol_status(dhd_pub_t *dhd, int ifidx, uint eapol_status) wl_ext_update_eapol_status() argument
[all...]
H A Dwl_event.c206 if (e->emsg.ifidx >= DHD_MAX_IFS) { in wl_ext_event_handler()
207 EVENT_ERROR("wlan", "ifidx=%d not in range\n", e->emsg.ifidx); in wl_ext_event_handler()
210 dev = event_params->dev[e->emsg.ifidx]; in wl_ext_event_handler()
212 EVENT_DBG("wlan", "ifidx=%d dev not ready\n", e->emsg.ifidx); in wl_ext_event_handler()
440 wl_ext_event_attach_netdev(struct net_device *net, int ifidx, uint8 bssidx) in wl_ext_event_attach_netdev() argument
445 EVENT_TRACE(net->name, "ifidx=%d, bssidx=%d\n", ifidx, bssidx); in wl_ext_event_attach_netdev()
446 if (event_params && ifidx < WL_MAX_IF in wl_ext_event_attach_netdev()
454 wl_ext_event_dettach_netdev(struct net_device *net, int ifidx) wl_ext_event_dettach_netdev() argument
[all...]
H A Ddhd_cfg80211.c139 int ifidx, uint8 *addr, int bssidx, char *name, int if_state) in wl_cfg80211_update_iflist_info()
141 return dhd_update_iflist_info(cfg->pub, ndev, ifidx, addr, bssidx, name, if_state); in wl_cfg80211_update_iflist_info()
145 struct net_device* wl_cfg80211_allocate_if(struct bcm_cfg80211 *cfg, int ifidx, const char *name, in wl_cfg80211_allocate_if() argument
148 return dhd_allocate_if(cfg->pub, ifidx, name, mac, bssidx, FALSE, dngl_name); in wl_cfg80211_allocate_if()
152 int ifidx, struct net_device* ndev, bool rtnl_lock_reqd) in wl_cfg80211_register_if()
154 return dhd_register_if(cfg->pub, ifidx, rtnl_lock_reqd); in wl_cfg80211_register_if()
158 int ifidx, struct net_device* ndev, bool rtnl_lock_reqd) in wl_cfg80211_remove_if()
160 return dhd_remove_if(cfg->pub, ifidx, rtnl_lock_reqd); in wl_cfg80211_remove_if()
312 WL_ERR(("Bad ifidx from wdev:%p\n", wdev)); in dhd_cfgvendor_priv_string_handler()
138 wl_cfg80211_update_iflist_info(struct bcm_cfg80211 *cfg, struct net_device *ndev, int ifidx, uint8 *addr, int bssidx, char *name, int if_state) wl_cfg80211_update_iflist_info() argument
151 wl_cfg80211_register_if(struct bcm_cfg80211 *cfg, int ifidx, struct net_device* ndev, bool rtnl_lock_reqd) wl_cfg80211_register_if() argument
157 wl_cfg80211_remove_if(struct bcm_cfg80211 *cfg, int ifidx, struct net_device* ndev, bool rtnl_lock_reqd) wl_cfg80211_remove_if() argument
H A Ddhd_linux.c498 static void dhd_bridge_dev_set(dhd_info_t * dhd, int ifidx, struct net_device * dev);
852 static int dhd_wl_host_event(dhd_info_t *dhd, int ifidx, void *pktdata, uint16 pktlen,
939 int ifidx; /* interface index */ member
949 //struct NetDevice * get_hdf_netdev(int ifidx);
974 #define DHD_DEV_IFIDX(dev) (DHD_DEV_PRIV(dev)->ifidx)
982 #define DHD_DEV_IFIDX(dev) (((dhd_dev_priv_t *)DEV_PRIV(dev))->ifidx)
995 dev_priv->ifidx = DHD_BAD_IF; in dhd_dev_priv_clear()
1002 int ifidx) in dhd_dev_priv_save()
1009 dev_priv->ifidx = ifidx; in dhd_dev_priv_save()
1001 dhd_dev_priv_save(struct net_device * dev, dhd_info_t * dhd, dhd_if_t * ifp, int ifidx) dhd_dev_priv_save() argument
1013 dhd_get_ifp(dhd_pub_t *dhdp, uint32 ifidx) dhd_get_ifp() argument
1326 dhd_find_sta(void *pub, int ifidx, void *ea) dhd_find_sta() argument
1360 dhd_add_sta(void *pub, int ifidx, void *ea) dhd_add_sta() argument
1403 dhd_del_all_sta(void *pub, int ifidx) dhd_del_all_sta() argument
1441 dhd_del_sta(void *pub, int ifidx, void *ea) dhd_del_sta() argument
1481 dhd_findadd_sta(void *pub, int ifidx, void *ea) dhd_findadd_sta() argument
1543 dhd_findadd_sta(void *pub, int ifidx, void *ea) dhd_findadd_sta() argument
1544 dhd_find_sta(void *pub, int ifidx, void *ea) dhd_find_sta() argument
1545 dhd_del_sta(void *pub, int ifidx, void *ea) dhd_del_sta() argument
2452 dhd_idx2net(void *pub, int ifidx) dhd_idx2net() argument
2485 dhd_ifname(dhd_pub_t *dhdp, int ifidx) dhd_ifname() argument
2522 _dhd_set_multicast_list(dhd_info_t *dhd, int ifidx) _dhd_set_multicast_list() argument
2697 _dhd_set_mac_address(dhd_info_t *dhd, int ifidx, uint8 *addr, bool skip_stop) _dhd_set_mac_address() argument
2827 int ifidx, bssidx; dhd_ifadd_event_handler() local
2938 int ifidx; dhd_ifdel_event_handler() local
2999 int ifidx; dhd_ifupdate_event_handler() local
3031 dhd_op_if_update(dhd_pub_t *dhdpub, int ifidx) dhd_op_if_update() argument
3128 int ifidx = (int)((long int)event_info); dhd_set_mcast_list_handler() local
3179 int ifidx; dhd_set_mac_address() local
3203 int ifidx; dhd_set_multicast_list() local
3274 dhd_sendup(dhd_pub_t *dhdp, int ifidx, void *p) dhd_sendup() argument
3325 __dhd_sendpkt(dhd_pub_t *dhdp, int ifidx, void *pktbuf) __dhd_sendpkt() argument
3488 DHD_PKTTAG_SETIF(PKTTAG(pktbuf), ifidx); __dhd_sendpkt() local
3535 dhd_sendpkt(dhd_pub_t *dhdp, int ifidx, void *pktbuf) dhd_sendpkt() argument
3594 int ifidx; dhd_start_xmit() local
3956 dhd_txflowcontrol(dhd_pub_t *dhdp, int ifidx, bool state) dhd_txflowcontrol() argument
4372 dhd_event_logtrace_enqueue(dhd_pub_t *dhdp, int ifidx, void *pktbuf) dhd_event_logtrace_enqueue() argument
4437 dhd_rx_frame(dhd_pub_t *dhdp, int ifidx, void *pktbuf, int numpkt, uint8 chan) dhd_rx_frame() argument
5042 dhd_event(struct dhd_info *dhd, char *evpkt, int evlen, int ifidx) dhd_event() argument
5558 dhd_toe_get(dhd_info_t *dhd, int ifidx, uint32 *toe_ol) dhd_toe_get() argument
5582 dhd_toe_set(dhd_info_t *dhd, int ifidx, uint32 toe_ol) dhd_toe_set() argument
5810 dhd_monitor_enabled(dhd_pub_t *dhd, int ifidx) dhd_monitor_enabled() argument
5817 dhd_rx_mon_pkt_sdio(dhd_pub_t *dhdp, void *pkt, int ifidx) dhd_rx_mon_pkt_sdio() argument
5844 dhd_rx_mon_pkt(dhd_pub_t *dhdp, host_rxbuf_cmpl_t* msg, void *pkt, int ifidx) dhd_rx_mon_pkt() argument
6290 dhd_set_monitor(dhd_pub_t *pub, int ifidx, int val) dhd_set_monitor() argument
6354 dhd_ioctl_process(dhd_pub_t *pub, int ifidx, dhd_ioctl_t *ioc, void *data_buf) dhd_ioctl_process() argument
6454 int ifidx; dhd_ioctl_entry() local
6732 int ifidx = 0; dhd_stop() local
7027 int ifidx; dhd_open() local
7757 u32 ifidx = (DHD_MAX_IFS + DHD_MAX_STATIC_IFS - 1); dhd_get_ifp_by_ndev() local
7759 u32 ifidx = (DHD_MAX_IFS - 1); dhd_get_ifp_by_ndev() local
7797 dhd_update_iflist_info(dhd_pub_t *dhdp, struct net_device *ndev, int ifidx, uint8 *mac, uint8 bssidx, const char *dngl_name, int if_state) dhd_update_iflist_info() argument
7901 dhd_allocate_if(dhd_pub_t *dhdpub, int ifidx, const char *name, uint8 *mac, uint8 bssidx, bool need_rtnl_lock, const char *dngl_name) dhd_allocate_if() argument
8072 s32 ifidx = 0; dhd_cleanup_ifp() local
8122 dhd_remove_if(dhd_pub_t *dhdpub, int ifidx, bool need_rtnl_lock) dhd_remove_if() argument
11549 dhd_iovar(dhd_pub_t *pub, int ifidx, char *name, char *param_buf, uint param_len, char *res_buf, uint res_len, int set) dhd_iovar() argument
11646 dhd_getiovar(dhd_pub_t *pub, int ifidx, char *name, char *cmd_buf, uint cmd_len, char **resptr, uint resp_len) dhd_getiovar() argument
11675 dhd_change_mtu(dhd_pub_t *dhdp, int new_mtu, int ifidx) dhd_change_mtu() argument
12075 dhd_register_if(dhd_pub_t *dhdp, int ifidx, bool need_rtnl_lock) dhd_register_if() argument
13571 dhd_wl_host_event(dhd_info_t *dhd, int ifidx, void *pktdata, uint16 pktlen, wl_event_msg_t *event, void **data) dhd_wl_host_event() argument
13637 int ifidx = 0; dhd_sendup_log() local
15077 int ifidx, ret; __dhd_apf_add_filter() local
15138 int ifidx, ret; __dhd_apf_config_filter() local
15188 int ifidx, ret; __dhd_apf_delete_filter() local
15223 int ifidx, ret; dhd_dev_apf_get_version() local
15257 int ifidx, ret; dhd_dev_apf_get_max_len() local
16817 int ifidx; dhd_ioctl_entry_local() local
16849 dhd_os_check_hang(dhd_pub_t *dhdp, int ifidx, int ret) dhd_os_check_hang() argument
19263 int ifidx; dhd_xps_cpus_enable() local
19358 int ifidx; dhd_rps_cpus_enable() local
[all...]
H A Ddhd_cdc.c207 dhdcdc_query_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len, uint8 action) in dhdcdc_query_ioctl() argument
247 CDC_SET_IF_IDX(msg, ifidx); in dhdcdc_query_ioctl()
274 dhd_ifname(dhd, ifidx), __FUNCTION__, id, prot->reqid)); in dhdcdc_query_ioctl()
304 dhdcdc_set_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len, uint8 action) in dhdcdc_set_ioctl() argument
342 CDC_SET_IF_IDX(msg, ifidx); in dhdcdc_set_ioctl()
371 dhd_ifname(dhd, ifidx), __FUNCTION__, id, prot->reqid)); in dhdcdc_set_ioctl()
415 dhd_prot_ioctl(dhd_pub_t *dhd, int ifidx, wl_ioctl_t * ioc, void * buf, int len) in dhd_prot_ioctl() argument
449 ret = dhdcdc_set_ioctl(dhd, ifidx, ioc->cmd, buf, len, action); in dhd_prot_ioctl()
451 ret = dhdcdc_query_ioctl(dhd, ifidx, ioc->cmd, buf, len, action); in dhd_prot_ioctl()
513 dhd_prot_hdrpush(dhd_pub_t *dhd, int ifidx, voi argument
552 dhd_prot_hdrpull(dhd_pub_t *dhd, int *ifidx, void *pktbuf, uchar *reorder_buf_info, uint *reorder_info_len) dhd_prot_hdrpull() argument
[all...]
H A Ddhd_linux.h204 int ifidx; member
210 #define DHD_LB_TX_PKTTAG_SET_IFIDX(tag, ifidx) ((tag)->ifidx = ifidx)
211 #define DHD_LB_TX_PKTTAG_IFIDX(tag) ((tag)->ifidx)
315 int ifidx; /* index of interface in dhd */ member
H A Dhdf_public_ap6275s.h69 int BDH6InitNetdev(struct NetDevice *netDevice, int private_data_size, int type, int ifidx);
70 struct NetDevice *get_hdf_netdev(int ifidx);
71 struct net_device *get_krn_netdev(int ifidx);
H A Ddhd_linux_lb.c1191 dhd_lb_rx_pkt_enqueue(dhd_pub_t *dhdp, void *pkt, int ifidx) in dhd_lb_rx_pkt_enqueue() argument
1195 DHD_INFO(("%s enqueue pkt<%p> ifidx<%d> pend_queue<%d>\n", __FUNCTION__, in dhd_lb_rx_pkt_enqueue()
1196 pkt, ifidx, skb_queue_len(&dhd->rx_pend_queue))); in dhd_lb_rx_pkt_enqueue()
1197 DHD_PKTTAG_SET_IFID((dhd_pkttag_fr_t *)PKTTAG(pkt), ifidx); in dhd_lb_rx_pkt_enqueue()
1235 int ifidx, void *skb) in dhd_lb_sendpkt()
1242 return __dhd_sendpkt(&dhd->pub, ifidx, skb); in dhd_lb_sendpkt()
1247 DHD_LB_TX_PKTTAG_SET_IFIDX((dhd_tx_lb_pkttag_fr_t *)PKTTAG(skb), ifidx); in dhd_lb_sendpkt()
1272 int ifidx; in dhd_lb_tx_process() local
1295 ifidx = DHD_LB_TX_PKTTAG_IFIDX((dhd_tx_lb_pkttag_fr_t *)PKTTAG(skb)); in dhd_lb_tx_process()
1298 net, ifidx)); in dhd_lb_tx_process()
1234 dhd_lb_sendpkt(dhd_info_t *dhd, struct net_device *net, int ifidx, void *skb) dhd_lb_sendpkt() argument
[all...]
H A Ddhd_ip.c129 int ifidx; member
308 int ifidx; in dhd_tcpack_send() local
342 ifidx = cur_tbl->ifidx; in dhd_tcpack_send()
349 cur_tbl->ifidx = 0; in dhd_tcpack_send()
358 dhd_sendpkt(dhdp, ifidx, pkt); in dhd_tcpack_send()
550 tcpack_sup_mod->tcpack_info_tbl[i].ifidx = 0; in dhd_tcpack_info_tbl_clean()
1171 dhd_tcpack_hold(dhd_pub_t *dhdp, void *pkt, int ifidx) in dhd_tcpack_hold() argument
1324 tcpack_info_tbl[i].ifidx = 0; in dhd_tcpack_hold()
1330 tcpack_info_tbl[i].ifidx in dhd_tcpack_hold()
[all...]
H A Ddhd_proto.h99 extern void dhd_prot_hdrpush(dhd_pub_t *, int ifidx, void *txp);
103 extern int dhd_prot_hdrpull(dhd_pub_t *, int *ifidx, void *rxp, uchar *buf, uint *len);
106 extern int dhd_prot_ioctl(dhd_pub_t *dhd, int ifidx, wl_ioctl_t * ioc, void * buf, int len);
141 extern int dhd_prot_txdata(dhd_pub_t *dhd, void *p, uint8 ifidx);
H A Ddhd.h1895 extern void dhd_txflowcontrol(dhd_pub_t *dhdp, int ifidx, bool on);
1902 extern void dhd_rx_frame(dhd_pub_t *dhdp, int ifidx, void *rxp, int numpkt, uint8 chan);
1918 extern void dhd_eap_txcomplete(dhd_pub_t *dhdp, void *txp, bool success, int ifidx);
1919 extern void dhd_cleanup_m4_state_work(dhd_pub_t *dhdp, int ifidx);
2064 extern bool dhd_os_check_hang(dhd_pub_t *dhdp, int ifidx, int ret);
2205 extern struct net_device * dhd_idx2net(void *pub, int ifidx);
2219 int cmd, uint8 set, int ifidx);
2221 int cmd, uint8 set, int ifidx);
2232 extern int dhd_op_if_update(dhd_pub_t *dhdpub, int ifidx);
2234 extern struct net_device* dhd_allocate_if(dhd_pub_t *dhdpub, int ifidx, cons
2925 uint ifidx; global() member
2930 int *ifidx; global() member
[all...]
H A Ddhd_linux_priv.h383 int __dhd_sendpkt(dhd_pub_t *dhdp, int ifidx, void *pktbuf);
387 int dhd_lb_sendpkt(dhd_info_t *dhd, struct net_device *net, int ifidx, void *skb);
398 void dhd_lb_rx_pkt_enqueue(dhd_pub_t *dhdp, void *pkt, int ifidx);
H A Dwl_cfg80211.h761 u8 ifidx; member
967 int ifidx; member
1464 wl_get_netinfo_by_fw_idx(struct bcm_cfg80211 *cfg, s32 bssidx, u8 ifidx) in wl_get_netinfo_by_fw_idx() argument
1474 (_net_info->ifidx == ifidx)) { in wl_get_netinfo_by_fw_idx()
1528 struct wireless_dev * wdev, wl_iftype_t iftype, bool pm_block, u8 bssidx, u8 ifidx) in wl_alloc_netinfo()
1538 * same bssidx && ifidx. in wl_alloc_netinfo()
1540 if ((_net_info = wl_get_netinfo_by_fw_idx(cfg, bssidx, ifidx))) { in wl_alloc_netinfo()
1545 WL_ERR(("Duplicate entry for bssidx=%d ifidx=%d present." in wl_alloc_netinfo()
1546 " Can't add new entry\n", bssidx, ifidx)); in wl_alloc_netinfo()
1527 wl_alloc_netinfo(struct bcm_cfg80211 *cfg, struct net_device *ndev, struct wireless_dev * wdev, wl_iftype_t iftype, bool pm_block, u8 bssidx, u8 ifidx) wl_alloc_netinfo() argument
1814 wl_get_wdev_by_fw_idx(struct bcm_cfg80211 *cfg, s32 bssidx, s32 ifidx) wl_get_wdev_by_fw_idx() argument
[all...]
H A Dwl_android_ext.c184 int ifidx; member
560 wl_ext_user_sync(struct dhd_pub *dhd, int ifidx, bool lock) in wl_ext_user_sync() argument
562 struct net_device *dev = dhd_idx2net(dhd, ifidx); in wl_ext_user_sync()
590 wl_ext_event_complete(struct dhd_pub *dhd, int ifidx) in wl_ext_event_complete() argument
592 struct net_device *dev = dhd_idx2net(dhd, ifidx); in wl_ext_event_complete()
626 if (ifidx < MAX_IF_NUM) { in wl_ext_event_complete()
627 cur_if = &apsta_params->if_info[ifidx]; in wl_ext_event_complete()
1716 if (dhd->conf->chip == BCM43430_CHIP_ID && cur_if->ifidx > 0 && wsec >= 2 && in wl_ext_set_emode()
2836 AEXT_ERROR("wlan", "ifidx %d is not ready\n", mesh_if->ifidx); in wl_mesh_timer()
4308 wl_ext_get_wlfc_maxcount(struct dhd_pub *dhd, int ifidx) wl_ext_get_wlfc_maxcount() argument
4676 wl_ext_iapsta_update_iftype(struct net_device *net, int ifidx, int wl_iftype) wl_ext_iapsta_update_iftype() argument
4713 wl_ext_iapsta_ifadding(struct net_device *net, int ifidx) wl_ext_iapsta_ifadding() argument
5161 wl_ext_update_eapol_status(dhd_pub_t *dhd, int ifidx, uint eapol_status) wl_ext_update_eapol_status() argument
5324 wl_ext_iapsta_attach_name(struct net_device *net, int ifidx) wl_ext_iapsta_attach_name() argument
5352 wl_ext_iapsta_update_net_device(struct net_device *net, int ifidx) wl_ext_iapsta_update_net_device() argument
5388 wl_ext_iapsta_attach_netdev(struct net_device *net, int ifidx, uint8 bssidx) wl_ext_iapsta_attach_netdev() argument
5436 wl_ext_iapsta_dettach_netdev(struct net_device *net, int ifidx) wl_ext_iapsta_dettach_netdev() argument
5613 int ret = -1, i, ifidx, id, period=-1; wl_ext_mkeep_alive() local
[all...]
H A Ddhd_config.h347 void dhd_conf_set_wme(dhd_pub_t *dhd, int ifidx, int mode);
361 int dhd_conf_mkeep_alive(dhd_pub_t *dhd, int ifidx, int id, int period,
364 void dhd_conf_set_garp(dhd_pub_t *dhd, int ifidx, uint32 ipa, bool enable);
H A Ddhd_ip.h90 extern bool dhd_tcpack_hold(dhd_pub_t *dhdp, void *pkt, int ifidx);
H A Ddhd_config.c223 extern int dhd_change_mtu(dhd_pub_t *dhd, int new_mtu, int ifidx);
1272 dhd_conf_set_bufiovar(dhd_pub_t *dhd, int ifidx, uint cmd, char *name, in dhd_conf_set_bufiovar() argument
1280 if ((ret = dhd_wl_ioctl_cmd(dhd, WLC_DOWN, NULL, 0, TRUE, ifidx)) < 0) in dhd_conf_set_bufiovar()
1287 ret = dhd_wl_ioctl_cmd(dhd, cmd, iovbuf, iovar_len, TRUE, ifidx); in dhd_conf_set_bufiovar()
1293 if ((ret = dhd_wl_ioctl_cmd(dhd, cmd, buf, len, TRUE, ifidx)) < 0) in dhd_conf_set_bufiovar()
1301 dhd_conf_get_iovar(dhd_pub_t *dhd, int ifidx, int cmd, char *name, in dhd_conf_get_iovar() argument
1309 ret = dhd_wl_ioctl_cmd(dhd, cmd, iovbuf, sizeof(iovbuf), FALSE, ifidx); in dhd_conf_get_iovar()
1798 dhd_conf_get_wme(dhd_pub_t *dhd, int ifidx, int mode, edcf_acparam_t *acp) in dhd_conf_get_wme() argument
1815 FALSE, ifidx)) < 0) { in dhd_conf_get_wme()
1846 dhd_conf_update_wme(dhd_pub_t *dhd, int ifidx, in argument
1906 dhd_conf_set_wme(dhd_pub_t *dhd, int ifidx, int mode) dhd_conf_set_wme() argument
2300 dhd_conf_mkeep_alive(dhd_pub_t *dhd, int ifidx, int id, int period, char *packet, bool bcast) dhd_conf_mkeep_alive() argument
2354 dhd_conf_set_garp(dhd_pub_t *dhd, int ifidx, uint32 ipa, bool enable) dhd_conf_set_garp() argument
2519 dhd_conf_wait_event_complete(struct dhd_pub *dhd, int ifidx) dhd_conf_wait_event_complete() argument
[all...]
H A Ddhd_common.c187 extern int dhd_change_mtu(dhd_pub_t *dhd, int new_mtu, int ifidx);
901 dhd_wl_ioctl_cmd(dhd_pub_t *dhd_pub, int cmd, void *arg, int len, uint8 set, int ifidx) in dhd_wl_ioctl_cmd() argument
910 return dhd_wl_ioctl(dhd_pub, ifidx, &ioc, arg, len); in dhd_wl_ioctl_cmd()
915 int cmd, uint8 set, int ifidx) in dhd_wl_ioctl_get_intiovar()
922 ret = dhd_wl_ioctl_cmd(dhd_pub, cmd, iovbuf, sizeof(iovbuf), set, ifidx); in dhd_wl_ioctl_get_intiovar()
939 int cmd, uint8 set, int ifidx) in dhd_wl_ioctl_set_intiovar()
949 ret = dhd_wl_ioctl_cmd(dhd_pub, cmd, iovbuf, len, set, ifidx); in dhd_wl_ioctl_set_intiovar()
1010 dhd_wl_ioctl(dhd_pub_t *dhd_pub, int ifidx, wl_ioctl_t *ioc, void *buf, int len) in dhd_wl_ioctl() argument
1076 DHD_DNGL_IOVAR_SET(("iovar:%d: set %s", ifidx, pars)); in dhd_wl_ioctl()
1084 ifidx, io in dhd_wl_ioctl()
914 dhd_wl_ioctl_get_intiovar(dhd_pub_t *dhd_pub, char *name, uint *pval, int cmd, uint8 set, int ifidx) dhd_wl_ioctl_get_intiovar() argument
938 dhd_wl_ioctl_set_intiovar(dhd_pub_t *dhd_pub, char *name, uint val, int cmd, uint8 set, int ifidx) dhd_wl_ioctl_set_intiovar() argument
3385 wl_event_process(dhd_pub_t *dhd_pub, int *ifidx, void *pktdata, uint pktlen, void **data_ptr, void *raw_event) wl_event_process() argument
3433 wl_process_host_event(dhd_pub_t *dhd_pub, int *ifidx, void *pktdata, uint pktlen, wl_event_msg_t *event, void **data_ptr, void *raw_event) wl_process_host_event() argument
3802 wl_host_event(dhd_pub_t *dhd_pub, int *ifidx, void *pktdata, uint pktlen, wl_event_msg_t *event, void **data_ptr, void *raw_event) wl_host_event() argument
4993 dhd_is_associated(dhd_pub_t *dhd, uint8 ifidx, int *retval) dhd_is_associated() argument
[all...]
H A Ddhd_bus.h73 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp, uint8 ifidx);
213 extern void dhd_bus_rx_frame(struct dhd_bus *bus, void* pkt, int ifidx, uint pkt_count);
H A Ddhd_msgbuf.c644 static int dhd_msgbuf_query_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd,
646 static int dhd_msgbuf_set_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd,
650 void *buf, int ifidx);
689 extern bool dhd_monitor_enabled(dhd_pub_t *dhd, int ifidx);
690 extern void dhd_rx_mon_pkt(dhd_pub_t *dhdp, host_rxbuf_cmpl_t* msg, void *pkt, int ifidx);
769 #define PKT_CTF_CHAINABLE(dhd, ifidx, evh, prio, h_sa, h_da, h_prio) \
771 dhd_rx_pkt_chainable((dhd), (ifidx)) && \
776 ((h_prio) == (prio)) && (dhd_ctf_hotbrc_check((dhd), (evh), (ifidx))) && \
781 static void BCMFASTPATH dhd_rxchain_frame(dhd_pub_t *dhd, void *pkt, uint ifidx);
3663 extern void dhd_lb_rx_pkt_enqueue(dhd_pub_t *dhdp, void *pkt, int ifidx);
5536 int ifidx = 0, if_newidx = 0; dhd_prot_process_msgbuf_rxcpl() local
6519 int ifidx = 0; dhd_prot_event_process() local
6626 dhd_prot_hdrpush(dhd_pub_t *dhd, int ifidx, void *PKTBUF) dhd_prot_hdrpush() argument
6646 dhd_prot_txdata(dhd_pub_t *dhd, void *PKTBUF, uint8 ifidx) dhd_prot_txdata() argument
6978 dhd_prot_hdrpull(dhd_pub_t *dhd, int *ifidx, void *pkt, uchar *buf, uint *len) dhd_prot_hdrpull() argument
7054 dhd_prot_wl_ioctl_ret_intercept(dhd_pub_t *dhd, wl_ioctl_t * ioc, void * buf, int ifidx, int ret, int len) dhd_prot_wl_ioctl_ret_intercept() argument
7078 dhd_prot_ioctl(dhd_pub_t *dhd, int ifidx, wl_ioctl_t * ioc, void * buf, int len) dhd_prot_ioctl() argument
7496 dhd_msgbuf_query_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len, uint8 action) dhd_msgbuf_query_ioctl() argument
7726 dhd_msgbuf_set_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len, uint8 action) dhd_msgbuf_set_ioctl() argument
8053 dhd_fillup_ioct_reqst(dhd_pub_t *dhd, uint16 len, uint cmd, void* buf, int ifidx) dhd_fillup_ioct_reqst() argument
10212 dhd_rxchain_frame(dhd_pub_t *dhd, void *pkt, uint ifidx) dhd_rxchain_frame() argument
[all...]
H A Dwl_cfg80211.c221 struct NetDevice * get_hdf_netdev(int ifidx);
2193 if (cfg->if_event_info.ifidx) { in wl_cfg80211_p2p_if_del()
2194 /* Remove interface except for primary ifidx */ in wl_cfg80211_p2p_if_del()
2195 wl_cfg80211_remove_if(cfg, cfg->if_event_info.ifidx, ndev, FALSE); in wl_cfg80211_p2p_if_del()
3578 wl_ext_iapsta_update_iftype(ndev, netinfo->ifidx, wl_iftype); in wl_cfg80211_change_virtual_iface()
3591 int ifidx, char *name, uint8 *mac, uint8 bssidx, uint8 role) in wl_cfg80211_notify_ifadd()
3601 return wl_cfg80211_notify_ifchange(dev, ifidx, name, mac, bssidx); in wl_cfg80211_notify_ifadd()
3616 if_event_info->ifidx = ifidx; in wl_cfg80211_notify_ifadd()
3628 WL_INFORM_MEM(("IF_ADD ifidx in wl_cfg80211_notify_ifadd()
3590 wl_cfg80211_notify_ifadd(struct net_device *dev, int ifidx, char *name, uint8 *mac, uint8 bssidx, uint8 role) wl_cfg80211_notify_ifadd() argument
3639 wl_cfg80211_notify_ifdel(struct net_device *dev, int ifidx, char *name, uint8 *mac, uint8 bssidx) wl_cfg80211_notify_ifdel() argument
3672 wl_cfg80211_notify_ifchange(struct net_device * dev, int ifidx, char *name, uint8 *mac, uint8 bssidx) wl_cfg80211_notify_ifchange() argument
4688 wl_cfg80211_post_ifdel(struct net_device *ndev, bool rtnl_lock_reqd, s32 ifidx) wl_cfg80211_post_ifdel() argument
9818 s32 ifidx = DHD_BAD_IF; wl_cfg80211_change_bss() local
18020 u16 ifidx = 0; wl_cfg80211_attach() local
18217 s32 ifidx = ntoh32(e->ifidx); wl_print_event_data() local
20959 wl_cfg80211_is_event_from_connected_bssid(struct net_device * dev, const wl_event_msg_t *e, int ifidx) wl_cfg80211_is_event_from_connected_bssid() argument
[all...]
/device/board/hihope/rk3568/wifi/bcmdhd_wifi6/hdfadapt/
H A Dnet_bdh_adpater.h32 void set_krn_netdev(struct NetDevice *hnetdev, struct net_device *netdev, int ifidx);
34 int P2pInitNetdev(struct NetDevice *netDevice, WifiIfAdd *ifAdd, int private_data_size, int ifidx);
H A Dnet_bdh_adpater.c43 void set_krn_netdev(struct NetDevice *hnetdev, struct net_device *netdev, int ifidx) in set_krn_netdev() argument
45 g_hdf_infmap[ifidx].hnetdev = hnetdev; in set_krn_netdev()
46 g_hdf_infmap[ifidx].netdev = netdev; in set_krn_netdev()
49 struct NetDevice *get_hdf_netdev(int ifidx) in get_hdf_netdev() argument
51 return g_hdf_infmap[ifidx].hnetdev; in get_hdf_netdev()
54 struct net_device *get_krn_netdev(int ifidx) in get_krn_netdev() argument
56 return g_hdf_infmap[ifidx].netdev; in get_krn_netdev()
141 int P2pInitNetdev(struct NetDevice *netDevice, WifiIfAdd *ifAdd, int private_data_size, int ifidx) in P2pInitNetdev() argument
196 g_hdf_ifidx = ifidx; in P2pInitNetdev()
197 set_krn_netdev(hnetdev, netdev, ifidx); in P2pInitNetdev()
[all...]

Completed in 65 milliseconds

12