Skip to contentSkip to conversation

ath10k: Enable VHT for Mesh

PATCH New Peter Oh 2 participants 2 messages Nov 12, 2015 – Nov 13, 2015 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore

Peter Oh

author
#0 lore raw

PATCH 1/1 ath10k: Enable VHT for Mesh

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.

---
 drivers/net/wireless/ath/ath10k/mac.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/ath10k/mac.c +1 -0
index a53e213..d38e4d8 100644
@@ -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
Signature · 1 line
1.9.1
#1 lore raw
reproduce:

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