Cross layer analysis of interference effects in wireless systems