#define RK30SDK_WIFI_GPIO_RESET_ENABLE_VALUE GPIO_HIGH
#endif
+#elif defined(CONFIG_ESP8089)
+ #define RK30SDK_WIFI_GPIO_POWER_N RK30_PIN3_PD0
+ #define RK30SDK_WIFI_GPIO_POWER_ENABLE_VALUE GPIO_HIGH
+
#elif defined(CONFIG_MT6620)
#define COMBO_MODULE_MT6620_CDT 1 // to control antsel2,antsel3 and gps_lan foot when using AcSip or Cdtech chip.
//- 1--use Cdtech chip; 0--unuse CDT chip
#elif defined(CONFIG_MT5931_MT6622)||defined(CONFIG_MT5931)
voltage = 1800 ; //power 1800V
+#elif defined(CONFIG_ESP8089)
+ voltage = 3000 ; //power 3000V
#elif defined(CONFIG_MT6620)
voltage = 2800 ; //power 2800V
#elif defined(CONFIG_RDA5990)||defined(CONFIG_RTL8723AS)
//#define RK29_SDMMC_LIST_QUEUE /* use list-queue for multi-card*/
#define RK29_SDMMC_DEFAULT_SDIO_FREQ 0 // 1--run in default frequency(50Mhz); 0---run in 25Mhz,
-#if defined(CONFIG_MT6620)
+#if defined(CONFIG_MT6620)|| defined(CONFIG_ESP8089)
#define RK29_MAX_SDIO_FREQ 50000000 //set max-sdio-frequency 50Mhz in MTK module.
#else
#define RK29_MAX_SDIO_FREQ 25000000 //set max-sdio-frequency 25Mhz at the present time
source "drivers/net/wireless/rkusbwifi/mt7601/Kconfig"
source "drivers/net/wireless/ar6003/Kconfig"
source "drivers/net/wireless/rtl8723as/Kconfig"
+source "drivers/net/wireless/esp8089/Kconfig"
source "drivers/net/wireless/rkwifi/Kconfig"
endchoice
--- /dev/null
+ config ESP8089
+ depends on WLAN_80211 && MMC
+ select WIRELESS_EXT
+ select WEXT_PRIV
+ select CFG80211
+ select NL80211_TESTMODE
+ bool "Espressif 8089 sdio Wi-Fi"
+ ---help---
+ Espressif 8089 sdio Wi-Fi support
+
count = sprintf(_buf, "%s", "RTL8723AS");
printk("Current WiFi chip is RTL8723AS.\n");
#endif
+
+#ifdef CONFIG_ESP8089
+ count = sprintf(_buf, "%s", "ESP8089");
+ printk("Current WiFi chip is ESP8089.\n");
+#endif
+
+
+
#endif
return count;
}
"Failed to add default virtual iface\n");
}
+ //add by lintao@rock-chips.com : register p2p0 IFTYPE_STA
+ #ifdef CONFIG_ESP8089
+ if (local->hw.wiphy->interface_modes &(BIT(NL80211_IFTYPE_P2P_GO) | BIT(NL80211_IFTYPE_P2P_CLIENT))) {
+ result = ieee80211_if_add(local, "p2p%d", NULL,
+ NL80211_IFTYPE_STATION, NULL);
+ if (result)
+ wiphy_warn(local->hw.wiphy,
+ "Failed to add default virtual iface\n");
+ }
+
+ #endif
+
rtnl_unlock();
local->network_latency_notifier.notifier_call =