ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] ath10k:  Print out firmware feature bits from IE.
@ 2014-01-23  0:05 greearb
  2014-01-23  0:06 ` [PATCH 2/4] ath10k: Print out size of wmi-ready-event message greearb
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: greearb @ 2014-01-23  0:05 UTC (permalink / raw)
  To: ath10k; +Cc: kvalo, Ben Greear

From: Ben Greear <greearb@candelatech.com>

Aids in understanding excactly what a firmware is
offering.

Signed-off-by: Ben Greear <greearb@candelatech.com>
---
 drivers/net/wireless/ath/ath10k/core.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
index 3b59af3..56048b1 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -470,8 +470,12 @@ static int ath10k_core_fetch_firmware_api_n(struct ath10k *ar, const char *name)
 				if (index == ie_len)
 					break;
 
-				if (data[index] & (1 << bit))
+				if (data[index] & (1 << bit)) {
+					ath10k_dbg(ATH10K_DBG_BOOT,
+						   "Enabling feature bit: %i\n",
+						   i);
 					__set_bit(i, ar->fw_features);
+				}
 			}
 
 			ath10k_dbg_dump(ATH10K_DBG_BOOT, "features", "",
-- 
1.7.11.7


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-02-06 15:21 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-23  0:05 [PATCH 1/4] ath10k: Print out firmware feature bits from IE greearb
2014-01-23  0:06 ` [PATCH 2/4] ath10k: Print out size of wmi-ready-event message greearb
2014-01-29 13:16   ` Kalle Valo
2014-02-03 16:53     ` Ben Greear
2014-02-04  5:55       ` Kalle Valo
2014-01-23  0:06 ` [PATCH 3/4] ath10k: Add more debugging for receive errors greearb
2014-02-04 18:51   ` Kalle Valo
2014-02-04 19:35     ` Ben Greear
2014-02-05  8:16       ` Kalle Valo
2014-01-23  0:06 ` [PATCH 4/4] ath10k: Better tx/rx debugging greearb
2014-02-04 18:55   ` Kalle Valo
2014-02-05  6:05     ` Marek Puzyniak
2014-02-05  6:29       ` Kalle Valo
2014-02-05  9:10         ` Marek Puzyniak
2014-02-05 16:50           ` Ben Greear
2014-02-06  6:17             ` Kalle Valo
2014-02-06 15:20               ` Ben Greear
2014-02-04 18:46 ` [PATCH 1/4] ath10k: Print out firmware feature bits from IE Kalle Valo

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