wlan.h (1844B)
1 /* 2 * 3 * 4 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 5 * 6 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 7 * 8 * DO NOT EDIT THIS FILE! 9 * This file is auto-generated. 10 * Edits to this file will be lost when it is regenerated. 11 */ 12 13 #ifndef __BCMX_WLAN_H__ 14 #define __BCMX_WLAN_H__ 15 16 #if defined(INCLUDE_L3) 17 18 #include <bcm/types.h> 19 #include <bcmx/bcmx.h> 20 #include <bcm/wlan.h> 21 #include <bcmx/multicast.h> 22 #include <bcmx/l3.h> 23 #include <bcmx/tunnel.h> 24 25 typedef bcm_wlan_port_t bcmx_wlan_port_t; 26 27 typedef bcm_wlan_client_t bcmx_wlan_client_t; 28 29 /* Initialize the WLAN port structure. */ 30 extern void bcmx_wlan_port_t_init( 31 bcmx_wlan_port_t *wlan_port); 32 33 /* Initialize the WLAN client structure. */ 34 extern void bcmx_wlan_client_t_init( 35 bcmx_wlan_client_t *wlan_client); 36 37 /* Initialize the WLAN subsystem. */ 38 extern int bcmx_wlan_init(void); 39 40 /* Detach the WLAN software module. */ 41 extern int bcmx_wlan_detach(void); 42 43 extern int bcmx_wlan_port_add( 44 bcmx_wlan_port_t *info); 45 46 extern int bcmx_wlan_port_delete( 47 bcm_gport_t wlan_port_id); 48 49 extern int bcmx_wlan_port_delete_all(void); 50 51 extern int bcmx_wlan_port_get( 52 bcm_gport_t wlan_port_id, 53 bcmx_wlan_port_t *info); 54 55 extern int bcmx_wlan_client_add( 56 bcmx_wlan_client_t *info); 57 58 extern int bcmx_wlan_client_delete( 59 bcm_mac_t mac); 60 61 extern int bcmx_wlan_client_delete_all(void); 62 63 extern int bcmx_wlan_client_get( 64 bcm_mac_t mac, 65 bcmx_wlan_client_t *info); 66 67 extern int bcmx_wlan_tunnel_initiator_create( 68 bcmx_tunnel_initiator_t *info); 69 70 extern int bcmx_wlan_tunnel_initiator_destroy( 71 bcm_gport_t wlan_tunnel_id); 72 73 extern int bcmx_wlan_tunnel_initiator_get( 74 bcmx_tunnel_initiator_t *info); 75 76 #endif /* defined(INCLUDE_L3) */ 77 78 #endif /* __BCMX_WLAN_H__ */