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 explicitly. >
Ah! This explains why my initial approach of setting R92C_RXFLTMAP1 in rtwn_newstate() did not work. :-) I don't understand how I managed to capture those frames yesterday and now I can't seem to get my patch working at all. My apologies for sending a broken patch. I also tried to remove R92C_RCR_AAP and R92C_RCR_AMF from your patch, since they're being set in rtwn_rxfilter_init() already, but that breaks your patch, but I can't figure out why? Applying your patch (without breaking it) works fine. Thanks!