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

Adds support for WiFi band scan results #326

Draft
wants to merge 4 commits into
base: feature/add-wifi-band-support
Choose a base branch
from

Conversation

rosahay-silabs
Copy link
Owner

Testing

  • BRD4338A A12 (917 SOC)
  • BRD4187C + WF200
  • BRD4187C + RS9116
  • BRD4187C + 917 NCP

@@ -53,6 +53,8 @@ constexpr size_t kWifiMacAddressLength = 6;
#define WFX_MAX_SSID_LENGTH (32)
#define MAX_JOIN_RETRIES_COUNT (5)

using WiFiBandEnum = chip::app::Clusters::NetworkCommissioning::WiFiBandEnum;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We avoid as much as possible to use using in a header file since this will propagate to any file that includes the header.

We should use the long name here.

@@ -73,6 +75,7 @@ typedef struct wfx_wifi_scan_result
uint8_t bssid[kWifiMacAddressLength];
uint8_t chan;
int16_t rssi; /* I suspect this is in dBm - so signed */
WiFiBandEnum wiFiBand;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the plan to clean up this structure in this PR or in a follow up? When we modify the legacy interface elements, we should refactor them as we go.

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.

3 participants