linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: viktor.barna@celeno.com
To: linux-wireless@vger.kernel.org
Cc: Kalle Valo <kvalo@codeaurora.org>,
	"David S . Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>,
	Aviad Brikman <aviad.brikman@celeno.com>,
	Eliav Farber <eliav.farber@gmail.com>,
	Oleksandr Savchenko <oleksandr.savchenko@celeno.com>,
	Shay Bar <shay.bar@celeno.com>,
	Viktor Barna <viktor.barna@celeno.com>
Subject: [RFC v1 245/256] cl8k: add wrs/wrs_cli.c
Date: Thu, 17 Jun 2021 16:02:12 +0000	[thread overview]
Message-ID: <20210617160223.160998-246-viktor.barna@celeno.com> (raw)
In-Reply-To: <20210617160223.160998-1-viktor.barna@celeno.com>

From: Viktor Barna <viktor.barna@celeno.com>

(Part of the split. Please, take a look at the cover letter for more
details).

Signed-off-by: Viktor Barna <viktor.barna@celeno.com>
---
 .../net/wireless/celeno/cl8k/wrs/wrs_cli.c    | 852 ++++++++++++++++++
 1 file changed, 852 insertions(+)
 create mode 100644 drivers/net/wireless/celeno/cl8k/wrs/wrs_cli.c

