/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | main.c | 55 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()
|
D | init.c | 196 dev->mt76.rxfilter = mt76_rr(dev, MT_RX_FILTR_CFG); in mt76x0_init_hardware()
|
/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | usb_main.c | 74 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()
|
D | pci_main.c | 73 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()
|
D | usb_init.c | 160 dev->mt76.rxfilter = mt76_rr(dev, MT_RX_FILTR_CFG); in mt76x2u_init_hardware()
|
D | pci_init.c | 253 dev->mt76.rxfilter = mt76_rr(dev, MT_RX_FILTR_CFG); in mt76x2_init_hardware()
|
/drivers/net/wireless/ath/ath9k/ |
D | debug.c | 666 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 …]
|
D | recv.c | 392 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()
|
D | htc_drv_txrx.c | 883 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()
|
D | common.c | 36 unsigned int rxfilter) in ath9k_cmn_rx_accept() argument 96 if (ah->is_monitoring && (rxfilter & FIF_FCSFAIL)) in ath9k_cmn_rx_accept()
|
D | common.h | 69 unsigned int rxfilter);
|
D | common-spectral.c | 718 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/ |
D | main.c | 225 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()
|
D | mt7603.h | 111 u32 rxfilter; member
|
/drivers/net/wireless/mediatek/mt7601u/ |
D | main.c | 108 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()
|
D | init.c | 238 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/ |
D | encx24j600.c | 61 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()
|
D | enc28j60.c | 70 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/ |
D | main.c | 454 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/ |
D | main.c | 447 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/ |
D | main.c | 457 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/ |
D | mt76x02_util.c | 212 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()
|
D | mt76x02_usb_core.c | 33 mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); in mt76x02u_mac_start()
|
/drivers/net/ethernet/sfc/ |
D | ptp.c | 1305 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/ |
D | ar5523.c | 442 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()
|