debug.c (15fcb1031178f2a42425c2993b2ec7bb894c04d6) debug.c (b6459415b384cb829f0b2a4268f211c789f6cf0b)
1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2/* Copyright(c) 2019-2020 Realtek Corporation
3 */
4
5#include <linux/vmalloc.h>
6
7#include "coex.h"
8#include "debug.h"

--- 2273 unchanged lines hidden (view full) ---

2282 seq_printf(m, "\t==> agg_wait=%d (%d)\n", rtwsta->max_agg_wait,
2283 sta->max_rc_amsdu_len);
2284
2285 seq_printf(m, "RX rate [%d]: ", rtwsta->mac_id);
2286
2287 switch (status->encoding) {
2288 case RX_ENC_LEGACY:
2289 seq_printf(m, "Legacy %d", status->rate_idx +
1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2/* Copyright(c) 2019-2020 Realtek Corporation
3 */
4
5#include <linux/vmalloc.h>
6
7#include "coex.h"
8#include "debug.h"

--- 2273 unchanged lines hidden (view full) ---

2282 seq_printf(m, "\t==> agg_wait=%d (%d)\n", rtwsta->max_agg_wait,
2283 sta->max_rc_amsdu_len);
2284
2285 seq_printf(m, "RX rate [%d]: ", rtwsta->mac_id);
2286
2287 switch (status->encoding) {
2288 case RX_ENC_LEGACY:
2289 seq_printf(m, "Legacy %d", status->rate_idx +
2290 (status->band != NL80211_BAND_2GHZ ? 4 : 0));
2290 (status->band == NL80211_BAND_5GHZ ? 4 : 0));
2291 break;
2292 case RX_ENC_HT:
2293 seq_printf(m, "HT MCS-%d%s", status->rate_idx,
2294 status->enc_flags & RX_ENC_FLAG_SHORT_GI ? " SGI" : "");
2295 break;
2296 case RX_ENC_VHT:
2297 seq_printf(m, "VHT %dSS MCS-%d%s", status->nss, status->rate_idx,
2298 status->enc_flags & RX_ENC_FLAG_SHORT_GI ? " SGI" : "");

--- 198 unchanged lines hidden ---
2291 break;
2292 case RX_ENC_HT:
2293 seq_printf(m, "HT MCS-%d%s", status->rate_idx,
2294 status->enc_flags & RX_ENC_FLAG_SHORT_GI ? " SGI" : "");
2295 break;
2296 case RX_ENC_VHT:
2297 seq_printf(m, "VHT %dSS MCS-%d%s", status->nss, status->rate_idx,
2298 status->enc_flags & RX_ENC_FLAG_SHORT_GI ? " SGI" : "");

--- 198 unchanged lines hidden ---