From patchwork Mon May 19 07:07:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilan Peer X-Patchwork-Id: 350138 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from maxx.maxx.shmoo.com (maxx.shmoo.com [205.134.188.171]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 572F814008B for ; Mon, 19 May 2014 18:12:43 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 2892B9D2F6; Mon, 19 May 2014 04:12:41 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TPWapLZzXERC; Mon, 19 May 2014 04:12:40 -0400 (EDT) Received: from maxx.shmoo.com (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id B4FE89C192; Mon, 19 May 2014 04:08:36 -0400 (EDT) X-Original-To: mailman-post+hostap@maxx.shmoo.com Delivered-To: mailman-post+hostap@maxx.shmoo.com Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 567439D313 for ; Mon, 19 May 2014 04:08:36 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FoSio4ITFu0K for ; Mon, 19 May 2014 04:08:32 -0400 (EDT) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id BDCFB17C02A for ; Mon, 19 May 2014 04:04:15 -0400 (EDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 19 May 2014 01:04:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.98,865,1392192000"; d="scan'208";a="541275126" Received: from unknown (HELO ipeer-e6430-1.jer.intel.com) ([10.12.217.172]) by fmsmga002.fm.intel.com with ESMTP; 19 May 2014 01:03:59 -0700 From: Ilan Peer To: hostap@lists.shmoo.com Subject: [PATCH 14/14] wpa_supplicant: configure GO vht capabilities Date: Mon, 19 May 2014 10:07:16 +0300 Message-Id: <1400483236-10320-15-git-send-email-ilan.peer@intel.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1400483236-10320-1-git-send-email-ilan.peer@intel.com> References: <1400483236-10320-1-git-send-email-ilan.peer@intel.com> Cc: Eliad Peller X-BeenThere: hostap@lists.shmoo.com X-Mailman-Version: 2.1.11 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: hostap-bounces@lists.shmoo.com Errors-To: hostap-bounces@lists.shmoo.com From: Eliad Peller Commit 92ecda4 ("hostapd: Set proper VHT capabilities") fixed the vht capabilities driver configuration to be taken from the configured vht_capab (rather than the supported vht_capab). However, in case of GO there are no configured capabilities. Fix it by simply configuring all the supported vht capabilities. Signed-off-by: Eliad Peller --- wpa_supplicant/ap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c index 59b8fcf..e998ec8 100644 --- a/wpa_supplicant/ap.c +++ b/wpa_supplicant/ap.c @@ -145,6 +145,9 @@ int wpas_conf_ap_freq(struct wpa_supplicant *wpa_s, if (mode->vht_capab && ssid->vht) { conf->ieee80211ac = 1; wpas_conf_ap_vht(wpa_s, conf, mode); + + /* configure all supported vht capabilities */ + conf->vht_capab = mode->vht_capab; } } }