Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
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-6.1.9/drivers/net/wireless/silabs/wfx/
Dsta.c99 unsigned int *total_flags, u64 unused) in wfx_configure_filter() argument
114 *total_flags &= FIF_BCN_PRBRESP_PROMISC | FIF_ALLMULTI | FIF_OTHER_BSS | in wfx_configure_filter()
124 if (*total_flags & FIF_BCN_PRBRESP_PROMISC) in wfx_configure_filter()
130 if (*total_flags & FIF_OTHER_BSS) in wfx_configure_filter()
137 if (*total_flags & FIF_PROBE_REQ && vif->type == NL80211_IFTYPE_AP) { in wfx_configure_filter()
139 *total_flags &= ~FIF_PROBE_REQ; in wfx_configure_filter()
142 if (*total_flags & FIF_PROBE_REQ) in wfx_configure_filter()
Dsta.h28 unsigned int *total_flags, u64 unused);
/linux-6.1.9/drivers/net/wireless/mediatek/mt7601u/
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-6.1.9/drivers/net/wireless/realtek/rtl818x/rtl8187/
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-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/
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()
Dmain.c497 unsigned int *total_flags, in mt7615_configure_filter() argument
514 flags |= *total_flags & FIF_##_flag; \ in mt7615_configure_filter()
545 *total_flags = flags; in mt7615_configure_filter()
548 if (*total_flags & FIF_CONTROL) in mt7615_configure_filter()
/linux-6.1.9/drivers/staging/vt6656/
Dmain_usb.c863 unsigned int *total_flags, u64 multicast) in vnt_configure() argument
868 *total_flags &= FIF_ALLMULTI | FIF_OTHER_BSS | FIF_BCN_PRBRESP_PROMISC; in vnt_configure()
876 if (*total_flags & FIF_ALLMULTI) { in vnt_configure()
889 if (*total_flags & (FIF_OTHER_BSS | FIF_BCN_PRBRESP_PROMISC)) in vnt_configure()
/linux-6.1.9/drivers/net/wireless/st/cw1200/
Dsta.h28 unsigned int *total_flags,
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-6.1.9/drivers/net/wireless/intersil/p54/
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-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c207 unsigned int *total_flags, u64 multicast) in mt76x02_configure_filter() argument
213 flags |= *total_flags & FIF_##_flag; \ in mt76x02_configure_filter()
232 *total_flags = flags; in mt76x02_configure_filter()
Dmt76x02.h140 unsigned int *total_flags, u64 multicast);
/linux-6.1.9/drivers/net/wireless/realtek/rtl818x/rtl8180/
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-6.1.9/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c260 unsigned int *total_flags, u64 multicast) in mt7603_configure_filter() argument
266 flags |= *total_flags & FIF_##_flag; \ in mt7603_configure_filter()
294 *total_flags = flags; in mt7603_configure_filter()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Dmac80211.c1032 unsigned int *total_flags, in iwlagn_configure_filter() argument
1040 if (*total_flags & (test)) \ in iwlagn_configure_filter()
1047 changed_flags, *total_flags); in iwlagn_configure_filter()
1076 *total_flags &= FIF_OTHER_BSS | FIF_ALLMULTI | in iwlagn_configure_filter()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Dmain.c496 unsigned int *total_flags, in mt7915_configure_filter() argument
510 flags |= *total_flags & FIF_##_flag; \ in mt7915_configure_filter()
540 *total_flags = flags; in mt7915_configure_filter()
543 if (*total_flags & FIF_CONTROL) in mt7915_configure_filter()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/
Dmain.c599 unsigned int *total_flags, in mt7921_configure_filter() argument
611 flags |= *total_flags & FIF_##_flag; \ in mt7921_configure_filter()
641 *total_flags = flags; in mt7921_configure_filter()
644 if (*total_flags & FIF_CONTROL) in mt7921_configure_filter()
/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/
D4965.h157 unsigned int *total_flags, u64 multicast);
/linux-6.1.9/drivers/net/wireless/admtek/
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-6.1.9/drivers/staging/vt6655/
Ddevice_main.c1571 unsigned int *total_flags, u64 multicast) in vnt_configure() argument
1576 *total_flags &= FIF_ALLMULTI | FIF_OTHER_BSS | FIF_BCN_PRBRESP_PROMISC; in vnt_configure()
1583 if (*total_flags & FIF_ALLMULTI) { in vnt_configure()
1617 if (*total_flags & (FIF_OTHER_BSS | FIF_BCN_PRBRESP_PROMISC)) in vnt_configure()
/linux-6.1.9/net/mac80211/
Ddriver-ops.h190 unsigned int *total_flags, in drv_configure_filter() argument
195 trace_drv_configure_filter(local, changed_flags, total_flags, in drv_configure_filter()
197 local->ops->configure_filter(&local->hw, changed_flags, total_flags, in drv_configure_filter()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
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-6.1.9/drivers/net/wireless/marvell/
Dmwl8k.c5194 unsigned int *total_flags) in mwl8k_configure_filter_sniffer() argument
5216 *total_flags &= FIF_ALLMULTI | in mwl8k_configure_filter_sniffer()
5233 unsigned int *total_flags, in mwl8k_configure_filter() argument
5244 *total_flags &= FIF_ALLMULTI | FIF_BCN_PRBRESP_PROMISC; in mwl8k_configure_filter()
5253 if (*total_flags & (FIF_CONTROL | FIF_OTHER_BSS) && in mwl8k_configure_filter()
5254 mwl8k_configure_filter_sniffer(hw, changed_flags, total_flags)) { in mwl8k_configure_filter()
5260 *total_flags &= FIF_ALLMULTI | FIF_BCN_PRBRESP_PROMISC; in mwl8k_configure_filter()
5273 if (*total_flags & FIF_BCN_PRBRESP_PROMISC) { in mwl8k_configure_filter()
5306 if (*total_flags & FIF_ALLMULTI) { in mwl8k_configure_filter()
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dhtc_drv_main.c1259 unsigned int *total_flags, in ath9k_htc_configure_filter() argument
1268 *total_flags &= SUPPORTED_FILTERS; in ath9k_htc_configure_filter()
1278 priv->rxfilter = *total_flags; in ath9k_htc_configure_filter()

12