[bwn] set the 5ghz transmit flag for 5ghz transmit.

Turns out trying to do 11a transmit without this set works poorly.
This commit is contained in:
Adrian Chadd 2016-05-14 23:45:47 +00:00
parent e9e6f47e20
commit 80c3f55282

View File

@ -6072,6 +6072,9 @@ bwn_set_txhdr(struct bwn_mac *mac, struct ieee80211_node *ni,
rate == BWN_CCK_RATE_11MB))
phyctl |= BWN_TX_PHY_SHORTPRMBL;
if (! phy->gmode)
macctl |= BWN_TX_MAC_5GHZ;
/* XXX TX antenna selection */
switch (bwn_antenna_sanitize(mac, 0)) {