-
Notifications
You must be signed in to change notification settings - Fork 0
Add Device.WiFi.DataElements.Network.SSID subtree #3
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: wfa-dataelements-7
Are you sure you want to change the base?
Add Device.WiFi.DataElements.Network.SSID subtree #3
Conversation
| return 1; | ||
| #else | ||
| return 0; | ||
| return 1; // should be 0 |
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.
revert this change
| #else | ||
| #define MLD_UNIT_COUNT 1 | ||
| #endif /* CONFIG_NO_MLD_ONLY_PRIVATE */ | ||
| //#endif /* CONFIG_NO_MLD_ONLY_PRIVATE */ |
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.
Do not forget to revert this change.
| wifi_vap_info_t *vapInfo = NULL; | ||
|
|
||
| wifi_util_dbg_print(WIFI_DMCLI,"%s:%d: get_total_num_vap_dml():%d nIndex:%d\n",__func__, __LINE__, get_total_num_vap_dml(), nIndex); | ||
| if (nIndex >= 0 && nIndex <= (UINT)get_total_num_vap_dml()) |
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.
DataElements_SSID_GetEntryCount uses and returns get_num_fronthaul_vaps(), but DataElements_SSID_GetEntry checks nIndex against get_total_num_vap_dml(). Those are different functions — inconsistent population logic.
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.
One more:
Using <= allows nIndex == get_total_num_vap_dml(), which is out of range if valid indices are 0..N-1.
| <parameters> | ||
| <parameter> | ||
| <name>SSID</name> | ||
| <type>string(32)</type> |
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.
According to standart string(:64)
| </parameter> | ||
| <parameter> | ||
| <name>Band</name> | ||
| <type>string(32)</type> |
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.
Why 32?
Comma-separated list of strings. The band(s) (GHz) for which this SSID applies. Each list item is an enumeration of:
All (Applies to all bands)
2.4 (2.4 GHz band)
5 (The entire 5 GHz band)
6 (The entire 6 GHz band)
5_UNII_1 (5 GHz UNII-1 band, 5.15 to 5.25 GHz)
5_UNII_2 (5 GHz UNII-2 band, 5.25 to 5.725 GHz)
5_UNII_3 (5 GHz UNII-3 band, 5.725 to 5.85 GHz)
5_UNII_4 (5 GHz UNII-4 band, 5.85 to 5.925 GHz)
6_UNII_5 (6 GHz UNII-5 band, 5.925 to 6.425 GHz)
6_UNII_6 (6 GHz UNII-6 band, 6.425 to 6.525 GHz)
6_UNII_7 (6 GHz UNII-7 band, 6.525 to 6.875 GHz)
6_UNII_8 (6 GHz UNII-8 band, 6.875 to 7.125 GHz)
Sub_1GHz (Sub 1 GHz band, 800 MHz to 928 MHz, added in 2.19)
No description provided.