Implemented flex calculation for dual mode stations.