I.MX6 AW-NB177NF p2p support

/*****************************************************************************
 *           I.MX6 AW-NB177NF p2p support
 * 说明:
 *     由于之前调试的过程中一直不能生成p2p的设备,所以无法进行Android层的调试。
 * 以下是autoconf.h的diff文件。
 *
 *                                           2016-6-23 深圳 南山平山村 曾剑锋
 ****************************************************************************/


--- /home/myzr/Desktop/desk/autoconf.h    2015-04-10 15:24:50.000000000 +0800
+++ include/autoconf.h    2016-06-23 19:28:19.851722530 +0800
@@ -43,7 +43,7 @@
 #define CONFIG_80211N_HT
 #define CONFIG_RECV_REORDERING_CTRL
 
-//#define CONFIG_IOCTL_CFG80211        // Set from Makefile
+#define CONFIG_IOCTL_CFG80211        // Set from Makefile
 #ifdef CONFIG_IOCTL_CFG80211
     /*
      * Indecate new sta asoc through cfg80211_new_sta
@@ -51,7 +51,7 @@
      * version < 3.2 but already apply cfg80211 patch,
      * RTW_USE_CFG80211_STA_EVENT must be defiend!
      */
-    //#define RTW_USE_CFG80211_STA_EVENT /* Indecate new sta asoc through cfg80211_new_sta */
+    #define RTW_USE_CFG80211_STA_EVENT /* Indecate new sta asoc through cfg80211_new_sta */
     #ifndef CONFIG_PLATFORM_INTEL_BYT
     #define CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER
     #endif //!CONFIG_PLATFORM_INTEL_BYT
@@ -77,9 +77,9 @@
 
     #define CONFIG_P2P_REMOVE_GROUP_INFO
 
-    //#define CONFIG_DBG_P2P
+    #define CONFIG_DBG_P2P
     #define CONFIG_P2P_PS
-    //#define CONFIG_P2P_IPS
+    #define CONFIG_P2P_IPS
     #define CONFIG_P2P_OP_CHK_SOCIAL_CH
     #define CONFIG_CFG80211_ONECHANNEL_UNDER_CONCURRENT  //replace CONFIG_P2P_CHK_INVITE_CH_LIST flag
     #define CONFIG_P2P_INVITE_IOT
@@ -96,7 +96,7 @@
     #define CONFIG_TDLS_CH_SW        /* Enable "CONFIG_TDLS_CH_SW" by default, however limit it to only work in wifi logo test mode but not in normal mode currently */
 #endif
 
-//#define CONFIG_CONCURRENT_MODE    // Set from Makefile
+#define CONFIG_CONCURRENT_MODE    // Set from Makefile
 #ifdef CONFIG_CONCURRENT_MODE
     //#define CONFIG_HWPORT_SWAP                // Port0->Sec , Port1 -> Pri
     #define CONFIG_RUNTIME_PORT_SWITCH
@@ -110,7 +110,7 @@
 #define CONFIG_LAYER2_ROAMING
 #define CONFIG_LAYER2_ROAMING_RESUME
 
-//#define CONFIG_80211D
+#define CONFIG_80211D
 
 
 /*

 

posted on 2016-06-23 20:12  zengjf  阅读(596)  评论(0编辑  收藏  举报

导航