[INFO] WiFi Connection drop Fix from linux-sunxi on Android

Started by deskwizard, June 24, 2014, 08:14:01 PM

Previous topic - Next topic

deskwizard

Hi,
Just for the information, the Wifi fix listed on http://linux-sunxi.org/Wifi for the 8192cu can be applied on android sources in the following file:

/android4.2/hardware/libhardware_legacy/wifi/wifi.c

Modified section from wifi.c:

#if defined RTL_8192CU_WIFI_USED
    /* rtl8192cu usb wifi */
    #ifndef WIFI_DRIVER_MODULE_PATH
    #define WIFI_DRIVER_MODULE_PATH         "/system/vendor/modules/8192cu.ko"
    #endif
    #ifndef WIFI_DRIVER_MODULE_NAME
    #define WIFI_DRIVER_MODULE_NAME         "8192cu"
    #endif
    #ifndef WIFI_DRIVER_MODULE_ARG
    #define WIFI_DRIVER_MODULE_ARG         "ifname=wlan0 if2name=p2p0 rtw_power_mgnt=0 rtw_enusbss=0"
    #endif


If any of you experience said drop out WiFi problems, that might be worth looking into.

DW