Skip to content

Commit b73f0aa

Browse files
Sergey MatyukevichKalle Valo
authored andcommitted
qtnfmac: add support for STA HE rates
Add HE rates into STA info. Report HE Rx/Tx MCS if STA supports them. Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
1 parent e142917 commit b73f0aa

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎drivers/net/wireless/quantenna/qtnfmac/commands.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,8 @@ qtnf_sta_info_parse_rate(struct rate_info *rate_dst,
510510
rate_dst->flags |= RATE_INFO_FLAGS_MCS;
511511
else if (rate_src->flags & QLINK_STA_INFO_RATE_FLAG_VHT_MCS)
512512
rate_dst->flags |= RATE_INFO_FLAGS_VHT_MCS;
513+
else if (rate_src->flags & QLINK_STA_INFO_RATE_FLAG_HE_MCS)
514+
rate_dst->flags |= RATE_INFO_FLAGS_HE_MCS;
513515

514516
if (rate_src->flags & QLINK_STA_INFO_RATE_FLAG_SHORT_GI)
515517
rate_dst->flags |= RATE_INFO_FLAGS_SHORT_GI;

‎drivers/net/wireless/quantenna/qtnfmac/qlink.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,7 @@ enum qlink_sta_info_rate_flags {
949949
QLINK_STA_INFO_RATE_FLAG_VHT_MCS = BIT(1),
950950
QLINK_STA_INFO_RATE_FLAG_SHORT_GI = BIT(2),
951951
QLINK_STA_INFO_RATE_FLAG_60G = BIT(3),
952+
QLINK_STA_INFO_RATE_FLAG_HE_MCS = BIT(4),
952953
};
953954

954955
/**

0 commit comments

Comments
 (0)