*/
struct wifi_power power_gpio =
{
- #if defined(CONFIG_MACH_RK2926_V86)
- POWER_USE_GPIO, 0,
- 0, 0, RK2928_PIN0_PD3, GPIO_LOW
- #else
POWER_NOT_USE_GPIO, 0, 0, 0, 0, 0
// RBOX
//POWER_USE_GPIO, POWER_GPIO_IOMUX,
//GPIO5D6_SDMMC1PWREN_NAME, GPIO5H_GPIO5D6, RK29_PIN5_PD6, GPIO_HIGH
- #endif
};
/*
*/\r
int wifi_turn_on_rtl8192c_card(void)\r
{\r
- #if defined(CONFIG_MACH_RK2926_V86)\r
- wifi_gpio_operate(&power_gpio, GPIO_SWITCH_ON);\r
- //rk29sdk_wifi_power(1);\r
- #else\r
- //wifi_gpio_operate(&power_gpio, GPIO_SWITCH_ON);\r
- rk29sdk_wifi_power(1);\r
- #endif\r
+ //wifi_gpio_operate(&power_gpio, GPIO_SWITCH_ON);\r
rk29sdk_wifi_power(1);\r
if (power_gpio.use_gpio != POWER_NOT_USE_GPIO)\r
msleep(1000);\r
\r
int wifi_turn_off_card(void)\r
{\r
- #if defined(CONFIG_MACH_RK2926_V86)\r
- wifi_gpio_operate(&power_gpio, GPIO_SWITCH_OFF);\r
- //rk29sdk_wifi_power(0);\r
- #else\r
- //wifi_gpio_operate(&power_gpio, GPIO_SWITCH_OFF);\r
+ //wifi_gpio_operate(&power_gpio, GPIO_SWITCH_OFF);\r
rk29sdk_wifi_power(0);\r
- #endif\r
msleep(5);\r
\r
wifi_turn_off_callback();\r