#ifndef __INC_WAPI_H #define __INC_WAPI_H #define CONFIG_WAPI_SW_SMS4 #define WAPI_DEBUG #define SMS4_MIC_LEN 16 #define WAPI_EXT_LEN 18 #define MAX_WAPI_IE_LEN 256 #define sMacHdrLng 24 // octets in data header, no WEP #ifdef WAPI_DEBUG /* WAPI trace debug */ extern u32 wapi_debug_component; static inline void dump_buf(u8 *buf, u32 len) { u32 i; printk("-----------------Len %d----------------\n", len); for(i=0; i