sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_AP6210.txt");
}
+if (chip == WIFI_AP6212) {
+ sprintf(fw, "%s%s", ANDROID_FW_PATH, "fw_bcm43438a0.bin");
+ sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_ap6212.txt");
+}
+
if (chip == WIFI_AP6234) {
sprintf(fw, "%s%s", ANDROID_FW_PATH, "fw_bcm43341b0_ag.bin");
sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_AP6234.txt");
sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_AP6335.txt");
}
+if (chip == WIFI_AP6354) {
+ sprintf(fw, "%s%s", ANDROID_FW_PATH, "fw_bcm4354a1_ag.bin");
+ sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_ap6354.txt");
+}
+
if (chip == WIFI_AP6476) {
sprintf(fw, "%s%s", ANDROID_FW_PATH, "fw_RK901.bin");
sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_AP6476.txt");
count = sprintf(_buf, "%s", "AP6210");
printk("Current WiFi chip is AP6210.\n");
}
+
+ if(type == WIFI_AP6212) {
+ count = sprintf(_buf, "%s", "AP6212");
+ printk("Current WiFi chip is AP6212.\n");
+ }
if(type == WIFI_AP6234) {
count = sprintf(_buf, "%s", "AP6234");
printk("Current WiFi chip is AP6335.\n");
}
+ if(type == WIFI_AP6354) {
+ count = sprintf(_buf, "%s", "AP6354");
+ printk("Current WiFi chip is AP6354.\n");
+ }
+
if(type == WIFI_AP6441) {
count = sprintf(_buf, "%s", "AP6441");
printk("Current WiFi chip is AP6441.\n");
WIFI_RK903,
WIFI_AP6181,
WIFI_AP6210,
+ WIFI_AP6212,
WIFI_AP6234,
WIFI_AP6330,
WIFI_AP6335,
+ WIFI_AP6354,
WIFI_AP6441,
WIFI_AP6476,
WIFI_AP6493,
int type;
if (strcmp(wifi_chip_type_string, "ap6210") == 0) {
type = WIFI_AP6210;
+ } else if (strcmp(wifi_chip_type_string, "ap6212") == 0) {
+ type = WIFI_AP6212;
} else if (strcmp(wifi_chip_type_string, "rk901") == 0) {
type = WIFI_RK901;
} else if (strcmp(wifi_chip_type_string, "rk903") == 0) {
type = WIFI_AP6330;
} else if (strcmp(wifi_chip_type_string, "ap6335") == 0) {
type = WIFI_AP6335;
+ } else if (strcmp(wifi_chip_type_string, "ap6354") == 0) {
+ type = WIFI_AP6354;
} else if (strcmp(wifi_chip_type_string, "ap6441") == 0) {
type = WIFI_AP6441;
} else if (strcmp(wifi_chip_type_string, "ap6476") == 0) {