get upstream wifi frequency and channel using two methods