Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
Dcommon.h69 unsigned int rxfilter);
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()
Dcommon.c36 unsigned int rxfilter) in ath9k_cmn_rx_accept() argument
96 if (ah->is_monitoring && (rxfilter & FIF_FCSFAIL)) in ath9k_cmn_rx_accept()
Dhtc_drv_txrx.c877 if (priv->rxfilter & FIF_PROBE_REQ) in ath9k_htc_calcrxfilter()
883 if (priv->rxfilter & FIF_CONTROL) in ath9k_htc_calcrxfilter()
888 !(priv->rxfilter & FIF_BCN_PRBRESP_PROMISC)) in ath9k_htc_calcrxfilter()
898 if (priv->rxfilter & FIF_PSPOLL) in ath9k_htc_calcrxfilter()
902 priv->rxfilter & (FIF_OTHER_BSS | FIF_MCAST_ACTION)) in ath9k_htc_calcrxfilter()
1053 &decrypt_error, priv->rxfilter)) in ath9k_rx_prepare()
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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
Dmt7601u.h190 u32 rxfilter; member
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/
Dencx24j600.c61 int rxfilter; member
590 switch (priv->rxfilter) { in encx24j600_set_rxfilter_mode()
637 priv->rxfilter = RXFILTER_NORMAL; in encx24j600_hw_init()
812 int oldfilter = priv->rxfilter; in encx24j600_set_multicast_list()
816 priv->rxfilter = RXFILTER_PROMISC; in encx24j600_set_multicast_list()
820 priv->rxfilter = RXFILTER_MULTI; in encx24j600_set_multicast_list()
823 priv->rxfilter = RXFILTER_NORMAL; in encx24j600_set_multicast_list()
826 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()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
Dmain.c336 phy->rxfilter |= MT_WF_RFCR_DROP_OTHER_UC; in mt7915_config()
338 phy->rxfilter &= ~MT_WF_RFCR_DROP_OTHER_UC; in mt7915_config()
340 mt76_wr(dev, MT_WF_RFCR(band), phy->rxfilter); in mt7915_config()
380 phy->rxfilter &= ~(_hw); \ in mt7915_configure_filter()
381 phy->rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt7915_configure_filter()
384 phy->rxfilter &= ~(MT_WF_RFCR_DROP_OTHER_BSS | in mt7915_configure_filter()
408 mt76_wr(dev, MT_WF_RFCR(band), phy->rxfilter); in mt7915_configure_filter()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmain.c457 phy->rxfilter |= MT_WF_RFCR_DROP_OTHER_UC; in mt7615_config()
459 phy->rxfilter &= ~MT_WF_RFCR_DROP_OTHER_UC; in mt7615_config()
461 mt76_wr(dev, MT_WF_RFCR(band), phy->rxfilter); in mt7615_config()
508 phy->rxfilter &= ~(_hw); \ in mt7615_configure_filter()
510 phy->rxfilter |= !(flags & FIF_##_flag) * (_hw);\ in mt7615_configure_filter()
513 phy->rxfilter &= ~(MT_WF_RFCR_DROP_OTHER_BSS | in mt7615_configure_filter()
537 mt76_wr(dev, MT_WF_RFCR(band), phy->rxfilter); in mt7615_configure_filter()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c217 dev->mt76.rxfilter &= ~(_hw); \ in mt76x02_configure_filter()
218 dev->mt76.rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt76x02_configure_filter()
223 dev->mt76.rxfilter &= ~MT_RX_FILTR_CFG_OTHER_BSS; in mt76x02_configure_filter()
236 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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