-
Notifications
You must be signed in to change notification settings - Fork 12
G3: Reopen G3 PR and fix implementation on latest phoenix-rtos #100
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
base: master
Are you sure you want to change the base?
Conversation
JIRA: G3-79
This commit adds quick fixes to loadng (matric_type and endianess issue) discovered during tests carried out as part of the plugfest. Note: these corrections need to be considered where to apply properly because they are quick fixes for now in the meaning of temporary. JIRA: G3-88
@@ -590,10 +588,8 @@ static int socket_ioctl(int sock, unsigned long request, const void *in_data, vo | |||
struct netif *netif; | |||
|
|||
ifconf->ifc_len = 0; | |||
if (!ifreq) { | |||
/* WARN: it is legal to pass NULL here (we should return the length sufficient for whole response) */ | |||
if (!ifreq) // WARN: it is legal to pass NULL here (we should return the lenght sufficient for whole response) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[codespell] reported by reviewdog 🐶
lenght ==> length
uint16_t short_address; /* 2 octets (16-bit) */ | ||
uint8_t tone_map[3]; /* 3 octets (24-bit) */ | ||
uint8_t active_tones; | ||
uint8_t tx_coef[6]; /* number of gain steps requseted for the tones */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[codespell] reported by reviewdog 🐶
requseted ==> requested
* containing information needed by ADP layer */ | ||
struct g3plc_mcps_indication { | ||
uint8_t msdu_linkquality; /* (forward) LQI value measured during reception of the message */ | ||
uint8_t security_level; /* security level of the received message 0x00: unecrypted, 0x05: encrypted */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[codespell] reported by reviewdog 🐶
unecrypted ==> unencrypted
@@ -28,9 +28,10 @@ | |||
#define CHAP_SUPPORT 1 | |||
#define MSCHAP_SUPPORT 1 | |||
#define LWIP_TIMEVAL_PRIVATE 0 | |||
#define LWIP_IPV6 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format-pr] reported by reviewdog 🐶
suggested fix
#define LWIP_IPV6 1 | |
#define LWIP_IPV6 1 |
|
||
|
||
#if 0 // debugging LWiP PPPoS | ||
#if 1 // debugging LWiP PPPoS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format-pr] reported by reviewdog 🐶
suggested fix
#if 1 // debugging LWiP PPPoS | |
#if 1 // debugging LWiP PPPoS |
Description
I've rebased changes from plugfest tag and fixed issues found on the latest phoenix-rtos.
Types of changes
How Has This Been Tested?
Checklist:
Special treatment