Search Linux Wireless

RE: Mwifiex driver on Globalscale Mirabox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Michael,

> root@mirabox:/etc/init.d# ./hostapd start
> [....] Starting advanced IEEE 802.11 management: hostapddevice uap0
> entered promiscuous mode
> br0: port 2(uap0) entered listening state
> br0: port 2(uap0) entered listening state
> mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x112 error, result=0x2

That's odd. cmd 0x112 is 11ac specific command. 8787 doesn't support 11ac.
Could you print out the following flags?

diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c
index 21ee27a..d19e66b 100644
--- a/drivers/net/wireless/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/mwifiex/cfg80211.c
@@ -1473,6 +1473,8 @@ static int mwifiex_cfg80211_start_ap(struct wiphy *wiphy,

        mwifiex_set_ht_params(priv, bss_cfg, params);

+       wiphy_err(wiphy, "is_hw_11ac_capable=%#x\n",
+                 priv->adapter->is_hw_11ac_capable);
        if (priv->adapter->is_hw_11ac_capable) {
                mwifiex_set_vht_params(priv, bss_cfg, params);
                mwifiex_set_vht_width(priv, params->chandef.width,
diff --git a/drivers/net/wireless/mwifiex/cmdevt.c b/drivers/net/wireless/mwifiex/cmdevt.c
index 8dee6c8..8823ad5 100644
--- a/drivers/net/wireless/mwifiex/cmdevt.c
+++ b/drivers/net/wireless/mwifiex/cmdevt.c
@@ -1508,6 +1508,8 @@ int mwifiex_ret_get_hw_spec(struct mwifiex_private *priv,
        adapter->fw_api_ver = (adapter->fw_release_number >> 16) & 0xff;
        adapter->number_of_antenna = le16_to_cpu(hw_spec->number_of_antenna);

+       dev_info(adapter->dev, "dot_11ac_dev_cap=%#x\n",
+                le32_to_cpu(hw_spec->dot_11ac_dev_cap));
        if (le32_to_cpu(hw_spec->dot_11ac_dev_cap)) {
                adapter->is_hw_11ac_capable = true;

Thanks,
Bing

��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux