mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
net: rkwifi: add support for ap6256
Change-Id: I6e5781e3391576198b27e57e15d65cd8ee24818a Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -54,6 +54,7 @@ enum {
|
||||
WIFI_AP6212,
|
||||
WIFI_AP6234,
|
||||
WIFI_AP6255,
|
||||
WIFI_AP6256,
|
||||
WIFI_AP6330,
|
||||
WIFI_AP6335,
|
||||
WIFI_AP6354,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user