Re: [patch] urtwn(4): accept control frames when in monitor mode

2019-01-24 Thread Jesper Wallin
On Thu, Jan 24, 2019 at 03:56:17PM +0800, Kevin Lo wrote: > > First off, thanks for the diff. Right, urtwn(4) doesn't see any control > frames in monitor mode, I think we also need to set R92C_RCR_ADF, > R92C_RCR_ACF, > and R92C_RCR_AMF bits in R92C_RCR to accept data/ctrl/mgmt frames

Re: [patch] urtwn(4): accept control frames when in monitor mode

2019-01-24 Thread Kevin Lo
On Wed, Jan 23, 2019 at 09:50:18AM +0100, Jesper Wallin wrote: > > Hi, > > This patch will allow urtwn(4) to see control frames when monitor mode > is enabled. I've only tested this with my TP-LINK TL-WN821N v5 card, so > perhaps more checks are needed to avoid breaking other cards. > > If you

[patch] urtwn(4): accept control frames when in monitor mode

2019-01-23 Thread Jesper Wallin
Hi, This patch will allow urtwn(4) to see control frames when monitor mode is enabled. I've only tested this with my TP-LINK TL-WN821N v5 card, so perhaps more checks are needed to avoid breaking other cards. If you test this, enable monitor mode: $ doas ifconfig urtwn0 mediaopt