Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH 4/7] ath10k: fix scheduling while atomic config bug
From: Kalle Valo @ 2013-10-15 18:47 UTC (permalink / raw)
  To: ath10k; +Cc: linux-wireless
In-Reply-To: <20131015184548.14123.56949.stgit@localhost6.localdomain6>

From: Michal Kazior <michal.kazior@tieto.com>

Recent HTC/WMI changes introduced the bug. ath10k
was using _atomic iteration function with
sleepable functions.

mac80211 provides another iteration function but
it cannot be safely called in hw_config() callback
due to local->iflist_mtx being possibly acquired
already.

The patch uses internal vif list for iteration
purposes and removes/refactors no longer necessary
_iter functions.

Reported-By: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
---
 drivers/net/wireless/ath/ath10k/mac.c |  146 ++++++++++++++-------------------
 1 file changed, 62 insertions(+), 84 deletions(-)

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index c8e4180..bd42a14 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -723,35 +723,30 @@ static void ath10k_control_ibss(struct ath10k_vif *arvif,
 /*
  * Review this when mac80211 gains per-interface powersave support.
  */
-static void ath10k_ps_iter(void *data, u8 *mac, struct ieee80211_vif *vif)
+static int ath10k_mac_vif_setup_ps(struct ath10k_vif *arvif)
 {
-	struct ath10k_generic_iter *ar_iter = data;
-	struct ieee80211_conf *conf = &ar_iter->ar->hw->conf;
-	struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif);
+	struct ath10k *ar = arvif->ar;
+	struct ieee80211_conf *conf = &ar->hw->conf;
 	enum wmi_sta_powersave_param param;
 	enum wmi_sta_ps_mode psmode;
 	int ret;
 
 	lockdep_assert_held(&arvif->ar->conf_mutex);
 
-	if (vif->type != NL80211_IFTYPE_STATION)
-		return;
+	if (arvif->vif->type != NL80211_IFTYPE_STATION)
+		return 0;
 
 	if (conf->flags & IEEE80211_CONF_PS) {
 		psmode = WMI_STA_PS_MODE_ENABLED;
 		param = WMI_STA_PS_PARAM_INACTIVITY_TIME;
 
-		ret = ath10k_wmi_set_sta_ps_param(ar_iter->ar,
-						  arvif->vdev_id,
-						  param,
+		ret = ath10k_wmi_set_sta_ps_param(ar, arvif->vdev_id, param,
 						  conf->dynamic_ps_timeout);
 		if (ret) {
 			ath10k_warn("Failed to set inactivity time for VDEV: %d\n",
 				    arvif->vdev_id);
-			return;
+			return ret;
 		}
-
-		ar_iter->ret = ret;
 	} else {
 		psmode = WMI_STA_PS_MODE_DISABLED;
 	}
@@ -759,11 +754,14 @@ static void ath10k_ps_iter(void *data, u8 *mac, struct ieee80211_vif *vif)
 	ath10k_dbg(ATH10K_DBG_MAC, "mac vdev %d psmode %s\n",
 		   arvif->vdev_id, psmode ? "enable" : "disable");
 
-	ar_iter->ret = ath10k_wmi_set_psmode(ar_iter->ar, arvif->vdev_id,
-					     psmode);
-	if (ar_iter->ret)
+	ret = ath10k_wmi_set_psmode(ar, arvif->vdev_id, psmode);
+	if (ret) {
 		ath10k_warn("Failed to set PS Mode: %d for VDEV: %d\n",
 			    psmode, arvif->vdev_id);
+		return ret;
+	}
+
+	return 0;
 }
 
 /**********************/
@@ -1959,9 +1957,10 @@ static void ath10k_stop(struct ieee80211_hw *hw)
 	cancel_work_sync(&ar->restart_work);
 }
 
-static void ath10k_config_ps(struct ath10k *ar)
+static int ath10k_config_ps(struct ath10k *ar)
 {
-	struct ath10k_generic_iter ar_iter;
+	struct ath10k_vif *arvif;
+	int ret = 0;
 
 	lockdep_assert_held(&ar->conf_mutex);
 
@@ -1970,17 +1969,17 @@ static void ath10k_config_ps(struct ath10k *ar)
 	 * vdevs at this point we must not iterate over this interface list.
 	 * This setting will be updated upon add_interface(). */
 	if (ar->state == ATH10K_STATE_RESTARTED)
-		return;
-
-	memset(&ar_iter, 0, sizeof(struct ath10k_generic_iter));
-	ar_iter.ar = ar;
+		return 0;
 
-	ieee80211_iterate_active_interfaces_atomic(
-		ar->hw, IEEE80211_IFACE_ITER_NORMAL,
-		ath10k_ps_iter, &ar_iter);
+	list_for_each_entry(arvif, &ar->arvifs, list) {
+		ret = ath10k_mac_vif_setup_ps(arvif);
+		if (ret) {
+			ath10k_warn("could not setup powersave (%d)\n", ret);
+			break;
+		}
+	}
 
-	if (ar_iter.ret)
-		ath10k_warn("failed to set ps config (%d)\n", ar_iter.ret);
+	return ret;
 }
 
 static int ath10k_config(struct ieee80211_hw *hw, u32 changed)
@@ -2882,86 +2881,65 @@ static int ath10k_cancel_remain_on_channel(struct ieee80211_hw *hw)
  * Both RTS and Fragmentation threshold are interface-specific
  * in ath10k, but device-specific in mac80211.
  */
-static void ath10k_set_rts_iter(void *data, u8 *mac, struct ieee80211_vif *vif)
-{
-	struct ath10k_generic_iter *ar_iter = data;
-	struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif);
-	u32 rts = ar_iter->ar->hw->wiphy->rts_threshold;
 
-	lockdep_assert_held(&arvif->ar->conf_mutex);
+static int ath10k_set_rts_threshold(struct ieee80211_hw *hw, u32 value)
+{
+	struct ath10k *ar = hw->priv;
+	struct ath10k_vif *arvif;
+	int ret = 0;
 
 	/* During HW reconfiguration mac80211 reports all interfaces that were
 	 * running until reconfiguration was started. Since FW doesn't have any
 	 * vdevs at this point we must not iterate over this interface list.
 	 * This setting will be updated upon add_interface(). */
-	if (ar_iter->ar->state == ATH10K_STATE_RESTARTED)
-		return;
-
-	ath10k_dbg(ATH10K_DBG_MAC, "mac vdev %d rts_threshold %d\n",
-		   arvif->vdev_id, rts);
-
-	ar_iter->ret = ath10k_mac_set_rts(arvif, rts);
-	if (ar_iter->ret)
-		ath10k_warn("Failed to set RTS threshold for VDEV: %d\n",
-			    arvif->vdev_id);
-}
-
-static int ath10k_set_rts_threshold(struct ieee80211_hw *hw, u32 value)
-{
-	struct ath10k_generic_iter ar_iter;
-	struct ath10k *ar = hw->priv;
-
-	memset(&ar_iter, 0, sizeof(struct ath10k_generic_iter));
-	ar_iter.ar = ar;
+	if (ar->state == ATH10K_STATE_RESTARTED)
+		return 0;
 
 	mutex_lock(&ar->conf_mutex);
-	ieee80211_iterate_active_interfaces_atomic(
-		hw, IEEE80211_IFACE_ITER_NORMAL,
-		ath10k_set_rts_iter, &ar_iter);
+	list_for_each_entry(arvif, &ar->arvifs, list) {
+		ath10k_dbg(ATH10K_DBG_MAC, "mac vdev %d rts threshold %d\n",
+			   arvif->vdev_id, value);
+
+		ret = ath10k_mac_set_rts(arvif, value);
+		if (ret) {
+			ath10k_warn("could not set rts threshold for vdev %d (%d)\n",
+				    arvif->vdev_id, ret);
+			break;
+		}
+	}
 	mutex_unlock(&ar->conf_mutex);
 
-	return ar_iter.ret;
+	return ret;
 }
 
-static void ath10k_set_frag_iter(void *data, u8 *mac, struct ieee80211_vif *vif)
+static int ath10k_set_frag_threshold(struct ieee80211_hw *hw, u32 value)
 {
-	struct ath10k_generic_iter *ar_iter = data;
-	struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif);
-	u32 frag = ar_iter->ar->hw->wiphy->frag_threshold;
-
-	lockdep_assert_held(&arvif->ar->conf_mutex);
+	struct ath10k *ar = hw->priv;
+	struct ath10k_vif *arvif;
+	int ret = 0;
 
 	/* During HW reconfiguration mac80211 reports all interfaces that were
 	 * running until reconfiguration was started. Since FW doesn't have any
 	 * vdevs at this point we must not iterate over this interface list.
 	 * This setting will be updated upon add_interface(). */
-	if (ar_iter->ar->state == ATH10K_STATE_RESTARTED)
-		return;
-
-	ath10k_dbg(ATH10K_DBG_MAC, "mac vdev %d fragmentation_threshold %d\n",
-		   arvif->vdev_id, frag);
-
-	ar_iter->ret = ath10k_mac_set_frag(arvif, frag);
-	if (ar_iter->ret)
-		ath10k_warn("Failed to set frag threshold for VDEV: %d\n",
-			    arvif->vdev_id);
-}
-
-static int ath10k_set_frag_threshold(struct ieee80211_hw *hw, u32 value)
-{
-	struct ath10k_generic_iter ar_iter;
-	struct ath10k *ar = hw->priv;
-
-	memset(&ar_iter, 0, sizeof(struct ath10k_generic_iter));
-	ar_iter.ar = ar;
+	if (ar->state == ATH10K_STATE_RESTARTED)
+		return 0;
 
 	mutex_lock(&ar->conf_mutex);
-	ieee80211_iterate_active_interfaces_atomic(
-		hw, IEEE80211_IFACE_ITER_NORMAL,
-		ath10k_set_frag_iter, &ar_iter);
+	list_for_each_entry(arvif, &ar->arvifs, list) {
+		ath10k_dbg(ATH10K_DBG_MAC, "mac vdev %d fragmentation threshold %d\n",
+			   arvif->vdev_id, value);
+
+		ret = ath10k_mac_set_rts(arvif, value);
+		if (ret) {
+			ath10k_warn("could not set fragmentation threshold for vdev %d (%d)\n",
+				    arvif->vdev_id, ret);
+			break;
+		}
+	}
 	mutex_unlock(&ar->conf_mutex);
 
-	return ar_iter.ret;
+	return ret;
 }
 
 static void ath10k_flush(struct ieee80211_hw *hw, u32 queues, bool drop)


^ permalink raw reply related

* [PATCH 5/7] ath10k: remove unnecessary checks
From: Kalle Valo @ 2013-10-15 18:47 UTC (permalink / raw)
  To: ath10k; +Cc: linux-wireless
In-Reply-To: <20131015184548.14123.56949.stgit@localhost6.localdomain6>

From: Michal Kazior <michal.kazior@tieto.com>

mac80211 interface iteration functions that were
used originally iterated over interfaces that
weren't re-added to the driver during recovery.

Since internal vif list is now used it's safe to
remove the safe-guard as internal vif list is
based on add/remove_interface function which
guarantees that vdev is created in FW before it is
iterated over.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
---
 drivers/net/wireless/ath/ath10k/mac.c |   21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index bd42a14..4273eef 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -1964,13 +1964,6 @@ static int ath10k_config_ps(struct ath10k *ar)
 
 	lockdep_assert_held(&ar->conf_mutex);
 
