net: rkwifi: add support for ap6256

Change-Id: I6e5781e3391576198b27e57e15d65cd8ee24818a
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
stephen
2018-09-29 22:09:04 +08:00
committed by Tao Huang
parent 91ad3ad86f
commit 1a00ab0dd9
3 changed files with 11 additions and 2 deletions

View File

@@ -75,9 +75,15 @@ if (chip == WIFI_AP6234) {
}
if (chip == WIFI_AP6255) {
sprintf(fw, "%s%s", ANDROID_FW_PATH, "fw_bcm43455c0_ag.bin");
sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_ap6255.txt");
sprintf(fw, "%s%s", ANDROID_FW_PATH, "fw_bcm43455c0_ag.bin");
sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_ap6255.txt");
}
if (chip == WIFI_AP6256) {
sprintf(fw, "%s%s", ANDROID_FW_PATH, "fw_bcm43456C5_ag.bin");
sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_ap6256.txt");
}
if (chip == WIFI_AP6441) {
sprintf(fw, "%s%s", ANDROID_FW_PATH, "fw_bcm43341b0_ag.bin");
sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_AP6441.txt");

View File

@@ -54,6 +54,7 @@ enum {
WIFI_AP6212,
WIFI_AP6234,
WIFI_AP6255,
WIFI_AP6256,
WIFI_AP6330,
WIFI_AP6335,
WIFI_AP6354,

View File

@@ -118,6 +118,8 @@ int get_wifi_chip_type(void)
type = WIFI_AP6234;
} else if (strcmp(wifi_chip_type_string, "ap6255") == 0) {
type = WIFI_AP6255;
} else if (strcmp(wifi_chip_type_string, "ap6256") == 0) {
type = WIFI_AP6256;
} else if (strcmp(wifi_chip_type_string, "ap6330") == 0) {
type = WIFI_AP6330;
} else if (strcmp(wifi_chip_type_string, "ap6335") == 0) {