quickreflex / rtl8188eus

Wifi driver support for rtl8188eu, rtl8188eus and rtl8188etv chips and working under the new linux kernel (5.1.x).
Other
187 stars 72 forks source link

rtw_ap.c:3200:2: error: implicit declaration of function ‘adapter_mac_addr’ #2

Open Guet-Bantao opened 6 years ago

Guet-Bantao commented 6 years ago

Can I ask a question? I downloaded the code and modified the Makefile : ` -CONFIG_PLATFORM_I386_PC = y +CONFIG_PLATFORM_I386_PC = n CONFIG_PLATFORM_ANDROID_X86 = n CONFIG_PLATFORM_JB_X86 = n CONFIG_PLATFORM_ARM_S3C2K4 = n @@ -122,7 +122,7 @@ CONFIG_PLATFORM_ARM_SUNxI = n CONFIG_PLATFORM_ARM_SUN6I = n CONFIG_PLATFORM_ARM_SUN7I = n -CONFIG_PLATFORM_ARM_SUN8I = n +CONFIG_PLATFORM_ARM_SUN8I = y CONFIG_PLATFORM_ACTIONS_ATM702X = n CONFIG_PLATFORM_ACTIONS_ATM705X = n CONFIG_PLATFORM_ACTIONS_ATV5201 = n @@ -1234,9 +1234,10 @@ endif

ARCH := arm -CROSS_COMPILE := /home/android_sdk/Allwinner/a23/android-jb42/lichee/out/an droid/common/buildroot/external-toolchain/bin/arm-linux-gnueabi- -KVER := 3.4.39 -KSRC :=/home/android_sdk/Allwinner/a23/android-jb42/lichee/linux-3.4 +CROSS_COMPILE := /usr/local/arm/opt/FriendlyARM/toolschain/4.9.3/bin/arm-co rtexa9-linux-gnueabihf- +KVER := 4.12 +KSRC :=/work/system/nanopi/linux +MODULE_NAME := wlanrtl8188 endif ` make, error:

rtl8188/rtl8188eus/core/rtw_ap.c:3202:2: error: implicit declaration of function ‘rtw_iface_bcmc_id_get’ [-Werror=implicit-function-declaration] cam_id = rtw_iface_bcmc_id_get(padapter); ^ /work/system/nanopi/apply/rtl8188/rtl8188eus/core/rtw_ap.c:3203:16: error: ‘INVALID_SEC_MAC_CAM_ID’ undeclared (first use in this function) if (cam_id != INVALID_SEC_MAC_CAM_ID) {

I don't know how to solve this problem。I need your help.......

quickreflex commented 6 years ago

I revert the AP code because it is wrong at commit 634c24b65be2bc360eee2ccdfa0f20d6c7faa111. You can now check if the driver works in AP mode.