linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: Luca Coelho <luca@coelho.fi>
Cc: linux-wireless@vger.kernel.org,
	Gregory Greenman <gregory.greenman@intel.com>,
	Luca Coelho <luciano.coelho@intel.com>
Subject: Re: [PATCH v2 06/15] iwlwifi: mvm: rs: add ops for the new rate scaling in the FW
Date: Fri, 08 Dec 2017 14:38:46 +0200	[thread overview]
Message-ID: <87374ls8bt.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <20171202213603.12512-1-luca@coelho.fi> (Luca Coelho's message of "Sat, 2 Dec 2017 23:36:03 +0200")

Luca Coelho <luca@coelho.fi> writes:

> From: Gregory Greenman <gregory.greenman@intel.com>
>
> This patch introduces a new instance of rate_control_ops for
> the new API (adding only empty stubs here and the subsequent
> patches in the series will fill in the implementation).
> The decision which API to use is done during the register
> step according to FW TLV.
>
> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>

[...]

> +void iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta)
> +{
> +	struct iwl_lq_sta_rs_fw *lq_sta = &mvmsta->lq_sta.rs_fw;
> +
> +	IWL_DEBUG_RATE(mvm, "create station rate scale window\n");
> +
> +	lq_sta->pers.drv = mvm;
> +	lq_sta->pers.sta_id = mvmsta->sta_id;
> +	lq_sta->pers.chains = 0;
> +	memset(lq_sta->pers.chain_signal, 0, sizeof(lq_sta->pers.chain_signal));
> +	lq_sta->pers.last_rssi = S8_MIN;
> +	lq_sta->last_rate_n_flags = 0;
> +
> +#ifdef CPTCFG_MAC80211_DEBUGFS
> +	lq_sta->pers.dbg_fixed_rate = 0;
> +#endif
> +}

CPTCFG_ doesn't look right. But no need to resend just because of this,
you can send a followup patch.

-- 
Kalle Valo

  reply	other threads:[~2017-12-08 12:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-02 16:28 [PATCH 00/15] iwlwifi: updates intended for v4.16 2017-12-02 Luca Coelho
2017-12-02 16:28 ` [PATCH 01/15] iwlwifi: mvm: add WFA vendor specific TPC report IE to probe request Luca Coelho
2017-12-02 16:28 ` [PATCH 02/15] iwlwifi: bump FW API to 36 for 8000 and up Luca Coelho
2017-12-02 16:28 ` [PATCH 03/15] iwlwifi: mvm: remove set but unused variable in iwl_mvm_roc_done_wk Luca Coelho
2017-12-02 16:28 ` [PATCH 04/15] iwlwifi: mvm: avoid dumping assert log when device is stopped Luca Coelho
2017-12-02 16:28 ` [PATCH 05/15] iwlwifi: mvm: rs: introduce new API for rate scaling Luca Coelho
2017-12-02 16:28 ` [PATCH 06/15] iwlwifi: mvm: rs: add ops for the new rate scaling in the FW Luca Coelho
2017-12-02 21:36   ` [PATCH v2 " Luca Coelho
2017-12-08 12:38     ` Kalle Valo [this message]
2017-12-08 12:40       ` Luciano Coelho
2017-12-02 16:28 ` [PATCH 07/15] iwlwifi: mvm: rs: add basic implementation of the new RS API handlers Luca Coelho
2017-12-02 16:28 ` [PATCH 08/15] iwlwifi: mvm: rs: new rate scale API - add FW notifications Luca Coelho
2017-12-02 16:28 ` [PATCH 09/15] iwlwifi: mvm: rs: new rate scale API - add debugfs hooks Luca Coelho
2017-12-02 16:28 ` [PATCH 10/15] iwlwifi: mvm: rs: add size checks when printing to a buffer Luca Coelho
2017-12-02 16:28 ` [PATCH 11/15] iwlwifi: mvm: rs: add sanity check when sending LQ command Luca Coelho
2017-12-02 16:28 ` [PATCH 12/15] iwlwifi: mvm: enable RX offloading with TKIP and WEP Luca Coelho
2017-12-04 12:57   ` Luciano Coelho
2017-12-02 16:28 ` [PATCH 13/15] iwlwifi: mvm: mark MIC stripped MPDUs Luca Coelho
2017-12-04 12:57   ` Luciano Coelho
2017-12-02 16:28 ` [PATCH 14/15] iwlwifi: mvm: make init_dbg effective only on failure Luca Coelho
2017-12-02 16:28 ` [PATCH 15/15] iwlwifi: mvm: request statistics when reading debugfs Luca Coelho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87374ls8bt.fsf@kamboji.qca.qualcomm.com \
    --to=kvalo@codeaurora.org \
    --cc=gregory.greenman@intel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luca@coelho.fi \
    --cc=luciano.coelho@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).