Skip to content

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

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jlatusek
Copy link

Description

I've rebased changes from plugfest tag and fixed issues found on the latest phoenix-rtos.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (refactoring, style fixes, git/CI config, submodule management, no code logic changes)

How Has This Been Tested?

  • Already covered by automatic testing.
  • New test added: (add PR link here).
  • Tested by hand on: armv8m33-mcxn94x

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing linter checks and tests passed.
  • My changes generate no new compilation warnings for any of the targets.

Special treatment

  • This PR needs additional PRs to work (list the PRs, preferably in merge-order).
  • I will merge this PR by myself when appropriate.
  • Still WIP

MaciejPurski and others added 5 commits January 29, 2025 12:59
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
@jlatusek jlatusek marked this pull request as draft March 11, 2025 11:03
@@ -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)

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 */

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 */

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

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

Suggested change
#define LWIP_IPV6 1
#define LWIP_IPV6 1



#if 0 // debugging LWiP PPPoS
#if 1 // debugging LWiP PPPoS

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

Suggested change
#if 1 // debugging LWiP PPPoS
#if 1 // debugging LWiP PPPoS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants