Searched refs:rfilt (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/net/wireless/ath/ath9k/
H A Drecv.c93 u32 rfilt, mfilt[2]; ath_opmode_init() local
96 rfilt = ath_calcrxfilter(sc); ath_opmode_init()
97 ath9k_hw_setrxfilter(ah, rfilt); ath_opmode_init()
378 u32 rfilt; ath_calcrxfilter() local
383 rfilt = ATH9K_RX_FILTER_UCAST | ATH9K_RX_FILTER_BCAST ath_calcrxfilter()
388 rfilt |= ATH9K_RX_FILTER_PHYRADAR | ATH9K_RX_FILTER_PHYERR; ath_calcrxfilter()
393 rfilt |= ATH9K_RX_FILTER_PROBEREQ; ath_calcrxfilter()
396 rfilt |= ATH9K_RX_FILTER_PROM; ath_calcrxfilter()
400 rfilt |= ATH9K_RX_FILTER_CONTROL; ath_calcrxfilter()
405 rfilt |= ATH9K_RX_FILTER_MYBEACON; ath_calcrxfilter()
407 rfilt |= ATH9K_RX_FILTER_BEACON; ath_calcrxfilter()
411 rfilt |= ATH9K_RX_FILTER_PSPOLL; ath_calcrxfilter()
414 rfilt |= ATH9K_RX_FILTER_COMP_BAR; ath_calcrxfilter()
419 rfilt |= ATH9K_RX_FILTER_PROM; ath_calcrxfilter()
420 rfilt |= ATH9K_RX_FILTER_MCAST_BCAST_ALL; ath_calcrxfilter()
425 rfilt |= ATH9K_RX_FILTER_4ADDRESS; ath_calcrxfilter()
429 rfilt |= ATH9K_RX_FILTER_BEACON; ath_calcrxfilter()
433 return rfilt; ath_calcrxfilter()
H A Dhtc_drv_txrx.c866 u32 rfilt; ath9k_htc_calcrxfilter() local
868 rfilt = (ath9k_hw_getrxfilter(ah) & RX_FILTER_PRESERVE) ath9k_htc_calcrxfilter()
873 rfilt |= ATH9K_RX_FILTER_PROBEREQ; ath9k_htc_calcrxfilter()
876 rfilt |= ATH9K_RX_FILTER_PROM; ath9k_htc_calcrxfilter()
879 rfilt |= ATH9K_RX_FILTER_CONTROL; ath9k_htc_calcrxfilter()
884 rfilt |= ATH9K_RX_FILTER_MYBEACON; ath9k_htc_calcrxfilter()
886 rfilt |= ATH9K_RX_FILTER_BEACON; ath9k_htc_calcrxfilter()
889 rfilt |= ATH9K_RX_FILTER_COMP_BAR; ath9k_htc_calcrxfilter()
890 rfilt |= ATH9K_RX_FILTER_UNCOMP_BA_BAR; ath9k_htc_calcrxfilter()
894 rfilt |= ATH9K_RX_FILTER_PSPOLL; ath9k_htc_calcrxfilter()
897 rfilt |= ATH9K_RX_FILTER_MCAST_BCAST_ALL; ath9k_htc_calcrxfilter()
899 return rfilt; ath9k_htc_calcrxfilter()
910 u32 rfilt, mfilt[2]; ath9k_htc_opmode_init() local
913 rfilt = ath9k_htc_calcrxfilter(priv); ath9k_htc_opmode_init()
914 ath9k_hw_setrxfilter(ah, rfilt); ath9k_htc_opmode_init()
H A Dmain.c1468 u32 rfilt; ath9k_configure_filter() local
1482 rfilt = ath_calcrxfilter(sc); ath9k_configure_filter()
1483 ath9k_hw_setrxfilter(sc->sc_ah, rfilt); ath9k_configure_filter()
1487 rfilt); ath9k_configure_filter()
1958 u32 rfilt; ath9k_enable_dynack() local
1964 rfilt = ath_calcrxfilter(sc); ath9k_enable_dynack()
1965 ath9k_hw_setrxfilter(ah, rfilt); ath9k_enable_dynack()
1983 u32 rfilt; ath9k_set_coverage_class() local
1986 rfilt = ath_calcrxfilter(sc); ath9k_set_coverage_class()
1987 ath9k_hw_setrxfilter(ah, rfilt); ath9k_set_coverage_class()
H A Dhtc_drv_main.c1266 u32 rfilt; ath9k_htc_configure_filter() local
1281 rfilt = ath9k_htc_calcrxfilter(priv); ath9k_htc_configure_filter()
1282 ath9k_hw_setrxfilter(priv->ah, rfilt); ath9k_htc_configure_filter()
1285 rfilt); ath9k_htc_configure_filter()
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
H A Dmac80211-ops.c377 u32 mfilt[2], rfilt; ath5k_configure_filter() local
392 rfilt = (ath5k_hw_get_rx_filter(ah) & (AR5K_RX_FILTER_PHYERR)) | ath5k_configure_filter()
404 rfilt |= AR5K_RX_FILTER_PHYERR; ath5k_configure_filter()
409 rfilt |= AR5K_RX_FILTER_BEACON; ath5k_configure_filter()
416 rfilt |= AR5K_RX_FILTER_CONTROL; ath5k_configure_filter()
424 rfilt |= AR5K_RX_FILTER_CONTROL | ath5k_configure_filter()
431 rfilt |= AR5K_RX_FILTER_PROBEREQ | ath5k_configure_filter()
436 rfilt |= AR5K_RX_FILTER_BEACON; ath5k_configure_filter()
454 rfilt |= AR5K_RX_FILTER_PROM; ath5k_configure_filter()
458 ath5k_hw_set_rx_filter(ah, rfilt); ath5k_configure_filter()
464 ah->filter_flags = rfilt; ath5k_configure_filter()
H A Dbase.c524 u32 rfilt; ath5k_update_bssid_mask_and_opmode() local
570 rfilt = ah->filter_flags; ath5k_update_bssid_mask_and_opmode()
571 ath5k_hw_set_rx_filter(ah, rfilt); ath5k_update_bssid_mask_and_opmode()
572 ATH5K_DBG(ah, ATH5K_DEBUG_MODE, "RX filter 0x%x\n", rfilt); ath5k_update_bssid_mask_and_opmode()
3177 u32 rfilt; ath5k_set_beacon_filter() local
3178 rfilt = ath5k_hw_get_rx_filter(ah); ath5k_set_beacon_filter()
3180 rfilt |= AR5K_RX_FILTER_BEACON; ath5k_set_beacon_filter()
3182 rfilt &= ~AR5K_RX_FILTER_BEACON; ath5k_set_beacon_filter()
3183 ath5k_hw_set_rx_filter(ah, rfilt); ath5k_set_beacon_filter()
3184 ah->filter_flags = rfilt; ath5k_set_beacon_filter()

Completed in 177 milliseconds