-	/* During HW reconfiguration mac80211 reports all interfaces that were
-	 * running until reconfiguration was started. Since FW doesn't have any
-	 * vdevs at this point we must not iterate over this interface list.
-	 * This setting will be updated upon add_interface(). */
-	if (ar->state == ATH10K_STATE_RESTARTED)
-		return 0;
-
 	list_for_each_entry(arvif, &ar->arvifs, list) {
 		ret = ath10k_mac_vif_setup_ps(arvif);
 		if (ret) {
@@ -2888,13 +2881,6 @@ static int ath10k_set_rts_threshold(struct ieee80211_hw *hw, u32 value)
 	struct ath10k_vif *arvif;
 	int ret = 0;
 
-	/* During HW reconfiguration mac80211 reports all interfaces that were
-	 * running until reconfiguration was started. Since FW doesn't have any
-	 * vdevs at this point we must not iterate over this interface list.
-	 * This setting will be updated upon add_interface(). */
-	if (ar->state == ATH10K_STATE_RESTARTED)
-		return 0;
-
 	mutex_lock(&ar->conf_mutex);
 	list_for_each_entry(arvif, &ar->arvifs, list) {
 		ath10k_dbg(ATH10K_DBG_MAC, "mac vdev %d rts threshold %d\n",
@@ -2918,13 +2904,6 @@ static int ath10k_set_frag_threshold(struct ieee80211_hw *hw, u32 value)
 	struct ath10k_vif *arvif;
 	int ret = 0;
 
-	/* During HW reconfiguration mac80211 reports all interfaces that were
-	 * running until reconfiguration was started. Since FW doesn't have any
-	 * vdevs at this point we must not iterate over this interface list.
-	 * This setting will be updated upon add_interface(). */
-	if (ar->state == ATH10K_STATE_RESTARTED)
-		return 0;
-
 	mutex_lock(&ar->conf_mutex);
 	list_for_each_entry(arvif, &ar->arvifs, list) {
 		ath10k_dbg(ATH10K_DBG_MAC, "mac vdev %d fragmentation threshold %d\n",


^ permalink raw reply related

* [PATCH 6/7] ath10k: fix ath10k_bss_assoc() to not sleep in atomic context
From: Kalle Valo @ 2013-10-15 18:47 UTC (permalink / raw)
  To: ath10k; +Cc: linux-wireless
In-Reply-To: <20131015184548.14123.56949.stgit@localhost6.localdomain6>

ath10k_bss_assoc() was calling ath10k_peer_assoc(), which can sleep, under
atomic rcu_read_lock() and causing scheduing while atomic errors. Workaround
that by delaying the call to ath10k_wmi_peer_assoc().

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
---
 drivers/net/wireless/ath/ath10k/mac.c |   56 ++++++++++++++++++++++-----------
 1 file changed, 37 insertions(+), 19 deletions(-)

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 4273eef..0b1cc51 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -1137,26 +1137,25 @@ static void ath10k_peer_assoc_h_phymode(struct ath10k *ar,
 	WARN_ON(phymode == MODE_UNKNOWN);
 }
 
-static int ath10k_peer_assoc(struct ath10k *ar,
-			     struct ath10k_vif *arvif,
-			     struct ieee80211_sta *sta,
-			     struct ieee80211_bss_conf *bss_conf)
+static int ath10k_peer_assoc_prepare(struct ath10k *ar,
+				     struct ath10k_vif *arvif,
+				     struct ieee80211_sta *sta,
+				     struct ieee80211_bss_conf *bss_conf,
+				     struct wmi_peer_assoc_complete_arg *arg)
 {
-	struct wmi_peer_assoc_complete_arg arg;
-
 	lockdep_assert_held(&ar->conf_mutex);
 
-	memset(&arg, 0, sizeof(struct wmi_peer_assoc_complete_arg));
+	memset(arg, 0, sizeof(*arg));
 
-	ath10k_peer_assoc_h_basic(ar, arvif, sta, bss_conf, &arg);
-	ath10k_peer_assoc_h_crypto(ar, arvif, &arg);
-	ath10k_peer_assoc_h_rates(ar, sta, &arg);
-	ath10k_peer_assoc_h_ht(ar, sta, &arg);
-	ath10k_peer_assoc_h_vht(ar, sta, &arg);
-	ath10k_peer_assoc_h_qos(ar, arvif, sta, bss_conf, &arg);
-	ath10k_peer_assoc_h_phymode(ar, arvif, sta, &arg);
+	ath10k_peer_assoc_h_basic(ar, arvif, sta, bss_conf, arg);
+	ath10k_peer_assoc_h_crypto(ar, arvif, arg);
+	ath10k_peer_assoc_h_rates(ar, sta, arg);
+	ath10k_peer_assoc_h_ht(ar, sta, arg);
+	ath10k_peer_assoc_h_vht(ar, sta, arg);
+	ath10k_peer_assoc_h_qos(ar, arvif, sta, bss_conf, arg);
+	ath10k_peer_assoc_h_phymode(ar, arvif, sta, arg);
 
-	return ath10k_wmi_peer_assoc(ar, &arg);
+	return 0;
 }
 
 /* can be called only in mac80211 callbacks due to `key_count` usage */
@@ -1166,6 +1165,7 @@ static void ath10k_bss_assoc(struct ieee80211_hw *hw,
 {
 	struct ath10k *ar = hw->priv;
 	struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif);
+	struct wmi_peer_assoc_complete_arg peer_arg;
 	struct ieee80211_sta *ap_sta;
 	int ret;
 
@@ -1181,15 +1181,24 @@ static void ath10k_bss_assoc(struct ieee80211_hw *hw,
 		return;
 	}
 
-	ret = ath10k_peer_assoc(ar, arvif, ap_sta, bss_conf);
+	ret = ath10k_peer_assoc_prepare(ar, arvif, ap_sta,
+					bss_conf, &peer_arg);
 	if (ret) {
-		ath10k_warn("Peer assoc failed for %pM\n", bss_conf->bssid);
+		ath10k_warn("Peer assoc prepare failed for %pM\n: %d",
+			    bss_conf->bssid, ret);
 		rcu_read_unlock();
 		return;
 	}
 
 	rcu_read_unlock();
 
+	ret = ath10k_wmi_peer_assoc(ar, &peer_arg);
+	if (ret) {
+		ath10k_warn("Peer assoc failed for %pM\n: %d",
+			    bss_conf->bssid, ret);
+		return;
+	}
+
 	ath10k_dbg(ATH10K_DBG_MAC,
 		   "mac vdev %d up (associated) bssid %pM aid %d\n",
 		   arvif->vdev_id, bss_conf->bssid, bss_conf->aid);
@@ -1243,13 +1252,22 @@ static void ath10k_bss_disassoc(struct ieee80211_hw *hw,
 static int ath10k_station_assoc(struct ath10k *ar, struct ath10k_vif *arvif,
 				struct ieee80211_sta *sta)
 {
+	struct wmi_peer_assoc_complete_arg peer_arg;
 	int ret = 0;
 
 	lockdep_assert_held(&ar->conf_mutex);
 
-	ret = ath10k_peer_assoc(ar, arvif, sta, NULL);
+	ret = ath10k_peer_assoc_prepare(ar, arvif, sta, NULL, &peer_arg);
+	if (ret) {
+		ath10k_warn("WMI peer assoc prepare failed for %pM\n",
+			    sta->addr);
+		return ret;
+	}
+
+	ret = ath10k_wmi_peer_assoc(ar, &peer_arg);
 	if (ret) {
-		ath10k_warn("WMI peer assoc failed for %pM\n", sta->addr);
+		ath10k_warn("Peer assoc failed for STA %pM\n: %d",
+			    sta->addr, ret);
 		return ret;
 	}
 


^ permalink raw reply related

* [PATCH 7/7] ath10k: add might_sleep() to ath10k_wmi_cmd_send()
From: Kalle Valo @ 2013-10-15 18:47 UTC (permalink / raw)
  To: ath10k; +Cc: linux-wireless
In-Reply-To: <20131015184548.14123.56949.stgit@localhost6.localdomain6>

ath10k_wmi_cmd_send() will now sleep if there are no credits available.
To make it easier to catch callers in atomic context add might_sleep()
to the function.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
---
 drivers/net/wireless/ath/ath10k/wmi.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c
index d1e513e..77238af 100644
--- a/drivers/net/wireless/ath/ath10k/wmi.c
+++ b/drivers/net/wireless/ath/ath10k/wmi.c
@@ -613,6 +613,8 @@ static int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb,
 {
 	int ret = -EOPNOTSUPP;
 
+	might_sleep();
+
 	if (cmd_id == WMI_CMD_UNSUPPORTED) {
 		ath10k_warn("wmi command %d is not supported by firmware\n",
 			    cmd_id);


^ permalink raw reply related

* Re: [PATCH 3/7] ath10k: track vif list internally
From: Kalle Valo @ 2013-10-15 18:49 UTC (permalink / raw)
  To: michal.kazior; +Cc: ath10k, linux-wireless
In-Reply-To: <20131015184656.14123.70575.stgit@localhost6.localdomain6>

Kalle Valo <kvalo@qca.qualcomm.com> writes:

> From: Michal Kazior <michal.kazior@tieto.com>
>
> mac80211 interface interations functions have
> peculiar locking issues. This patch introduces
> internal (to ath10k) vif list that will be used
> for vif iteration purposes.
>
> Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>

[...]

> --- a/drivers/net/wireless/ath/ath10k/core.c
> +++ b/drivers/net/wireless/ath/ath10k/core.c
> @@ -713,6 +713,7 @@ struct ath10k *ath10k_core_create(void *hif_priv, struct device *dev,
>  	mutex_init(&ar->conf_mutex);
>  	spin_lock_init(&ar->data_lock);
>  
> +	INIT_LIST_HEAD(&ar->arvifs);
>  	INIT_LIST_HEAD(&ar->peers);
>  	init_waitqueue_head(&ar->peer_mapping_wq);
>  
> @@ -824,6 +825,7 @@ int ath10k_core_start(struct ath10k *ar)
>  		goto err_disconnect_htc;
>  
>  	ar->free_vdev_map = (1 << TARGET_NUM_VDEVS) - 1;
> +	INIT_LIST_HEAD(&ar->arvifs);
>  
>  	return 0;

Michal, why do the INIT_LIST_HEAD() twice? Isn't it enough to do it
core_start()?

-- 
Kalle Valo

^ permalink raw reply

* Re: [PATCH 0/7] ath10k: fixes 2013-10-15
From: Kalle Valo @ 2013-10-15 18:55 UTC (permalink / raw)
  To: Michal Kazior; +Cc: ath10k, linux-wireless
In-Reply-To: <1381858196-17000-1-git-send-email-michal.kazior@tieto.com>

Michal Kazior <michal.kazior@tieto.com> writes:

> This is a bunch of fixes I've had queued up for
> some time now. I was reluctant to send them
> without some additional checks and because some of
> the fixes are not ideal. At least we can get a
> discussion going if anything raises any serious
> concern.
>
>
> Michal Kazior (7):
>   ath10k: prevent starting monitor without a vdev
>   ath10k: add sanity checks for monitor management
>   ath10k: fix endianess in prints
>   ath10k: fix NSS reporting in RX
>   ath10k: fix NULL deref upon early FW crash
>   ath10k: fix device initialization routine
>   ath10k: fix FW crashes on heavy TX on 10.1.389 AP FW

I get few long line warnings:

drivers/net/wireless/ath/ath10k/pci.c:1842: WARNING: line over 80 characters
drivers/net/wireless/ath/ath10k/pci.c:1844: WARNING: line over 80 characters
drivers/net/wireless/ath/ath10k/pci.c:1847: WARNING: line over 80 characters
drivers/net/wireless/ath/ath10k/pci.c:1848: WARNING: line over 80 characters
drivers/net/wireless/ath/ath10k/pci.c:1856: WARNING: line over 80 characters
drivers/net/wireless/ath/ath10k/pci.c:1875: WARNING: line over 80 characters
drivers/net/wireless/ath/ath10k/pci.c:1877: WARNING: line over 80 characters
drivers/net/wireless/ath/ath10k/pci.c:1883: WARNING: line over 80 characters
drivers/net/wireless/ath/ath10k/mac.c:2284: WARNING: line over 80 characters

-- 
Kalle Valo

^ permalink raw reply

* Re: [Ilw] drivers/net/wireless/iwlwifi/dvm/tx.c:456 iwlagn_tx_skb+0x6c5/0x883()
From: Sander Eikelenboom @ 2013-10-15 19:04 UTC (permalink / raw)
  To: Grumbach, Emmanuel
  Cc: John W. Linville, Berg, Johannes, ilw@linux.intel.com,
	netdev@vger.kernel.org, linux-wireless@vger.kernel.org
In-Reply-To: <0BA3FCBA62E2DC44AF3030971E174FB301DC4AB7@HASMSX103.ger.corp.intel.com>


Tuesday, October 15, 2013, 3:35:30 PM, you wrote:

> Please apply this:
> diff --git a/drivers/net/wireless/iwlwifi/dvm/tx.c b/drivers/net/wireless/iwlwifi/dvm/tx.c
> index d131f85..5968f19 100644
> --- a/drivers/net/wireless/iwlwifi/dvm/tx.c
> +++ b/drivers/net/wireless/iwlwifi/dvm/tx.c
> @@ -457,8 +457,8 @@ int iwlagn_tx_skb(struct iwl_priv *priv,
>         WARN_ON_ONCE(is_agg &&
>                      priv->queue_to_mac80211[txq_id] != info->hw_queue);
>  
> -       IWL_DEBUG_TX(priv, "TX to [%d|%d] Q:%d - seq: 0x%x\n", sta_id, tid,
> -                    txq_id, seq_number);
> +       IWL_DEBUG_TX(priv, "TX to [%d|%d] Q:%d info Q %d - seq: 0x%x\n", sta_id, tid,
> +                    txq_id, info->hw_queue, seq_number);
>  
>         if (iwl_trans_tx(priv->trans, skb, dev_cmd, txq_id))
>                 goto drop_unlock_sta;

> and send the output back to me

> Thanks.

With the patch i get:

That results in:

[    7.154856] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
[    7.163961] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0
[    7.210395] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 9 on FIFO 7 WrPtr: 0
[    7.213319] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 0 on FIFO 3 WrPtr: 0
[    7.216195] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 1 on FIFO 2 WrPtr: 0
[    7.218927] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 2 on FIFO 1 WrPtr: 0
[    7.221531] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 3 on FIFO 0 WrPtr: 0
[    7.224168] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 4 on FIFO 0 WrPtr: 0
[    7.226768] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 5 on FIFO 4 WrPtr: 0
[    7.229150] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 6 on FIFO 2 WrPtr: 0
[    7.231449] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 7 on FIFO 5 WrPtr: 0
[    7.235266] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 8 on FIFO 4 WrPtr: 0
[    7.237399] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 10 on FIFO 5 WrPtr: 0
[    7.474222] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
[    7.485102] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0
[    7.534296] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 9 on FIFO 7 WrPtr: 0
[    7.538506] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 0 on FIFO 3 WrPtr: 0
[    7.542438] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 1 on FIFO 2 WrPtr: 0
[    7.546288] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 2 on FIFO 1 WrPtr: 0
[    7.549720] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 3 on FIFO 0 WrPtr: 0
[    7.553037] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 4 on FIFO 0 WrPtr: 0
[    7.556308] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 5 on FIFO 4 WrPtr: 0
[    7.559539] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 6 on FIFO 2 WrPtr: 0
[    7.562506] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 7 on FIFO 5 WrPtr: 0
[    7.565350] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 8 on FIFO 4 WrPtr: 0
[    7.568098] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 10 on FIFO 5 WrPtr: 0
[    7.614245] device wlan0 entered promiscuous mode
[    7.616548] xen_bridge: port 2(wlan0) entered forwarding state
[    7.618444] xen_bridge: port 2(wlan0) entered forwarding state
[    7.620040] cfg80211: Pending regulatory request, waiting for it to be processed...
[    7.630139] ------------[ cut here ]------------
[    7.631729] WARNING: CPU: 2 PID: 2438 at drivers/net/wireless/iwlwifi/dvm/tx.c:456 iwlagn_tx_skb+0x776/0x981()
[    7.633206] Modules linked in: acpi_cpufreq
[    7.634693] CPU: 2 PID: 2438 Comm: hostapd Not tainted 3.12.0-rc5+ #1
[    7.636529] Hardware name:                  /D53427RKE, BIOS RKPPT10H.86A.0017.2013.0425.1251 04/25/2013
[    7.638385]  0000000000000000 0000000000000009 ffffffff818a8082 0000000000000000
[    7.640163]  ffffffff8105a4f2 0000000000000000 ffffffff815f440a ffff8800d736dec0
[    7.641827]  ffff8800d6cf9790 ffff8800d736dec0 0000000000000007 0000000000000000
[    7.643295] Call Trace:
[    7.644708]  [<ffffffff818a8082>] ? dump_stack+0x41/0x51
[    7.646187]  [<ffffffff8105a4f2>] ? warn_slowpath_common+0x78/0x90
[    7.647877]  [<ffffffff815f440a>] ? iwlagn_tx_skb+0x776/0x981
[    7.649587]  [<ffffffff815f440a>] ? iwlagn_tx_skb+0x776/0x981
[    7.651188]  [<ffffffff815f2407>] ? iwlagn_mac_tx+0x19/0x30
[    7.652993]  [<ffffffff8187a261>] ? __ieee80211_tx+0x226/0x29b
[    7.654661]  [<ffffffff8187bcd9>] ? ieee80211_tx+0xa6/0xb5
[    7.656409]  [<ffffffff8187bfa7>] ? ieee80211_monitor_start_xmit+0x1e9/0x204
[    7.658237]  [<ffffffff8172e1f3>] ? dev_hard_start_xmit+0x271/0x3ec
[    7.659800]  [<ffffffff81746540>] ? sch_direct_xmit+0x66/0x164
[    7.661362]  [<ffffffff8172e553>] ? dev_queue_xmit+0x1e5/0x3c8
[    7.663062]  [<ffffffff8180bfee>] ? packet_sendmsg+0xac5/0xb3d
[    7.664683]  [<ffffffff8171ad9d>] ? sock_sendmsg+0x37/0x52
[    7.664686]  [<ffffffff810f9e0c>] ? __do_fault+0x338/0x36b
[    7.664688]  [<ffffffff81724bb4>] ? verify_iovec+0x44/0x94
[    7.664690]  [<ffffffff8171b1f7>] ? ___sys_sendmsg+0x1f1/0x283
[    7.664693]  [<ffffffff81140a73>] ? __inode_wait_for_writeback+0x67/0xae
[    7.664694]  [<ffffffff8111735e>] ? __cache_free.isra.46+0x178/0x187
[    7.664696]  [<ffffffff811173b1>] ? kmem_cache_free+0x44/0x84
[    7.664698]  [<ffffffff81132c22>] ? dentry_kill+0x13d/0x149
[    7.664699]  [<ffffffff81132f6f>] ? dput+0xe5/0xef
[    7.664701]  [<ffffffff81136e04>] ? fget_light+0x2e/0x7c
[    7.664702]  [<ffffffff8171c1f6>] ? __sys_sendmsg+0x39/0x57
[    7.664705]  [<ffffffff818b5e39>] ? system_call_fastpath+0x16/0x1b
[    7.664707] ---[ end trace 6723715cfa72062a ]---
[    7.664711] iwlwifi 0000:02:00.0: I iwlagn_tx_skb TX to [14|8] Q:7 info Q 8 - seq: 0x0
[    7.665934] device wlan0 left promiscuous mode
[    7.665941] xen_bridge: port 2(wlan0) entered disabled state
[    7.667656] iwlwifi 0000:02:00.0: I iwl_trans_pcie_reclaim [Q 7] 0 -> 1 (1)
[    7.667661] iwlwifi 0000:02:00.0: I iwlagn_rx_reply_tx TXQ 7 status SUCCESS (0x00000201)
[    7.667664] iwlwifi 0000:02:00.0: I iwlagn_rx_reply_tx                               initial_rate 0x820a retries 0, idx=0 ssn=1 seq_ctl=0x0
[    7.699446] iwlwifi 0000:02:00.0: I iwl_pcie_txq_inc_wr_ptr Q:9 WR: 0x23
[    7.738105] iwlwifi 0000:02:00.0: I iwl_pcie_txq_inc_wr_ptr Q:9 WR: 0x24
[    7.741555] iwlwifi 0000:02:00.0: I iwl_pcie_txq_inc_wr_ptr Q:9 WR: 0x25
[    7.744882] iwlwifi 0000:02:00.0: I iwl_pcie_txq_inc_wr_ptr Q:9 WR: 0x26
[    7.748108] iwlwifi 0000:02:00.0: I iwl_pcie_txq_inc_wr_ptr Q:9 WR: 0x27
[    7.751367] iwlwifi 0000:02:00.0: I iwl_pcie_txq_inc_wr_ptr Q:9 WR: 0x28
[    7.753309] iwlwifi 0000:02:00.0: I iwl_pcie_txq_unmap Q 9 Free 39




^ permalink raw reply

* Re: [PATCH 14/18] net: usb: use wrapper functions of net_ratelimit() to simplify code
From: Sergei Shtylyov @ 2013-10-15 19:06 UTC (permalink / raw)
  To: Kefeng Wang
  Cc: linux-kernel, Greg Kroah-Hartman, David S. Miller,
	Pablo Neira Ayuso, Stephen Hemminger, Johannes Berg,
	John W. Linville, Stanislaw Gruszka, Johannes Berg,
	Francois Romieu, Ben Hutchings, Chas Williams, Marc Kleine-Budde,
	Samuel Ortiz, Paul Mackerras, Oliver Neukum,
	Konrad Rzeszutek Wilk, Boris Ostrovsky, David Vrabel,
	Rusty Russell, Michael S. Tsirkin, netfilter, netdev,
	linux-wireless, guohanjun
In-Reply-To: <1381837514-50660-15-git-send-email-wangkefeng.wang@huawei.com>

Hello.

On 10/15/2013 03:45 PM, Kefeng Wang wrote:

> net_ratelimited_function() is called to simplify code.

> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> ---
>   drivers/net/usb/usbnet.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)

> diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c
> index bf94e10..edf81de 100644
> --- a/drivers/net/usb/usbnet.c
> +++ b/drivers/net/usb/usbnet.c
> @@ -450,8 +450,8 @@ void usbnet_defer_kevent (struct usbnet *dev, int work)
>   {
>   	set_bit (work, &dev->flags);
>   	if (!schedule_work (&dev->kevent)) {
> -		if (net_ratelimit())
> -			netdev_err(dev->net, "kevent %d may have been dropped\n", work);
> +		net_ratelimited_function(netdev_err, dev->net,
> +			"kevent %d may have been dropped\n", work);

    The continuation line should start under 'netdev_err'. Same about the 
other patches where you didn't change the indentation of the continuation 
lines though you should have.

WBR, Sergei


^ permalink raw reply

* RE: [Ilw] drivers/net/wireless/iwlwifi/dvm/tx.c:456 iwlagn_tx_skb+0x6c5/0x883()
From: Grumbach, Emmanuel @ 2013-10-15 19:11 UTC (permalink / raw)
  To: Sander Eikelenboom
  Cc: John W. Linville, Berg, Johannes, ilw@linux.intel.com,
	netdev@vger.kernel.org, linux-wireless@vger.kernel.org
In-Reply-To: <1764863131.20131015210406@eikelenboom.it>

[-- Attachment #1: Type: text/plain, Size: 989 bytes --]

> > Please apply this:
> > diff --git a/drivers/net/wireless/iwlwifi/dvm/tx.c
> b/drivers/net/wireless/iwlwifi/dvm/tx.c
> > index d131f85..5968f19 100644
> > --- a/drivers/net/wireless/iwlwifi/dvm/tx.c
> > +++ b/drivers/net/wireless/iwlwifi/dvm/tx.c
> > @@ -457,8 +457,8 @@ int iwlagn_tx_skb(struct iwl_priv *priv,
> >         WARN_ON_ONCE(is_agg &&
> >                      priv->queue_to_mac80211[txq_id] != info->hw_queue);
> >
> > -       IWL_DEBUG_TX(priv, "TX to [%d|%d] Q:%d - seq: 0x%x\n", sta_id, tid,
> > -                    txq_id, seq_number);
> > +       IWL_DEBUG_TX(priv, "TX to [%d|%d] Q:%d info Q %d - seq: 0x%x\n",
> sta_id, tid,
> > +                    txq_id, info->hw_queue, seq_number);
> >
> >         if (iwl_trans_tx(priv->trans, skb, dev_cmd, txq_id))
> >                 goto drop_unlock_sta;
> 
> > and send the output back to me
> 
> > Thanks.
> 

Can you please apply the patch attached (and remove the previous change)?
Thanks.


[-- Attachment #2: 0001-iwlwifi-dvm-don-t-override-mac80211-s-queue-setting.patch --]
[-- Type: application/octet-stream, Size: 1902 bytes --]

From fdda79b24213483034cd9a173bd1b078309cb4b9 Mon Sep 17 00:00:00 2001
From: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Date: Tue, 15 Oct 2013 22:04:54 +0300
Subject: [PATCH] iwlwifi: dvm: don't override mac80211's queue setting

Since we set IEEE80211_HW_QUEUE_CONTROL, we can let
mac80211 do the queue assignement and don't need to
override its decisions.
This is true for offchannel packets, packets to  be sent
after DTIM, but not for AMPDUs since we have a special
queue for them. So for AMPDU, we still override
info->hw_queue by the AMPDU queue.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
---
 drivers/net/wireless/iwlwifi/dvm/tx.c | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/drivers/net/wireless/iwlwifi/dvm/tx.c b/drivers/net/wireless/iwlwifi/dvm/tx.c
index d131f85..86196a5 100644
--- a/drivers/net/wireless/iwlwifi/dvm/tx.c
+++ b/drivers/net/wireless/iwlwifi/dvm/tx.c
@@ -433,27 +433,19 @@ int iwlagn_tx_skb(struct iwl_priv *priv,
 	/* Copy MAC header from skb into command buffer */
 	memcpy(tx_cmd->hdr, hdr, hdr_len);
 
+	txq_id = info->hw_queue;
+
 	if (is_agg)
 		txq_id = priv->tid_data[sta_id][tid].agg.txq_id;
 	else if (info->flags & IEEE80211_TX_CTL_SEND_AFTER_DTIM) {
 		/*
-		 * Send this frame after DTIM -- there's a special queue
-		 * reserved for this for contexts that support AP mode.
-		 */
-		txq_id = ctx->mcast_queue;
-
-		/*
 		 * The microcode will clear the more data
 		 * bit in the last frame it transmits.
 		 */
 		hdr->frame_control |=
 			cpu_to_le16(IEEE80211_FCTL_MOREDATA);
-	} else if (info->flags & IEEE80211_TX_CTL_TX_OFFCHAN)
-		txq_id = IWL_AUX_QUEUE;
-	else
-		txq_id = ctx->ac_to_queue[skb_get_queue_mapping(skb)];
+	}
 
-	WARN_ON_ONCE(!is_agg && txq_id != info->hw_queue);
 	WARN_ON_ONCE(is_agg &&
 		     priv->queue_to_mac80211[txq_id] != info->hw_queue);
 
-- 
1.8.1.msysgit.1


^ permalink raw reply related

* Re: [PATCH 3/7] ath10k: track vif list internally
From: Michal Kazior @ 2013-10-15 19:37 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath10k, linux-wireless
In-Reply-To: <87a9iabc9c.fsf@kamboji.qca.qualcomm.com>

On 15 October 2013 11:49, Kalle Valo <kvalo@qca.qualcomm.com> wrote:
> Kalle Valo <kvalo@qca.qualcomm.com> writes:
>
>> From: Michal Kazior <michal.kazior@tieto.com>
>>
>> mac80211 interface interations functions have
>> peculiar locking issues. This patch introduces
>> internal (to ath10k) vif list that will be used
>> for vif iteration purposes.
>>
>> Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
>> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
>
> [...]
>
>> --- a/drivers/net/wireless/ath/ath10k/core.c
>> +++ b/drivers/net/wireless/ath/ath10k/core.c
>> @@ -713,6 +713,7 @@ struct ath10k *ath10k_core_create(void *hif_priv, struct device *dev,
>>       mutex_init(&ar->conf_mutex);
>>       spin_lock_init(&ar->data_lock);
>>
>> +     INIT_LIST_HEAD(&ar->arvifs);
>>       INIT_LIST_HEAD(&ar->peers);
>>       init_waitqueue_head(&ar->peer_mapping_wq);
>>
>> @@ -824,6 +825,7 @@ int ath10k_core_start(struct ath10k *ar)
>>               goto err_disconnect_htc;
>>
>>       ar->free_vdev_map = (1 << TARGET_NUM_VDEVS) - 1;
>> +     INIT_LIST_HEAD(&ar->arvifs);
>>
>>       return 0;
>
> Michal, why do the INIT_LIST_HEAD() twice? Isn't it enough to do it
> core_start()?

Ah, good point. It's most likely okay to just do it in
ath10k_core_start(). The one in ath10k_core_create() isn't required.


Michał

^ permalink raw reply

* [PATCH 1/3] staging: vt6656: rxtx.c s_bPacketToWirelessUsb set fallback tx rates
From: Malcolm Priestley @ 2013-10-15 20:00 UTC (permalink / raw)
  To: gregkh; +Cc: linux-wireless

Set the two TX fall back rates in s_bPacketToWirelessUsb and
pass to private area of driver in variables tx_rate_fb0
and tx_rate_fb1 from the wFB_Opt0/wFB_Opt1 array.

Apply these rates were needed in the TX structure and
remove byFBOption settings in s_uGetRTSCTSDuration.

This greatly simplifies s_uGetRTSCTSDuration and
more future flexibility of setting rates from
upper levels of driver.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
---
 drivers/staging/vt6656/device.h |  3 ++
 drivers/staging/vt6656/rxtx.c   | 99 +++++++++++++++++++----------------------
 2 files changed, 49 insertions(+), 53 deletions(-)

diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h
index 95b181d..62b7de1 100644
--- a/drivers/staging/vt6656/device.h
+++ b/drivers/staging/vt6656/device.h
@@ -579,6 +579,9 @@ struct vnt_private {
 	u8 abyOFDMAPwrTbl[42];
 
 	u16 wCurrentRate;
+	u16 tx_rate_fb0;
+	u16 tx_rate_fb1;
+
 	u16 wRTSThreshold;
 	u16 wFragmentationThreshold;
 	u8 byShortRetryLimit;
diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
index 821b2e1..3404730 100644
--- a/drivers/staging/vt6656/rxtx.c
+++ b/drivers/staging/vt6656/rxtx.c
@@ -450,55 +450,37 @@ static u16 s_uGetRTSCTSDuration(struct vnt_private *pDevice, u8 byDurType,
 
     case RTSDUR_BA_F0: //RTSDuration_ba_f0
         uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate);
-        if ((byFBOption == AUTO_FB_0) && (wRate >= RATE_18M) && (wRate <=RATE_54M)) {
-            uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt0[FB_RATE0][wRate-RATE_18M], bNeedAck);
-        } else if ((byFBOption == AUTO_FB_1) && (wRate >= RATE_18M) && (wRate <=RATE_54M)) {
-            uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE0][wRate-RATE_18M], bNeedAck);
-        }
+	uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
+			byPktType, cbFrameLength, wRate, bNeedAck);
         break;
 
     case RTSDUR_AA_F0: //RTSDuration_aa_f0
         uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate);
-        if ((byFBOption == AUTO_FB_0) && (wRate >= RATE_18M) && (wRate <=RATE_54M)) {
-            uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt0[FB_RATE0][wRate-RATE_18M], bNeedAck);
-        } else if ((byFBOption == AUTO_FB_1) && (wRate >= RATE_18M) && (wRate <=RATE_54M)) {
-            uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE0][wRate-RATE_18M], bNeedAck);
-        }
+	uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
+			byPktType, cbFrameLength, wRate, bNeedAck);
         break;
 
     case RTSDUR_BA_F1: //RTSDuration_ba_f1
         uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate);
-        if ((byFBOption == AUTO_FB_0) && (wRate >= RATE_18M) && (wRate <=RATE_54M)) {
-            uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt0[FB_RATE1][wRate-RATE_18M], bNeedAck);
-        } else if ((byFBOption == AUTO_FB_1) && (wRate >= RATE_18M) && (wRate <=RATE_54M)) {
-            uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE1][wRate-RATE_18M], bNeedAck);
-        }
+	uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
+		byPktType, cbFrameLength, wRate, bNeedAck);
         break;
 
     case RTSDUR_AA_F1: //RTSDuration_aa_f1
         uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate);
-        if ((byFBOption == AUTO_FB_0) && (wRate >= RATE_18M) && (wRate <=RATE_54M)) {
-            uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt0[FB_RATE1][wRate-RATE_18M], bNeedAck);
-        } else if ((byFBOption == AUTO_FB_1) && (wRate >= RATE_18M) && (wRate <=RATE_54M)) {
-            uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE1][wRate-RATE_18M], bNeedAck);
-        }
-        break;
+	uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
+				byPktType, cbFrameLength, wRate, bNeedAck);
+	break;
 
     case CTSDUR_BA_F0: //CTSDuration_ba_f0
