net80211: handle VHT nodes in ieee80211_node_setuptxparms()
Select proper mode when node can do VHT. Currently there are no drivers with VHT support in the tree, so this should be noop. Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D9806
This commit is contained in:
parent
2a3666c485
commit
8d7c0d7f9e
@ -243,7 +243,12 @@ ieee80211_node_setuptxparms(struct ieee80211_node *ni)
|
||||
struct ieee80211vap *vap = ni->ni_vap;
|
||||
enum ieee80211_phymode mode;
|
||||
|
||||
if (ni->ni_flags & IEEE80211_NODE_HT) {
|
||||
if (ni->ni_flags & IEEE80211_NODE_VHT) {
|
||||
if (IEEE80211_IS_CHAN_5GHZ(ni->ni_chan))
|
||||
mode = IEEE80211_MODE_VHT_5GHZ;
|
||||
else
|
||||
mode = IEEE80211_MODE_VHT_2GHZ;
|
||||
} else if (ni->ni_flags & IEEE80211_NODE_HT) {
|
||||
if (IEEE80211_IS_CHAN_5GHZ(ni->ni_chan))
|
||||
mode = IEEE80211_MODE_11NA;
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user