I.MX6 AW-NB177NF p2p support

Posted zengjf

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
 
 
 /*

 

以上是关于I.MX6 AW-NB177NF p2p support的主要内容,如果未能解决你的问题,请参考以下文章

I.MX6 AW-NB177NF wifi HAL 调试修改

I.MX6 AW-NB177NF WIFi 驱动移植问题

NXP恩智浦迅为i.MX6Q开发板硬件说明

i.MX6ULL开发笔记 | 02 - i.MX6ULL启动方式与镜像格式

Linux驱动开发:汇编LED灯实验(I.MX6UL芯片)

i.MX6ULL开发笔记 | 02 - i.MX6ULL启动方式与镜像格式