-        if ((byFBOption == AUTO_FB_0) && (wRate >= RATE_18M) && (wRate <=RATE_54M)) {
-            uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt0[FB_RATE0][wRate-RATE_18M], bNeedAck);
-        } else if ((byFBOption == AUTO_FB_1) && (wRate >= RATE_18M) && (wRate <=RATE_54M)) {
-            uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE0][wRate-RATE_18M], bNeedAck);
-        }
-        break;
+	uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
+				byPktType, cbFrameLength, wRate, bNeedAck);
+	break;
 
     case CTSDUR_BA_F1: //CTSDuration_ba_f1
-        if ((byFBOption == AUTO_FB_0) && (wRate >= RATE_18M) && (wRate <=RATE_54M)) {
-            uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt0[FB_RATE1][wRate-RATE_18M], bNeedAck);
-        } else if ((byFBOption == AUTO_FB_1) && (wRate >= RATE_18M) && (wRate <=RATE_54M)) {
-            uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE1][wRate-RATE_18M], bNeedAck);
-        }
-        break;
+	uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
+				byPktType, cbFrameLength, wRate, bNeedAck);
+	break;
 
     default:
         break;
@@ -648,13 +630,13 @@ static u16 vnt_rxtx_rts_g_fb_head(struct vnt_private *priv,
 

 	buf->wRTSDuration_ba_f0 = s_uGetRTSCTSDuration(priv, RTSDUR_BA_F0,
-		frame_len, pkt_type, current_rate, need_ack, fb_option);
+		frame_len, pkt_type, priv->tx_rate_fb0, need_ack, fb_option);
 	buf->wRTSDuration_aa_f0 = s_uGetRTSCTSDuration(priv, RTSDUR_AA_F0,
-		frame_len, pkt_type, current_rate, need_ack, fb_option);
+		frame_len, pkt_type, priv->tx_rate_fb0, need_ack, fb_option);
 	buf->wRTSDuration_ba_f1 = s_uGetRTSCTSDuration(priv, RTSDUR_BA_F1,
-		frame_len, pkt_type, current_rate, need_ack, fb_option);
+		frame_len, pkt_type, priv->tx_rate_fb1, need_ack, fb_option);
 	buf->wRTSDuration_aa_f1 = s_uGetRTSCTSDuration(priv, RTSDUR_AA_F1,
-		frame_len, pkt_type, current_rate, need_ack, fb_option);
+		frame_len, pkt_type, priv->tx_rate_fb1, need_ack, fb_option);
 
 	vnt_fill_ieee80211_rts(priv, &buf->data, eth_hdr, buf->wDuration_aa);
 
@@ -695,10 +677,10 @@ static u16 vnt_rxtx_rts_a_fb_head(struct vnt_private *priv,
 		pkt_type, current_rate, need_ack, fb_option);
 
 	buf->wRTSDuration_f0 = s_uGetRTSCTSDuration(priv, RTSDUR_AA_F0,
-		frame_len, pkt_type, current_rate, need_ack, fb_option);
+		frame_len, pkt_type, priv->tx_rate_fb0, need_ack, fb_option);
 
 	buf->wRTSDuration_f1 = s_uGetRTSCTSDuration(priv, RTSDUR_AA_F1,
-		frame_len, pkt_type, current_rate, need_ack, fb_option);
+		frame_len, pkt_type, priv->tx_rate_fb1, need_ack, fb_option);
 
 	vnt_fill_ieee80211_rts(priv, &buf->data, eth_hdr, buf->wDuration);
 
@@ -767,12 +749,12 @@ static u16 s_vFillCTSHead(struct vnt_private *pDevice, u32 uDMAIdx,
 			wCurrentRate, bNeedAck, byFBOption);
 		/* Get CTSDuration_ba_f0 */
 		pBuf->wCTSDuration_ba_f0 = s_uGetRTSCTSDuration(pDevice,
-			CTSDUR_BA_F0, cbFrameLength, byPktType, wCurrentRate,
-			bNeedAck, byFBOption);
+			CTSDUR_BA_F0, cbFrameLength, byPktType,
+			pDevice->tx_rate_fb0, bNeedAck, byFBOption);
 		/* Get CTSDuration_ba_f1 */
 		pBuf->wCTSDuration_ba_f1 = s_uGetRTSCTSDuration(pDevice,
-			CTSDUR_BA_F1, cbFrameLength, byPktType, wCurrentRate,
-			bNeedAck, byFBOption);
+			CTSDUR_BA_F1, cbFrameLength, byPktType,
+			pDevice->tx_rate_fb1, bNeedAck, byFBOption);
 		/* Get CTS Frame body */
 		pBuf->data.duration = pBuf->wDuration_ba;
 		pBuf->data.frame_control = TYPE_CTL_CTS;
@@ -1076,16 +1058,27 @@ static int s_bPacketToWirelessUsb(struct vnt_private *pDevice, u8 byPktType,
         pTxBufHead->wFIFOCtl |=	FIFOCTL_GRPACK;
     }
 
-    //Set Auto Fallback Ctl
-    if (wCurrentRate >= RATE_18M) {
-        if (pDevice->byAutoFBCtrl == AUTO_FB_0) {
-            pTxBufHead->wFIFOCtl |= FIFOCTL_AUTO_FB_0;
-            byFBOption = AUTO_FB_0;
-        } else if (pDevice->byAutoFBCtrl == AUTO_FB_1) {
-            pTxBufHead->wFIFOCtl |= FIFOCTL_AUTO_FB_1;
-            byFBOption = AUTO_FB_1;
-        }
-    }
+	/* Set Auto Fallback Ctl */
+	if (wCurrentRate >= RATE_18M) {
+		if (pDevice->byAutoFBCtrl == AUTO_FB_0) {
+			pTxBufHead->wFIFOCtl |= FIFOCTL_AUTO_FB_0;
+
+			pDevice->tx_rate_fb0 =
+				wFB_Opt0[FB_RATE0][wCurrentRate - RATE_18M];
+			pDevice->tx_rate_fb1 =
+				wFB_Opt0[FB_RATE1][wCurrentRate - RATE_18M];
+
+			byFBOption = AUTO_FB_0;
+		} else if (pDevice->byAutoFBCtrl == AUTO_FB_1) {
+			pTxBufHead->wFIFOCtl |= FIFOCTL_AUTO_FB_1;
+			pDevice->tx_rate_fb0 =
+				wFB_Opt1[FB_RATE0][wCurrentRate - RATE_18M];
+			pDevice->tx_rate_fb1 =
+				wFB_Opt1[FB_RATE1][wCurrentRate - RATE_18M];
+
+			byFBOption = AUTO_FB_1;
+		}
+	}
 
     if (bSoftWEP != true) {
         if ((bNeedEncryption) && (pTransmitKey != NULL))  { //WEP enabled
-- 
1.8.3.2



^ permalink raw reply related

* [PATCH 2/3] staging: vt6656: rxtx.c s_uGetRTSCTSDuration allow fall-through duplicates
From: Malcolm Priestley @ 2013-10-15 20:03 UTC (permalink / raw)
  To: gregkh; +Cc: linux-wireless

Allow switch fall-through of duplicate case.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
---
 drivers/staging/vt6656/rxtx.c | 35 +++--------------------------------
 1 file changed, 3 insertions(+), 32 deletions(-)

diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
index 3404730..9cf5b08 100644
--- a/drivers/staging/vt6656/rxtx.c
+++ b/drivers/staging/vt6656/rxtx.c
@@ -430,53 +430,24 @@ static u16 s_uGetRTSCTSDuration(struct vnt_private *pDevice, u8 byDurType,
     switch (byDurType) {
 
     case RTSDUR_BB:    //RTSDuration_bb
-        uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate);
-        uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wRate, bNeedAck);
-        break;
-
     case RTSDUR_BA:    //RTSDuration_ba
-        uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate);
-        uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wRate, bNeedAck);
-        break;
-
-    case RTSDUR_AA:    //RTSDuration_aa
-        uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate);
-        uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wRate, bNeedAck);
-        break;
-
-    case CTSDUR_BA:    //CTSDuration_ba
-        uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wRate, bNeedAck);
-        break;
-
     case RTSDUR_BA_F0: //RTSDuration_ba_f0
-        uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate);
-	uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
-			byPktType, cbFrameLength, wRate, bNeedAck);
-        break;
-
-    case RTSDUR_AA_F0: //RTSDuration_aa_f0
-        uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate);
-	uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
-			byPktType, cbFrameLength, wRate, bNeedAck);
-        break;
-
     case RTSDUR_BA_F1: //RTSDuration_ba_f1
         uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate);
 	uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
 		byPktType, cbFrameLength, wRate, bNeedAck);
         break;
 
+    case RTSDUR_AA:
+    case RTSDUR_AA_F0:
     case RTSDUR_AA_F1: //RTSDuration_aa_f1
         uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate);
 	uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
 				byPktType, cbFrameLength, wRate, bNeedAck);
 	break;
 
+    case CTSDUR_BA:
     case CTSDUR_BA_F0: //CTSDuration_ba_f0
