From 80c3f55282cd0b4b45f6e67f8aa3d31ec363f8c6 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sat, 14 May 2016 23:45:47 +0000 Subject: [PATCH] [bwn] set the 5ghz transmit flag for 5ghz transmit. Turns out trying to do 11a transmit without this set works poorly. --- sys/dev/bwn/if_bwn.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c index 4a2d99d9600..12c04d77ef6 100644 --- a/sys/dev/bwn/if_bwn.c +++ b/sys/dev/bwn/if_bwn.c @@ -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)) {