def getADEncryption(config, wlan_if): """ Get wlan configuration information on the adapter on the specific interface Return a dictionary of wlan information """ ad_obj = RuckusAD(config) res = ad_obj.getEncryption(wlan_if) time.sleep(1) return res