-	uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
-				byPktType, cbFrameLength, wRate, bNeedAck);
-	break;
-
     case CTSDUR_BA_F1: //CTSDuration_ba_f1
 	uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
 				byPktType, cbFrameLength, wRate, bNeedAck);
-- 
1.8.3.2



^ permalink raw reply related

* [PATCH 3/3] staging: vt6656: rxtx.c clean up s_uGetRTSCTSDuration
From: Malcolm Priestley @ 2013-10-15 20:05 UTC (permalink / raw)
  To: gregkh; +Cc: linux-wireless

White space clean up.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
---
 drivers/staging/vt6656/rxtx.c | 53 +++++++++++++++++++++++--------------------
 1 file changed, 28 insertions(+), 25 deletions(-)

diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
index 9cf5b08..0c1c46f 100644
--- a/drivers/staging/vt6656/rxtx.c
+++ b/drivers/staging/vt6656/rxtx.c
@@ -427,35 +427,38 @@ static u16 s_uGetRTSCTSDuration(struct vnt_private *pDevice, u8 byDurType,
 {
 	u32 uCTSTime = 0, uDurTime = 0;
 
-    switch (byDurType) {
+	switch (byDurType) {
+	case RTSDUR_BB:
+	case RTSDUR_BA:
+	case RTSDUR_BA_F0:
+	case RTSDUR_BA_F1:
+		uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType,
+			14, pDevice->byTopCCKBasicRate);
+		uDurTime = uCTSTime + 2 * pDevice->uSIFS +
+			s_uGetTxRsvTime(pDevice, byPktType,
+						cbFrameLength, wRate, bNeedAck);
+		break;
 
-    case RTSDUR_BB:    //RTSDuration_bb
-    case RTSDUR_BA:    //RTSDuration_ba
-    case RTSDUR_BA_F0: //RTSDuration_ba_f0
-    case RTSDUR_BA_F1: //RTSDuration_ba_f1
-        uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate);
-	uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
-		byPktType, cbFrameLength, wRate, bNeedAck);
-        break;
-
-    case RTSDUR_AA:
-    case RTSDUR_AA_F0:
-    case RTSDUR_AA_F1: //RTSDuration_aa_f1
-        uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate);
-	uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
-				byPktType, cbFrameLength, wRate, bNeedAck);
-	break;
+	case RTSDUR_AA:
+	case RTSDUR_AA_F0:
+	case RTSDUR_AA_F1:
+		uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType,
+			14, pDevice->byTopOFDMBasicRate);
+		uDurTime = uCTSTime + 2 * pDevice->uSIFS +
+			s_uGetTxRsvTime(pDevice, byPktType,
+						cbFrameLength, wRate, bNeedAck);
+		break;
 
-    case CTSDUR_BA:
-    case CTSDUR_BA_F0: //CTSDuration_ba_f0
-    case CTSDUR_BA_F1: //CTSDuration_ba_f1
-	uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
+	case CTSDUR_BA:
+	case CTSDUR_BA_F0:
+	case CTSDUR_BA_F1:
+		uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
 				byPktType, cbFrameLength, wRate, bNeedAck);
-	break;
+		break;
 
-    default:
-        break;
-    }
+	default:
+		break;
+	}
 
 	return cpu_to_le16((u16)uDurTime);
 }
-- 
1.8.3.2



^ permalink raw reply related

* Re: [Ilw] drivers/net/wireless/iwlwifi/dvm/tx.c:456 iwlagn_tx_skb+0x6c5/0x883()
From: Sander Eikelenboom @ 2013-10-15 20:19 UTC (permalink / raw)
  To: Grumbach, Emmanuel
  Cc: John W. Linville, Berg, Johannes, ilw@linux.intel.com,
	netdev@vger.kernel.org, linux-wireless@vger.kernel.org
In-Reply-To: <0BA3FCBA62E2DC44AF3030971E174FB301DC4E24@HASMSX103.ger.corp.intel.com>


Tuesday, October 15, 2013, 9:11:36 PM, you wrote:

>> > Please apply this:
>> > diff --git a/drivers/net/wireless/iwlwifi/dvm/tx.c
>> b/drivers/net/wireless/iwlwifi/dvm/tx.c
>> > index d131f85..5968f19 100644
>> > --- a/drivers/net/wireless/iwlwifi/dvm/tx.c
>> > +++ b/drivers/net/wireless/iwlwifi/dvm/tx.c
>> > @@ -457,8 +457,8 @@ int iwlagn_tx_skb(struct iwl_priv *priv,
>> >         WARN_ON_ONCE(is_agg &&
>> >                      priv->queue_to_mac80211[txq_id] != info->hw_queue);
>> >
>> > -       IWL_DEBUG_TX(priv, "TX to [%d|%d] Q:%d - seq: 0x%x\n", sta_id, tid,
>> > -                    txq_id, seq_number);
>> > +       IWL_DEBUG_TX(priv, "TX to [%d|%d] Q:%d info Q %d - seq: 0x%x\n",
>> sta_id, tid,
>> > +                    txq_id, info->hw_queue, seq_number);
>> >
>> >         if (iwl_trans_tx(priv->trans, skb, dev_cmd, txq_id))
>> >                 goto drop_unlock_sta;
>> 
>> > and send the output back to me
>> 
>> > Thanks.
>> 

> Can you please apply the patch attached (and remove the previous change)?
> Thanks.


That seems to make the warning go away :-)

[    7.306696] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
[    7.315790] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0
[    7.362212] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 9 on FIFO 7 WrPtr: 0
[    7.364973] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 0 on FIFO 3 WrPtr: 0
[    7.365090] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 1 on FIFO 2 WrPtr: 0
[    7.365208] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 2 on FIFO 1 WrPtr: 0
[    7.365324] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 3 on FIFO 0 WrPtr: 0
[    7.365440] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 4 on FIFO 0 WrPtr: 0
[    7.365556] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 5 on FIFO 4 WrPtr: 0
[    7.365672] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 6 on FIFO 2 WrPtr: 0
[    7.365789] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 7 on FIFO 5 WrPtr: 0
[    7.365905] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 8 on FIFO 4 WrPtr: 0
[    7.366034] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 10 on FIFO 5 WrPtr: 0
[    7.602726] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
[    7.612133] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0
[    7.658168] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 9 on FIFO 7 WrPtr: 0
[    7.661021] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 0 on FIFO 3 WrPtr: 0
[    7.663693] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 1 on FIFO 2 WrPtr: 0
[    7.666341] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 2 on FIFO 1 WrPtr: 0
[    7.668914] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 3 on FIFO 0 WrPtr: 0
[    7.671464] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 4 on FIFO 0 WrPtr: 0
[    7.673057] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 5 on FIFO 4 WrPtr: 0
[    7.674631] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 6 on FIFO 2 WrPtr: 0
[    7.676174] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 7 on FIFO 5 WrPtr: 0
[    7.677657] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 8 on FIFO 4 WrPtr: 0
[    7.679133] iwlwifi 0000:02:00.0: U iwl_trans_pcie_txq_enable Activate queue 10 on FIFO 5 WrPtr: 0
[    7.730037] device wlan0 entered promiscuous mode
[    7.732390] xen_bridge: port 2(wlan0) entered forwarding state
[    7.733984] xen_bridge: port 2(wlan0) entered forwarding state
[    7.735692] cfg80211: Pending regulatory request, waiting for it to be processed...
[    7.743541] iwlwifi 0000:02:00.0: I iwlagn_tx_skb TX to [14|8] Q:8 - seq: 0x0
[    7.745347] device wlan0 left promiscuous mode
[    7.747088] xen_bridge: port 2(wlan0) entered disabled state
[    7.748034] iwlwifi 0000:02:00.0: I iwl_trans_pcie_reclaim [Q 8] 0 -> 1 (1)
[    7.748039] iwlwifi 0000:02:00.0: I iwlagn_rx_reply_tx TXQ 8 status SUCCESS (0x00000201)
[    7.748042] iwlwifi 0000:02:00.0: I iwlagn_rx_reply_tx                               initial_rate 0x820a retries 0, idx=0 ssn=1 seq_ctl=0x0
[    7.769963] iwlwifi 0000:02:00.0: I iwl_pcie_txq_inc_wr_ptr Q:9 WR: 0x23
[    7.821813] iwlwifi 0000:02:00.0: I iwl_pcie_txq_inc_wr_ptr Q:9 WR: 0x24
[    7.824914] iwlwifi 0000:02:00.0: I iwl_pcie_txq_inc_wr_ptr Q:9 WR: 0x25
[    7.828033] iwlwifi 0000:02:00.0: I iwl_pcie_txq_inc_wr_ptr Q:9 WR: 0x26
[    7.831078] iwlwifi 0000:02:00.0: I iwl_pcie_txq_inc_wr_ptr Q:9 WR: 0x27
[    7.834005] iwlwifi 0000:02:00.0: I iwl_pcie_txq_inc_wr_ptr Q:9 WR: 0x28
[    7.836087] iwlwifi 0000:02:00.0: I iwl_pcie_txq_unmap Q 9 Free 39


^ permalink raw reply

* [PATCH 1/2] staging: vt6656: rxtx.c s_vFillTxKey replace u8 *pbyBuf.
From: Malcolm Priestley @ 2013-10-15 20:41 UTC (permalink / raw)
  To: gregkh; +Cc: linux-wireless

Replace with struct vnt_tx_fifo_head and attach pbyBuf to
adwTxKey[0]

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
---
 drivers/staging/vt6656/rxtx.c | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
index 0c1c46f..35a3ddb 100644
--- a/drivers/staging/vt6656/rxtx.c
+++ b/drivers/staging/vt6656/rxtx.c
@@ -107,8 +107,9 @@ static void s_vGenerateMACHeader(struct vnt_private *pDevice,
 	u8 *pbyBufferAddr, u16 wDuration, struct ethhdr *psEthHeader,
 	int bNeedEncrypt, u16 wFragType, u32 uDMAIdx, u32 uFragIdx);
 
