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

CBR2-2108: MaxAssociatedDevices and BssMaxNumSta having incorrect con… #105

Merged
merged 4 commits into from
Feb 6, 2025

Conversation

MothiShree
Copy link
Contributor

…figs

Reason for change: MaxAssociatedDevice observed to be 15. Test Procedure: Executing the below mentioned dmcli command.
1. Device.WiFi.AccessPoint.6.MaxAssociatedDevices
2. Device.WiFi.AccessPoint.6.X_CISCO_COM_BssMaxNumSta
3. Device.WiFi.AccessPoint.10.MaxAssociatedDevices
4. Device.WiFi.AccessPoint.10.X_CISCO_COM_BssMaxNumSta
Priority: P1
Risks: Low
Signed-off-by: [email protected]

…figs

Reason for change: MaxAssociatedDevice observed to be 15.
Test Procedure: Executing the below mentioned dmcli command.
               1. Device.WiFi.AccessPoint.6.MaxAssociatedDevices
               2. Device.WiFi.AccessPoint.6.X_CISCO_COM_BssMaxNumSta
               3. Device.WiFi.AccessPoint.10.MaxAssociatedDevices
               4. Device.WiFi.AccessPoint.10.X_CISCO_COM_BssMaxNumSta
Priority: P1
Risks: Low
Signed-off-by: [email protected]
@@ -6623,8 +6623,13 @@ int wifidb_init_vap_config_default(int vap_index, wifi_vap_info_t *config,
#else
if (isVapPrivate(vap_index)) {
cfg.u.bss_info.bssMaxSta = wifi_hal_cap_obj->wifi_prop.BssMaxStaAllow;
wifi_util_info_print(WIFI_DB, "%s:%d vap_index:%d maxassoc:%d", __func__, __LINE__, vap_index, cfg.u.bss_info.bssMaxSta);
} else if (isVapHotspotOpen5g(vap_index) || isVapHotspotSecure5g(vap_index)) {
cfg.u.bss_info.bssMaxSta = 15;
Copy link
Contributor

Choose a reason for hiding this comment

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

Have 15 as a define macro in wifi_base.h file

@@ -6623,8 +6623,13 @@ int wifidb_init_vap_config_default(int vap_index, wifi_vap_info_t *config,
#else
if (isVapPrivate(vap_index)) {
cfg.u.bss_info.bssMaxSta = wifi_hal_cap_obj->wifi_prop.BssMaxStaAllow;
wifi_util_info_print(WIFI_DB, "%s:%d vap_index:%d maxassoc:%d", __func__, __LINE__, vap_index, cfg.u.bss_info.bssMaxSta);
} else if (isVapHotspotOpen5g(vap_index) || isVapHotspotSecure5g(vap_index)) {
cfg.u.bss_info.bssMaxSta = 15;
Copy link
Contributor

Choose a reason for hiding this comment

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

By this code, 15 is set as MaxSta for both commercial and residential platforms. For residential it should be 5 and for commercial it is 15.

…figs

Reason for change: MaxAssociatedDevice observed to be 15.
Test Procedure: Executing the below mentioned dmcli command.
               1. Device.WiFi.AccessPoint.6.MaxAssociatedDevices
               2. Device.WiFi.AccessPoint.6.X_CISCO_COM_BssMaxNumSta
               3. Device.WiFi.AccessPoint.10.MaxAssociatedDevices
               4. Device.WiFi.AccessPoint.10.X_CISCO_COM_BssMaxNumSta
Priority: P1
Risks: Low
Signed-off-by: [email protected]
…figs

Reason for change: MaxAssociatedDevice observed to be 15.
Test Procedure: Executing the below mentioned dmcli command.
               1. Device.WiFi.AccessPoint.6.MaxAssociatedDevices
               2. Device.WiFi.AccessPoint.6.X_CISCO_COM_BssMaxNumSta
               3. Device.WiFi.AccessPoint.10.MaxAssociatedDevices
               4. Device.WiFi.AccessPoint.10.X_CISCO_COM_BssMaxNumSta
Priority: P1
Risks: Low
Signed-off-by: [email protected]
@gsathish86 gsathish86 merged commit 1561d5b into rdkcentral:develop Feb 6, 2025
4 checks passed
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