diff --git a/drivers/net/wireless/celeno/cl8k/wrs/wrs_cli.c b/drivers/net/wireless/celeno/cl8k/wrs/wrs_cli.c
new file mode 100644
index 000000000000..7319ad681358
--- /dev/null
+++ b/drivers/net/wireless/celeno/cl8k/wrs/wrs_cli.c
@@ -0,0 +1,852 @@
+// SPDX-License-Identifier: MIT
+/* Copyright(c) 2019-2021, Celeno Communications Ltd. */
+
+#include "wrs/wrs_cli.h"
+#include "wrs/wrs_sta.h"
+#include "wrs/wrs_rssi.h"
+#include "wrs/wrs.h"
+#include "wrs/wrs_stats.h"
+#include "utils/utils.h"
+#include "sta.h"
+
+#define WRS_ALL_STA U8_MAX
+
+static void cl_wrs_cli_interval_set(struct cl_wrs_db *wrs_db, u32 interval)
+{
+       wrs_db->interval = msecs_round(interval);
+       cl_timer_period_set(&wrs_db->timer_maintenance, wrs_db->interval);
+
+       pr_debug("[WRS] Interval = %u\n", wrs_db->interval);
+}
+
+static void cl_wrs_cli_config_print(struct cl_hw *cl_hw)
+{
+       struct cl_wrs_db *wrs_db = &cl_hw->wrs_db;
+
+       pr_debug("\n");
+       pr_debug("--------------------------------\n");
+       pr_debug("Main database configuration\n");
+       pr_debug("--------------------------------\n");
+       pr_debug("Interval                = [%u]\n",
+                wrs_db->interval);
+       pr_debug("Debug level             = [%u]\n",
+                wrs_db->debug_level);
+       pr_debug("Min frames for decision = [%u]\n",
+                wrs_db->min_frames_for_decision);
+       pr_debug("EPR factor              = [%u]\n",
+                wrs_db->epr_factor);
+       pr_debug("--------------------------------\n");
+       pr_debug("Immediate drop configuration\n");
+       pr_debug("--------------------------------\n");
+       pr_debug("Enabled                 = [%s]\n",
+                wrs_db->immediate_drop_en ? "TRUE" : "FALSE");
+       pr_debug("EPR Factor              = [%u]\n",
+                wrs_db->immediate_drop_epr_factor);
+       pr_debug("Max in row              = [%u]\n",
+                wrs_db->immediate_drop_max_in_row);
+       pr_debug("--------------------------------\n");
+       pr_debug("RSSI protect configuration\n");
+       pr_debug("--------------------------------\n");
+       pr_debug("Enabled                 = [%s]\n",
+                wrs_db->rssi_protect_en ? "TRUE" : "FALSE");
+       pr_debug("Mode                    = [%s]\n",
+                (wrs_db->rssi_protect_mode == WRS_RSSI_PROT_MODE_RSSI) ? "rssi" : "neighbor");
+       pr_debug("Up threshold            = [%d]\n",
+                wrs_db->rssi_protect_up_thr);
+       pr_debug("Down threshold          = [%d]\n",
+                wrs_db->rssi_protect_dn_thr);
+       pr_debug("--------------------------------\n");
+       pr_debug("Converge idle configuration\n");
+       pr_debug("--------------------------------\n");
+       pr_debug("Enable                  = [%s]\n",
+                wrs_db->converge_idle_en ? "TRUE" : "FALSE");
+       pr_debug("Interval reset          = [%u]\n",
+                wrs_db->converge_idle_interval_reset);
+       pr_debug("Interval rssi           = [%u]\n",
+                wrs_db->converge_idle_interval_rssi);
+       pr_debug("Packet threshold        = [%u]\n",
+                wrs_db->converge_idle_packet_th);
+       pr_debug("--------------------------------\n");
+       pr_debug("Converge traffic configuration\n");
+       pr_debug("--------------------------------\n");
+       pr_debug("Traffic enable          = [%s]\n",
+                wrs_db->converge_trfc_en ? "TRUE" : "FALSE");
+       pr_debug("Interval static         = [%u]\n",
+                wrs_db->converge_trfc_interval_static);
+       pr_debug("Interval motion         = [%u]\n",
+                wrs_db->converge_trfc_interval_motion);
+       pr_debug("--------------------------------\n");
+       pr_debug("Steps and min/max thresholds\n");
+       pr_debug("--------------------------------\n");
+       pr_debug("Step down               = [%u]\n",
+                wrs_db->step_down);
+       pr_debug("Step same/up            = [%u]\n",
+                wrs_db->step_up_same);
+       pr_debug("Min threshold           = [%u]\n",
+                wrs_db->time_th_min);
+       pr_debug("Max threshold up        = [%u]\n",
+                wrs_db->time_th_max_up);
+       pr_debug("Max threshold down      = [%u]\n",
+                wrs_db->time_th_max_down);
+       pr_debug("--------------------------------\n");
+       pr_debug("Quick up configuration\n");
+       pr_debug("--------------------------------\n");
+       pr_debug("Enable                  = [%s]\n",
+                wrs_db->quick_up_en ? "TRUE" : "FALSE");
+       pr_debug("BA threshold            = [%u]\n",
+                wrs_db->quick_up_ba_thr);
+       pr_debug("Interval                = [%u]\n",
+                wrs_db->quick_up_interval);
+       pr_debug("--------------------------------\n");
+       pr_debug("Quick down configuration\n");
+       pr_debug("--------------------------------\n");
+       pr_debug("Enable                  = [%s]\n",
+                wrs_db->quick_down_en ? "TRUE" : "FALSE");
+       pr_debug("EPR factor              = [%u]\n",
+                wrs_db->quick_down_epr_factor);
+       pr_debug("Agg threshold           = [%u]\n",
+                wrs_db->quick_down_agg_thr);
+       pr_debug("Packet threshold        = [%u]\n",
+                wrs_db->quick_down_pkt_thr);
+       pr_debug("--------------------------------\n");
+       pr_debug("BA not received configuration\n");
+       pr_debug("--------------------------------\n");
+       pr_debug("Collision filter        = [%s]\n",
+                wrs_db->ba_not_rcv_collision_filter ? "TRUE" : "FALSE");
+       pr_debug("Force                   = [%s]\n",
+                wrs_db->ba_not_rcv_force ? "TRUE" : "FALSE");
+       pr_debug("Time since sync         = [%u]\n",
+                wrs_db->ba_not_rcv_time_since_sync);
+       pr_debug("--------------------------------\n");
+       pr_debug("Sync rate\n");
+       pr_debug("--------------------------------\n");
+       pr_debug("Sync timeout            = [%u]\n",
+                wrs_db->sync_timeout);
+       pr_debug("Sync min attempts       = [%u]\n",
+                wrs_db->sync_min_attempts);
+       pr_debug("\n");
+}
+
+static void cl_wrs_cli_dbg_level_set(struct cl_wrs_db *wrs_db, u32 debug_level)
+{
+       if (debug_level < DBG_LVL_MAX) {
+               wrs_db->debug_level = debug_level;
+               pr_debug("[WRS] Debug level = %u\n", debug_level);
+       } else {
+               pr_err("[WRS] Invalid debug level = %u\n", debug_level);
+       }
+}
+
+static void cl_wrs_cli_fixed_rate_set(struct cl_hw *cl_hw, struct cl_wrs_db *wrs_db, u8 sta_idx,
+                                     u8 is_fixed_rate, u8 mode, u8 bw, u8 nss,
+                                     u8 mcs, u8 gi)
+{
+       struct cl_wrs_sta *wrs_sta = NULL;
+
+       if (is_fixed_rate >= WRS_FIXED_RATE_MAX) {
+               pr_err("[WRS] Invalid fixed rate [%u] -\n"
+                      "0 = auto\n"
+                      "1 = fixed - fallback enable\n"
+                      "2 = fixed - fallback disable\n",
+                      is_fixed_rate);
+               return;
+       }
+
+       if (sta_idx != WRS_ALL_STA) {
+               cl_sta_lock_bh(cl_hw);
+               wrs_sta = cl_wrs_sta_get(cl_hw, sta_idx);
+
+               /* Fixed rate for single station */
+               if (!wrs_sta) {
+                       pr_err("[WRS] Invalid sta_idx [%u]\n", sta_idx);
+                       goto unlock;
+               }
+
+               cl_wrs_fixed_rate_set(cl_hw, wrs_db, wrs_sta, &wrs_sta->su_params, is_fixed_rate,
+                                     mode, bw, nss, mcs, gi);
+
+unlock:
+               cl_sta_unlock_bh(cl_hw);
+       } else {
+               /* Fixed rate for all connected station */
+               struct cl_sta *cl_sta;
+
+               cl_sta_lock_bh(cl_hw);
+
+               list_for_each_entry(cl_sta, &cl_hw->cl_sta_db.head, list) {
+                       wrs_sta = &cl_sta->wrs_sta;
+
+                       cl_wrs_fixed_rate_set(cl_hw, wrs_db, wrs_sta,
+                                             &wrs_sta->su_params, is_fixed_rate,
+                                             mode, bw, nss, mcs, gi);
+               }
+
+               cl_sta_unlock_bh(cl_hw);
+
+               /* Save fixed rate parameters for stations that will connect in the future */
+               wrs_db->is_fixed_rate = is_fixed_rate;
+
+               if (is_fixed_rate) {
+                       cl_hw->conf->ci_wrs_fixed_rate[WRS_FIXED_PARAM_MODE] = mode;
+                       cl_hw->conf->ci_wrs_fixed_rate[WRS_FIXED_PARAM_BW] = bw;
+                       cl_hw->conf->ci_wrs_fixed_rate[WRS_FIXED_PARAM_NSS] = nss;
+                       cl_hw->conf->ci_wrs_fixed_rate[WRS_FIXED_PARAM_MCS] = mcs;
+                       cl_hw->conf->ci_wrs_fixed_rate[WRS_FIXED_PARAM_GI] = gi;
+               }
+       }
+}
+
+static void cl_wrs_cli_converge_idle_param_set(struct cl_wrs_db *wrs_db, u32 param, u32 value)
+{
+       switch (param) {
+       case 0:
+               wrs_db->converge_idle_en = (bool)value;
+               break;
+       case 1:
+               wrs_db->converge_idle_interval_reset = value;
+               break;
+       case 2:
+               wrs_db->converge_idle_interval_rssi = value;
+               break;
+       case 3:
+               wrs_db->converge_idle_packet_th = value;
+               break;
+       default:
+               pr_warn("[WRS] Invalid parameter [%u]\n", param);
+               break;
+       }
+}
+
+static void cl_wrs_cli_converge_trfc_param_set(struct cl_wrs_db *wrs_db, u32 param, u32 value)
+{
+       switch (param) {
+       case 0:
+               wrs_db->converge_trfc_en = (bool)value;
+               break;
+       case 1:
+               wrs_db->converge_trfc_interval_static = value;
+               break;
+       case 2:
+               wrs_db->converge_trfc_interval_motion = value;
+               break;
+       default:
+               pr_warn("[WRS] Invalid parameter [%u]\n", param);
+               break;
+       }
+}
+
+static void cl_wrs_cli_immediate_drop_set(struct cl_wrs_db *wrs_db, bool enable,
+                                         u8 epr_factor, u32 max_in_row)
+{
+       wrs_db->immediate_drop_en = enable;
+       wrs_db->immediate_drop_epr_factor = epr_factor;
+       wrs_db->immediate_drop_max_in_row = max_in_row;
+
+       pr_debug("[WRS] Set immediate drop: %s, epr_factor = %u, max_in_row = %u\n",
+                enable ? "enable" : "disable", epr_factor, max_in_row);
+}
+
+static void cl_wrs_cli_step_max_min_set(struct cl_wrs_db *wrs_db, u16 step_dn, u16 step_same_up,
+                                       u16 time_th_min, u16 time_th_max_up, u16 time_th_max_down)
+{
+       wrs_db->step_down = step_dn;
+       wrs_db->step_up_same = step_same_up;
+       wrs_db->time_th_min = time_th_min;
+       wrs_db->time_th_max_up = time_th_max_up;
+       wrs_db->time_th_max_down = time_th_max_down;
+
+       pr_debug("------------------------------------------\n");
+       pr_debug("Set steps and up/down decision thresholds:\n");
+       pr_debug("------------------------------------------\n");
+       pr_debug("Step down decision    = [%u]\n", wrs_db->step_down);
+       pr_debug("Step same/up Decision = [%u]\n", wrs_db->step_up_same);
+       pr_debug("Min threshold         = [%u]\n", wrs_db->time_th_min);
+       pr_debug("Max threshold up      = [%u]\n", wrs_db->time_th_max_up);
+       pr_debug("Max threshold down    = [%u]\n", wrs_db->time_th_max_down);
+}
+
+static void cl_wrs_cli_down_up_thr_set(struct cl_hw *cl_hw, struct cl_wrs_db *wrs_db,
+                                      u8 sta_idx, u16 time_th_dn, u16 time_th_up_mcs,
+                                      u16 time_th_up_nss, u16 time_th_up_bw, u16 time_th_up_bf,
+                                      u16 time_th_up_gi)
+{
+       struct cl_wrs_sta *wrs_sta = NULL;
+       struct cl_wrs_params *wrs_params = NULL;
+       u16 rate_idx = 0;
+
+       cl_sta_lock_bh(cl_hw);
+       wrs_sta = cl_wrs_sta_get(cl_hw, sta_idx);
+
+       if (!wrs_sta) {
+               cl_sta_unlock_bh(cl_hw);
+               pr_err("[WRS] Invalid sta_idx [%u]\n", sta_idx);
+               return;
+       }
+
+       wrs_params = &wrs_sta->su_params;
+
+       for (rate_idx = 0; rate_idx < wrs_params->table_size; rate_idx++) {
+               wrs_params->table->rate_down.time_th = time_th_dn;
+               wrs_params->table->rate_up[WRS_TABLE_NODE_UP_MCS].time_th = time_th_up_mcs;
+               wrs_params->table->rate_up[WRS_TABLE_NODE_UP_BW].time_th = time_th_up_bw;
+               wrs_params->table->rate_up[WRS_TABLE_NODE_UP_NSS].time_th = time_th_up_nss;
+               wrs_params->table->rate_up[WRS_TABLE_NODE_UP_BF].time_th = time_th_up_bf;
+               wrs_params->table->rate_up[WRS_TABLE_NODE_UP_GI].time_th = time_th_up_gi;
+       }
+
+       cl_sta_unlock_bh(cl_hw);
+
+       pr_debug("Table thresholds - station [%u]\n", sta_idx);
+       pr_debug("------------------------------------------\n");
+       pr_debug("Down   = %u\n", time_th_dn);
+       pr_debug("Up mcs = %u\n", time_th_up_mcs);
+       pr_debug("Up nss = %u\n", time_th_up_nss);
+       pr_debug("Up bw  = %u\n", time_th_up_bw);
+       pr_debug("Up bf  = %u\n", time_th_up_bf);
+       pr_debug("Up gi  = %u\n", time_th_up_gi);
+}
+
+static void cl_wrs_cli_main_print(struct cl_sta *cl_sta, struct cl_wrs_sta *wrs_sta,
+                                 struct cl_wrs_params *wrs_params)
+{
+       struct cl_wrs_tx_params *tx_params = &wrs_params->tx_params;
+
+       pr_debug("\n");
+       pr_debug("--------------------------------------------\n");
+       pr_debug("WRS info for station %u - %pM\n", cl_sta->sta_idx, cl_sta->addr);
+       pr_debug("--------------------------------------------\n");
+       pr_debug("Settings      = [%s]\n", FIXED_RATE_STR(wrs_params->is_fixed_rate));
+       pr_debug("Converge mode = [%s]\n", WRS_CONVERGE_MODE_STR(wrs_params->converge_mode));
+       pr_debug("Synced        = [%s]\n", wrs_params->sync ? "True" : "False");
+       pr_debug("Mode          = [%s]\n", WRS_MODE_STR(tx_params->mode));
+
+       if (wrs_sta->mode == tx_params->mode)
+               pr_debug("Rate index    = [%u]\n", wrs_params->rate_idx);
+
+       pr_debug("Rate params   = [bw=%s, nss=%u, mcs=%u, gi=%s]\n",
+                WRS_BW_STR(tx_params->bw),
+                tx_params->nss,
+                tx_params->mcs,
+                WRS_GI_STR(tx_params->gi));
+}
+
+static void cl_wrs_cli_sta_db_print(struct cl_hw *cl_hw, struct cl_wrs_db *wrs_db,
+                                   u8 sta_idx, u32 print_type)
+{
+       struct cl_wrs_sta *wrs_sta = NULL;
+       struct cl_wrs_params *wrs_params = NULL;
+       struct cl_sta *cl_sta = NULL;
+
+       cl_sta_lock_bh(cl_hw);
+
+       list_for_each_entry(cl_sta, &cl_hw->cl_sta_db.head, list) {
+               wrs_sta = &cl_sta->wrs_sta;
+
+               if (sta_idx != WRS_ALL_STA && sta_idx != wrs_sta->sta_idx)
+                       continue;
+
+               wrs_params = &wrs_sta->su_params;
+
+               cl_wrs_cli_main_print(cl_sta, wrs_sta, wrs_params);
+
+               if (print_type & 0x1)
+                       cl_wrs_tables_print(cl_hw, wrs_params);
+
+               if (print_type & 0x2)
+                       cl_wrs_stats_decision_print(wrs_params);
+
+               if (print_type & 0x4)
+                       cl_wrs_stats_per_print(cl_hw, wrs_sta, wrs_params);
+       }
+
+       cl_sta_unlock_bh(cl_hw);
+
+       if (sta_idx == WRS_ALL_STA)
+               pr_debug("*** END OF WRS STATS ***\n");
+}
+
+static void cl_wrs_cli_sta_db_reset(struct cl_hw *cl_hw, struct cl_wrs_db *wrs_db,
+                                   u8 sta_idx, u32 reset_type)
+{
+       struct cl_wrs_sta *wrs_sta = NULL;
+       struct cl_wrs_params *wrs_params = NULL;
+       struct cl_sta *cl_sta = NULL;
+
+       cl_sta_lock_bh(cl_hw);
+
+       list_for_each_entry(cl_sta, &cl_hw->cl_sta_db.head, list) {
+               wrs_sta = &cl_sta->wrs_sta;
+
+               if (sta_idx != WRS_ALL_STA && sta_idx != wrs_sta->sta_idx)
+                       continue;
+
+               wrs_params = &wrs_sta->su_params;
+
+               if (reset_type & 0x1)
+                       cl_wrs_tables_reset(wrs_db, wrs_sta, wrs_params);
+
+               if (reset_type & 0x2)
+                       cl_wrs_stats_decision_reset(wrs_params);
+
+               if (reset_type & 0x4)
+                       cl_wrs_stats_per_reset(wrs_params);
+       }
+
+       cl_sta_unlock_bh(cl_hw);
+}
+
+static void cl_wrs_cli_sync_params_set(struct cl_wrs_db *wrs_db,
+                                      u16 sync_timeout, u8 sync_min_attempts)
+{
+       wrs_db->sync_timeout = sync_timeout;
+       wrs_db->sync_min_attempts = sync_min_attempts;
+       pr_debug("[WRS] sync_timeout = %u, sync_min_attempts = %u\n",
+                sync_timeout, sync_min_attempts);
+}
+
+static void cl_wrs_cli_min_frames_decision_set(struct cl_wrs_db *wrs_db, u32 min_frames)
+{
+       wrs_db->min_frames_for_decision = min_frames;
+       pr_debug("[WRS] min_frames_for_decision = %u\n", min_frames);
+}
+
+static void cl_wrs_cli_conservative_mode_set(struct cl_wrs_db *wrs_db,
+                                            bool conservative_mcs, bool conservative_nss)
+{
+       wrs_db->conservative_mcs_noisy_env = conservative_mcs;
+       wrs_db->conservative_nss_noisy_env = conservative_nss;
+
+       pr_debug("[WRS] Conservative mode - mcs = %s, nss = %s\n",
+                conservative_mcs ? "true" : "false",
+                conservative_nss ? "true" : "false");
+}
+
+static void cl_wrs_cli_quick_up_set(struct cl_wrs_db *wrs_db, bool enable, u8 ba_thr, u16 interval)
+{
+       wrs_db->quick_up_en = enable;
+       wrs_db->quick_up_ba_thr = ba_thr;
+       wrs_db->quick_up_interval = msecs_round(interval);
+
+       pr_debug("[WRS] Quick up: enable = %s, ba_thr = %u, interval = %u\n",
+                wrs_db->quick_up_en ? "true" : "false",
+                wrs_db->quick_up_ba_thr,
+                wrs_db->quick_up_interval);
+}
+
+static void cl_wrs_cli_quick_down_set(struct cl_wrs_db *wrs_db, bool enable,
+                                     u8 epr_factor, u8 agg_thr, u16 pkt_thr)
+{
+       wrs_db->quick_down_en = enable;
+       wrs_db->quick_down_epr_factor = epr_factor;
+       wrs_db->quick_down_agg_thr = agg_thr;
+       wrs_db->quick_down_pkt_thr = pkt_thr;
+
+       pr_debug("[WRS] Quick down: enable = %s, epr_factor = %u, agg_thr = %u, pkt_thr = %u\n",
+                enable ? "true" : "false", epr_factor, agg_thr, pkt_thr);
+}
+
+static void cl_wrs_cli_ba_not_rcv_set(struct cl_wrs_db *wrs_db, bool collision_filter,
+                                     bool force, u32 time_since_sync)
+{
+       wrs_db->ba_not_rcv_collision_filter = collision_filter;
+       wrs_db->ba_not_rcv_force = force;
+       wrs_db->ba_not_rcv_time_since_sync = msecs_round(time_since_sync);
+
+       pr_debug("[WRS] BA not received: collision_filter = %s, force = %s, time_since_sync = %u\n",
+                wrs_db->ba_not_rcv_collision_filter ? "true" : "false",
+                wrs_db->ba_not_rcv_force ? "true" : "false",
+                wrs_db->ba_not_rcv_time_since_sync);
+}
+
+static int cl_wrs_cli_help(struct cl_hw *cl_hw)
+{
+       char *buf = kzalloc(PAGE_SIZE, GFP_KERNEL);
+       int err = 0;
+       int len = 0;
+
+       if (!buf)
+               return -ENOMEM;
+
+       len += snprintf(buf, PAGE_SIZE,
+                       "wrs usage\n"
+                       "-a : Print station list\n"
+                       "-b : Set maintenance interval [ms]\n"
+                       "-c : Print configuration\n"
+                       "-d : Set debug level [0-off, 1-error, 2-warning, "
+                               "3-trace, 4-info]\n"
+                       "-f : Set fixed rate [sta_idx].[0-auto,1-fixed "
+                               "fallback en,2-fixed fallback dis].[mode]."
+                               "[bw].[nss].[mcs].[gi]\n"
+                       "-g : Set converge idle parameters [0-en, "
+                               "1-interval_reset, 2-interval_rssi, "
+                               "3-packet_th].[value]\n"
+                       "-h : Set converge trfc parameters [0-en, "
+                               "1-interval_static, 2-interval_motion]."
+                               "[value]\n"
+                       "-k : Set EPR factor [factor]\n"
+                       "-l : Set immediate drop [0-disable/1-enable]."
+                               "[per factor].[max in row]\n"
+                       "-m : Print rssi protect debug [sta_idx]\n"
+                       "-n : Set rssi protect parameters [enable 0/1]."
+                               "[mode 0-rssi/1-neighbor].[rssi up thr]."
+                               "[rssi down th]\n"
+                       "-o : Set step and time thresholds [step down]."
+                               "[step same up].[time min].[time max up]."
+                               "[time max down]\n"
+                       "-p : Set down and up time thresholds [sta_idx]."
+                               "[down].[up mcs].[up nss].[up bw].[up bf]."
+                               "[up gi]\n"
+                       "-q : Reset and print station data [sta_idx].[op:"
+                               " 1-weights, 2-decisions, 4-per, 7-all)]\n"
+                       "-r : Reset station data [sta_idx].[op: 1-weights, "
+                               "2-decisions, 4-per, 7-all)]\n"
+                       "-s : Print station data [sta_idx].[op: 1-weights, "
+                               "2-decisions, 4-per, 7-all)]\n"
+                       "-t : Set sync parameters [timeout].[min attempts]\n"
+                       "-u : Set minimum frames for decision [min frames]\n"
+                       "-v : Set conservative mode [mcs-0/1].[nss-0/1]\n"
+                       "-w : Set quick up [enable].[ba_thr].[interval]\n"
+                       "-x : Set quick down [enable].[epr factor]."
+                               "[agg thr][pkt thr]\n"
+                       "-y : Set BA not received [collision filter][force]."
+                               "[time since sync]\n");
+
+       err = cl_vendor_reply(cl_hw, buf, strlen(buf));
+       kfree(buf);
+
+       return err;
+}
+
+int cl_wrs_cli(struct cl_hw *cl_hw, struct cl_vif *cl_vif, struct cli_params *cli_params)
+{
+       struct cl_wrs_db *wrs_db = &cl_hw->wrs_db;
+       u32 expected_params = 0;
+       bool sta_list_print = false;
+       bool interval_set = false;
+       bool config_print = false;
+       bool set_debug_level = false;
+       bool fixed_rate = false;
+       bool converge_idle_set = false;
+       bool converge_trfc_set = false;
+       bool epr_factor_set = false;
+       bool immediate_drop_set = false;
+       bool rssi_prot_print = false;
+       bool rssi_protect_set = false;
+       bool set_step_max_min_th = false;
+       bool set_up_dn_th = false;
+       bool print_reset_sta_db = false;
+       bool reset_sta_db = false;
+       bool print_sta_db = false;
+       bool sync_params_set = false;
+       bool min_frames_set = false;
+       bool conservative_mode_set = false;
+       bool quick_up_set = false;
+       bool quick_down_set = false;
+       bool ba_not_rcv_set = false;
+
+       switch (cli_params->option) {
+       case 'a':
+               sta_list_print = true;
+               expected_params = 0;
+               break;
+       case 'b':
+               interval_set = true;
+               expected_params = 1;
+               break;
+       case 'c':
+               config_print = true;
+               expected_params = 0;
+               break;
+       case 'd':
+               set_debug_level = true;
+               expected_params = 1;
+               break;
+       case 'f':
+               fixed_rate = true;
+               expected_params = 7;
+               break;
+       case 'g':
+               converge_idle_set = true;
+               expected_params = 2;
+               break;
+       case 'h':
+               converge_trfc_set = true;
+               expected_params = 2;
+               break;
+               break;
+       case 'k':
+               epr_factor_set = true;
+               expected_params = 1;
+               break;
+       case 'l':
+               immediate_drop_set = true;
+               expected_params = 3;
+               break;
+       case 'm':
+               rssi_prot_print = true;
+               expected_params = 1;
+               break;
+       case 'n':
+               rssi_protect_set = true;
+               expected_params = 3;
+               break;
+       case 'o':
+               set_step_max_min_th = true;
+               expected_params = 5;
+               break;
+       case 'p':
+               set_up_dn_th = true;
+               expected_params = 7;
+               break;
+       case 'q':
+               print_reset_sta_db = true;
+               expected_params = 2;
+               break;
+       case 'r':
+               reset_sta_db = true;
+               expected_params = 2;
+               break;
+       case 's':
+               print_sta_db = true;
+               expected_params = 2;
+               break;
+       case 't':
+               sync_params_set = true;
+               expected_params = 2;
+               break;
+       case 'u':
+               min_frames_set = true;
+               expected_params = 1;
+               break;
+       case 'v':
+               conservative_mode_set = true;
+               expected_params = 2;
+               break;
+       case 'w':
+               quick_up_set = true;
+               expected_params = 3;
+               break;
+       case 'x':
+               quick_down_set = true;
+               expected_params = 4;
+               break;
+       case 'y':
+               ba_not_rcv_set = true;
+               expected_params = 3;
+               break;
+               break;
+       case '?':
+               return cl_wrs_cli_help(cl_hw);
+       default:
+               cl_dbg_err(cl_hw, "Illegal option (%c) - try '?' for help\n", cli_params->option);
+               goto out_err;
+       }
+
+       if (expected_params != cli_params->num_params) {
+               cl_dbg_err(cl_hw, "Wrong number of arguments (expected %u) (actual %u)\n",
+                          expected_params, cli_params->num_params);
+               goto out_err;
+       }
+
+       if (sta_list_print) {
+               cl_wrs_sta_print_list(cl_hw, wrs_db);
+               return 0;
+       }
+
+       if (interval_set) {
+               u32 interval = (u32)cli_params->params[0];
+
+               cl_wrs_cli_interval_set(wrs_db, interval);
+               return 0;
+       }
+
+       if (config_print) {
+               cl_wrs_cli_config_print(cl_hw);
+               return 0;
+       }
+
+       if (set_debug_level) {
+               u32 debug_level = (u32)cli_params->params[0];
+
+               cl_wrs_cli_dbg_level_set(wrs_db, debug_level);
+               return 0;
+       }
+
+       if (fixed_rate) {
+               u8 sta_idx  = (u8)cli_params->params[0];
+               u8 is_fixed_rate = (u8)cli_params->params[1];
+               u8 mode = (u8)cli_params->params[2];
+               u8 bw = (u8)cli_params->params[3];
+               u8 nss = (u8)cli_params->params[4];
+               u8 mcs = (u8)cli_params->params[5];
+               u8 gi = (u8)cli_params->params[6];
+
+               cl_wrs_cli_fixed_rate_set(cl_hw, wrs_db, sta_idx, is_fixed_rate,
+                                         mode, bw, nss, mcs, gi);
+               return 0;
+       }
+
+       if (converge_idle_set) {
+               u32 param = (u32)cli_params->params[0];
+               u32 value = (u32)cli_params->params[1];
+
+               cl_wrs_cli_converge_idle_param_set(wrs_db, param, value);
+               return 0;
+       }
+
+       if (converge_trfc_set) {
+               u32 param = (u32)cli_params->params[0];
+               u32 value = (u32)cli_params->params[1];
+
+               cl_wrs_cli_converge_trfc_param_set(wrs_db, param, value);
+               return 0;
+       }
+
+       if (epr_factor_set) {
+               wrs_db->epr_factor = (u8)cli_params->params[0];
+               pr_debug("[WRS] epr_factor = %u\n", wrs_db->epr_factor);
+               return 0;
+       }
+
+       if (immediate_drop_set) {
+               bool is_en = (bool)cli_params->params[0];
+               u8 epr_factor = (u8)cli_params->params[1];
+               u32 max_in_row = (u32)cli_params->params[2];
+
+               cl_wrs_cli_immediate_drop_set(wrs_db, is_en, epr_factor, max_in_row);
+               return 0;
+       }
+
+       if (rssi_prot_print) {
+               u8 sta_idx = (u8)cli_params->params[0];
+               struct cl_wrs_sta *wrs_sta;
+
+               cl_sta_lock_bh(cl_hw);
+               wrs_sta = cl_wrs_sta_get(cl_hw, sta_idx);
+
+               if (wrs_sta)
+                       cl_wrs_rssi_prot_dbg(cl_hw, wrs_db, wrs_sta);
+               else
+                       pr_err("[WRS] Invalid sta_idx [%u]\n", sta_idx);
+
+               cl_sta_unlock_bh(cl_hw);
+
+               return 0;
+       }
+
+       if (rssi_protect_set) {
+               bool enable = (bool)cli_params->params[0];
+               bool mode = (bool)cli_params->params[1];
+               s32 rssi_up_th = cli_params->params[2];
+               s32 rssi_dn_th = cli_params->params[3];
+
+               cl_wrs_rssi_prot_config(cl_hw, wrs_db, enable, mode, rssi_up_th, rssi_dn_th);
+               return 0;
+       }
+
+       if (set_step_max_min_th) {
+               u16 step_dn = (u16)cli_params->params[0];
+               u16 step_same_up = (u16)cli_params->params[1];
+               u16 time_th_min = (u16)cli_params->params[2];
+               u16 time_th_max_up = (u16)cli_params->params[3];
+               u16 time_th_max_down = (u16)cli_params->params[4];
+
+               cl_wrs_cli_step_max_min_set(wrs_db, step_dn, step_same_up,
+                                           time_th_min, time_th_max_up, time_th_max_down);
+               return 0;
+       }
+
+       if (set_up_dn_th) {
+               u8 sta_idx = (u8)cli_params->params[0];
+               u16 time_th_dn = (u16)cli_params->params[1];
+               u16 time_th_up_mcs = (u16)cli_params->params[2];
+               u16 time_th_up_nss = (u16)cli_params->params[3];
+               u16 time_th_up_bw = (u16)cli_params->params[4];
+               u16 time_th_up_bf = (u16)cli_params->params[5];
+               u16 time_th_up_gi = (u16)cli_params->params[6];
+
+               cl_wrs_cli_down_up_thr_set(cl_hw, wrs_db, sta_idx, time_th_dn,
+                                          time_th_up_mcs, time_th_up_nss, time_th_up_bw,
+                                          time_th_up_bf, time_th_up_gi);
+               return 0;
+       }
+
+       if (print_reset_sta_db) {
+               u8 sta_idx = (u8)cli_params->params[0];
+               u32 print_type = (u32)cli_params->params[1];
+
+               cl_wrs_cli_sta_db_print(cl_hw, wrs_db, sta_idx, print_type);
+               cl_wrs_cli_sta_db_reset(cl_hw, wrs_db, sta_idx, print_type);
+               return 0;
+       }
+
+       if (reset_sta_db) {
+               u8 sta_idx = (u8)cli_params->params[0];
+               u32 reset_type = (u32)cli_params->params[1];
+
+               cl_wrs_cli_sta_db_reset(cl_hw, wrs_db, sta_idx, reset_type);
+               return 0;
+       }
+
+       if (print_sta_db) {
+               u8 sta_idx = (u8)cli_params->params[0];
+               u32 print_type = (u32)cli_params->params[1];
+
+               cl_wrs_cli_sta_db_print(cl_hw, wrs_db, sta_idx, print_type);
+               return 0;
+       }
+
+       if (sync_params_set) {
+               u16 sync_timeout = (u16)cli_params->params[0];
+               u8 sync_min_attempts = (u16)cli_params->params[1];
+
+               cl_wrs_cli_sync_params_set(wrs_db, sync_timeout, sync_min_attempts);
+               return 0;
+       }
+
+       if (min_frames_set) {
+               u32 min_frames = (u32)cli_params->params[0];
+
+               cl_wrs_cli_min_frames_decision_set(wrs_db, min_frames);
+               return 0;
+       }
+
+       if (conservative_mode_set) {
+               u32 conservative_mcs = (u32)cli_params->params[0];
+               u32 conservative_nss = (u32)cli_params->params[1];
+
+               cl_wrs_cli_conservative_mode_set(wrs_db, conservative_mcs, conservative_nss);
+               return 0;
+       }
+
+       if (quick_up_set) {
+               bool enable = (bool)cli_params->params[0];
+               u8 ba_thr = (u8)cli_params->params[1];
+               u16 interval = (u16)cli_params->params[2];
+
+               cl_wrs_cli_quick_up_set(wrs_db, enable, ba_thr, interval);
+               return 0;
+       }
+
+       if (quick_down_set) {
+               bool enable = (bool)cli_params->params[0];
+               u8 epr_factor = (u8)cli_params->params[1];
+               u8 agg_thr = (u8)cli_params->params[2];
+               u16 pkt_thr = (u16)cli_params->params[3];
+
+               cl_wrs_cli_quick_down_set(wrs_db, enable, epr_factor, agg_thr, pkt_thr);
+               return 0;
+       }
+
+       if (ba_not_rcv_set) {
+               bool collision_filter = (bool)cli_params->params[0];
+               bool force = (bool)cli_params->params[1];
+               u32 time_since_sync = (u32)cli_params->params[2];
+
+               cl_wrs_cli_ba_not_rcv_set(wrs_db, collision_filter, force, time_since_sync);
+               return 0;
+       }
+
+out_err:
+       return -EIO;
+}
--
2.30.0