-static void s_vFillTxKey(struct vnt_private *pDevice, u8 *pbyBuf,
-	u8 *pbyIVHead, PSKeyItem pTransmitKey, u8 *pbyHdrBuf, u16 wPayloadLen,
+static void s_vFillTxKey(struct vnt_private *pDevice,
+	struct vnt_tx_fifo_head *fifo_head, u8 *pbyIVHead,
+	PSKeyItem pTransmitKey, u8 *pbyHdrBuf, u16 wPayloadLen,
 	struct vnt_mic_hdr *mic_hdr);
 
 static void s_vSWencryption(struct vnt_private *pDevice,
@@ -179,10 +180,12 @@ static void s_vSaveTxPktInfo(struct vnt_private *pDevice, u8 byPktNum,
 	   ETH_ALEN);
 }
 
-static void s_vFillTxKey(struct vnt_private *pDevice, u8 *pbyBuf,
-	u8 *pbyIVHead, PSKeyItem pTransmitKey, u8 *pbyHdrBuf,
-	u16 wPayloadLen, struct vnt_mic_hdr *mic_hdr)
+static void s_vFillTxKey(struct vnt_private *pDevice,
+	struct vnt_tx_fifo_head *fifo_head, u8 *pbyIVHead,
+	PSKeyItem pTransmitKey, u8 *pbyHdrBuf, u16 wPayloadLen,
+	struct vnt_mic_hdr *mic_hdr)
 {
+	u8 *pbyBuf = (u8 *)&fifo_head->adwTxKey[0];
 	u32 *pdwIV = (u32 *)pbyIVHead;
 	u32 *pdwExtIV = (u32 *)((u8 *)pbyIVHead + 4);
 	struct ieee80211_hdr *pMACHeader = (struct ieee80211_hdr *)pbyHdrBuf;
@@ -1171,7 +1174,7 @@ static int s_bPacketToWirelessUsb(struct vnt_private *pDevice, u8 byPktType,
 
     if (bNeedEncryption == true) {
         //Fill TXKEY
-        s_vFillTxKey(pDevice, (u8 *)(pTxBufHead->adwTxKey), pbyIVHead, pTransmitKey,
+	s_vFillTxKey(pDevice, pTxBufHead, pbyIVHead, pTransmitKey,
 		pbyMacHdr, (u16)cbFrameBodySize, pMICHDR);
 
         if (pDevice->bEnableHostWEP) {
@@ -1591,7 +1594,7 @@ CMD_STATUS csMgmt_xmit(struct vnt_private *pDevice,
             }
         } while(false);
         //Fill TXKEY
-        s_vFillTxKey(pDevice, (u8 *)(pTxBufHead->adwTxKey), pbyIVHead, pTransmitKey,
+	s_vFillTxKey(pDevice, pTxBufHead, pbyIVHead, pTransmitKey,
                      (u8 *)pMACHeader, (u16)cbFrameBodySize, NULL);
 
         memcpy(pMACHeader, pPacket->p80211Header, cbMacHdLen);
@@ -2034,7 +2037,7 @@ void vDMA0_tx_80211(struct vnt_private *pDevice, struct sk_buff *skb)
 
         }
 
-        s_vFillTxKey(pDevice, (u8 *)(pTxBufHead->adwTxKey), pbyIVHead, pTransmitKey,
+	s_vFillTxKey(pDevice, pTxBufHead, pbyIVHead, pTransmitKey,
 		pbyMacHdr, (u16)cbFrameBodySize, pMICHDR);
 
         if (pDevice->bEnableHostWEP) {
-- 
1.8.3.2


^ permalink raw reply related

* [PATCH 2/2] staging: vt6656: rxtx change u32 [4] aWTxKey to u8[16] tx_key
From: Malcolm Priestley @ 2013-10-15 20:46 UTC (permalink / raw)
  To: gregkh; +Cc: linux-wireless

Replace 4 x u32 aWTxKey with u8 array of 16 bytes tx_key.

Replaces pbyBuf in s_vFillTxKey and connects pbyTxBufferAddr
directly to tx_key without a cast elsewhere in structure.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
---
 drivers/staging/vt6656/rxtx.c | 23 ++++++++++++-----------
 drivers/staging/vt6656/rxtx.h |  2 +-
 2 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
index 35a3ddb..7ca1c26 100644
--- a/drivers/staging/vt6656/rxtx.c
+++ b/drivers/staging/vt6656/rxtx.c
@@ -185,7 +185,6 @@ static void s_vFillTxKey(struct vnt_private *pDevice,
 	PSKeyItem pTransmitKey, u8 *pbyHdrBuf, u16 wPayloadLen,
 	struct vnt_mic_hdr *mic_hdr)
 {
-	u8 *pbyBuf = (u8 *)&fifo_head->adwTxKey[0];
 	u32 *pdwIV = (u32 *)pbyIVHead;
 	u32 *pdwExtIV = (u32 *)((u8 *)pbyIVHead + 4);
 	struct ieee80211_hdr *pMACHeader = (struct ieee80211_hdr *)pbyHdrBuf;
@@ -206,16 +205,18 @@ static void s_vFillTxKey(struct vnt_private *pDevice,
 			memcpy(pDevice->abyPRNG + 3, pTransmitKey->abyKey,
 						pTransmitKey->uKeyLength);
 		} else {
-			memcpy(pbyBuf, (u8 *)&dwRevIVCounter, 3);
-			memcpy(pbyBuf + 3, pTransmitKey->abyKey,
+			memcpy(fifo_head->tx_key, (u8 *)&dwRevIVCounter, 3);
+			memcpy(&fifo_head->tx_key[3], pTransmitKey->abyKey,
 						pTransmitKey->uKeyLength);
 			if (pTransmitKey->uKeyLength == WLAN_WEP40_KEYLEN) {
-				memcpy(pbyBuf+8, (u8 *)&dwRevIVCounter, 3);
-			memcpy(pbyBuf+11, pTransmitKey->abyKey,
+				memcpy(&fifo_head->tx_key[8],
+						(u8 *)&dwRevIVCounter, 3);
+				memcpy(&fifo_head->tx_key[11],
+					pTransmitKey->abyKey,
 						pTransmitKey->uKeyLength);
 			}
 
-			memcpy(pDevice->abyPRNG, pbyBuf, 16);
+			memcpy(pDevice->abyPRNG, fifo_head->tx_key, 16);
 		}
 		/* Append IV after Mac Header */
 		*pdwIV &= WEP_IV_MASK;
@@ -235,7 +236,7 @@ static void s_vFillTxKey(struct vnt_private *pDevice,
 		TKIPvMixKey(pTransmitKey->abyKey, pDevice->abyCurrentNetAddr,
 			pTransmitKey->wTSC15_0, pTransmitKey->dwTSC47_16,
 							pDevice->abyPRNG);
-		memcpy(pbyBuf, pDevice->abyPRNG, 16);
+		memcpy(fifo_head->tx_key, pDevice->abyPRNG, 16);
 
 		/* Make IV */
 		memcpy(pdwIV, pDevice->abyPRNG, 3);
@@ -254,7 +255,7 @@ static void s_vFillTxKey(struct vnt_private *pDevice,
 		if (pTransmitKey->wTSC15_0 == 0)
 			pTransmitKey->dwTSC47_16++;
 
-		memcpy(pbyBuf, pTransmitKey->abyKey, 16);
+		memcpy(fifo_head->tx_key, pTransmitKey->abyKey, 16);
 
 		/* Make IV */
 		*pdwIV = 0;
@@ -1103,7 +1104,7 @@ static int s_bPacketToWirelessUsb(struct vnt_private *pDevice, u8 byPktType,
         pTxBufHead->wFIFOCtl |= (FIFOCTL_RTS | FIFOCTL_LRETRY);
     }
 
-    pbyTxBufferAddr = (u8 *) &(pTxBufHead->adwTxKey[0]);
+	pbyTxBufferAddr = pTxBufHead->tx_key;
 	wTxBufSize = sizeof(struct vnt_tx_fifo_head);
 
     if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) {//802.11g packet
@@ -1419,7 +1420,7 @@ CMD_STATUS csMgmt_xmit(struct vnt_private *pDevice,
 	pTX_Buffer = (struct vnt_tx_buffer *)&pContext->Data[0];
     cbFrameBodySize = pPacket->cbPayloadLen;
 	pTxBufHead = &pTX_Buffer->fifo_head;
-	pbyTxBufferAddr = (u8 *)&pTxBufHead->adwTxKey[0];
+	pbyTxBufferAddr = pTxBufHead->tx_key;
 	wTxBufSize = sizeof(struct vnt_tx_fifo_head);
 
     if (pDevice->byBBType == BB_TYPE_11A) {
@@ -1791,7 +1792,7 @@ void vDMA0_tx_80211(struct vnt_private *pDevice, struct sk_buff *skb)
 
 	pTX_Buffer = (struct vnt_tx_buffer *)&pContext->Data[0];
 	pTxBufHead = &pTX_Buffer->fifo_head;
-	pbyTxBufferAddr = (u8 *)&pTxBufHead->adwTxKey[0];
+	pbyTxBufferAddr = pTxBufHead->tx_key;
 	wTxBufSize = sizeof(struct vnt_tx_fifo_head);
 
     if (pDevice->byBBType == BB_TYPE_11A) {
diff --git a/drivers/staging/vt6656/rxtx.h b/drivers/staging/vt6656/rxtx.h
index eecbe89..b2dbc09 100644
--- a/drivers/staging/vt6656/rxtx.h
+++ b/drivers/staging/vt6656/rxtx.h
@@ -215,7 +215,7 @@ union vnt_tx_head {
 };
 
 struct vnt_tx_fifo_head {
-	u32 adwTxKey[4];
+	u8 tx_key[16];
 	u16 wFIFOCtl;
 	u16 wTimeStamp;
 	u16 wFragCtl;
-- 
1.8.3.2


^ permalink raw reply related

* [PATCH] mac80211: Remove check for offchannel state when waking netdev queues
From: Seth Forshee @ 2013-10-15 21:16 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless

6c17b77b67587b9f9e3070fb89fe98cef3187131 ensures that a device's
mac80211 queues will remain stopped while offchannel. Since the
vif can no longer be offchannel when the queues wake it's not
necessary to check for this before waking its netdev queues.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
---
 net/mac80211/util.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index e1b34a1..561af30 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -300,9 +300,6 @@ void ieee80211_propagate_queue_wake(struct ieee80211_local *local, int queue)
 		if (!sdata->dev)
 			continue;
 
-		if (test_bit(SDATA_STATE_OFFCHANNEL, &sdata->state))
-			continue;
-
 		if (sdata->vif.cab_queue != IEEE80211_INVAL_HW_QUEUE &&
 		    local->queue_stop_reasons[sdata->vif.cab_queue] != 0)
 			continue;
-- 
1.8.3.2


^ permalink raw reply related

* [PATCH] drivers: net: wireless: Fix wrong check for reassociation request retry counter
From: Felipe Pena @ 2013-10-16  0:07 UTC (permalink / raw)
  To: Simon Kelley, John W. Linville; +Cc: linux-wireless, linux-kernel, Felipe Pena

There is a typo where the checking for priv->ReAssociationRequestRetryCnt must
be, it was checking for priv->AssociationRequestRetryCnt instead.

Signed-off-by: Felipe Pena <felipensp@gmail.com>
---
 drivers/net/wireless/atmel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c
index b827d51..9c35479 100644
--- a/drivers/net/wireless/atmel.c
+++ b/drivers/net/wireless/atmel.c
@@ -3212,7 +3212,7 @@ static void associate(struct atmel_private *priv, u16 frame_len, u16 subtype)
 	if (subtype == IEEE80211_STYPE_REASSOC_RESP &&
 	    status != WLAN_STATUS_ASSOC_DENIED_RATES &&
 	    status != WLAN_STATUS_CAPS_UNSUPPORTED &&
-	    priv->AssociationRequestRetryCnt < MAX_ASSOCIATION_RETRIES) {
+	    priv->ReAssociationRequestRetryCnt < MAX_ASSOCIATION_RETRIES) {
 		mod_timer(&priv->management_timer, jiffies + MGMT_JIFFIES);
 		priv->ReAssociationRequestRetryCnt++;
 		send_association_request(priv, 1);
--
1.7.10.4


^ permalink raw reply related

* Re: [PATCH 02/18] net: use wrapper functions of net_ratelimit() to simplify code
From: Kefeng Wang @ 2013-10-16  3:24 UTC (permalink / raw)
  To: Joe Perches
  Cc: linux-kernel, Greg Kroah-Hartman, David S. Miller,
	Pablo Neira Ayuso, Stephen Hemminger, Johannes Berg,
	John W. Linville, Stanislaw Gruszka, Johannes Berg,
	Francois Romieu, Ben Hutchings, Chas Williams, Marc Kleine-Budde,
	Samuel Ortiz, Paul Mackerras, Oliver Neukum,
	Konrad Rzeszutek Wilk, Boris Ostrovsky, David Vrabel,
	Rusty Russell, Michael S. Tsirkin, netfilter, netdev,
	linux-wireless, guohanjun
In-Reply-To: <1381854263.22110.19.camel@joe-AO722>

Thanks for your reply.

On 10/16 0:24, Joe Perches wrote:
> On Tue, 2013-10-15 at 19:44 +0800, Kefeng Wang wrote:
>> Wrapper functions net_ratelimited_function() and net_XXX_ratelimited()
>> are called to simplify code.
> []
>> diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c
> []
>> @@ -465,10 +465,8 @@ void br_fdb_update(struct net_bridge *br, struct net_bridge_port *source,
>>  	if (likely(fdb)) {
>>  		/* attempt to update an entry for a local interface */
>>  		if (unlikely(fdb->is_local)) {
>> -			if (net_ratelimit())
>> -				br_warn(br, "received packet on %s with "
>> -					"own address as source address\n",
>> -					source->dev->name);
>> +			net_ratelimited_function(br_warn, br, "received packet on %s "
>> +				"with own address as source address\n", source->dev->name);
> 
> Hello Kefeng.
> 
> When these types of lines are changed, please coalesce the
> fragmented format pieces into a single string.
> 
> It makes grep a bit easier and 80 columns limits don't
> apply to formats.

Got it, I will coalesce them, but 80 columns limits will be
broken.

> I think using net_ratelimited_function is not particularly
> clarifying here.
> 
> Maybe net_ratelimited_function should be removed instead
> of its use sites expanded.
> 
> Perhaps adding macros like #define br_warn_ratelimited()
> would be better.

yes, I found dev_emerg_ratelimited already exists. I should
use them and will add some similar mcaros.

> This comment applies to the whole series.
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
> .
> 



^ permalink raw reply

* Re: [PATCH 14/18] net: usb: use wrapper functions of net_ratelimit() to simplify code
From: Kefeng Wang @ 2013-10-16  3:27 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: linux-kernel, Greg Kroah-Hartman, David S. Miller,
	Pablo Neira Ayuso, Stephen Hemminger, Johannes Berg,
	John W. Linville, Stanislaw Gruszka, Johannes Berg,
	Francois Romieu, Ben Hutchings, Chas Williams, Marc Kleine-Budde,
	Samuel Ortiz, Paul Mackerras, Oliver Neukum,
	Konrad Rzeszutek Wilk, Boris Ostrovsky, David Vrabel,
	Rusty Russell, Michael S. Tsirkin, netfilter, netdev,
	linux-wireless, guohanjun
In-Reply-To: <525D921C.2030709@cogentembedded.com>

Thanks for you reply.
On 10/16 3:06, Sergei Shtylyov wrote:
> Hello.
> 
> On 10/15/2013 03:45 PM, Kefeng Wang wrote:
> 
>> net_ratelimited_function() is called to simplify code.
> 
>> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
>> ---
>>   drivers/net/usb/usbnet.c | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
>> diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c
>> index bf94e10..edf81de 100644
>> --- a/drivers/net/usb/usbnet.c
>> +++ b/drivers/net/usb/usbnet.c
>> @@ -450,8 +450,8 @@ void usbnet_defer_kevent (struct usbnet *dev, int work)
>>   {
>>       set_bit (work, &dev->flags);
>>       if (!schedule_work (&dev->kevent)) {
>> -        if (net_ratelimit())
>> -            netdev_err(dev->net, "kevent %d may have been dropped\n", work);
>> +        net_ratelimited_function(netdev_err, dev->net,
>> +            "kevent %d may have been dropped\n", work);
> 
>    The continuation line should start under 'netdev_err'. Same about the other patches where you didn't change the indentation of the continuation lines though you should have.

Got it, indentation will be changed.

> WBR, Sergei
> 
> 
> .
> 



^ permalink raw reply

* iwlwifi Centrino Advanced-N 6235, setting regulatory domain with iw reg set XX doesn't work.
From: Sander Eikelenboom @ 2013-10-16  8:45 UTC (permalink / raw)
  To: Grumbach, Emmanuel
  Cc: John W. Linville, Berg, Johannes, ilw@linux.intel.com,
	netdev@vger.kernel.org, linux-wireless@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]

Hi

I seem to have to take a second hurdle in using my Centrino Advanced-N 6235 with linux.

I'm trying to set the regulatory domain (currenly world domain (00))
But a "iw reg set US" or "iw reg set NL" does not succeed.

# iw reg get
country 00:
        (2402 - 2472 @ 40), (6, 20)
        (2457 - 2482 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS
        (2474 - 2494 @ 20), (6, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
        (5170 - 5250 @ 80), (6, 20), PASSIVE-SCAN, NO-IBSS
        (5735 - 5835 @ 80), (6, 20), PASSIVE-SCAN, NO-IBSS
        (57240 - 63720 @ 2160), (N/A, 0)

# iw reg set US

# iw reg get
country 00:
        (2402 - 2472 @ 40), (6, 20)
        (2457 - 2482 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS
        (2474 - 2494 @ 20), (6, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
        (5170 - 5250 @ 80), (6, 20), PASSIVE-SCAN, NO-IBSS
        (5735 - 5835 @ 80), (6, 20), PASSIVE-SCAN, NO-IBSS
        (57240 - 63720 @ 2160), (N/A, 0)


The only thing is this message in dmesg:
"cfg80211: Pending regulatory request, waiting for it to be processed...".

I did enable some of the kernel wifi debug options, but there is no error or more informatie.
But it doesn't get set as you can see above.

Attached:
dmesg.txt      complete dmesg
iw-info.txt    output of "iw phy0 info"

--

Sander

[-- Attachment #2: dmesg.txt --]
[-- Type: text/plain, Size: 55766 bytes --]

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.12.0-rc5+ (root@creabox) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Tue Oct 15 23:35:58 CEST 2013
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.12.0-rc5+ root=/dev/mapper/creabox-creabox_dom0 ro verbose debug loglevel=10 iwlwifi.debug=0xC0800000
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000020200000-0x0000000040003fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000040004000-0x0000000040004fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000040005000-0x00000000db9f0fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000db9f1000-0x00000000dbe6ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000dbe70000-0x00000000dbe7ffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000dbe80000-0x00000000dbf9dfff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000dbf9e000-0x00000000dc20cfff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000dc20d000-0x00000000dc20dfff] usable
[    0.000000] BIOS-e820: [mem 0x00000000dc20e000-0x00000000dc250fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000dc251000-0x00000000dcffffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000dd000000-0x00000000df9fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed00000-0x00000000fed03fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000021e5fffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.7 present.
[    0.000000] DMI:                  /D53427RKE, BIOS RKPPT10H.86A.0017.2013.0425.1251 04/25/2013
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] No AGP bridge found
[    0.000000] e820: last_pfn = 0x21e600 max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-BFFFF uncachable
[    0.000000]   C0000-CFFFF write-protect
[    0.000000]   D0000-E7FFF uncachable
[    0.000000]   E8000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 000000000 mask E00000000 write-back
[    0.000000]   1 base 200000000 mask FE0000000 write-back
[    0.000000]   2 base 0E0000000 mask FE0000000 uncachable
[    0.000000]   3 base 0DE000000 mask FFE000000 uncachable
[    0.000000]   4 base 0DD800000 mask FFF800000 uncachable
[    0.000000]   5 base 21F000000 mask FFF000000 uncachable
[    0.000000]   6 base 21E800000 mask FFF800000 uncachable
[    0.000000]   7 base 21E600000 mask FFFE00000 uncachable
[    0.000000]   8 disabled
[    0.000000]   9 disabled
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] e820: update [mem 0xdd800000-0xffffffff] usable ==> reserved
[    0.000000] e820: last_pfn = 0xdd000 max_arch_pfn = 0x400000000
[    0.000000] found SMP MP-table at [mem 0x000fd730-0x000fd73f] mapped at [ffff8800000fd730]
[    0.000000] Base memory trampoline at [ffff880000097000] 97000 size 24576
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000]  [mem 0x00000000-0x000fffff] page 4k
[    0.000000] BRK [0x02110000, 0x02110fff] PGTABLE
[    0.000000] BRK [0x02111000, 0x02111fff] PGTABLE
[    0.000000] BRK [0x02112000, 0x02112fff] PGTABLE
[    0.000000] init_memory_mapping: [mem 0x21e400000-0x21e5fffff]
[    0.000000]  [mem 0x21e400000-0x21e5fffff] page 2M
[    0.000000] BRK [0x02113000, 0x02113fff] PGTABLE
[    0.000000] init_memory_mapping: [mem 0x21c000000-0x21e3fffff]
[    0.000000]  [mem 0x21c000000-0x21e3fffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x200000000-0x21bffffff]
[    0.000000]  [mem 0x200000000-0x21bffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x00100000-0x1fffffff]
[    0.000000]  [mem 0x00100000-0x001fffff] page 4k
[    0.000000]  [mem 0x00200000-0x1fffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x20200000-0x40003fff]
[    0.000000]  [mem 0x20200000-0x3fffffff] page 2M
[    0.000000]  [mem 0x40000000-0x40003fff] page 4k
[    0.000000] BRK [0x02114000, 0x02114fff] PGTABLE
[    0.000000] BRK [0x02115000, 0x02115fff] PGTABLE
[    0.000000] init_memory_mapping: [mem 0x40005000-0xdb9f0fff]
[    0.000000]  [mem 0x40005000-0x401fffff] page 4k
[    0.000000]  [mem 0x40200000-0xdb7fffff] page 2M
[    0.000000]  [mem 0xdb800000-0xdb9f0fff] page 4k
[    0.000000] init_memory_mapping: [mem 0xdc20d000-0xdc20dfff]
[    0.000000]  [mem 0xdc20d000-0xdc20dfff] page 4k
[    0.000000] init_memory_mapping: [mem 0xdc251000-0xdcffffff]
[    0.000000]  [mem 0xdc251000-0xdc3fffff] page 4k
[    0.000000]  [mem 0xdc400000-0xdcffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x100000000-0x1ffffffff]
[    0.000000]  [mem 0x100000000-0x1ffffffff] page 2M
[    0.000000] RAMDISK: [mem 0x36dca000-0x376dcfff]
[    0.000000] ACPI: RSDP 00000000000f0490 00024 (v02  Intel)
[    0.000000] ACPI: XSDT 00000000dbe74080 0007C (v01  Intel D53427RK 00000011 AMI  00010013)
[    0.000000] ACPI: FACP 00000000dbe7e100 0010C (v05  Intel D53427RK 00000011 AMI  00010013)
[    0.000000] ACPI: DSDT 00000000dbe74188 09F72 (v02  Intel D53427RK 00000011 INTL 20051117)
[    0.000000] ACPI: FACS 00000000dbf9c080 00040
[    0.000000] ACPI: APIC 00000000dbe7e210 00072 (v03  Intel D53427RK 00000011 AMI  00010013)
[    0.000000] ACPI: FPDT 00000000dbe7e288 00044 (v01  Intel D53427RK 00000011 AMI  00010013)
[    0.000000] ACPI: TCPA 00000000dbe7e2d0 00032 (v02 APTIO4  NAPAASF 00000011 MSFT 01000013)
[    0.000000] ACPI: MCFG 00000000dbe7e308 0003C (v01  Intel D53427RK 00000011 MSFT 00000097)
[    0.000000] ACPI: HPET 00000000dbe7e348 00038 (v01  Intel D53427RK 00000011 AMI. 00000005)
[    0.000000] ACPI: SSDT 00000000dbe7e380 00315 (v01 SataRe SataTabl 00000011 INTL 20091112)
[    0.000000] ACPI: SSDT 00000000dbe7e698 009AA (v01  PmRef  Cpu0Ist 00000011 INTL 20051117)
[    0.000000] ACPI: SSDT 00000000dbe7f048 00B22 (v01  PmRef    CpuPm 00000011 INTL 20051117)
[    0.000000] ACPI: DMAR 00000000dbe7fb70 000B8 (v01 INTEL      SNB  00000011 INTL 00000001)
[    0.000000] ACPI: ASF! 00000000dbe7fc28 000A5 (v32 INTEL       HCG 00000011 TFSM 000F4240)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000021e5fffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x21e5fffff]
[    0.000000]   NODE_DATA [mem 0x21e5f4000-0x21e5f7fff]
[    0.000000]  [ffffea0000000000-ffffea00077fffff] PMD -> [ffff880215c00000-ffff88021cdfffff] on node 0
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   [mem 0x100000000-0x21e5fffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009cfff]
[    0.000000]   node   0: [mem 0x00100000-0x1fffffff]
[    0.000000]   node   0: [mem 0x20200000-0x40003fff]
[    0.000000]   node   0: [mem 0x40005000-0xdb9f0fff]
[    0.000000]   node   0: [mem 0xdc20d000-0xdc20dfff]
[    0.000000]   node   0: [mem 0xdc251000-0xdcffffff]
[    0.000000]   node   0: [mem 0x100000000-0x21e5fffff]
[    0.000000] On node 0 totalpages: 2075452
[    0.000000]   DMA zone: 56 pages used for memmap
[    0.000000]   DMA zone: 21 pages reserved
[    0.000000]   DMA zone: 3996 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 12284 pages used for memmap
[    0.000000]   DMA32 zone: 898464 pages, LIFO batch:31
[    0.000000]   Normal zone: 16037 pages used for memmap
[    0.000000]   Normal zone: 1172992 pages, LIFO batch:31
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[    0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.000000] nr_irqs_gsi: 40
[    0.000000] e820: [mem 0xdfa00000-0xf7ffffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] setup_percpu: NR_CPUS:16 nr_cpumask_bits:16 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff88021e200000 s84928 r8192 d21568 u524288
[    0.000000] pcpu-alloc: s84928 r8192 d21568 u524288 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 1 2 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 2047054
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.12.0-rc5+ root=/dev/mapper/creabox-creabox_dom0 ro verbose debug loglevel=10 iwlwifi.debug=0xC0800000
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 8091496K/8301808K available (8936K kernel code, 1096K rwdata, 3584K rodata, 1140K init, 868K bss, 210312K reserved)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000] NR_IRQS:4352 nr_irqs:712 16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [tty0] enabled
[    0.000000] hpet clockevent registered
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.004000] tsc: Detected 2294.839 MHz processor
[    0.000002] Calibrating delay loop (skipped), value calculated using timer frequency.. 4589.67 BogoMIPS (lpj=9179356)
[    0.001536] pid_max: default: 32768 minimum: 301
[    0.001633] Security Framework initialized
[    0.002415] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.005432] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.006792] Mount-cache hash table entries: 256
[    0.007082] Initializing cgroup subsys devices
[    0.007153] Initializing cgroup subsys freezer
[    0.007221] Initializing cgroup subsys net_cls
[    0.007286] Initializing cgroup subsys blkio
[    0.007374] Initializing cgroup subsys perf_event
[    0.007467] CPU: Physical Processor ID: 0
[    0.007536] CPU: Processor Core ID: 0
[    0.007605] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.007605] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    0.008225] mce: CPU supports 7 MCE banks
[    0.008307] CPU0: Thermal monitoring enabled (TM1)
[    0.008386] Last level iTLB entries: 4KB 512, 2MB 0, 4MB 0
[    0.008386] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32
[    0.008386] tlb_flushall_shift: 1
[    0.008682] Freeing SMP alternatives memory: 20K (ffffffff82031000 - ffffffff82036000)
[    0.009342] ACPI: Core revision 20130725
[    0.016867] ACPI: All ACPI Tables successfully acquired
[    0.018339] dmar: Host address width 36
[    0.018407] dmar: DRHD base: 0x000000fed90000 flags: 0x0
[    0.018482] dmar: IOMMU 0: reg_base_addr fed90000 ver 1:0 cap c0000020e60262 ecap f0101a
[    0.018563] dmar: DRHD base: 0x000000fed91000 flags: 0x1
[    0.018633] dmar: IOMMU 1: reg_base_addr fed91000 ver 1:0 cap c9008020660262 ecap f0105a
[    0.018720] dmar: RMRR base: 0x000000dbe07000 end: 0x000000dbe13fff
[    0.018786] dmar: RMRR base: 0x000000dd800000 end: 0x000000df9fffff
[    0.018928] IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
[    0.018996] HPET id 0 under DRHD base 0xfed91000
[    0.019260] Enabled IRQ remapping in x2apic mode
[    0.019327] Enabling x2apic
[    0.019390] Enabled x2apic
[    0.019469] Switched APIC routing to cluster x2apic.
[    0.020000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.059729] smpboot: CPU0: Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz (fam: 06, model: 3a, stepping: 09)
[    0.059957] TSC deadline timer enabled
[    0.060029] Performance Events: PEBS fmt1+, 16-deep LBR, IvyBridge events, full-width counters, Intel PMU driver.
[    0.060343] ... version:                3
[    0.060407] ... bit width:              48
[    0.060472] ... generic registers:      4
[    0.060534] ... value mask:             0000ffffffffffff
[    0.060601] ... max period:             0000ffffffffffff
[    0.060665] ... fixed-purpose events:   3
[    0.060730] ... event mask:             000000070000000f
[    0.074810] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[    0.061110] smpboot: Booting Node   0, Processors  #   1 #   2 #   3 OK
[    0.102449] Brought up 4 CPUs
[    0.102518] smpboot: Total of 4 processors activated (18358.71 BogoMIPS)
[    0.106829] devtmpfs: initialized
[    0.107746] xor: automatically using best checksumming function:
[    0.146553]    avx       : 12154.000 MB/sec
[    0.146691] NET: Registered protocol family 16
[    0.147058] cpuidle: using governor ladder
[    0.147127] cpuidle: using governor menu
[    0.147385] ACPI: bus type PCI registered
[    0.147455] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.147577] dca service started, version 1.12.1
[    0.147667] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[    0.147756] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
[    0.152552] PCI: Using configuration type 1 for base access
[    0.155592] bio: create slab <bio-0> at 0
[    0.222552] raid6: sse2x1    4623 MB/s
[    0.290547] raid6: sse2x2    5727 MB/s
[    0.358539] raid6: sse2x4    6507 MB/s
[    0.358607] raid6: using algorithm sse2x4 (6507 MB/s)
[    0.358675] raid6: using ssse3x2 recovery algorithm
[    0.358789] ACPI: Added _OSI(Module Device)
[    0.358858] ACPI: Added _OSI(Processor Device)
[    0.358924] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.358990] ACPI: Added _OSI(Processor Aggregator Device)
[    0.360878] ACPI: EC: Look up EC in DSDT
[    0.362927] ACPI: Executed 1 blocks of module-level executable AML code
[    0.375169] ACPI: SSDT 00000000dbe1d018 0083B (v01  PmRef  Cpu0Cst 00003001 INTL 20051117)
[    0.375823] ACPI: Dynamic OEM Table Load:
[    0.375979] ACPI: SSDT           (null) 0083B (v01  PmRef  Cpu0Cst 00003001 INTL 20051117)
[    0.386894] ACPI: SSDT 00000000dbe1ea98 00303 (v01  PmRef    ApIst 00003000 INTL 20051117)
[    0.387591] ACPI: Dynamic OEM Table Load:
[    0.387746] ACPI: SSDT           (null) 00303 (v01  PmRef    ApIst 00003000 INTL 20051117)
[    0.398712] ACPI: SSDT 00000000dbe1fc18 00119 (v01  PmRef    ApCst 00003000 INTL 20051117)
[    0.399342] ACPI: Dynamic OEM Table Load:
[    0.399499] ACPI: SSDT           (null) 00119 (v01  PmRef    ApCst 00003000 INTL 20051117)
[    0.411401] ACPI: Interpreter enabled
[    0.411477] ACPI: (supports S0 S5)
[    0.411542] ACPI: Using IOAPIC for interrupt routing
[    0.411646] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.411949] ACPI: No dock devices found.
[    0.422320] ACPI: Power Resource [FN00] (off)
[    0.422509] ACPI: Power Resource [FN01] (off)
[    0.422702] ACPI: Power Resource [FN02] (off)
[    0.422886] ACPI: Power Resource [FN03] (off)
[    0.423070] ACPI: Power Resource [FN04] (off)
[    0.423997] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e])
[    0.424448] acpi PNP0A08:00: Requesting ACPI _OSC control (0x1d)
[    0.425202] acpi PNP0A08:00: ACPI _OSC control (0x1d) granted
[    0.425978] ACPI: \_SB_.PCI0.TPMX: can't evaluate _ADR (0x5)
[    0.426295] ACPI: \_SB_.PCI0.PDRC: can't evaluate _ADR (0x5)
[    0.426368] ACPI: \_SB_.PCI0.ITPM: can't evaluate _ADR (0x5)
[    0.426437] ACPI: \_SB_.PCI0.DOCK: can't evaluate _ADR (0x5)
[    0.426506] PCI host bridge to bus 0000:00
[    0.426570] pci_bus 0000:00: root bus resource [bus 00-3e]
[    0.426645] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7]
[    0.426715] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff]
[    0.426785] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
[    0.426856] pci_bus 0000:00: root bus resource [mem 0x000d0000-0x000d3fff]
[    0.426927] pci_bus 0000:00: root bus resource [mem 0x000d4000-0x000d7fff]
[    0.426996] pci_bus 0000:00: root bus resource [mem 0x000d8000-0x000dbfff]
[    0.427067] pci_bus 0000:00: root bus resource [mem 0x000dc000-0x000dffff]
[    0.427138] pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000e3fff]
[    0.427208] pci_bus 0000:00: root bus resource [mem 0x000e4000-0x000e7fff]
[    0.427278] pci_bus 0000:00: root bus resource [mem 0xdfa00000-0xfeafffff]
[    0.427354] pci 0000:00:00.0: [8086:0154] type 00 class 0x060000
[    0.427560] pci 0000:00:02.0: [8086:0166] type 00 class 0x030000
[    0.427641] pci 0000:00:02.0: reg 0x10: [mem 0xf7800000-0xf7bfffff 64bit]
[    0.427720] pci 0000:00:02.0: reg 0x18: [mem 0xe0000000-0xefffffff 64bit pref]
[    0.427810] pci 0000:00:02.0: reg 0x20: [io  0xf000-0xf03f]
[    0.428036] pci 0000:00:14.0: [8086:1e31] type 00 class 0x0c0330
[    0.428132] pci 0000:00:14.0: reg 0x10: [mem 0xf7d20000-0xf7d2ffff 64bit]
[    0.428283] pci 0000:00:14.0: PME# supported from D3hot D3cold
[    0.428427] pci 0000:00:14.0: System wakeup disabled by ACPI
[    0.428551] pci 0000:00:16.0: [8086:1e3a] type 00 class 0x078000
[    0.428645] pci 0000:00:16.0: reg 0x10: [mem 0xf7d3c000-0xf7d3c00f 64bit]
[    0.428803] pci 0000:00:16.0: PME# supported from D0 D3hot D3cold
[    0.428989] pci 0000:00:16.3: [8086:1e3d] type 00 class 0x070002
[    0.429078] pci 0000:00:16.3: reg 0x10: [io  0xf0e0-0xf0e7]
[    0.429158] pci 0000:00:16.3: reg 0x14: [mem 0xf7d3a000-0xf7d3afff]
[    0.429426] pci 0000:00:19.0: [8086:1502] type 00 class 0x020000
[    0.429515] pci 0000:00:19.0: reg 0x10: [mem 0xf7d00000-0xf7d1ffff]
[    0.429593] pci 0000:00:19.0: reg 0x14: [mem 0xf7d39000-0xf7d39fff]
[    0.429671] pci 0000:00:19.0: reg 0x18: [io  0xf080-0xf09f]
[    0.429809] pci 0000:00:19.0: PME# supported from D0 D3hot D3cold
[    0.429950] pci 0000:00:19.0: System wakeup disabled by ACPI
[    0.430075] pci 0000:00:1a.0: [8086:1e2d] type 00 class 0x0c0320
[    0.430163] pci 0000:00:1a.0: reg 0x10: [mem 0xf7d38000-0xf7d383ff]
[    0.430335] pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold
[    0.430494] pci 0000:00:1a.0: System wakeup disabled by ACPI
[    0.430613] pci 0000:00:1b.0: [8086:1e20] type 00 class 0x040300
[    0.430706] pci 0000:00:1b.0: reg 0x10: [mem 0xf7d30000-0xf7d33fff 64bit]
[    0.430857] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[    0.431002] pci 0000:00:1b.0: System wakeup disabled by ACPI
[    0.431124] pci 0000:00:1c.0: [8086:1e10] type 01 class 0x060400
[    0.431323] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    0.431476] pci 0000:00:1c.0: System wakeup disabled by ACPI
[    0.431602] pci 0000:00:1c.2: [8086:1e14] type 01 class 0x060400
[    0.431802] pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
[    0.431956] pci 0000:00:1c.2: System wakeup disabled by ACPI
[    0.432084] pci 0000:00:1d.0: [8086:1e26] type 00 class 0x0c0320
[    0.432176] pci 0000:00:1d.0: reg 0x10: [mem 0xf7d37000-0xf7d373ff]
[    0.432348] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
[    0.432513] pci 0000:00:1d.0: System wakeup disabled by ACPI
[    0.432630] pci 0000:00:1f.0: [8086:1e56] type 00 class 0x060100
[    0.432928] pci 0000:00:1f.2: [8086:1e03] type 00 class 0x010601
[    0.433019] pci 0000:00:1f.2: reg 0x10: [io  0xf0d0-0xf0d7]
[    0.433094] pci 0000:00:1f.2: reg 0x14: [io  0xf0c0-0xf0c3]
[    0.433171] pci 0000:00:1f.2: reg 0x18: [io  0xf0b0-0xf0b7]
[    0.433245] pci 0000:00:1f.2: reg 0x1c: [io  0xf0a0-0xf0a3]
[    0.433321] pci 0000:00:1f.2: reg 0x20: [io  0xf060-0xf07f]
[    0.433399] pci 0000:00:1f.2: reg 0x24: [mem 0xf7d36000-0xf7d367ff]
[    0.433516] pci 0000:00:1f.2: PME# supported from D3hot
[    0.433694] pci 0000:00:1f.3: [8086:1e22] type 00 class 0x0c0500
[    0.433780] pci 0000:00:1f.3: reg 0x10: [mem 0xf7d35000-0xf7d350ff 64bit]
[    0.433871] pci 0000:00:1f.3: reg 0x20: [io  0xf040-0xf05f]
[    0.434167] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.435938] pci 0000:02:00.0: [8086:088e] type 00 class 0x028000
[    0.436191] pci 0000:02:00.0: reg 0x10: [mem 0xf7c00000-0xf7c01fff 64bit]
[    0.437028] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    0.437267] pci 0000:02:00.0: System wakeup disabled by ACPI
[    0.443791] pci 0000:00:1c.2: PCI bridge to [bus 02]
[    0.443868] pci 0000:00:1c.2:   bridge window [mem 0xf7c00000-0xf7cfffff]
[    0.444638] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 *11 12 14 15)
[    0.445268] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.445992] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 *4 5 6 10 11 12 14 15)
[    0.446615] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 *10 11 12 14 15)
[    0.447235] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 6 10 11 12 14 15)
[    0.447872] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.448594] ACPI: PCI Interrupt Link [LNKG] (IRQs *3 4 5 6 10 11 12 14 15)
[    0.449213] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 10 *11 12 14 15)
[    0.450055] ACPI: Enabled 6 GPEs in block 00 to 3F
[    0.450218] ACPI: \_SB_.PCI0: notify handler is installed
[    0.450355] Found 1 acpi root devices
[    0.450532] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[    0.450620] vgaarb: loaded
[    0.450684] vgaarb: bridge control possible 0000:00:02.0
[    0.450880] SCSI subsystem initialized
[    0.451001] libata version 3.00 loaded.
[    0.451092] ACPI: bus type USB registered
[    0.451185] usbcore: registered new interface driver usbfs
[    0.451263] usbcore: registered new interface driver hub
[    0.451372] usbcore: registered new device driver usb
[    0.451464] pps_core: LinuxPPS API ver. 1 registered
[    0.451534] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.451621] PTP clock support registered
[    0.451732] wmi: Mapper loaded
[    0.451811] PCI: Using ACPI for IRQ routing
[    0.453760] PCI: pci_cache_line_size set to 64 bytes
[    0.453938] e820: reserve RAM buffer [mem 0x0009d800-0x0009ffff]
[    0.454011] e820: reserve RAM buffer [mem 0x40004000-0x43ffffff]
[    0.454076] e820: reserve RAM buffer [mem 0xdb9f1000-0xdbffffff]
[    0.454145] e820: reserve RAM buffer [mem 0xdc20e000-0xdfffffff]
[    0.454214] e820: reserve RAM buffer [mem 0xdd000000-0xdfffffff]
[    0.454283] e820: reserve RAM buffer [mem 0x21e600000-0x21fffffff]
[    0.454543] cfg80211: Calling CRDA to update world regulatory domain
[    0.454917] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[    0.455380] hpet0: 8 comparators, 64-bit 14.318180 MHz counter
[    0.457476] Switched to clocksource hpet
[    0.463132] FS-Cache: Loaded
[    0.463261] CacheFiles: Loaded
[    0.463339] pnp: PnP ACPI init
[    0.463417] ACPI: bus type PNP registered
[    0.463545] pnp 00:00: [dma 4]
[    0.463639] pnp 00:00: Plug and Play ACPI device, IDs PNP0200 (active)
[    0.463742] pnp 00:01: Plug and Play ACPI device, IDs INT0800 (active)
[    0.463955] pnp 00:02: Plug and Play ACPI device, IDs PNP0103 (active)
[    0.464086] system 00:03: [io  0x0680-0x069f] has been reserved
[    0.464159] system 00:03: [io  0x1000-0x100f] has been reserved
[    0.464228] system 00:03: [io  0xffff] has been reserved
[    0.464297] system 00:03: [io  0xffff] has been reserved
[    0.464366] system 00:03: [io  0x0400-0x0453] could not be reserved
[    0.464437] system 00:03: [io  0x0458-0x047f] has been reserved
[    0.464507] system 00:03: [io  0x0500-0x057f] has been reserved
[    0.464574] system 00:03: [io  0x164e-0x164f] has been reserved
[    0.464644] system 00:03: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.464757] pnp 00:04: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.464890] system 00:05: [io  0x0454-0x0457] has been reserved
[    0.464964] system 00:05: Plug and Play ACPI device, IDs INT3f0d PNP0c02 (active)
[    0.465220] system 00:06: [io  0x0a00-0x0a1f] has been reserved
[    0.465294] system 00:06: [io  0x0a30-0x0a3f] has been reserved
[    0.465363] system 00:06: [io  0x0a20-0x0a2f] has been reserved
[    0.465431] system 00:06: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.465609] system 00:07: [io  0x04d0-0x04d1] has been reserved
[    0.465680] system 00:07: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.465787] pnp 00:08: Plug and Play ACPI device, IDs PNP0c04 (active)
[    0.465912] pnp 00:09: Plug and Play ACPI device, IDs PNP0c31 (active)
[    0.466311] system 00:0a: [mem 0xfed1c000-0xfed1ffff] has been reserved
[    0.466385] system 00:0a: [mem 0xfed10000-0xfed17fff] has been reserved
[    0.466455] system 00:0a: [mem 0xfed18000-0xfed18fff] has been reserved
[    0.466526] system 00:0a: [mem 0xfed19000-0xfed19fff] has been reserved
[    0.466597] system 00:0a: [mem 0xf8000000-0xfbffffff] has been reserved
[    0.466667] system 00:0a: [mem 0xfed20000-0xfed3ffff] has been reserved
[    0.466738] system 00:0a: [mem 0xfed90000-0xfed93fff] could not be reserved
[    0.466810] system 00:0a: [mem 0xfed45000-0xfed8ffff] has been reserved
[    0.466881] system 00:0a: [mem 0xff000000-0xffffffff] has been reserved
[    0.466949] system 00:0a: [mem 0xfee00000-0xfeefffff] could not be reserved
[    0.467020] system 00:0a: [mem 0xdfa00000-0xdfa00fff] has been reserved
[    0.467091] system 00:0a: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.467421] system 00:0b: [mem 0x20000000-0x201fffff] has been reserved
[    0.467493] system 00:0b: [mem 0x40004000-0x40004fff] has been reserved
[    0.467562] system 00:0b: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.467657] pnp: PnP ACPI: found 12 devices
[    0.467726] ACPI: bus type PNP unregistered
[    0.475141] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.475230] pci 0000:00:1c.2: PCI bridge to [bus 02]
[    0.475303] pci 0000:00:1c.2:   bridge window [mem 0xf7c00000-0xf7cfffff]
[    0.475385] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7]
[    0.475452] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff]
[    0.475521] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
[    0.475590] pci_bus 0000:00: resource 7 [mem 0x000d0000-0x000d3fff]
[    0.475660] pci_bus 0000:00: resource 8 [mem 0x000d4000-0x000d7fff]
[    0.475728] pci_bus 0000:00: resource 9 [mem 0x000d8000-0x000dbfff]
[    0.475797] pci_bus 0000:00: resource 10 [mem 0x000dc000-0x000dffff]
[    0.475867] pci_bus 0000:00: resource 11 [mem 0x000e0000-0x000e3fff]
[    0.475938] pci_bus 0000:00: resource 12 [mem 0x000e4000-0x000e7fff]
[    0.476008] pci_bus 0000:00: resource 13 [mem 0xdfa00000-0xfeafffff]
[    0.476078] pci_bus 0000:02: resource 1 [mem 0xf7c00000-0xf7cfffff]
[    0.476220] NET: Registered protocol family 2
[    0.476609] TCP established hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.476958] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.477205] TCP: Hash tables configured (established 65536 bind 65536)
[    0.477298] TCP: reno registered
[    0.477380] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[    0.477515] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[    0.477682] NET: Registered protocol family 1
[    0.477762] pci 0000:00:02.0: Boot video device
[    0.517628] PCI: CLS 64 bytes, default 64
[    0.517743] Trying to unpack rootfs image as initramfs...
[    0.713195] Freeing initrd memory: 9292K (ffff880036dca000 - ffff8800376dd000)
[    0.713290] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.713382] software IO TLB [mem 0xd79f1000-0xdb9f1000] (64MB) mapped at [ffff8800d79f1000-ffff8800db9f0fff]
[    0.714296] microcode: CPU0 sig=0x306a9, pf=0x10, revision=0x17
[    0.714382] microcode: CPU1 sig=0x306a9, pf=0x10, revision=0x17
[    0.714459] microcode: CPU2 sig=0x306a9, pf=0x10, revision=0x17
[    0.714537] microcode: CPU3 sig=0x306a9, pf=0x10, revision=0x17
[    0.714656] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    0.722296] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
[    0.724667] sha1_ssse3: Using AVX optimized SHA-1 implementation
[    0.725085] audit: initializing netlink socket (disabled)
[    0.725170] type=2000 audit(1381919409.720:1): initialized
[    0.764821] bounce pool size: 64 pages
[    0.764895] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.765557] VFS: Disk quotas dquot_6.5.2
[    0.765655] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.766136] FS-Cache: Netfs 'cifs' registered for caching
[    0.766256] Key type cifs.spnego registered
[    0.766334] Key type cifs.idmap registered
[    0.766406] NTFS driver 2.1.30 [Flags: R/W].
[    0.766572] fuse init (API version 7.22)
[    0.766803] bio: create slab <bio-1> at 1
[    0.767041] Btrfs loaded
[    0.767117] msgmni has been set to 15821
[    0.771969] alg: No test for stdrng (krng)
[    0.778191] alg: No test for fips(ansi_cprng) (fips_ansi_cprng)
[    0.778346] NET: Registered protocol family 38
[    0.778442] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.778524] io scheduler noop registered
[    0.778589] io scheduler deadline registered
[    0.778676] io scheduler cfq registered (default)
[    0.779023] pcieport 0000:00:1c.0: irq 42 for MSI/MSI-X
[    0.779346] pcieport 0000:00:1c.2: irq 43 for MSI/MSI-X
[    0.779549] pcieport 0000:00:1c.0: Signaling PME through PCIe PME interrupt
[    0.779626] pcie_pme 0000:00:1c.0:pcie01: service driver pcie_pme loaded
[    0.779717] pcieport 0000:00:1c.2: Signaling PME through PCIe PME interrupt
[    0.779790] pci 0000:02:00.0: Signaling PME through PCIe PME interrupt
[    0.779864] pcie_pme 0000:00:1c.2:pcie01: service driver pcie_pme loaded
[    0.779950] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.780037] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.780110] cpcihp_zt5550: ZT5550 CompactPCI Hot Plug Driver version: 0.2
[    0.780195] cpcihp_generic: Generic port I/O CompactPCI Hot Plug Driver version: 0.1
[    0.780282] cpcihp_generic: not configured, disabling.
[    0.780361] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    0.782344] acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed
[    0.782465] vmlfb: initializing
[    0.782693] uvesafb: failed to execute /sbin/v86d
[    0.782762] uvesafb: make sure that the v86d helper is installed and executable
[    0.782844] uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2)
[    0.782914] uvesafb: vbe_init() failed with -22
[    0.782982] uvesafb: probe of uvesafb.0 failed with error -22
[    0.783093] vga16fb: initializing
[    0.783162] vga16fb: mapped to 0xffff8800000a0000
[    0.876905] Console: switching to colour frame buffer device 80x30
[    0.884071] fb0: VGA16 VGA frame buffer device
[    0.884337] intel_idle: MWAIT substates: 0x21120
[    0.884601] intel_idle: v0.4 model 0x3A
[    0.884844] intel_idle: lapic_timer_reliable_states 0xffffffff
[    0.885304] ipmi message handler version 39.2
[    0.897423] ipmi device interface
[    0.909647] IPMI System Interface driver.
[    0.921705] ipmi_si: Adding default-specified kcs state machine
[    0.933885] ipmi_si: Trying default-specified kcs state machine at i/o address 0xca2, slave address 0x0, irq 0
[    0.957489] ipmi_si: Interface detection failed
[    1.001221] ipmi_si: Adding default-specified smic state machine
[    1.013173] ipmi_si: Trying default-specified smic state machine at i/o address 0xca9, slave address 0x0, irq 0
[    1.036875] ipmi_si: Interface detection failed
[    1.073223] ipmi_si: Adding default-specified bt state machine
[    1.085079] ipmi_si: Trying default-specified bt state machine at i/o address 0xe4, slave address 0x0, irq 0
[    1.108244] ipmi_si: Interface detection failed
[    1.137192] ipmi_si: Unable to find any System Interface(s)
[    1.148731] IPMI Watchdog: driver initialized
[    1.160205] Copyright (C) 2004 MontaVista Software - IPMI Powerdown via sys_reboot.
[    1.182906] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0
[    1.205218] ACPI: Power Button [PWRB]
[    1.216553] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[    1.239057] ACPI: Power Button [PWRF]
[    1.250568] ACPI: Fan [FAN0] (off)
[    1.261799] ACPI: Fan [FAN1] (off)
[    1.272905] ACPI: Fan [FAN2] (off)
[    1.283934] ACPI: Fan [FAN3] (off)
[    1.294869] ACPI: Fan [FAN4] (off)
[    1.305688] ACPI: Requesting acpi_cpufreq
[    1.357570] thermal LNXTHERM:00: registered as thermal_zone0
[    1.368401] ACPI: Thermal Zone [TZ00] (28 C)
[    1.379332] thermal LNXTHERM:01: registered as thermal_zone1
[    1.389947] ACPI: Thermal Zone [TZ01] (30 C)
[    1.400290] GHES: HEST is not enabled!
[    1.410454] ioatdma: Intel(R) QuickData Technology Driver 4.00
[    1.420796] xenfs: not registering filesystem on non-xen platform
[    1.431196] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.462208] 0000:00:16.3: ttyS0 at I/O 0xf0e0 (irq = 19, base_baud = 115200) is a 16550A
[    1.482955] Non-volatile memory driver v1.3
[    1.493660] Linux agpgart interface v0.103
[    1.504000] Hangcheck: starting hangcheck timer 0.9.1 (tick is 180 seconds, margin is 60 seconds).
[    1.525628] Hangcheck: Using getrawmonotonic().
[    1.536855] tpm_tis 00:09: 1.2 TPM (device-id 0x0, rev-id 78)
[    1.593124] [drm] Initialized drm 1.1.0 20060810
[    1.603659] drm/i810 does not support SMP
[    1.615035] [drm] Memory usable by graphics device = 2048M
[    1.625256] checking generic (a0000 10000) vs hw (e0000000 10000000)
[    1.635551] fb: conflicting fb hw usage inteldrmfb vs VGA16 VGA - removing generic driver
[    1.675114] Console: switching to colour VGA+ 80x25
[    1.676074] i915 0000:00:02.0: setting latency timer to 64
[    1.698942] i915 0000:00:02.0: irq 44 for MSI/MSI-X
[    1.699021] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    1.699094] [drm] Driver supports precise vblank timestamp query.
[    1.699296] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    1.712855] tsc: Refined TSC clocksource calibration: 2294.792 MHz
[    1.796801] [drm] GMBUS [i915 gmbus vga] timed out, falling back to bit banging on pin 2
[    1.867013] fbcon: inteldrmfb (fb0) is primary device
[    2.071325] Console: switching to colour frame buffer device 210x65
[    2.082442] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    2.082507] i915 0000:00:02.0: registered panic notifier
[    2.114221] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    2.114377] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input2
[    2.114493] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[    2.116885] brd: module loaded
[    2.118046] loop: module loaded
[    2.118515] nbd: registered device at major 43
[    2.120637] events: mcg drbd: 7
[    2.124932] drbd: initialized. Version: 8.4.3 (api:1/proto:86-101)
[    2.124991] drbd: built-in
[    2.125018] drbd: registered as block device major 147
[    2.125239] mei_me 0000:00:16.0: setting latency timer to 64
[    2.125349] mei_me 0000:00:16.0: irq 45 for MSI/MSI-X
[    2.129492] ACPI Warning: 0x0000000000000428-0x000000000000042f SystemIO conflicts with Region \PMIO 1 (20130725/utaddress-251)
[    2.129607] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    2.129702] ACPI Warning: 0x0000000000000530-0x000000000000053f SystemIO conflicts with Region \GPIO 1 (20130725/utaddress-251)
[    2.129810] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    2.129899] ACPI Warning: 0x0000000000000500-0x000000000000052f SystemIO conflicts with Region \GPIO 1 (20130725/utaddress-251)
[    2.130007] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    2.130095] lpc_ich: Resource conflict(s) found affecting gpio_ich
[    2.130187] Loading iSCSI transport class v2.0-870.
[    2.130385] hv_vmbus: registering driver hv_storvsc
[    2.130514] ahci 0000:00:1f.2: version 3.0
[    2.130730] ahci 0000:00:1f.2: irq 46 for MSI/MSI-X
[    2.130839] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x1 impl SATA mode
[    2.130914] ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part ems apst 
[    2.130988] ahci 0000:00:1f.2: setting latency timer to 64
[    2.131807] scsi0 : ahci
[    2.132053] scsi1 : ahci
[    2.132258] scsi2 : ahci
[    2.132422] scsi3 : ahci
[    2.132549] scsi4 : ahci
[    2.132673] scsi5 : ahci
[    2.132755] ata1: SATA max UDMA/133 abar m2048@0xf7d36000 port 0xf7d36100 irq 46
[    2.132822] ata2: DUMMY
[    2.132847] ata3: DUMMY
[    2.132874] ata4: DUMMY
[    2.132898] ata5: DUMMY
[    2.134650] ata6: DUMMY
[    2.136479] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    2.138834] eql: Equalizer2002: Simon Janes (simon@ncm.com) and David S. Miller (davem@redhat.com)
[    2.141371] tun: Universal TUN/TAP device driver, 1.6
[    2.143306] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.145363] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[    2.147389] e100: Copyright(c) 1999-2006 Intel Corporation
[    2.149475] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    2.151597] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    2.153775] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[    2.155960] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
[    2.158343] e1000e 0000:00:19.0: setting latency timer to 64
[    2.160669] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    2.163032] e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
[    2.372986] e1000e 0000:00:19.0 eth0: registered PHC clock
[    2.375379] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) ec:a8:6b:fa:7b:3c
[    2.377828] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[    2.380347] e1000e 0000:00:19.0 eth0: MAC: 10, PHY: 11, PBA No: FFFFFF-0FF
[    2.382870] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.0.5-k
[    2.385422] igb: Copyright (c) 2007-2013 Intel Corporation.
[    2.388010] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.0.2-k
[    2.390658] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    2.393359] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 3.15.1-k
[    2.396099] ixgbe: Copyright (c) 1999-2013 Intel Corporation.
[    2.398862] ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver - version 2.7.12-k
[    2.401641] ixgbevf: Copyright (c) 2009 - 2012 Intel Corporation.
[    2.404418] ixgb: Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-NAPI
[    2.407220] ixgb: Copyright (c) 1999-2008 Intel Corporation.
[    2.410060] ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, git-1.2.2
[    2.412837] ipw2100: Copyright(c) 2003-2006 Intel Corporation
[    2.415597] libipw: 802.11 data/management/control stack, git-1.1.13
[    2.418342] libipw: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
[    2.421136] Intel(R) Wireless WiFi driver for Linux, in-tree:d
[    2.423933] Copyright(c) 2003-2013 Intel Corporation
[    2.426980] iwlwifi 0000:02:00.0: irq 48 for MSI/MSI-X
[    2.430327] iwlwifi 0000:02:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[    2.433233] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG enabled
[    2.436054] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[    2.438850] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[    2.441652] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6235 AGN, REV=0xB0
[    2.444497] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
[    2.452503] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    2.455858] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[    2.458608] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[    2.461295] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[    2.464199] ata1.00: supports DRM functions and may not be fully accessible
[    2.464997] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
[    2.465041] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[    2.465254] iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree:d
[    2.465255] iwl4965: Copyright(c) 2003-2011 Intel Corporation
[    2.465281] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:ds
[    2.465282] iwl3945: Copyright(c) 2003-2011 Intel Corporation
[    2.465421] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.465423] ehci-pci: EHCI PCI platform driver
[    2.465636] ehci-pci 0000:00:1a.0: setting latency timer to 64
[    2.465646] ehci-pci 0000:00:1a.0: EHCI Host Controller
[    2.465754] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
[    2.465775] ehci-pci 0000:00:1a.0: debug port 2
[    2.469688] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
[    2.469714] ehci-pci 0000:00:1a.0: irq 16, io mem 0xf7d38000
[    2.480470] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[    2.480539] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.480541] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.480544] usb usb1: Product: EHCI Host Controller
[    2.480546] usb usb1: Manufacturer: Linux 3.12.0-rc5+ ehci_hcd
[    2.480548] usb usb1: SerialNumber: 0000:00:1a.0
[    2.480774] hub 1-0:1.0: USB hub found
[    2.480786] hub 1-0:1.0: 3 ports detected
[    2.481210] ehci-pci 0000:00:1d.0: setting latency timer to 64
[    2.481221] ehci-pci 0000:00:1d.0: EHCI Host Controller
[    2.481331] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
[    2.481350] ehci-pci 0000:00:1d.0: debug port 2
[    2.485244] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[    2.485270] ehci-pci 0000:00:1d.0: irq 23, io mem 0xf7d37000
[    2.496454] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[    2.496506] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    2.496509] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.496512] usb usb2: Product: EHCI Host Controller
[    2.496514] usb usb2: Manufacturer: Linux 3.12.0-rc5+ ehci_hcd
[    2.496516] usb usb2: SerialNumber: 0000:00:1d.0
[    2.496726] hub 2-0:1.0: USB hub found
[    2.496735] hub 2-0:1.0: 3 ports detected
[    2.496993] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.496994] ohci-pci: OHCI PCI platform driver
[    2.497014] ohci-platform: OHCI generic platform driver
[    2.497030] uhci_hcd: USB Universal Host Controller Interface driver
[    2.589492] xhci_hcd 0000:00:14.0: setting latency timer to 64
[    2.592122] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    2.592171] ata1.00: ATA-9: Crucial_CT120M500SSD3, MU03, max UDMA/133
[    2.592173] ata1.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    2.599969] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[    2.600033] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[    2.600158] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[    2.600196] xhci_hcd 0000:00:14.0: irq 49 for MSI/MSI-X
[    2.600307] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    2.600310] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.600312] usb usb3: Product: xHCI Host Controller
[    2.600315] usb usb3: Manufacturer: Linux 3.12.0-rc5+ xhci_hcd
[    2.600317] usb usb3: SerialNumber: 0000:00:14.0
[    2.600562] hub 3-0:1.0: USB hub found
[    2.600578] hub 3-0:1.0: 4 ports detected
[    2.601291] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    2.601399] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 4
[    2.601465] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    2.601468] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.601471] usb usb4: Product: xHCI Host Controller
[    2.601473] usb usb4: Manufacturer: Linux 3.12.0-rc5+ xhci_hcd
[    2.601475] usb usb4: SerialNumber: 0000:00:14.0
[    2.601684] hub 4-0:1.0: USB hub found
[    2.601698] hub 4-0:1.0: 4 ports detected
[    2.650369] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[    2.652800] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[    2.655517] ata1.00: supports DRM functions and may not be fully accessible
[    2.664320] ata1.00: configured for UDMA/133
[    2.664523] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    2.669265] scsi 0:0:0:0: Direct-Access     ATA      Crucial_CT120M50 MU03 PQ: 0 ANSI: 5
[    2.671813] sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/111 GiB)
[    2.671854] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    2.676599] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    2.679018] sd 0:0:0:0: [sda] Write Protect is off
[    2.681377] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.683735] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.686534]  sda: sda1
[    2.689465] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.816675] [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
[    3.703071] i8042: No controller found
[    3.705621] Switched to clocksource tsc
[    3.705657] mousedev: PS/2 mouse device common for all mice
[    3.705834] rtc_cmos 00:04: RTC can wake from S4
[    3.705976] rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
[    3.706015] rtc_cmos 00:04: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[    3.706202] i2c /dev entries driver
[    3.706733] ACPI Warning: 0x000000000000f040-0x000000000000f05f SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20130725/utaddress-251)
[    3.706735] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    3.706846] pps_ldisc: PPS line discipline registered
[    3.707246] w83627ehf: Found NCT6776F chip at 0xa30
[    3.707928] sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver v0.05
[    3.707974] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.10
[    3.707999] iTCO_wdt: Found a Panther Point TCO device (Version=2, TCOBASE=0x0460)
[    3.708060] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    3.708065] iTCO_vendor_support: vendor-support=0
[    3.708097] softdog: Software Watchdog Timer: 0.08 initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    3.746350] device-mapper: uevent: version 1.0.3
[    3.749218] device-mapper: ioctl: 4.26.0-ioctl (2013-08-15) initialised: dm-devel@redhat.com
[    3.752097] Intel P-state driver initializing.
[    3.754889] Intel pstate controlling: cpu 0
[    3.756677] Intel pstate controlling: cpu 1
[    3.758405] Intel pstate controlling: cpu 2
[    3.760152] Intel pstate controlling: cpu 3
[    3.761873] leds_ss4200: no LED devices found
[    3.763547] hidraw: raw HID events driver (C) Jiri Kosina
[    3.765309] usbcore: registered new interface driver usbhid
[    3.766975] usbhid: USB HID core driver
[    3.768653] hv_utils: Registering HyperV Utility Driver
[    3.770305] hv_vmbus: registering driver hv_util
[    3.772001] drop_monitor: Initializing network drop monitor service
[    3.773666] GACT probability on
[    3.775301] Mirror/redirect action on
[    3.776954] Simple TC action Loaded
[    3.778649] netem: version 1.3
[    3.780275] u32 classifier
[    3.781860]     Performance counters on
[    3.783447]     input device check on
[    3.785054]     Actions configured
[    3.786633] Netfilter messages via NETLINK v0.30.
[    3.788252] nfnl_acct: registering with nfnetlink.
[    3.789849] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    3.791541] ctnetlink v0.93: registering with nfnetlink.
[    3.793225] xt_time: kernel timezone is -0000
[    3.794824] ip_set: protocol 6
[    3.796435] IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
[    3.798070] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    3.799722] IPVS: Creating netns size=2048 id=0
[    3.801342] IPVS: ipvs loaded.
[    3.802950] IPVS: [rr] scheduler registered.
[    3.804546] IPVS: [wrr] scheduler registered.
[    3.806130] IPVS: [lc] scheduler registered.
[    3.807694] IPVS: [wlc] scheduler registered.
[    3.809251] IPVS: [lblc] scheduler registered.
[    3.810795] IPVS: [lblcr] scheduler registered.
[    3.812317] IPVS: [dh] scheduler registered.
[    3.813819] IPVS: [sh] scheduler registered.
[    3.815300] IPVS: [sed] scheduler registered.
[    3.815781] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    3.818330] IPVS: [nq] scheduler registered.
[    3.819921] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.821455] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    3.822963] arp_tables: (C) 2002 David S. Miller
[    3.824472] TCP: cubic registered
[    3.825953] Initializing XFRM netlink socket
[    3.827433] NET: Registered protocol family 17
[    3.828919] NET: Registered protocol family 15
[    3.830417] Bridge firewalling registered
[    3.831891] Ebtables v2.0 registered
[    3.867990] NET: Registered protocol family 33
[    3.869471] Key type rxrpc registered
[    3.870904] Key type rxrpc_s registered
[    3.872346] 8021q: 802.1Q VLAN Support v1.8
[    3.873705] lib80211: common routines for IEEE802.11 drivers
[    3.875045] lib80211_crypt: registered algorithm 'NULL'
[    3.876382] lib80211_crypt: registered algorithm 'WEP'
[    3.877694] lib80211_crypt: registered algorithm 'CCMP'
[    3.878981] lib80211_crypt: registered algorithm 'TKIP'
[    3.880260] Key type dns_resolver registered
[    3.882094] registered taskstats version 1
[    3.883857] console [netcon0] enabled
[    3.885161] netconsole: network logging started
[    3.886491] rtc_cmos 00:04: setting system clock to 2013-10-16 10:30:13 UTC (1381919413)
[    3.887744] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    3.888943] EDD information not available.
[    3.891350] Freeing unused kernel memory: 1140K (ffffffff81f14000 - ffffffff82031000)
[    3.892609] Write protecting the kernel read-only data: 14336k
[    3.897024] Freeing unused kernel memory: 1292K (ffff8800018bd000 - ffff880001a00000)
[    3.899556] Freeing unused kernel memory: 512K (ffff880001d80000 - ffff880001e00000)
[    3.914628] udevd[192]: starting version 175
[    3.948117] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[    3.949901] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.952282] hub 1-1:1.0: USB hub found
[    3.954113] hub 1-1:1.0: 6 ports detected
[    3.997492] microcode: CPU0 sig=0x306a9, pf=0x10, revision=0x17
[    3.999688] microcode: CPU0 updated to revision 0x19, date = 2013-06-13
[    4.001257] microcode: CPU1 sig=0x306a9, pf=0x10, revision=0x17
[    4.003021] microcode: CPU1 updated to revision 0x19, date = 2013-06-13
[    4.004477] microcode: CPU2 sig=0x306a9, pf=0x10, revision=0x17
[    4.006140] microcode: CPU2 updated to revision 0x19, date = 2013-06-13
[    4.007539] microcode: CPU3 sig=0x306a9, pf=0x10, revision=0x17
[    4.009342] microcode: CPU3 updated to revision 0x19, date = 2013-06-13
[    4.025536] bio: create slab <bio-2> at 2
[    4.067654] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    4.074689] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
[    4.197809] udevd[508]: starting version 175
[    4.199871] usb 2-1: New USB device found, idVendor=8087, idProduct=0024
[    4.201662] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.203638] hub 2-1:1.0: USB hub found
[    4.205480] hub 2-1:1.0: 8 ports detected
[    4.279569] usb 1-1.1: new full-speed USB device number 3 using ehci-pci
[    4.376413] usb 1-1.1: New USB device found, idVendor=8087, idProduct=07da
[    4.378134] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.479473] usb 2-1.5: new low-speed USB device number 3 using ehci-pci
[    4.525283] EXT4-fs (dm-0): re-mounted. Opts: (null)
[    4.555505] EXT4-fs (dm-0): re-mounted. Opts: discard,errors=remount-ro
[    4.577289] usb 2-1.5: New USB device found, idVendor=046d, idProduct=c517
[    4.579163] usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.581377] usb 2-1.5: Product: USB Receiver
[    4.583491] usb 2-1.5: Manufacturer: Logitech
[    4.588498] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/input/input3
[    4.590628] logitech 0003:046D:C517.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:1d.0-1.5/input0
[    4.597962] logitech 0003:046D:C517.0002: fixing up Logitech keyboard report descriptor
[    4.600575] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.1/input/input4
[    4.602925] logitech 0003:046D:C517.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:1d.0-1.5/input1
[    4.768204] Adding 1949692k swap on /dev/mapper/creabox-creabox_swap.  Priority:-1 extents:1 across:1949692k SS
[    4.935559] device eth0 entered promiscuous mode
[    5.072086] e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
[    5.175225] e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
[    6.748411] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[    6.753345] e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO
[    6.758045] xen_bridge: port 1(eth0) entered forwarding state
[    6.762737] xen_bridge: port 1(eth0) entered forwarding state
[  476.229087] cfg80211: Pending regulatory request, waiting for it to be processed...
[  488.454905] cfg80211: Pending regulatory request, waiting for it to be processed...

