Home
last modified time | relevance | path

Searched refs:total_flags (Results 1 – 25 of 38) sorted by relevance

12

/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00mac.c357 unsigned int *total_flags, in rt2x00mac_configure_filter() argument
366 *total_flags &= in rt2x00mac_configure_filter()
380 *total_flags |= FIF_ALLMULTI; in rt2x00mac_configure_filter()
390 if (*total_flags & FIF_CONTROL || *total_flags & FIF_PSPOLL) in rt2x00mac_configure_filter()
391 *total_flags |= FIF_CONTROL | FIF_PSPOLL; in rt2x00mac_configure_filter()
394 if (*total_flags & FIF_CONTROL) in rt2x00mac_configure_filter()
395 *total_flags |= FIF_PSPOLL; in rt2x00mac_configure_filter()
398 rt2x00dev->packet_filter = *total_flags; in rt2x00mac_configure_filter()
400 rt2x00dev->ops->lib->config_filter(rt2x00dev, *total_flags); in rt2x00mac_configure_filter()
/linux/drivers/net/wireless/silabs/wfx/
H A Dsta.c81 unsigned int *total_flags, u64 unused) in wfx_configure_filter() argument
96 *total_flags &= FIF_BCN_PRBRESP_PROMISC | FIF_ALLMULTI | FIF_OTHER_BSS | in wfx_configure_filter()
108 if (*total_flags & FIF_BCN_PRBRESP_PROMISC) in wfx_configure_filter()
114 if (*total_flags & FIF_OTHER_BSS) in wfx_configure_filter()
121 if (*total_flags & FIF_PROBE_REQ && vif->type == NL80211_IFTYPE_AP) { in wfx_configure_filter()
123 *total_flags &= ~FIF_PROBE_REQ; in wfx_configure_filter()
126 if (*total_flags & FIF_PROBE_REQ) in wfx_configure_filter()
H A Dsta.h28 unsigned int *total_flags, u64 unused);
/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dmain.c101 unsigned int *total_flags, u64 multicast) in mt76_configure_filter() argument
107 flags |= *total_flags & FIF_##_flag; \ in mt76_configure_filter()
127 *total_flags = flags; in mt76_configure_filter()
/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/
H A Ddev.c1311 unsigned int *total_flags, in rtl8187_configure_filter() argument
1320 if (*total_flags & FIF_OTHER_BSS || in rtl8187_configure_filter()
1321 *total_flags & FIF_ALLMULTI || multicast > 0) in rtl8187_configure_filter()
1326 *total_flags = 0; in rtl8187_configure_filter()
1329 *total_flags |= FIF_FCSFAIL; in rtl8187_configure_filter()
1331 *total_flags |= FIF_CONTROL; in rtl8187_configure_filter()
1333 *total_flags |= FIF_OTHER_BSS; in rtl8187_configure_filter()
1334 *total_flags |= FIF_ALLMULTI; in rtl8187_configure_filter()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dtestmode.c136 unsigned int total_flags = ~0; in mt7615_tm_init() local
145 mt7615_ops.configure_filter(phy->mt76->hw, 0, &total_flags, 0); in mt7615_tm_init()
H A Dmain.c483 unsigned int *total_flags, in mt7615_configure_filter() argument
500 flags |= *total_flags & FIF_##_flag; \ in mt7615_configure_filter()
531 *total_flags = flags; in mt7615_configure_filter()
534 if (*total_flags & FIF_CONTROL) in mt7615_configure_filter()
/linux/drivers/net/wireless/st/cw1200/
H A Dsta.h28 unsigned int *total_flags,
H A Dsta.c573 unsigned int *total_flags, in cw1200_configure_filter() argument
577 bool listening = !!(*total_flags & in cw1200_configure_filter()
582 *total_flags &= FIF_OTHER_BSS | in cw1200_configure_filter()
591 priv->rx_filter.bssid = (*total_flags & (FIF_OTHER_BSS | in cw1200_configure_filter()
593 priv->rx_filter.fcs = (*total_flags & FIF_FCSFAIL) ? 1 : 0; in cw1200_configure_filter()
594 priv->disable_beacon_filter = !(*total_flags & in cw1200_configure_filter()
/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/
H A Ddev.c1579 unsigned int *total_flags, in rtl8180_configure_filter() argument
1590 if (*total_flags & FIF_ALLMULTI || multicast > 0) in rtl8180_configure_filter()
1595 *total_flags = 0; in rtl8180_configure_filter()
1598 *total_flags |= FIF_FCSFAIL; in rtl8180_configure_filter()
1600 *total_flags |= FIF_CONTROL; in rtl8180_configure_filter()
1602 *total_flags |= FIF_OTHER_BSS; in rtl8180_configure_filter()
1604 *total_flags |= FIF_ALLMULTI; in rtl8180_configure_filter()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_util.c206 unsigned int *total_flags, u64 multicast) in mt76x02_configure_filter() argument
212 flags |= *total_flags & FIF_##_flag; \ in mt76x02_configure_filter()
231 *total_flags = flags; in mt76x02_configure_filter()
H A Dmt76x02.h154 unsigned int *total_flags, u64 multicast);
/linux/drivers/net/wireless/intersil/p54/
H A Dmain.c390 unsigned int *total_flags, in p54_configure_filter() argument
395 *total_flags &= FIF_ALLMULTI | FIF_OTHER_BSS; in p54_configure_filter()
397 priv->filter_flags = *total_flags; in p54_configure_filter()
/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmain.c248 unsigned int *total_flags, u64 multicast) in mt7603_configure_filter() argument
254 flags |= *total_flags & FIF_##_flag; \ in mt7603_configure_filter()
282 *total_flags = flags; in mt7603_configure_filter()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dmac80211.c1028 unsigned int *total_flags, in iwlagn_configure_filter() argument
1036 if (*total_flags & (test)) \ in iwlagn_configure_filter()
1043 changed_flags, *total_flags); in iwlagn_configure_filter()
1072 *total_flags &= FIF_OTHER_BSS | FIF_ALLMULTI | in iwlagn_configure_filter()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmain.c459 unsigned int *total_flags, in mt7996_configure_filter() argument
472 flags |= *total_flags & FIF_##_flag; \ in mt7996_configure_filter()
502 *total_flags = flags; in mt7996_configure_filter()
505 if (*total_flags & FIF_CONTROL) in mt7996_configure_filter()
/linux/drivers/net/wireless/admtek/
H A Dadm8211.c1348 unsigned int *total_flags, in adm8211_configure_filter() argument
1361 if (*total_flags & FIF_ALLMULTI || multicast == ~(0ULL)) { in adm8211_configure_filter()
1381 if (*total_flags & FIF_BCN_PRBRESP_PROMISC) in adm8211_configure_filter()
1388 *total_flags = new_flags; in adm8211_configure_filter()
/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965.h157 unsigned int *total_flags, u64 multicast);
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmain.c518 unsigned int *total_flags, in mt7915_configure_filter() argument
533 flags |= *total_flags & FIF_##_flag; \ in mt7915_configure_filter()
562 *total_flags = flags; in mt7915_configure_filter()
570 if (*total_flags & FIF_CONTROL) in mt7915_configure_filter()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmain.c643 unsigned int *total_flags, in mt7921_configure_filter() argument
655 if (*total_flags & (_fif)) \ in mt7921_configure_filter()
667 *total_flags &= (FIF_OTHER_BSS | FIF_FCSFAIL | FIF_CONTROL); in mt7921_configure_filter()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmac80211_if.c741 unsigned int *total_flags, u64 multicast) in brcms_ops_configure_filter() argument
747 *total_flags &= MAC_FILTERS; in brcms_ops_configure_filter()
763 brcms_c_mac_promisc(wl->wlc, *total_flags); in brcms_ops_configure_filter()
/linux/drivers/net/wireless/marvell/
H A Dmwl8k.c5199 unsigned int *total_flags) in mwl8k_configure_filter_sniffer() argument
5221 *total_flags &= FIF_ALLMULTI | in mwl8k_configure_filter_sniffer()
5238 unsigned int *total_flags, in mwl8k_configure_filter() argument
5249 *total_flags &= FIF_ALLMULTI | FIF_BCN_PRBRESP_PROMISC; in mwl8k_configure_filter()
5258 if (*total_flags & (FIF_CONTROL | FIF_OTHER_BSS) && in mwl8k_configure_filter()
5259 mwl8k_configure_filter_sniffer(hw, changed_flags, total_flags)) { in mwl8k_configure_filter()
5265 *total_flags &= FIF_ALLMULTI | FIF_BCN_PRBRESP_PROMISC; in mwl8k_configure_filter()
5278 if (*total_flags & FIF_BCN_PRBRESP_PROMISC) { in mwl8k_configure_filter()
5311 if (*total_flags & FIF_ALLMULTI) { in mwl8k_configure_filter()
/linux/drivers/net/wireless/ath/ath9k/
H A Dmain.c1566 unsigned int *total_flags, in ath9k_configure_filter() argument
1573 *total_flags &= SUPPORTED_FILTERS; in ath9k_configure_filter()
1577 ctx->rxfilter = *total_flags; in ath9k_configure_filter()
1579 sc->offchannel.chan.rxfilter = *total_flags; in ath9k_configure_filter()
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmain.c774 unsigned int *total_flags, in mt7925_configure_filter() argument
785 if (*total_flags & (_fif)) \ in mt7925_configure_filter()
797 *total_flags &= (FIF_OTHER_BSS | FIF_FCSFAIL | FIF_CONTROL); in mt7925_configure_filter()
/linux/drivers/net/wireless/atmel/
H A Dat76c50x-usb.c2055 unsigned int *total_flags, u64 multicast) in at76_configure_filter() argument
2062 __func__, changed_flags, *total_flags); in at76_configure_filter()
2065 *total_flags = AT76_SUPPORTED_FILTERS; in at76_configure_filter()

12