Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f591a1a5 authored by Ben Greear's avatar Ben Greear Committed by Kalle Valo
Browse files

ath10k: Print out firmware feature bits from IE.



Aids in understanding excactly what a firmware is
offering.

Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 6ceb3391
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -470,9 +470,13 @@ 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", "",
					ar->fw_features,