Unipisa / Simu5G

Simu5G - 5G NR and LTE/LTE-A user-plane simulation model for OMNeT++ & INET
https://simu5g.org
Other
141 stars 80 forks source link

fix: Allow re-association after connection loss with eNB. #176

Closed stefanSchuhbaeck closed 10 months ago

stefanSchuhbaeck commented 11 months ago

If no candidate eNB has more Rssi than rssimin the UE is removed from the eNB and the masterId is set to 0 (i.e. not connected). The candidateMasterRssi must not be set to 0 in this case as this implies a really good connection RSSI to the cell with the masterId 0, which does not exist and is a placeholder for 'not connected'. Setting the candidateMassterRssi to 0 would not allow any re-assocation to any other eNB as no eNB will have RSSSI > 0 (db/dbm). Thus setting the candidateMasterRssi to a small value.

giovanninardini commented 10 months ago

This pull request has been merged into the master branch