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

Commit 70e30ddd authored by Lior David's avatar Lior David Committed by Maya Erez
Browse files

wil6210: option to override A-BFT length in start AP/PCP



Add an option to specify and override the A-BFT length when
starting an AP/PCP. See IEEE P802.11-2016, 10.38.5.
The abft_len must be set before starting AP/PCP. It is only
needed for diagnostics and certification.

Change-Id: Idb7a72b1a3c87c0ca085ca55a9e2507d14eecbdb
Signed-off-by: default avatarLior David <qca_liord@qca.qualcomm.com>
Signed-off-by: default avatarMaya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
Git-commit: c3bfea05a6fdecee03c7cf08f5bfee6aa0645cee
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git


Signed-off-by: default avatarMaya Erez <merez@codeaurora.org>
parent 8a35beec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1708,6 +1708,7 @@ static const struct dbg_off dbg_wil_off[] = {
	WIL_FIELD(ap_isolate,	S_IRUGO,		doff_u32),
	WIL_FIELD(discovery_mode, S_IRUGO | S_IWUSR,	doff_u8),
	WIL_FIELD(chip_revision, S_IRUGO,		doff_u8),
	WIL_FIELD(abft_len, S_IRUGO | S_IWUSR,		doff_u8),
	{},
};

+1 −0
Original line number Diff line number Diff line
@@ -673,6 +673,7 @@ struct wil6210_priv {
	struct dentry *debug;
	struct wil_blob_wrapper blobs[ARRAY_SIZE(fw_mapping)];
	u8 discovery_mode;
	u8 abft_len;

	void *platform_handle;
	struct wil_platform_ops platform_ops;
+1 −0
Original line number Diff line number Diff line
@@ -1111,6 +1111,7 @@ int wmi_pcp_start(struct wil6210_priv *wil, int bi, u8 wmi_nettype,
		.hidden_ssid = hidden_ssid,
		.is_go = is_go,
		.disable_ap_sme = disable_ap_sme,
		.abft_len = wil->abft_len,
	};
	struct {
		struct wmi_cmd_hdr wmi;