Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.12.1/drivers/net/wireless/silabs/wfx/
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()
Dsta.h28 unsigned int *total_flags, u64 unused);
/linux-6.12.1/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.12.1/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.12.1/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.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-6.12.1/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.12.1/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.12.1/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.12.1/drivers/net/wireless/mediatek/mt76/
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()
Dmt76x02.h154 unsigned int *total_flags, u64 multicast);
/linux-6.12.1/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.12.1/drivers/net/wireless/mediatek/mt76/mt7603/
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-6.12.1/drivers/net/wireless/intel/iwlwifi/dvm/
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-6.12.1/drivers/net/wireless/mediatek/mt76/mt7996/
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-6.12.1/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.12.1/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.12.1/drivers/net/wireless/intel/iwlegacy/
D4965.h157 unsigned int *total_flags, u64 multicast);
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/
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-6.12.1/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.12.1/drivers/net/wireless/mediatek/mt76/mt7921/
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-6.12.1/drivers/net/wireless/marvell/
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-6.12.1/net/mac80211/
Ddriver-ops.h200 unsigned int *total_flags, in drv_configure_filter() argument
206 trace_drv_configure_filter(local, changed_flags, total_flags, in drv_configure_filter()
208 local->ops->configure_filter(&local->hw, changed_flags, total_flags, in drv_configure_filter()

12