add bcm wifi 24M crystal options for AP6210.

This commit is contained in:
gwl
2013-07-24 09:49:10 +08:00
parent 67e0e6fce8
commit 53b130a932
2 changed files with 12 additions and 3 deletions

View File

@@ -165,17 +165,21 @@ choice
endchoice
choice
depends on RKWIFI && WLAN_80211 && RK903
depends on RKWIFI && WLAN_80211
prompt "Select the wifi module crystal freq"
default RKWIFI_26M
config RKWIFI_37_4M
bool "37_4M"
depends on RKWIFI && WLAN_80211 && RK903
depends on RKWIFI && WLAN_80211
config RKWIFI_26M
bool "26M"
depends on RKWIFI && WLAN_80211 && RK903
depends on RKWIFI && WLAN_80211
config RKWIFI_24M
bool "24M"
depends on RKWIFI && WLAN_80211
endchoice

View File

@@ -58,8 +58,13 @@ int rkwifi_set_firmware(char *fw, char *nvram)
#ifdef CONFIG_AP6210
sprintf(fw, "%s%s", ANDROID_FW_PATH, "fw_RK901.bin");
#ifdef CONFIG_RKWIFI_26M
sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_AP6210.txt");
#endif
#ifdef CONFIG_RKWIFI_24M
sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_AP6210_24M.txt");
#endif
#endif
#ifdef CONFIG_AP6476
sprintf(fw, "%s%s", ANDROID_FW_PATH, "fw_RK901.bin");