This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] WL1837MOD:bgscan 学习不工作

Guru**** 1133960 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1251372/wl1837mod-bgscan-learn-not-working

器件型号:WL1837MOD

您好,我试图将 bgscan="learn:30:-65:120"添加到我的 wpa_supplicant,而我得到了以下结果:  

Jul 21 17:39:39 stm32mp1-ground4-mx wpa_supplicant[573]:bgscan:找不到与参数"learn:30:-65:120"匹配的模块
七月21 17:39:39 stm32mp1-ground4-mx wpa_supplicant[573]:wlan0:初始化 bgscan 失败

我需要重建什么才能使用此选项?  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Sergey:  

    我不熟悉这个特定的选项、但我在 wpa_supplicant Makefile 中看到以下选项:

    ifdef CONFIG_BGSCAN_SIMPLE
    CFLAGS += -DCONFIG_BGSCAN_SIMPLE
    OBJS += bgscan_simple.o
    NEED_BGSCAN=y
    endif
    
    ifdef CONFIG_BGSCAN_LEARN
    CFLAGS += -DCONFIG_BGSCAN_LEARN
    OBJS += bgscan_learn.o
    NEED_BGSCAN=y
    endif
    
    ifdef NEED_BGSCAN
    CFLAGS += -DCONFIG_BGSCAN
    OBJS += bgscan.o
    endif

    检查是否在 wpa_supplicant Makefile、"CONFIG_BGSCAN_Simple"、"CONFIG_BGSCAN_Learn"和"Need_BGSCAN"中启用了这些选项。