@remote_compatible
def test_ap_short_preamble(dev, apdev):
    'Open AP with short preamble'
    ssid = 'short preamble'
    params = {}
    params['ssid'] = ssid
    params['preamble'] = '1'
    hostapd.add_ap(apdev[0], params)
    dev[0].connect(ssid, key_mgmt='NONE', scan_freq='2412')
Open AP with short preamble
@remote_compatible
def test_ap_short_preamble(dev, apdev):
    
    ssid = 'short preamble'
    params = {}
    params['ssid'] = ssid
    params['preamble'] = '1'
    hostapd.add_ap(apdev[0], params)
    dev[0].connect(ssid, key_mgmt='NONE', scan_freq='2412')