Stratospheric control of upward wave flux near the tropopause