Home
last modified time | relevance | path

Searched refs:rxfilter (Results 1 – 25 of 37) sorted by relevance

12

/drivers/net/wireless/mediatek/mt76/mt76x0/
Dmain.c55 dev->mt76.rxfilter |= MT_RX_FILTR_CFG_PROMISC; in mt76x0_config()
57 dev->mt76.rxfilter &= ~MT_RX_FILTR_CFG_PROMISC; in mt76x0_config()
59 mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); in mt76x0_config()
Dinit.c196 dev->mt76.rxfilter = mt76_rr(dev, MT_RX_FILTR_CFG); in mt76x0_init_hardware()
/drivers/net/wireless/mediatek/mt76/mt76x2/
Dusb_main.c74 dev->mt76.rxfilter |= MT_RX_FILTR_CFG_PROMISC; in mt76x2u_config()
76 dev->mt76.rxfilter &= ~MT_RX_FILTR_CFG_PROMISC; in mt76x2u_config()
77 mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); in mt76x2u_config()
Dpci_main.c73 dev->mt76.rxfilter |= MT_RX_FILTR_CFG_PROMISC; in mt76x2_config()
75 dev->mt76.rxfilter &= ~MT_RX_FILTR_CFG_PROMISC; in mt76x2_config()
77 mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); in mt76x2_config()
Dusb_init.c160 dev->mt76.rxfilter = mt76_rr(dev, MT_RX_FILTR_CFG); in mt76x2u_init_hardware()
Dpci_init.c253 dev->mt76.rxfilter = mt76_rr(dev, MT_RX_FILTR_CFG); in mt76x2_init_hardware()
/drivers/net/wireless/ath/ath9k/
Ddebug.c666 u32 rxfilter, i; in read_file_misc() local
674 rxfilter = ath9k_hw_getrxfilter(sc->sc_ah); in read_file_misc()
677 seq_printf(file, "RXFILTER: 0x%x", rxfilter); in read_file_misc()
679 if (rxfilter & ATH9K_RX_FILTER_UCAST) in read_file_misc()
681 if (rxfilter & ATH9K_RX_FILTER_MCAST) in read_file_misc()
683 if (rxfilter & ATH9K_RX_FILTER_BCAST) in read_file_misc()
685 if (rxfilter & ATH9K_RX_FILTER_CONTROL) in read_file_misc()
687 if (rxfilter & ATH9K_RX_FILTER_BEACON) in read_file_misc()
689 if (rxfilter & ATH9K_RX_FILTER_PROM) in read_file_misc()
691 if (rxfilter & ATH9K_RX_FILTER_PROBEREQ) in read_file_misc()
[all …]
Drecv.c392 if (sc->cur_chan->rxfilter & FIF_PROBE_REQ) in ath_calcrxfilter()
398 if ((sc->cur_chan->rxfilter & FIF_CONTROL) || in ath_calcrxfilter()
404 !(sc->cur_chan->rxfilter & FIF_BCN_PRBRESP_PROMISC)) in ath_calcrxfilter()
410 (sc->cur_chan->rxfilter & FIF_PSPOLL)) in ath_calcrxfilter()
417 (sc->cur_chan->rxfilter & (FIF_OTHER_BSS | FIF_MCAST_ACTION))) { in ath_calcrxfilter()
899 sc->cur_chan->rxfilter)) { in ath9k_rx_skb_preprocess()
Dhtc_drv_txrx.c883 if (priv->rxfilter & FIF_PROBE_REQ) in ath9k_htc_calcrxfilter()
889 if (priv->rxfilter & FIF_CONTROL) in ath9k_htc_calcrxfilter()
894 !(priv->rxfilter & FIF_BCN_PRBRESP_PROMISC)) in ath9k_htc_calcrxfilter()
904 if (priv->rxfilter & FIF_PSPOLL) in ath9k_htc_calcrxfilter()
908 priv->rxfilter & (FIF_OTHER_BSS | FIF_MCAST_ACTION)) in ath9k_htc_calcrxfilter()
1059 &decrypt_error, priv->rxfilter)) in ath9k_rx_prepare()
Dcommon.c36 unsigned int rxfilter) in ath9k_cmn_rx_accept() argument
96 if (ah->is_monitoring && (rxfilter & FIF_FCSFAIL)) in ath9k_cmn_rx_accept()
Dcommon.h69 unsigned int rxfilter);
Dcommon-spectral.c718 u32 rxfilter; in ath9k_cmn_spectral_scan_trigger() local
732 rxfilter = ath9k_hw_getrxfilter(ah); in ath9k_cmn_spectral_scan_trigger()
733 ath9k_hw_setrxfilter(ah, rxfilter | in ath9k_cmn_spectral_scan_trigger()
/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c225 dev->rxfilter |= MT_WF_RFCR_DROP_OTHER_UC; in mt7603_config()
227 dev->rxfilter &= ~MT_WF_RFCR_DROP_OTHER_UC; in mt7603_config()
229 mt76_wr(dev, MT_WF_RFCR, dev->rxfilter); in mt7603_config()
246 dev->rxfilter &= ~(_hw); \ in mt7603_configure_filter()
247 dev->rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt7603_configure_filter()
250 dev->rxfilter &= ~(MT_WF_RFCR_DROP_OTHER_BSS | in mt7603_configure_filter()
274 mt76_wr(dev, MT_WF_RFCR, dev->rxfilter); in mt7603_configure_filter()
Dmt7603.h111 u32 rxfilter; member
/drivers/net/wireless/mediatek/mt7601u/
Dmain.c108 dev->rxfilter &= ~(_hw); \ in mt76_configure_filter()
109 dev->rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt76_configure_filter()
114 dev->rxfilter &= ~MT_RX_FILTR_CFG_OTHER_BSS; in mt76_configure_filter()
128 mt76_wr(dev, MT_RX_FILTR_CFG, dev->rxfilter); in mt76_configure_filter()
Dinit.c238 dev->rxfilter = MT_RX_FILTR_CFG_CRC_ERR | in mt7601u_mac_start()
245 mt7601u_wr(dev, MT_RX_FILTR_CFG, dev->rxfilter); in mt7601u_mac_start()
/drivers/net/ethernet/microchip/
Dencx24j600.c61 int rxfilter; member
589 switch (priv->rxfilter) { in encx24j600_set_rxfilter_mode()
636 priv->rxfilter = RXFILTER_NORMAL; in encx24j600_hw_init()
811 int oldfilter = priv->rxfilter; in encx24j600_set_multicast_list()
815 priv->rxfilter = RXFILTER_PROMISC; in encx24j600_set_multicast_list()
819 priv->rxfilter = RXFILTER_MULTI; in encx24j600_set_multicast_list()
822 priv->rxfilter = RXFILTER_NORMAL; in encx24j600_set_multicast_list()
825 if (oldfilter != priv->rxfilter) in encx24j600_set_multicast_list()
Denc28j60.c70 int rxfilter; member
667 priv->rxfilter = RXFILTER_NORMAL; in enc28j60_hw_init()
1400 int oldfilter = priv->rxfilter; in enc28j60_set_multicast_list()
1405 priv->rxfilter = RXFILTER_PROMISC; in enc28j60_set_multicast_list()
1410 priv->rxfilter = RXFILTER_MULTI; in enc28j60_set_multicast_list()
1414 priv->rxfilter = RXFILTER_NORMAL; in enc28j60_set_multicast_list()
1417 if (oldfilter != priv->rxfilter) in enc28j60_set_multicast_list()
1427 if (priv->rxfilter == RXFILTER_PROMISC) { in enc28j60_setrx_work_handler()
1431 } else if (priv->rxfilter == RXFILTER_MULTI) { in enc28j60_setrx_work_handler()
/drivers/net/wireless/mediatek/mt76/mt7615/
Dmain.c454 phy->rxfilter |= MT_WF_RFCR_DROP_OTHER_UC; in mt7615_config()
456 phy->rxfilter &= ~MT_WF_RFCR_DROP_OTHER_UC; in mt7615_config()
458 mt76_wr(dev, MT_WF_RFCR(band), phy->rxfilter); in mt7615_config()
505 phy->rxfilter &= ~(_hw); \ in mt7615_configure_filter()
507 phy->rxfilter |= !(flags & FIF_##_flag) * (_hw);\ in mt7615_configure_filter()
510 phy->rxfilter &= ~(MT_WF_RFCR_DROP_OTHER_BSS | in mt7615_configure_filter()
522 phy->rxfilter &= ~MT_WF_RFCR_DROP_OTHER_BEACON; in mt7615_configure_filter()
536 mt76_wr(dev, MT_WF_RFCR(band), phy->rxfilter); in mt7615_configure_filter()
/drivers/net/wireless/mediatek/mt76/mt7921/
Dmain.c447 phy->rxfilter |= MT_WF_RFCR_DROP_OTHER_UC; in mt7921_config()
449 phy->rxfilter &= ~MT_WF_RFCR_DROP_OTHER_UC; in mt7921_config()
453 mt76_wr(dev, MT_WF_RFCR(0), phy->rxfilter); in mt7921_config()
491 phy->rxfilter &= ~(_hw); \ in mt7921_configure_filter()
492 phy->rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt7921_configure_filter()
497 phy->rxfilter &= ~(MT_WF_RFCR_DROP_OTHER_BSS | in mt7921_configure_filter()
521 mt76_wr(dev, MT_WF_RFCR(0), phy->rxfilter); in mt7921_configure_filter()
/drivers/net/wireless/mediatek/mt76/mt7915/
Dmain.c457 phy->rxfilter |= MT_WF_RFCR_DROP_OTHER_UC; in mt7915_config()
459 phy->rxfilter &= ~MT_WF_RFCR_DROP_OTHER_UC; in mt7915_config()
464 mt76_wr(dev, MT_WF_RFCR(band), phy->rxfilter); in mt7915_config()
503 phy->rxfilter &= ~(_hw); \ in mt7915_configure_filter()
504 phy->rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt7915_configure_filter()
509 phy->rxfilter &= ~(MT_WF_RFCR_DROP_OTHER_BSS | in mt7915_configure_filter()
533 mt76_wr(dev, MT_WF_RFCR(band), phy->rxfilter); in mt7915_configure_filter()
/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c212 dev->mt76.rxfilter &= ~(_hw); \ in mt76x02_configure_filter()
213 dev->mt76.rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt76x02_configure_filter()
218 dev->mt76.rxfilter &= ~MT_RX_FILTR_CFG_OTHER_BSS; in mt76x02_configure_filter()
231 mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); in mt76x02_configure_filter()
Dmt76x02_usb_core.c33 mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); in mt76x02u_mac_start()
/drivers/net/ethernet/sfc/
Dptp.c1305 struct efx_filter_spec rxfilter; in efx_ptp_insert_multicast_filters() local
1314 efx_filter_init_rx(&rxfilter, EFX_FILTER_PRI_REQUIRED, 0, in efx_ptp_insert_multicast_filters()
1317 rc = efx_filter_set_ipv4_local(&rxfilter, IPPROTO_UDP, in efx_ptp_insert_multicast_filters()
1323 rc = efx_filter_insert_filter(efx, &rxfilter, true); in efx_ptp_insert_multicast_filters()
1328 efx_filter_init_rx(&rxfilter, EFX_FILTER_PRI_REQUIRED, 0, in efx_ptp_insert_multicast_filters()
1331 rc = efx_filter_set_ipv4_local(&rxfilter, IPPROTO_UDP, in efx_ptp_insert_multicast_filters()
1337 rc = efx_filter_insert_filter(efx, &rxfilter, true); in efx_ptp_insert_multicast_filters()
/drivers/net/wireless/ath/ar5523/
Dar5523.c442 struct ar5523_cmd_rx_filter rxfilter; in ar5523_set_rxfilter() local
444 rxfilter.bits = cpu_to_be32(bits); in ar5523_set_rxfilter()
445 rxfilter.op = cpu_to_be32(op); in ar5523_set_rxfilter()
448 return ar5523_cmd_write(ar, WDCMSG_RX_FILTER, &rxfilter, in ar5523_set_rxfilter()
449 sizeof(rxfilter), 0); in ar5523_set_rxfilter()

12