[-- Attachment #3: iw-info.txt --]
[-- Type: text/plain, Size: 5981 bytes --]

Wiphy phy0
	Band 1:
		Capabilities: 0x1072
			HT20/HT40
			Static SM Power Save
			RX Greenfield
			RX HT20 SGI
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 4 usec (0x05)
		HT TX/RX MCS rate indexes supported: 0-15, 32
		Frequencies:
			* 2412 MHz [1] (15.0 dBm)
			* 2417 MHz [2] (15.0 dBm)
			* 2422 MHz [3] (15.0 dBm)
			* 2427 MHz [4] (15.0 dBm)
			* 2432 MHz [5] (15.0 dBm)
			* 2437 MHz [6] (15.0 dBm)
			* 2442 MHz [7] (15.0 dBm)
			* 2447 MHz [8] (15.0 dBm)
			* 2452 MHz [9] (15.0 dBm)
			* 2457 MHz [10] (15.0 dBm)
			* 2462 MHz [11] (15.0 dBm)
			* 2467 MHz [12] (15.0 dBm) (passive scanning, no IBSS)
			* 2472 MHz [13] (15.0 dBm) (passive scanning, no IBSS)
		Bitrates (non-HT):
			* 1.0 Mbps
			* 2.0 Mbps (short preamble supported)
			* 5.5 Mbps (short preamble supported)
			* 11.0 Mbps (short preamble supported)
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
	Band 2:
		Capabilities: 0x1072
			HT20/HT40
			Static SM Power Save
			RX Greenfield
			RX HT20 SGI
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 4 usec (0x05)
		HT TX/RX MCS rate indexes supported: 0-15, 32
		Frequencies:
			* 5180 MHz [36] (15.0 dBm) (passive scanning, no IBSS)
			* 5200 MHz [40] (15.0 dBm) (passive scanning, no IBSS)
			* 5220 MHz [44] (15.0 dBm) (passive scanning, no IBSS)
			* 5240 MHz [48] (15.0 dBm) (passive scanning, no IBSS)
			* 5260 MHz [52] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5280 MHz [56] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5300 MHz [60] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5320 MHz [64] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5500 MHz [100] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5520 MHz [104] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5540 MHz [108] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5560 MHz [112] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5580 MHz [116] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5600 MHz [120] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5620 MHz [124] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5640 MHz [128] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5660 MHz [132] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5680 MHz [136] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5700 MHz [140] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5745 MHz [149] (15.0 dBm) (passive scanning, no IBSS)
			* 5765 MHz [153] (15.0 dBm) (passive scanning, no IBSS)
			* 5785 MHz [157] (15.0 dBm) (passive scanning, no IBSS)
			* 5805 MHz [161] (15.0 dBm) (passive scanning, no IBSS)
			* 5825 MHz [165] (15.0 dBm) (passive scanning, no IBSS)
		Bitrates (non-HT):
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
	max # scan SSIDs: 20
	max scan IEs length: 195 bytes
	Coverage class: 0 (up to 0m)
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP (00-0f-ac:4)
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
	software interface modes (can always be added):
		 * AP/VLAN
		 * monitor
	valid interface combinations:
		 * #{ managed } <= 1, #{ AP } <= 1,
		   total <= 2, #channels <= 1, STA/AP BI must match
		 * #{ managed } <= 2,
		   total <= 2, #channels <= 1
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * new_beacon
		 * new_station
		 * new_mpath
		 * set_mesh_params
		 * set_bss
		 * authenticate
		 * associate
		 * deauthenticate
		 * disassociate
		 * join_ibss
		 * join_mesh
		 * set_tx_bitrate_mask
		 * action
		 * frame_wait_cancel
		 * set_wiphy_netns
		 * set_channel
		 * set_wds_peer
		 * Unknown command (84)
		 * Unknown command (87)
		 * Unknown command (85)
		 * Unknown command (89)
		 * Unknown command (92)
		 * connect
		 * disconnect
	Supported TX frame types:
		 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * Unknown mode (10): 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0x40 0xb0 0xc0 0xd0
		 * managed: 0x40 0xd0
		 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * mesh point: 0xb0 0xc0 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * Unknown mode (10): 0x40 0xd0
	Device supports RSN-IBSS.
	WoWLAN support:
		 * wake up on disconnect
		 * wake up on magic packet
		 * wake up on pattern match, up to 20 patterns of 16-128 bytes
		 * can do GTK rekeying
		 * wake up on GTK rekey failure
		 * wake up on EAP identity request
		 * wake up on rfkill release
	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports TX status socket option.
	Device supports HT-IBSS.

^ permalink raw reply

* Re: [PATCH v2] ath10k: do not warn about unsupported vdev param
From: Kalle Valo @ 2013-10-16  8:50 UTC (permalink / raw)
  To: Bartosz Markowski; +Cc: ath10k, linux-wireless
In-Reply-To: <1381821980-7966-1-git-send-email-bartosz.markowski@tieto.com>

Bartosz Markowski <bartosz.markowski@tieto.com> writes:

> 10.X firmware does not support WMI_VDEV_PARAM_TX_ENCAP_TYPE.
> It's a known limitation and we should not warn about this.
>
> Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>

Thanks, applied.

-- 
Kalle Valo

^ permalink raw reply

* Re: [PATCH 00/12] brcmfmac: fixes for MMC hosts without scatter-gather
From: Arend van Spriel @ 2013-10-16  8:51 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-wireless
In-Reply-To: <1381844697-24881-1-git-send-email-arend@broadcom.com>

On 10/15/2013 03:44 PM, Arend van Spriel wrote:
> On our internal test setups it turned out that the MMC host controller
> did not support scatterlists (struct mmc_host::max_segs == 1). It took
> a number of patches to cleanup and support this. While at it some debug
> trace functions were modified and added.

Hi John,

Forgot to mention this series is intended for v3.13 and applies to the 
master branch of the wireless-next repository.

Regards,
Arend

> Arend van Spriel (12):
>    brcmfmac: store address in trace_brcmf_hexdump()
>    brcmfmac: add tracepoint for capturing the SDPCM header
>    brcmfmac: rename variable max_seg_sz to max_seg_cnt for clarity
>    brcmfmac: determine host controller related variables during probe
>    brcmfmac: rework scatter-gather code in brcmf_sdio_buffrw()
>    brcmfmac: rename brcmf_sdio_buffrw()
>    brcmfmac: rework single packet transfers
>    brcmfmac: verify result of brcmf_sdio_addrprep() calls
>    brcmfmac: remove stale code from brcmf_sdcard_recv_chain()
>    brcmfmac: fix brcmf_sdcard_send_pkt() for host without sg support
>    brcmfmac: fix brcmf_sdio_txpkt_prep() for host without sg support
>    brcmfmac: fix brcmf_sdcard_recv_chain() for host without sg support
>
>   drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c   |  186 +++++++++++---------
>   .../net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.c |   17 ++
>   drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c |  111 +++++++-----
>   .../net/wireless/brcm80211/brcmfmac/sdio_host.h    |    6 +-
>   .../net/wireless/brcm80211/brcmfmac/tracepoint.h   |   21 ++-
>   5 files changed, 216 insertions(+), 125 deletions(-)
>



^ permalink raw reply

* Re: [PATCH 1/2] ath10k: rename WMI_CMD_UNDEFINED
From: Kalle Valo @ 2013-10-16  8:52 UTC (permalink / raw)
  To: Bartosz Markowski; +Cc: ath10k, linux-wireless
In-Reply-To: <1381823732-10128-1-git-send-email-bartosz.markowski@tieto.com>

Bartosz Markowski <bartosz.markowski@tieto.com> writes:

> Rename WMI_CMD_UNDEFINED to WMI_CMD_UNSUPPORTED. This is more
> accurate here. Also return -EOPNOTSUPP instead of -EINVAL in
> wmi_cmd_send().
>
> Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>

Thanks, both patches applied.

-- 
Kalle Valo

^ permalink raw reply

* Re: [PATCH 2/7] ath10k: add sanity checks for monitor management
From: Kalle Valo @ 2013-10-16  9:19 UTC (permalink / raw)
  To: Michal Kazior; +Cc: ath10k, linux-wireless
In-Reply-To: <1381858196-17000-3-git-send-email-michal.kazior@tieto.com>

Michal Kazior <michal.kazior@tieto.com> writes:

> Add a few checks and warnings to make it easier to
> track any kind of monitor vdev mismanagement.
>
> Signed-off-by: Michal Kazior <michal.kazior@tieto.com>

[...]

> +	if (!ar->monitor_present) {
> +		ath10k_warn("mac montor stop -- monitor is not present\n");
> +		return -EINVAL;
> +	}

[...]

> +	if (!ar->monitor_present) {
> +		ath10k_warn("mac montor stop -- monitor is not present\n");
> +		return -EINVAL;
> +	}
> +
> +	if (!ar->monitor_enabled) {
> +		ath10k_warn("mac montor stop -- monitor is not enabled\n");
> +		return -EINVAL;
> +	}

s/montor/monitor/

-- 
Kalle Valo

^ permalink raw reply


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox