#
# AP MODE MediaTek MT7615E PCIe Wireless driver
#
CONFIG_WIFI_DRIVER=y
CONFIG_CHIP_MT7615E=y
CONFIG_MT_WIFI=y
CONFIG_MT_WIFI_PATH="mt7615_ap"
#
# WiFi Generic Feature Options
#
CONFIG_MULTI_INF_SUPPORT=y
CONFIG_WIFI_BASIC_FUNC=y
CONFIG_DOT11_N_SUPPORT=y
CONFIG_DOT11_VHT_AC=y
CONFIG_G_BAND_256QAM_SUPPORT=y
CONFIG_TPC_SUPPORT=y
CONFIG_ICAP_SUPPORT=y
CONFIG_SPECTRUM_SUPPORT=y
CONFIG_BACKGROUND_SCAN_SUPPORT=y
CONFIG_SMART_CARRIER_SENSE_SUPPORT=y
CONFIG_MT_DFS_SUPPORT=y
CONFIG_HDR_TRANS_TX_SUPPORT=y
CONFIG_HDR_TRANS_RX_SUPPORT=y
CONFIG_DBDC_MODE=y
CONFIG_MULTI_PROFILE_SUPPORT=y
CONFIG_DEFAULT_5G_PROFILE=y
CONFIG_WSC_INCLUDED=y
CONFIG_WSC_V2_SUPPORT=y
CONFIG_DOT11W_PMF_SUPPORT=y
CONFIG_TXBF_SUPPORT=y
# CONFIG_FTM_SUPPORT is not set
# CONFIG_MBO_SUPPORT is not set
CONFIG_IGMP_SNOOP_SUPPORT=y
CONFIG_RTMP_FLASH_SUPPORT=y
CONFIG_PRE_CAL_TRX_SET1_SUPPORT=y
CONFIG_RLM_CAL_CACHE_SUPPORT=y
CONFIG_PRE_CAL_TRX_SET2_SUPPORT=y
# CONFIG_RF_LOCKDOWN_SUPPORT is not set
CONFIG_LINK_TEST_SUPPORT=y
CONFIG_ATE_SUPPORT=y
# CONFIG_PASSPOINT_R2 is not set
CONFIG_UAPSD=y
# CONFIG_TCP_RACK_SUPPORT is not set
CONFIG_RED_SUPPORT=y
# CONFIG_FDB_SUPPORT is not set
CONFIG_FIRST_IF_EPAELNA=y
# CONFIG_FIRST_IF_IPAILNA is not set
# CONFIG_FIRST_IF_IPAELNA is not set
CONFIG_SECOND_IF_EPAELNA=y
# CONFIG_SECOND_IF_IPAILNA is not set
# CONFIG_SECOND_IF_IPAELNA is not set
# CONFIG_THIRD_IF_EPAELNA is not set
# CONFIG_THIRD_IF_IPAILNA is not set
# CONFIG_THIRD_IF_IPAELNA is not set
# CONFIG_RLT_MAC is not set
# CONFIG_RTMP_MAC is not set
#
# WiFi Operation Modes
#
CONFIG_WIFI_MODE_AP=m
CONFIG_WIFI_MODE_STA=m
CONFIG_WIFI_MODE_BOTH=m
CONFIG_MT7615_AP=m
CONFIG_MT_AP_SUPPORT=m
CONFIG_WDS_SUPPORT=y
CONFIG_MBSS_SUPPORT=y
CONFIG_APCLI_SUPPORT=y
# CONFIG_APCLI_CERT_SUPPORT is not set
CONFIG_MAC_REPEATER_SUPPORT=y
# CONFIG_MWDS is not set
CONFIG_MUMIMO_SUPPORT=y
CONFIG_MU_RA_SUPPORT=y
# CONFIG_DOT11R_FT_SUPPORT is not set
# CONFIG_DOT11K_RRM_SUPPORT is not set
# CONFIG_MAP_SUPPORT is not set
# CONFIG_CFG80211_SUPPORT is not set
# CONFIG_DSCP_PRI_SUPPORT is not set
# CONFIG_CON_WPS_SUPPORT is not set
CONFIG_MCAST_RATE_SPECIFIC=y
CONFIG_VOW_SUPPORT=y
CONFIG_BAND_STEERING=y
CONFIG_LED_CONTROL_SUPPORT=y
# CONFIG_WLAN_HOOK is not set
# CONFIG_RADIUS_ACCOUNTING_SUPPORT is not set
CONFIG_GREENAP_SUPPORT=y
CONFIG_PCIE_ASPM_DYM_CTRL_SUPPORT=y
# CONFIG_COEX_SUPPORT is not set
# CONFIG_EASY_SETUP_SUPPORT is not set
# CONFIG_EVENT_NOTIFIER_SUPPORT is not set
# CONFIG_AIR_MONITOR is not set
# CONFIG_WNM_SUPPORT is not set
CONFIG_MT_MAC=y
-
Instruction of fixing the wps & apcli.
In rt-n56u/trunk/user/httpd/ralink.c, change:
#define SSURV_LINE_LEN (4 33 20 23 9 7 7 3) #define SSURV_LINE_LEN_WPS (4 33 20 23 9 7 7 3 4 5)
to:
#define SSURV_LINE_LEN (4 4 33 20 23 9 7 7 3 8 10) #define SSURV_LINE_LEN_WPS (4 4 33 20 23 9 7 7 3 8 4 5 10)
then, you should modify ralink.c following these links: