Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add chip identification for QCA7006AQ #174

Merged
merged 1 commit into from
Apr 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions plc/chipset.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ char const * chipsetname (uint8_t MDEVICE_CLASS)
CHIPSET_QCA6410A0,
"QCA6410"
},
{
CHIPSET_QCA7006AQA0,
"QCA7006AQ"
},
{
CHIPSET_QCA7000A0,
"QCA7000"
Expand Down Expand Up @@ -161,6 +165,7 @@ char const * chipsetname_by_ident (uint32_t ident, uint8_t chipset)
{ 0x00007400, " AR7400" },
{ 0x001B587C, "QCA7005" },
{ 0x001B589C, "QCA7000" },
{ 0x001B58AC, "QCA7006AQ" },
{ 0x001B58BC, "QCA6411" },
{ 0x001B58DC, "QCA7000" },
{ 0x001B58EC, "QCA6410" },
Expand Down Expand Up @@ -205,6 +210,7 @@ char const * chipsetname_by_ident (uint32_t ident, uint8_t chipset)
* QCA7420 0x06 / 0x20 0x001CFCFC
* QCA6410 0x06 / 0x21 0x001B58EC
* QCA6411 0x06 / 0x21 0x001B58BC
* QCA7006AQ 0x06 / 0x21 0x001B58AC
* QCA7000 0x06 / 0x22 0x001B589C
* QCA7000 0x06 / 0x22 0x001B58DC
* QCA7005 0x06 / 0x22 0x001B587C
Expand Down Expand Up @@ -304,6 +310,11 @@ void chipset (void const * memory, uint32_t * ident)
0x06,
CHIPSET_QCA6410A0
},
{
0x001B58AC,
0x06,
CHIPSET_QCA7006AQA0
},
{
0x001B58BC,
0x06,
Expand Down Expand Up @@ -382,6 +393,11 @@ void chipset (void const * memory, uint32_t * ident)
0x22,
CHIPSET_QCA7005A0
},
{
0x001B58AC,
0x21,
CHIPSET_QCA7006AQA0
},
{
0x001B58EC,
0x21,
Expand Down
2 changes: 2 additions & 0 deletions plc/chipset.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
#define CHIPSET_QCA7420A0 0x20
#define CHIPSET_QCA6410A0 0x21
#define CHIPSET_QCA6411A0 0x21
#define CHIPSET_QCA7006AQA0 0x21
#define CHIPSET_QCA7000A0 0x22
#define CHIPSET_QCA7000I 0x22
#define CHIPSET_QCA7005A0 0x22
Expand All @@ -96,6 +97,7 @@
#define CHIPSET_QCA6411 CHIPSET_QCA6411A0
#define CHIPSET_QCA7000 CHIPSET_QCA7000A0
#define CHIPSET_QCA7005 CHIPSET_QCA7005A0
#define CHIPSET_QCA7006AQ CHIPSET_QCA7006AQA0
#define CHIPSET_QCA7500 CHIPSET_QCA7500A0

/*====================================================================*
Expand Down