wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/src/core_operation_roam.cpp
branchRCL_3
changeset 7 0abc8c98be24
parent 3 6524e815f76f
child 8 4e2a442f3e66
--- a/wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/src/core_operation_roam.cpp	Mon Mar 15 12:46:48 2010 +0200
+++ b/wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/src/core_operation_roam.cpp	Thu Apr 01 00:29:25 2010 +0300
@@ -16,7 +16,7 @@
 */
 
 /*
-* %version: 76 %
+* %version: 76.1.1 %
 */
 
 #include "core_operation_roam.h"
@@ -513,6 +513,21 @@
                     }
                 }
 
+            if ( server_m->get_connection_data()->last_rcp_class() != core_rcp_normal )
+                {
+                DEBUG( "core_operation_roam_c::next_state() - sending a notification about the normal signal level" );
+
+                u8_t buf[5];
+                buf[0] = static_cast<u8_t>( core_rcp_normal );
+                buf[1] = current_ap_m->rcpi();
+
+                adaptation_m->notify(
+                    core_notification_rcp_changed,
+                    sizeof( buf ),
+                    buf );
+                server_m->get_connection_data()->set_last_rcp_class( core_rcp_normal );
+                }
+
             if ( current_ap_m->is_wpx() )
                 {
                 server_m->get_wpx_adaptation_instance().handle_wpx_roam_success(
@@ -1209,7 +1224,7 @@
             is_security_association_available( *server_m->get_connection_data()->current_ap_data() ) )
             {
             DEBUG( "core_operation_roam_c::process_frame() - WPX fast-roam supported" );
-                
+
             entry->is_cached_sa_available = true_t;
             entry_score += CORE_ROAMING_LIST_BONUS_WPX_FAST_ROAM;
             }