diff mbox

ath10k: Enable VHT for Mesh

Message ID 1447366355-4900-1-git-send-email-poh@qca.qualcomm.com (mailing list archive)
State Not Applicable
Delegated to: Kalle Valo
Headers show

Commit Message

Peter Oh Nov. 12, 2015, 10:12 p.m. UTC
Mesh until now has no framework for VHT support which
requires NL80211 and wpa_supplicant updates communicating
with wireless drivers for capabilities.
I've sent patches of NL80211 and wpa_supplicant separately
that can be used for Mesh VHT support.
Also enable ath10k Mesh VHT support in this patch.

Signed-off-by: Peter Oh <poh@qca.qualcomm.com>
---
 drivers/net/wireless/ath/ath10k/mac.c | 1 +
 1 file changed, 1 insertion(+)

Comments

kernel test robot Nov. 13, 2015, 12:43 a.m. UTC | #1
Hi Peter,

[auto build test ERROR on wireless-drivers-next/master]
[also build test ERROR on v4.3 next-20151112]

url:    https://github.com/0day-ci/linux/commits/Peter-Oh/ath10k-Enable-VHT-for-Mesh/20151113-061427
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master
config: i386-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/net/wireless/ath/ath10k/mac.c: In function 'ath10k_mac_register':
>> drivers/net/wireless/ath/ath10k/mac.c:7262:39: error: 'NL80211_EXT_FEATURE_VHT_MESH' undeclared (first use in this function)
     wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_VHT_MESH);
                                          ^
   drivers/net/wireless/ath/ath10k/mac.c:7262:39: note: each undeclared identifier is reported only once for each function it appears in

vim +/NL80211_EXT_FEATURE_VHT_MESH +7262 drivers/net/wireless/ath/ath10k/mac.c

  7256		if (ret) {
  7257			ath10k_warn(ar, "failed to init wow: %d\n", ret);
  7258			goto err_free;
  7259		}
  7260	
  7261		wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS);
> 7262		wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_VHT_MESH);
  7263	
  7264		/*
  7265		 * on LL hardware queues are managed entirely by the FW

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
diff mbox

Patch

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index a53e213..d38e4d8 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -7266,6 +7266,7 @@  int ath10k_mac_register(struct ath10k *ar)
 	}
 
 	wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS);
+	wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_VHT_MESH);
 
 	/*
 	 * on LL hardware queues are managed entirely by the FW