________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any retransmission, dissemination, copying or other use of, or taking of any action in reliance upon this information is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Nothing contained herein shall be deemed as a representation, warranty or a commitment by Celeno. No warranties are expressed or implied, including, but not limited to, any implied warranties of non-infringement, merchantability and fitness for a particular purpose.
________________________________


  parent reply	other threads:[~2021-06-17 16:11 UTC|newest]

Thread overview: 262+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-17 15:58 [RFC v1 000/256] wireless: cl8k driver for Celeno IEEE 802.11ax devices viktor.barna
2021-06-17 15:58 ` [RFC v1 001/256] celeno: add Kconfig viktor.barna
2021-06-17 15:58 ` [RFC v1 002/256] celeno: add Makefile viktor.barna
2021-06-17 15:58 ` [RFC v1 003/256] cl8k: add Kconfig viktor.barna
2021-06-17 15:58 ` [RFC v1 004/256] cl8k: add Makefile viktor.barna
2021-06-17 15:58 ` [RFC v1 005/256] cl8k: add afe.c viktor.barna
2021-06-17 15:58 ` [RFC v1 006/256] cl8k: add afe.h viktor.barna
2021-06-17 15:58 ` [RFC v1 007/256] cl8k: add agc_params.c viktor.barna
2021-06-17 15:58 ` [RFC v1 008/256] cl8k: add agc_params.h viktor.barna
2021-06-17 15:58 ` [RFC v1 009/256] cl8k: add ampdu.c viktor.barna
2021-06-17 15:58 ` [RFC v1 010/256] cl8k: add ampdu.h viktor.barna
2021-06-17 15:58 ` [RFC v1 011/256] cl8k: add ate.c viktor.barna
2021-06-17 15:58 ` [RFC v1 012/256] cl8k: add ate.h viktor.barna
2021-06-17 15:58 ` [RFC v1 013/256] cl8k: add band.c viktor.barna
2021-06-17 15:58 ` [RFC v1 014/256] cl8k: add band.h viktor.barna
2021-06-17 15:58 ` [RFC v1 015/256] cl8k: add bf.c viktor.barna
2021-06-17 15:58 ` [RFC v1 016/256] cl8k: add bf.h viktor.barna
2021-06-17 15:58 ` [RFC v1 017/256] cl8k: add bus/pci/ipc.c viktor.barna
2021-06-17 15:58 ` [RFC v1 018/256] cl8k: add bus/pci/ipc.h viktor.barna
2021-06-17 15:58 ` [RFC v1 019/256] cl8k: add bus/pci/irq.c viktor.barna
2021-06-17 15:58 ` [RFC v1 020/256] cl8k: add bus/pci/irq.h viktor.barna
2021-06-17 15:58 ` [RFC v1 021/256] cl8k: add bus/pci/msg_pci.c viktor.barna
2021-06-17 15:58 ` [RFC v1 022/256] cl8k: add bus/pci/msg_pci.h viktor.barna
2021-06-17 15:58 ` [RFC v1 023/256] cl8k: add bus/pci/pci.c viktor.barna
2021-06-17 15:58 ` [RFC v1 024/256] cl8k: add bus/pci/rx_pci.c viktor.barna
2021-06-17 15:58 ` [RFC v1 025/256] cl8k: add bus/pci/rx_pci.h viktor.barna
2021-06-17 15:58 ` [RFC v1 026/256] cl8k: add bus/pci/tx_pci.c viktor.barna
2021-06-17 15:58 ` [RFC v1 027/256] cl8k: add bus/pci/tx_pci.h viktor.barna
2021-06-17 15:58 ` [RFC v1 028/256] cl8k: add calib.c viktor.barna
2021-06-17 15:58 ` [RFC v1 029/256] cl8k: add calib.h viktor.barna
2021-06-17 15:58 ` [RFC v1 030/256] cl8k: add cap.c viktor.barna
2021-06-17 15:58 ` [RFC v1 031/256] cl8k: add cap.h viktor.barna
2021-06-17 15:58 ` [RFC v1 032/256] cl8k: add cca.c viktor.barna
2021-06-17 15:58 ` [RFC v1 033/256] cl8k: add cca.h viktor.barna
2021-06-17 15:58 ` [RFC v1 034/256] cl8k: add cecli.c viktor.barna
2021-06-17 15:58 ` [RFC v1 035/256] cl8k: add cecli.h viktor.barna
2021-06-17 15:58 ` [RFC v1 036/256] cl8k: add chandef.c viktor.barna
2021-06-17 15:58 ` [RFC v1 037/256] cl8k: add chandef.h viktor.barna
2021-06-17 15:58 ` [RFC v1 038/256] cl8k: add channel.c viktor.barna
2021-06-17 15:58 ` [RFC v1 039/256] cl8k: add channel.h viktor.barna
2021-06-17 15:58 ` [RFC v1 040/256] cl8k: add chan_info.c viktor.barna
2021-06-17 15:58 ` [RFC v1 041/256] cl8k: add chan_info.h viktor.barna
2021-06-17 15:58 ` [RFC v1 042/256] cl8k: add chip.c viktor.barna
2021-06-17 15:58 ` [RFC v1 043/256] cl8k: add chip.h viktor.barna
2021-06-17 15:58 ` [RFC v1 044/256] cl8k: add chip_config.c viktor.barna
2021-06-17 15:58 ` [RFC v1 045/256] cl8k: add chip_config.h viktor.barna
2021-06-17 15:58 ` [RFC v1 046/256] cl8k: add config.c viktor.barna
2021-06-17 15:58 ` [RFC v1 047/256] cl8k: add config.h viktor.barna
2021-06-17 15:58 ` [RFC v1 048/256] cl8k: add coredump.c viktor.barna
2021-06-17 15:58 ` [RFC v1 049/256] cl8k: add coredump.h viktor.barna
2021-06-17 15:58 ` [RFC v1 050/256] cl8k: add data_rates.c viktor.barna
2021-06-17 15:58 ` [RFC v1 051/256] cl8k: add data_rates.h viktor.barna
2021-06-17 15:58 ` [RFC v1 052/256] cl8k: add dbgfile.c viktor.barna
2021-06-17 15:59 ` [RFC v1 053/256] cl8k: add dbgfile.h viktor.barna
2021-06-17 15:59 ` [RFC v1 054/256] cl8k: add debug.h viktor.barna
2021-06-17 15:59 ` [RFC v1 055/256] cl8k: add debugfs.c viktor.barna
2021-06-17 15:59 ` [RFC v1 056/256] cl8k: add debugfs.h viktor.barna
2021-06-17 15:59 ` [RFC v1 057/256] cl8k: add debugfs_defs.h viktor.barna
2021-06-17 15:59 ` [RFC v1 058/256] cl8k: add def.h viktor.barna
2021-06-17 15:59 ` [RFC v1 059/256] cl8k: add dfs/dfs.c viktor.barna
2021-06-17 15:59 ` [RFC v1 060/256] cl8k: add dfs/dfs.h viktor.barna
2021-06-17 15:59 ` [RFC v1 061/256] cl8k: add dfs/dfs_db.h viktor.barna
2021-06-17 15:59 ` [RFC v1 062/256] cl8k: add dfs/radar.c viktor.barna
2021-06-17 15:59 ` [RFC v1 063/256] cl8k: add dfs/radar.h viktor.barna
2021-06-17 15:59 ` [RFC v1 064/256] cl8k: add drv_ops.h viktor.barna
2021-06-17 15:59 ` [RFC v1 065/256] cl8k: add dsp.c viktor.barna
2021-06-17 15:59 ` [RFC v1 066/256] cl8k: add dsp.h viktor.barna
2021-06-17 15:59 ` [RFC v1 067/256] cl8k: add e2p.c viktor.barna
2021-06-17 15:59 ` [RFC v1 068/256] cl8k: add e2p.h viktor.barna
2021-06-17 15:59 ` [RFC v1 069/256] cl8k: add edca.c viktor.barna
2021-06-17 15:59 ` [RFC v1 070/256] cl8k: add edca.h viktor.barna
2021-06-17 15:59 ` [RFC v1 071/256] cl8k: add ela.c viktor.barna
2021-06-17 15:59 ` [RFC v1 072/256] cl8k: add ela.h viktor.barna
2021-06-17 15:59 ` [RFC v1 073/256] cl8k: add enhanced_tim.c viktor.barna
2021-06-17 15:59 ` [RFC v1 074/256] cl8k: add enhanced_tim.h viktor.barna
2021-06-17 15:59 ` [RFC v1 075/256] cl8k: add env_det.c viktor.barna
2021-06-17 15:59 ` [RFC v1 076/256] cl8k: add env_det.h viktor.barna
2021-06-17 15:59 ` [RFC v1 077/256] cl8k: add ext/dyn_bcast_rate.c viktor.barna
2021-06-17 15:59 ` [RFC v1 078/256] cl8k: add ext/dyn_bcast_rate.h viktor.barna
2021-06-17 15:59 ` [RFC v1 079/256] cl8k: add ext/dyn_mcast_rate.c viktor.barna
2021-06-17 15:59 ` [RFC v1 080/256] cl8k: add ext/dyn_mcast_rate.h viktor.barna
2021-06-17 15:59 ` [RFC v1 081/256] cl8k: add ext/vlan_dscp.c viktor.barna
2021-06-17 15:59 ` [RFC v1 082/256] cl8k: add ext/vlan_dscp.h viktor.barna
2021-06-17 15:59 ` [RFC v1 083/256] cl8k: add fem.c viktor.barna
2021-06-17 15:59 ` [RFC v1 084/256] cl8k: add fem.h viktor.barna
2021-06-17 15:59 ` [RFC v1 085/256] cl8k: add fem_common.h viktor.barna
2021-06-17 15:59 ` [RFC v1 086/256] cl8k: add fw/fw_dbg.c viktor.barna
2021-06-17 15:59 ` [RFC v1 087/256] cl8k: add fw/fw_dbg.h viktor.barna
2021-06-17 15:59 ` [RFC v1 088/256] cl8k: add fw/fw_file.c viktor.barna
2021-06-17 15:59 ` [RFC v1 089/256] cl8k: add fw/fw_file.h viktor.barna
2021-06-17 15:59 ` [RFC v1 090/256] cl8k: add fw/fw_msg.c viktor.barna
2021-06-17 15:59 ` [RFC v1 091/256] cl8k: add fw/fw_msg.h viktor.barna
2021-06-17 15:59 ` [RFC v1 092/256] cl8k: add fw/msg_cfm.c viktor.barna
2021-06-17 15:59 ` [RFC v1 093/256] cl8k: add fw/msg_cfm.h viktor.barna
2021-06-17 15:59 ` [RFC v1 094/256] cl8k: add fw/msg_rx.c viktor.barna
2021-06-17 15:59 ` [RFC v1 095/256] cl8k: add fw/msg_rx.h viktor.barna
2021-06-17 15:59 ` [RFC v1 096/256] cl8k: add fw/msg_tx.c viktor.barna
2021-06-17 15:59 ` [RFC v1 097/256] cl8k: add fw/msg_tx.h viktor.barna
2021-06-17 15:59 ` [RFC v1 098/256] cl8k: add hw.c viktor.barna
2021-06-17 15:59 ` [RFC v1 099/256] cl8k: add hw.h viktor.barna
2021-06-17 15:59 ` [RFC v1 100/256] cl8k: add hw_assert.c viktor.barna
2021-06-17 15:59 ` [RFC v1 101/256] cl8k: add hw_assert.h viktor.barna
2021-06-17 15:59 ` [RFC v1 102/256] cl8k: add ipc_shared.h viktor.barna
2021-06-17 15:59 ` [RFC v1 103/256] cl8k: add key.c viktor.barna
2021-06-17 15:59 ` [RFC v1 104/256] cl8k: add key.h viktor.barna
2021-06-17 15:59 ` [RFC v1 105/256] cl8k: add mac80211.c viktor.barna
2021-06-17 15:59 ` [RFC v1 106/256] cl8k: add mac80211.h viktor.barna
2021-06-17 15:59 ` [RFC v1 107/256] cl8k: add mac_addr.c viktor.barna
2021-06-17 15:59 ` [RFC v1 108/256] cl8k: add mac_addr.h viktor.barna
2021-06-17 15:59 ` [RFC v1 109/256] cl8k: add main.c viktor.barna
2021-06-17 15:59 ` [RFC v1 110/256] cl8k: add main.h viktor.barna
2021-06-17 15:59 ` [RFC v1 111/256] cl8k: add maintenance.c viktor.barna
2021-06-17 15:59 ` [RFC v1 112/256] cl8k: add maintenance.h viktor.barna
2021-06-17 16:00 ` [RFC v1 113/256] cl8k: add mib.c viktor.barna
2021-06-17 16:00 ` [RFC v1 114/256] cl8k: add mib.h viktor.barna
2021-06-17 16:00 ` [RFC v1 115/256] cl8k: add motion_sense.c viktor.barna
2021-06-17 16:00 ` [RFC v1 116/256] cl8k: add motion_sense.h viktor.barna
2021-06-17 16:00 ` [RFC v1 117/256] cl8k: add netlink.c viktor.barna
2021-06-17 16:00 ` [RFC v1 118/256] cl8k: add netlink.h viktor.barna
2021-06-17 16:00 ` [RFC v1 119/256] cl8k: add noise.c viktor.barna
2021-06-17 16:00 ` [RFC v1 120/256] cl8k: add noise.h viktor.barna
2021-06-17 16:00 ` [RFC v1 121/256] cl8k: add omi.c viktor.barna
2021-06-17 16:00 ` [RFC v1 122/256] cl8k: add omi.h viktor.barna
2021-06-17 16:00 ` [RFC v1 123/256] cl8k: add ops.c viktor.barna
2021-06-17 16:00 ` [RFC v1 124/256] cl8k: add ops.h viktor.barna
2021-06-17 16:00 ` [RFC v1 125/256] cl8k: add phy/phy.c viktor.barna
2021-06-17 16:00 ` [RFC v1 126/256] cl8k: add phy/phy.h viktor.barna
2021-06-17 16:00 ` [RFC v1 127/256] cl8k: add phy/phy_athos_lut.c viktor.barna
2021-06-17 16:00 ` [RFC v1 128/256] cl8k: add phy/phy_athos_lut.h viktor.barna
2021-06-17 16:00 ` [RFC v1 129/256] cl8k: add phy/phy_common_lut.c viktor.barna
2021-06-17 16:00 ` [RFC v1 130/256] cl8k: add phy/phy_common_lut.h viktor.barna
2021-06-17 16:00 ` [RFC v1 131/256] cl8k: add phy/phy_olympus_lut.c viktor.barna
2021-06-17 16:00 ` [RFC v1 132/256] cl8k: add phy/phy_olympus_lut.h viktor.barna
2021-06-17 16:00 ` [RFC v1 133/256] cl8k: add power.c viktor.barna
2021-06-17 16:00 ` [RFC v1 134/256] cl8k: add power.h viktor.barna
2021-06-17 16:00 ` [RFC v1 135/256] cl8k: add power_cli.c viktor.barna
2021-06-17 16:00 ` [RFC v1 136/256] cl8k: add power_cli.h viktor.barna
2021-06-17 16:00 ` [RFC v1 137/256] cl8k: add power_table.c viktor.barna
2021-06-17 16:00 ` [RFC v1 138/256] cl8k: add power_table.h viktor.barna
2021-06-17 16:00 ` [RFC v1 139/256] cl8k: add prot_mode.c viktor.barna
2021-06-17 16:00 ` [RFC v1 140/256] cl8k: add prot_mode.h viktor.barna
2021-06-17 16:00 ` [RFC v1 141/256] cl8k: add radio.c viktor.barna
2021-06-17 16:00 ` [RFC v1 142/256] cl8k: add radio.h viktor.barna
2021-06-17 16:00 ` [RFC v1 143/256] cl8k: add rate_ctrl.c viktor.barna
2021-06-17 16:00 ` [RFC v1 144/256] cl8k: add rate_ctrl.h viktor.barna
2021-06-17 16:00 ` [RFC v1 145/256] cl8k: add recovery.c viktor.barna
2021-06-17 16:00 ` [RFC v1 146/256] cl8k: add recovery.h viktor.barna
2021-06-17 16:00 ` [RFC v1 147/256] cl8k: add reg/ceva.h viktor.barna
2021-06-17 16:00 ` [RFC v1 148/256] cl8k: add reg/reg_access.h viktor.barna
2021-06-17 16:00 ` [RFC v1 149/256] cl8k: add reg/reg_cli.c viktor.barna
2021-06-17 16:00 ` [RFC v1 150/256] cl8k: add reg/reg_cli.h viktor.barna
2021-06-17 16:00 ` [RFC v1 151/256] cl8k: add reg/reg_cmu.h viktor.barna
2021-06-17 16:00 ` [RFC v1 152/256] cl8k: add reg/reg_fem.h viktor.barna
2021-06-17 16:00 ` [RFC v1 153/256] cl8k: add reg/reg_io_ctrl.h viktor.barna
2021-06-17 16:00 ` [RFC v1 154/256] cl8k: add reg/reg_ipc.h viktor.barna
2021-06-17 16:00 ` [RFC v1 155/256] cl8k: add reg/reg_lcu_common.h viktor.barna
2021-06-17 16:00 ` [RFC v1 156/256] cl8k: add reg/reg_lcu_phy.h viktor.barna
2021-06-17 16:00 ` [RFC v1 157/256] cl8k: add reg/reg_macdsp_api.h viktor.barna
2021-06-17 16:00 ` [RFC v1 158/256] cl8k: add reg/reg_macsys_gcu.h viktor.barna
2021-06-17 16:00 ` [RFC v1 159/256] cl8k: add reg/reg_mac_hw.h viktor.barna
2021-06-17 16:00 ` [RFC v1 160/256] cl8k: add reg/reg_mac_hw_mu.h viktor.barna
2021-06-17 16:00 ` [RFC v1 161/256] cl8k: add reg/reg_modem_gcu.h viktor.barna
2021-06-17 16:00 ` [RFC v1 162/256] cl8k: add reg/reg_otp_pvt.h viktor.barna
2021-06-17 16:00 ` [RFC v1 163/256] cl8k: add reg/reg_ricu.h viktor.barna
2021-06-17 16:00 ` [RFC v1 164/256] cl8k: add reg/reg_riu.h viktor.barna
2021-06-17 16:00 ` [RFC v1 165/256] cl8k: add reg/reg_riu_rc.h viktor.barna
2021-06-17 16:00 ` [RFC v1 166/256] cl8k: add rf_boot.c viktor.barna
2021-06-17 16:00 ` [RFC v1 167/256] cl8k: add rf_boot.h viktor.barna
2021-06-17 16:00 ` [RFC v1 168/256] cl8k: add rsrc_mgmt.c viktor.barna
2021-06-17 16:00 ` [RFC v1 169/256] cl8k: add rsrc_mgmt.h viktor.barna
2021-06-17 16:00 ` [RFC v1 170/256] cl8k: add rssi.c viktor.barna
2021-06-17 16:00 ` [RFC v1 171/256] cl8k: add rssi.h viktor.barna
2021-06-17 16:00 ` [RFC v1 172/256] cl8k: add rx/rx.c viktor.barna
2021-06-17 16:01 ` [RFC v1 173/256] cl8k: add rx/rx.h viktor.barna
2021-06-17 16:01 ` [RFC v1 174/256] cl8k: add rx/rx_amsdu.c viktor.barna
2021-06-17 16:01 ` [RFC v1 175/256] cl8k: add rx/rx_amsdu.h viktor.barna
2021-06-17 16:01 ` [RFC v1 176/256] cl8k: add rx/rx_filter.c viktor.barna
2021-06-17 16:01 ` [RFC v1 177/256] cl8k: add rx/rx_filter.h viktor.barna
2021-06-17 16:01 ` [RFC v1 178/256] cl8k: add rx/rx_reorder.c viktor.barna
2021-06-17 16:01 ` [RFC v1 179/256] cl8k: add rx/rx_reorder.h viktor.barna
2021-06-17 16:01 ` [RFC v1 180/256] cl8k: add sounding.c viktor.barna
2021-06-17 16:01 ` [RFC v1 181/256] cl8k: add sounding.h viktor.barna
2021-06-17 16:01 ` [RFC v1 182/256] cl8k: add sta.c viktor.barna
2021-06-17 16:01 ` [RFC v1 183/256] cl8k: add sta.h viktor.barna
2021-06-17 16:01 ` [RFC v1 184/256] cl8k: add stats.c viktor.barna
2021-06-17 16:01 ` [RFC v1 185/256] cl8k: add stats.h viktor.barna
2021-06-17 16:01 ` [RFC v1 186/256] cl8k: add tcv_config.c viktor.barna
2021-06-17 16:01 ` [RFC v1 187/256] cl8k: add tcv_config.h viktor.barna
2021-06-17 16:01 ` [RFC v1 188/256] cl8k: add temperature.c viktor.barna
2021-06-17 16:01 ` [RFC v1 189/256] cl8k: add temperature.h viktor.barna
2021-06-17 16:01 ` [RFC v1 190/256] cl8k: add trace.c viktor.barna
2021-06-17 16:01 ` [RFC v1 191/256] cl8k: add trace.h viktor.barna
2021-06-17 16:01 ` [RFC v1 192/256] cl8k: add traffic.c viktor.barna
2021-06-17 16:01 ` [RFC v1 193/256] cl8k: add traffic.h viktor.barna
2021-06-17 16:01 ` [RFC v1 194/256] cl8k: add twt.c viktor.barna
2021-06-17 16:01 ` [RFC v1 195/256] cl8k: add twt.h viktor.barna
2021-06-17 16:01 ` [RFC v1 196/256] cl8k: add twt_cli.c viktor.barna
2021-06-17 16:01 ` [RFC v1 197/256] cl8k: add twt_cli.h viktor.barna
2021-06-17 16:01 ` [RFC v1 198/256] cl8k: add twt_frame.c viktor.barna
2021-06-17 16:01 ` [RFC v1 199/256] cl8k: add twt_frame.h viktor.barna
2021-06-17 16:01 ` [RFC v1 200/256] cl8k: add tx/agg_cfm.c viktor.barna
2021-06-17 16:01 ` [RFC v1 201/256] cl8k: add tx/agg_cfm.h viktor.barna
2021-06-17 16:01 ` [RFC v1 202/256] cl8k: add tx/agg_tx_report.c viktor.barna
2021-06-17 16:01 ` [RFC v1 203/256] cl8k: add tx/agg_tx_report.h viktor.barna
2021-06-17 16:01 ` [RFC v1 204/256] cl8k: add tx/baw.c viktor.barna
2021-06-17 16:01 ` [RFC v1 205/256] cl8k: add tx/baw.h viktor.barna
2021-06-17 16:01 ` [RFC v1 206/256] cl8k: add tx/bcmc_cfm.c viktor.barna
2021-06-17 16:01 ` [RFC v1 207/256] cl8k: add tx/bcmc_cfm.h viktor.barna
2021-06-17 16:01 ` [RFC v1 208/256] cl8k: add tx/single_cfm.c viktor.barna
2021-06-17 16:01 ` [RFC v1 209/256] cl8k: add tx/single_cfm.h viktor.barna
2021-06-17 16:01 ` [RFC v1 210/256] cl8k: add tx/sw_txhdr.c viktor.barna
2021-06-17 16:01 ` [RFC v1 211/256] cl8k: add tx/sw_txhdr.h viktor.barna
2021-06-17 16:01 ` [RFC v1 212/256] cl8k: add tx/tx.c viktor.barna
2021-06-17 16:01 ` [RFC v1 213/256] cl8k: add tx/tx.h viktor.barna
2021-06-17 16:01 ` [RFC v1 214/256] cl8k: add tx/tx_amsdu.c viktor.barna
2021-06-17 16:01 ` [RFC v1 215/256] cl8k: add tx/tx_amsdu.h viktor.barna
2021-06-17 16:01 ` [RFC v1 216/256] cl8k: add tx/tx_inject.c viktor.barna
2021-06-17 16:01 ` [RFC v1 217/256] cl8k: add tx/tx_inject.h viktor.barna
2021-06-17 16:01 ` [RFC v1 218/256] cl8k: add tx/tx_queue.c viktor.barna
2021-06-17 16:01 ` [RFC v1 219/256] cl8k: add tx/tx_queue.h viktor.barna
2021-06-17 16:01 ` [RFC v1 220/256] cl8k: add utils/file.c viktor.barna
2021-06-17 16:01 ` [RFC v1 221/256] cl8k: add utils/file.h viktor.barna
2021-06-17 16:01 ` [RFC v1 222/256] cl8k: add utils/ip.c viktor.barna
2021-06-17 16:01 ` [RFC v1 223/256] cl8k: add utils/ip.h viktor.barna
2021-06-17 16:01 ` [RFC v1 224/256] cl8k: add utils/math.h viktor.barna
2021-06-17 16:01 ` [RFC v1 225/256] cl8k: add utils/string.c viktor.barna
2021-06-17 16:01 ` [RFC v1 226/256] cl8k: add utils/string.h viktor.barna
2021-06-17 16:01 ` [RFC v1 227/256] cl8k: add utils/timer.c viktor.barna
2021-06-17 16:01 ` [RFC v1 228/256] cl8k: add utils/timer.h viktor.barna
2021-06-17 16:01 ` [RFC v1 229/256] cl8k: add utils/utils.c viktor.barna
2021-06-17 16:01 ` [RFC v1 230/256] cl8k: add utils/utils.h viktor.barna
2021-06-17 16:01 ` [RFC v1 231/256] cl8k: add vendor_cmd.c viktor.barna
2021-06-17 16:01 ` [RFC v1 232/256] cl8k: add vendor_cmd.h viktor.barna
2021-06-17 16:02 ` [RFC v1 233/256] cl8k: add version.c viktor.barna
2021-06-17 16:02 ` [RFC v1 234/256] cl8k: add version.h viktor.barna
2021-06-17 16:02 ` [RFC v1 235/256] cl8k: add vif.c viktor.barna
2021-06-17 16:02 ` [RFC v1 236/256] cl8k: add vif.h viktor.barna
2021-06-17 16:02 ` [RFC v1 237/256] cl8k: add vns.c viktor.barna
2021-06-17 16:02 ` [RFC v1 238/256] cl8k: add vns.h viktor.barna
2021-06-17 16:02 ` [RFC v1 239/256] cl8k: add wrs/wrs.c viktor.barna
2021-06-17 16:02 ` [RFC v1 240/256] cl8k: add wrs/wrs.h viktor.barna
2021-06-17 16:02 ` [RFC v1 241/256] cl8k: add wrs/wrs_ap.c viktor.barna
2021-06-17 16:02 ` [RFC v1 242/256] cl8k: add wrs/wrs_ap.h viktor.barna
2021-06-17 16:02 ` [RFC v1 243/256] cl8k: add wrs/wrs_api.c viktor.barna
2021-06-17 16:02 ` [RFC v1 244/256] cl8k: add wrs/wrs_api.h viktor.barna
2021-06-17 16:02 ` viktor.barna [this message]
2021-06-17 16:02 ` [RFC v1 246/256] cl8k: add wrs/wrs_cli.h viktor.barna
2021-06-17 16:02 ` [RFC v1 247/256] cl8k: add wrs/wrs_db.h viktor.barna
2021-06-17 16:02 ` [RFC v1 248/256] cl8k: add wrs/wrs_rssi.c viktor.barna
2021-06-17 16:02 ` [RFC v1 249/256] cl8k: add wrs/wrs_rssi.h viktor.barna
2021-06-17 16:02 ` [RFC v1 250/256] cl8k: add wrs/wrs_sta.c viktor.barna
2021-06-17 16:02 ` [RFC v1 251/256] cl8k: add wrs/wrs_sta.h viktor.barna
2021-06-17 16:02 ` [RFC v1 252/256] cl8k: add wrs/wrs_stats.c viktor.barna
2021-06-17 16:02 ` [RFC v1 253/256] cl8k: add wrs/wrs_stats.h viktor.barna
2021-06-17 16:02 ` [RFC v1 254/256] cl8k: add wrs/wrs_tables.c viktor.barna
2021-06-17 16:02 ` [RFC v1 255/256] cl8k: add wrs/wrs_tables.h viktor.barna
2021-06-17 16:02 ` [RFC v1 256/256] wireless: add Celeno vendor viktor.barna
2021-06-17 17:23 ` [RFC v1 000/256] wireless: cl8k driver for Celeno IEEE 802.11ax devices Johannes Berg
2022-05-22 17:51   ` viktor.barna
2021-06-19  6:39 ` Kalle Valo
2022-05-13 21:11   ` viktor.barna
2022-05-14  4:25     ` Kalle Valo

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=20210617160223.160998-246-viktor.barna@celeno.com \
    --to=viktor.barna@celeno.com \
    --cc=aviad.brikman@celeno.com \
    --cc=davem@davemloft.net \
    --cc=eliav.farber@gmail.com \
    --cc=kuba@kernel.org \
    --cc=kvalo@codeaurora.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=oleksandr.savchenko@celeno.com \
    --cc=shay.bar@celeno.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).