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

/linux-4.1.27/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_PROM; ath5k_configure_filter()
414 rfilt |= AR5K_RX_FILTER_PHYERR; ath5k_configure_filter()
419 rfilt |= AR5K_RX_FILTER_BEACON; ath5k_configure_filter()
427 rfilt |= AR5K_RX_FILTER_CONTROL; ath5k_configure_filter()
435 rfilt |= AR5K_RX_FILTER_CONTROL | ath5k_configure_filter()
442 rfilt |= AR5K_RX_FILTER_PROBEREQ | ath5k_configure_filter()
447 rfilt |= AR5K_RX_FILTER_BEACON; ath5k_configure_filter()
465 rfilt |= AR5K_RX_FILTER_PROM; ath5k_configure_filter()
469 ath5k_hw_set_rx_filter(ah, rfilt); ath5k_configure_filter()
475 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()
/linux-4.1.27/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()
401 rfilt |= ATH9K_RX_FILTER_PROM; ath_calcrxfilter()
405 rfilt |= ATH9K_RX_FILTER_CONTROL; ath_calcrxfilter()
410 rfilt |= ATH9K_RX_FILTER_MYBEACON; ath_calcrxfilter()
412 rfilt |= ATH9K_RX_FILTER_BEACON; ath_calcrxfilter()
416 rfilt |= ATH9K_RX_FILTER_PSPOLL; ath_calcrxfilter()
419 rfilt |= ATH9K_RX_FILTER_COMP_BAR; ath_calcrxfilter()
424 rfilt |= ATH9K_RX_FILTER_PROM; ath_calcrxfilter()
425 rfilt |= ATH9K_RX_FILTER_MCAST_BCAST_ALL; ath_calcrxfilter()
430 rfilt |= ATH9K_RX_FILTER_4ADDRESS; ath_calcrxfilter()
434 rfilt |= ATH9K_RX_FILTER_BEACON; ath_calcrxfilter()
438 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()
883 rfilt |= ATH9K_RX_FILTER_PROM; ath9k_htc_calcrxfilter()
886 rfilt |= ATH9K_RX_FILTER_CONTROL; ath9k_htc_calcrxfilter()
891 rfilt |= ATH9K_RX_FILTER_MYBEACON; ath9k_htc_calcrxfilter()
893 rfilt |= ATH9K_RX_FILTER_BEACON; ath9k_htc_calcrxfilter()
896 rfilt |= ATH9K_RX_FILTER_COMP_BAR; ath9k_htc_calcrxfilter()
897 rfilt |= ATH9K_RX_FILTER_UNCOMP_BA_BAR; ath9k_htc_calcrxfilter()
901 rfilt |= ATH9K_RX_FILTER_PSPOLL; ath9k_htc_calcrxfilter()
904 rfilt |= ATH9K_RX_FILTER_MCAST_BCAST_ALL; ath9k_htc_calcrxfilter()
906 return rfilt; ath9k_htc_calcrxfilter()
917 u32 rfilt, mfilt[2]; ath9k_htc_opmode_init() local
920 rfilt = ath9k_htc_calcrxfilter(priv); ath9k_htc_opmode_init()
921 ath9k_hw_setrxfilter(ah, rfilt); ath9k_htc_opmode_init()
H A Dmain.c1463 u32 rfilt; ath9k_configure_filter() local
1473 rfilt = ath_calcrxfilter(sc); ath9k_configure_filter()
1474 ath9k_hw_setrxfilter(sc->sc_ah, rfilt); ath9k_configure_filter()
1478 rfilt); ath9k_configure_filter()
1948 u32 rfilt; ath9k_enable_dynack() local
1954 rfilt = ath_calcrxfilter(sc); ath9k_enable_dynack()
1955 ath9k_hw_setrxfilter(ah, rfilt); ath9k_enable_dynack()
1973 u32 rfilt; ath9k_set_coverage_class() local
1976 rfilt = ath_calcrxfilter(sc); ath9k_set_coverage_class()
1977 ath9k_hw_setrxfilter(ah, rfilt); ath9k_set_coverage_class()
H A Dhtc_drv_main.c1257 u32 rfilt; ath9k_htc_configure_filter() local
1272 rfilt = ath9k_htc_calcrxfilter(priv); ath9k_htc_configure_filter()
1273 ath9k_hw_setrxfilter(priv->ah, rfilt); ath9k_htc_configure_filter()
1276 rfilt); ath9k_htc_configure_filter()

Completed in 213 milliseconds