-
Notifications
You must be signed in to change notification settings - Fork 42
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
Conversation
…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]
source/db/wifi_db_apis.c
Outdated
@@ -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; |
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.
Have 15 as a define macro in wifi_base.h file
source/db/wifi_db_apis.c
Outdated
@@ -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; |
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.
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]
add2f41
to
4dc4b41
Compare
…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]
55498f3
to
9b15ad0
Compare
…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]