Skip to content

Commit

Permalink
Update the proper link quality flag name
Browse files Browse the repository at this point in the history
  • Loading branch information
pigworlds committed Nov 30, 2020
1 parent 38bbc0c commit bffc12b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion itlwm/hal_iwn/ItlIwn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4078,7 +4078,8 @@ iwn_set_link_quality(struct iwn_softc *sc, struct ieee80211_node *ni)
linkq.ampdu_limit = htole16(4000); /* 4ms */

if (ic->ic_flags & IEEE80211_F_USEPROT)
linkq.flags |= IWN_TX_NEED_RTS;
if (sc->hw_type != IWN_HW_REV_TYPE_4965)
linkq.flags |= IWN_LINK_QUAL_FLAGS_SET_STA_TLC_RTS;

if ((ni->ni_flags & IEEE80211_NODE_HT) &&
ieee80211_node_supports_ht_sgi20(ni)) {
Expand Down
1 change: 1 addition & 0 deletions itlwm/hal_iwn/if_iwnreg.h
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,7 @@ struct iwn_cmd_link_quality {
uint8_t reserved1;
uint16_t ctl;
uint8_t flags;
#define IWN_LINK_QUAL_FLAGS_SET_STA_TLC_RTS (1 << 0)
uint8_t mimo;
uint8_t antmsk_1stream;
uint8_t antmsk_2stream;
Expand Down

0 comments on commit bffc12b

Please sign in to comment.