From owner-freebsd-wireless@FreeBSD.ORG Sat Jul 21 21:16:05 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89973106566C for ; Sat, 21 Jul 2012 21:16:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5DFAE8FC08 for ; Sat, 21 Jul 2012 21:16:05 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so9014583pbb.13 for ; Sat, 21 Jul 2012 14:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ReaCZ4NFs9vadGYaw4hek6COx5inb0XPSr0NQEsg1sM=; b=IILfzVBi1ZurCpkM7y+B/WahCzJF7kcmqhUCsmfeE/WdHGhMiue/P618HxQK3LEfM0 q8TP5rrH9d1w/DJpKylnmGcjE/GkWPmRIRHkyk6OBOnnPeC6QJLWOT1upQ3mU650ozUL 2kixzcp4CnT0lfUsF3ftVHFJ5E2ShtTdscFXmCzg5lZb4sWCAUmeA81OvDX00GF0rCMw WGwc9/wn7O9iLOTG7kG4TcQuirZUQ/ylPRJFxrIw8HuVvq5otlXkQgxjq8vITO0g9hsX TjgXLKXocgpDPO1JZk3YMvlm/HCib8ldsbMiVRk2/zvMT9a+JlAWEkKgSwCLp1bNRf1Q fg9g== MIME-Version: 1.0 Received: by 10.66.73.69 with SMTP id j5mr20685369pav.8.1342905364901; Sat, 21 Jul 2012 14:16:04 -0700 (PDT) Received: by 10.68.191.138 with HTTP; Sat, 21 Jul 2012 14:16:04 -0700 (PDT) In-Reply-To: References: Date: Sat, 21 Jul 2012 14:16:04 -0700 Message-ID: From: Adrian Chadd To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: multi vap Multi-SSID with ath on FreeBSD 10-current X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2012 21:16:05 -0000 hi, Do you need 'bssid' on the ifconfig line? Can you provide the output of ifconfig -a when you create the good and bad configuration? I'd like to see the bssid's. It's quite possible that the beacon timers and beacon slot allocation is wrong, leading to issues. Adrian On 21 July 2012 13:46, Kim Culhan wrote: > It seems the max vap I can do is 3. > > Have been testing a setup with 2 vap running WPA2 and 1 running in OPEN mode. > > Adding 1 more vap in WPA2 makes things unuseable, and results in a > duplicated wlanX bssid. > > There are usually 1 or 2 missing ssid's as received on a 80211n radio > with 3 vap in WPA2 mode > > ssid's are reliable when running 2 WPA2 vap + 1 vap in OPEN mode. > > These configs are maybe not the best, I'll try any alternatives. > > In rc.conf: > > ifconfig_wlan0="channel 6 ssid Guest" > ifconfig_wlan1="channel 6 ssid ap1" > ifconfig_wlan2="channel 6 ssid ap2" > > wlans_ath0="wlan0 wlan1 wlan2" > > create_args_wlan0="wlanmode hostap bssid" > create_args_wlan1="wlanmode hostap bssid" > create_args_wlan2="wlanmode hostap bssid" > > hostapd1_enable="YES" > hostapd2_enable="YES" > > > hostapd1.conf: > > interface=wlan1 > driver=bsd > logger_syslog=-1 > logger_syslog_level=0 > logger_stdout=-1 > logger_stdout_level=0 > dump_file=/tmp/hostapd1.dump > ctrl_interface=/var/run/hostapd1 > ctrl_interface_group=wheel > ssid=ap1 > ieee8021x=0 > wpa=2 > wpa_passphrase=supersecret > wpa_key_mgmt=WPA-PSK > wpa_pairwise=CCMP > > hostapd2.conf is similar > > -kim