Home
last modified time | relevance | path

Searched refs:macmode (Results 1 – 25 of 36) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_bandsteer.c86 wl_android_set_ap_mac_list(struct net_device *dev, int macmode, struct maclist *maclist);
347 int macmode = MACLIST_MODE_DENY; in dhd_bandsteer_add_to_black_list() local
372 if ((err = wldev_ioctl_set(if_info_2g->ndev, WLC_SET_MACMODE, &macmode, in dhd_bandsteer_add_to_black_list()
373 sizeof(macmode))) != 0) { in dhd_bandsteer_add_to_black_list()
562 int macmode = MACLIST_MODE_DISABLED; in dhd_bandsteer_module_deinit() local
584 WLC_SET_MACMODE, &macmode, sizeof(macmode))) != 0) { in dhd_bandsteer_module_deinit()
H A Dwl_android.h133 int wl_android_set_ap_mac_list(struct net_device *dev, int macmode, struct maclist *maclist);
H A Dwl_android.c4034 wl_android_set_ap_mac_list(struct net_device *dev, int macmode, struct maclist *maclist) in wl_android_set_ap_mac_list() argument
4043 if ((ret = wldev_ioctl_set(dev, WLC_SET_MACMODE, &macmode, sizeof(macmode)) != 0)) { in wl_android_set_ap_mac_list()
4047 if (macmode != MACLIST_MODE_DISABLED) { in wl_android_set_ap_mac_list()
4081 if ((macmode == MACLIST_MODE_ALLOW && !match) || in wl_android_set_ap_mac_list()
4082 (macmode == MACLIST_MODE_DENY && match)) { in wl_android_set_ap_mac_list()
4113 int macmode = MACLIST_MODE_DISABLED; in wl_android_set_mac_address_filter() local
4127 macmode = bcm_atoi(token); in wl_android_set_mac_address_filter()
4129 if (macmode < MACLIST_MODE_DISABLED || macmode > MACLIST_MODE_ALLOW) { in wl_android_set_mac_address_filter()
4130 DHD_ERROR(("wl_android_set_mac_address_filter: invalid macmode %d\n", macmode)); in wl_android_set_mac_address_filter()
4177 if ((ret = wl_android_set_ap_mac_list(dev, macmode, list)) != 0) in wl_android_set_mac_address_filter()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_bandsteer.c86 wl_android_set_ap_mac_list(struct net_device *dev, int macmode, struct maclist *maclist);
347 int macmode = MACLIST_MODE_DENY; in dhd_bandsteer_add_to_black_list() local
372 if ((err = wldev_ioctl_set(if_info_2g->ndev, WLC_SET_MACMODE, &macmode, in dhd_bandsteer_add_to_black_list()
373 sizeof(macmode))) != 0) { in dhd_bandsteer_add_to_black_list()
562 int macmode = MACLIST_MODE_DISABLED; in dhd_bandsteer_module_deinit() local
584 WLC_SET_MACMODE, &macmode, sizeof(macmode))) != 0) { in dhd_bandsteer_module_deinit()
H A Dwl_android.h133 int wl_android_set_ap_mac_list(struct net_device *dev, int macmode, struct maclist *maclist);
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_bandsteer.c86 wl_android_set_ap_mac_list(struct net_device *dev, int macmode, struct maclist *maclist);
347 int macmode = MACLIST_MODE_DENY; in dhd_bandsteer_add_to_black_list() local
372 if ((err = wldev_ioctl_set(if_info_2g->ndev, WLC_SET_MACMODE, &macmode, in dhd_bandsteer_add_to_black_list()
373 sizeof(macmode))) != 0) { in dhd_bandsteer_add_to_black_list()
562 int macmode = MACLIST_MODE_DISABLED; in dhd_bandsteer_module_deinit() local
584 WLC_SET_MACMODE, &macmode, sizeof(macmode))) != 0) { in dhd_bandsteer_module_deinit()
H A Dwl_android.h133 int wl_android_set_ap_mac_list(struct net_device *dev, int macmode, struct maclist *maclist);
H A Dwl_android.c3948 wl_android_set_ap_mac_list(struct net_device *dev, int macmode, struct maclist *maclist) in wl_android_set_ap_mac_list() argument
3957 if ((ret = wldev_ioctl_set(dev, WLC_SET_MACMODE, &macmode, sizeof(macmode)) != 0)) { in wl_android_set_ap_mac_list()
3961 if (macmode != MACLIST_MODE_DISABLED) { in wl_android_set_ap_mac_list()
3995 if ((macmode == MACLIST_MODE_ALLOW && !match) || in wl_android_set_ap_mac_list()
3996 (macmode == MACLIST_MODE_DENY && match)) { in wl_android_set_ap_mac_list()
4027 int macmode = MACLIST_MODE_DISABLED; in wl_android_set_mac_address_filter() local
4041 macmode = bcm_atoi(token); in wl_android_set_mac_address_filter()
4043 if (macmode < MACLIST_MODE_DISABLED || macmode > MACLIST_MODE_ALLOW) { in wl_android_set_mac_address_filter()
4044 DHD_ERROR(("wl_android_set_mac_address_filter: invalid macmode %d\n", macmode)); in wl_android_set_mac_address_filter()
4091 if ((ret = wl_android_set_ap_mac_list(dev, macmode, list)) != 0) in wl_android_set_mac_address_filter()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c723 u32 macmode; in __de_set_rx_mode() local
729 macmode = dr32(MacMode) & ~(AcceptAllMulticast | AcceptAllPhys); in __de_set_rx_mode()
732 macmode |= AcceptAllMulticast | AcceptAllPhys; in __de_set_rx_mode()
738 macmode |= AcceptAllMulticast; in __de_set_rx_mode()
800 if (macmode != dr32(MacMode)) in __de_set_rx_mode()
801 dw32(MacMode, macmode); in __de_set_rx_mode()
849 u32 macmode; in de_stop_rxtx() local
852 macmode = dr32(MacMode); in de_stop_rxtx()
853 if (macmode & RxTx) { in de_stop_rxtx()
854 dw32(MacMode, macmode & ~RxTx); in de_stop_rxtx()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/wlan-ng/
H A Dcfg80211.c115 if (wlandev->macmode == WLAN_MACMODE_IBSS_STA) in prism2_change_virtual_intf()
117 wlandev->macmode = WLAN_MACMODE_IBSS_STA; in prism2_change_virtual_intf()
121 if (wlandev->macmode == WLAN_MACMODE_ESS_STA) in prism2_change_virtual_intf()
123 wlandev->macmode = WLAN_MACMODE_ESS_STA; in prism2_change_virtual_intf()
299 if (wlandev->macmode == WLAN_MACMODE_ESS_AP) { in prism2_scan()
H A Dprism2sta.c542 wlandev->macmode = WLAN_MACMODE_NONE; in prism2sta_ifstate()
1269 wlandev->macmode = in prism2sta_processing_defer()
1294 wlandev->macmode = WLAN_MACMODE_NONE; in prism2sta_processing_defer()
1924 if ((wlandev->macmode == WLAN_MACMODE_NONE) || in prism2sta_commsqual_defer()
1925 (wlandev->macmode == WLAN_MACMODE_ESS_AP)) { in prism2sta_commsqual_defer()
1930 if (wlandev->macmode != WLAN_MACMODE_IBSS_STA) { in prism2sta_commsqual_defer()
H A Dp80211netdev.c355 switch (wlandev->macmode) { in p80211knetdev_hard_start_xmit()
495 (wlandev->macmode != WLAN_MACMODE_NONE)) { in p80211netdev_ethtool()
727 wlandev->macmode = WLAN_MACMODE_NONE; in wlan_setup()
H A Dp80211netdev.h193 u32 macmode; member
H A Dprism2mgmt.c555 wlandev->macmode = WLAN_MACMODE_NONE; in prism2mgmt_start()
683 wlandev->macmode = WLAN_MACMODE_IBSS_STA; in prism2mgmt_start()
1056 wlandev->macmode = WLAN_MACMODE_NONE; in prism2mgmt_autojoin()
H A Dp80211conv.c176 switch (wlandev->macmode) { in skb_ether_to_p80211()
/OK3568_Linux_fs/kernel/drivers/net/
H A Dmacvlan.c1412 int macmode; in macvlan_common_newlink() local
1483 macmode = nla_get_u32(data[IFLA_MACVLAN_MACADDR_MODE]); in macvlan_common_newlink()
1484 err = macvlan_changelink_sources(vlan, macmode, data); in macvlan_common_newlink()
1546 enum macvlan_macaddr_mode macmode; in macvlan_changelink() local
1582 macmode = nla_get_u32(data[IFLA_MACVLAN_MACADDR_MODE]); in macvlan_changelink()
1583 ret = macvlan_changelink_sources(vlan, macmode, data); in macvlan_changelink()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_android.h220 int wl_android_set_ap_mac_list(struct net_device *dev, int macmode, struct maclist *maclist);
H A Dwl_cfgvif.c5062 int macmode = MACLIST_MODE_DISABLED; in wl_cfg80211_set_mac_acl() local
5068 macmode = MACLIST_MODE_ALLOW; in wl_cfg80211_set_mac_acl()
5071 macmode = MACLIST_MODE_DENY; in wl_cfg80211_set_mac_acl()
5075 if (macmode == MACLIST_MODE_DISABLED) { in wl_cfg80211_set_mac_acl()
5076 if ((ret = wl_android_set_ap_mac_list(cfgdev, macmode, NULL)) != 0) in wl_cfg80211_set_mac_acl()
5104 if ((ret = wl_android_set_ap_mac_list(cfgdev, macmode, list)) != 0) in wl_cfg80211_set_mac_acl()
H A Dwl_android.c4672 wl_android_set_ap_mac_list(struct net_device *dev, int macmode, struct maclist *maclist) in wl_android_set_ap_mac_list() argument
4681 if ((ret = wldev_ioctl_set(dev, WLC_SET_MACMODE, &macmode, sizeof(macmode)) != 0)) { in wl_android_set_ap_mac_list()
4685 if (macmode != MACLIST_MODE_DISABLED) { in wl_android_set_ap_mac_list()
4719 if ((macmode == MACLIST_MODE_ALLOW && !match) || in wl_android_set_ap_mac_list()
4720 (macmode == MACLIST_MODE_DENY && match)) { in wl_android_set_ap_mac_list()
4750 int macmode = MACLIST_MODE_DISABLED; in wl_android_set_mac_address_filter() local
4764 macmode = bcm_atoi(token); in wl_android_set_mac_address_filter()
4766 if (macmode < MACLIST_MODE_DISABLED || macmode > MACLIST_MODE_ALLOW) { in wl_android_set_mac_address_filter()
4767 ANDROID_ERROR(("wl_android_set_mac_address_filter: invalid macmode %d\n", macmode)); in wl_android_set_mac_address_filter()
4814 if ((ret = wl_android_set_ap_mac_list(dev, macmode, list)) != 0) in wl_android_set_mac_address_filter()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_android.h219 int wl_android_set_ap_mac_list(struct net_device *dev, int macmode, struct maclist *maclist);
H A Dwl_cfgvif.c5036 int macmode = MACLIST_MODE_DISABLED; in wl_cfg80211_set_mac_acl() local
5042 macmode = MACLIST_MODE_ALLOW; in wl_cfg80211_set_mac_acl()
5045 macmode = MACLIST_MODE_DENY; in wl_cfg80211_set_mac_acl()
5049 if (macmode == MACLIST_MODE_DISABLED) { in wl_cfg80211_set_mac_acl()
5050 if ((ret = wl_android_set_ap_mac_list(cfgdev, macmode, NULL)) != 0) in wl_cfg80211_set_mac_acl()
5078 if ((ret = wl_android_set_ap_mac_list(cfgdev, macmode, list)) != 0) in wl_cfg80211_set_mac_acl()
H A Dwl_android.c4656 wl_android_set_ap_mac_list(struct net_device *dev, int macmode, struct maclist *maclist) in wl_android_set_ap_mac_list() argument
4665 if ((ret = wldev_ioctl_set(dev, WLC_SET_MACMODE, &macmode, sizeof(macmode)) != 0)) { in wl_android_set_ap_mac_list()
4669 if (macmode != MACLIST_MODE_DISABLED) { in wl_android_set_ap_mac_list()
4703 if ((macmode == MACLIST_MODE_ALLOW && !match) || in wl_android_set_ap_mac_list()
4704 (macmode == MACLIST_MODE_DENY && match)) { in wl_android_set_ap_mac_list()
4734 int macmode = MACLIST_MODE_DISABLED; in wl_android_set_mac_address_filter() local
4748 macmode = bcm_atoi(token); in wl_android_set_mac_address_filter()
4750 if (macmode < MACLIST_MODE_DISABLED || macmode > MACLIST_MODE_ALLOW) { in wl_android_set_mac_address_filter()
4751 ANDROID_ERROR(("wl_android_set_mac_address_filter: invalid macmode %d\n", macmode)); in wl_android_set_mac_address_filter()
4798 if ((ret = wl_android_set_ap_mac_list(dev, macmode, list)) != 0) in wl_android_set_mac_address_filter()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_android.c1429 wl_android_set_ap_mac_list(struct net_device *dev, int macmode, struct maclist *maclist) in wl_android_set_ap_mac_list() argument
1438 if ((ret = wldev_ioctl_set(dev, WLC_SET_MACMODE, &macmode, sizeof(macmode)) != 0)) { in wl_android_set_ap_mac_list()
1442 if (macmode != MACLIST_MODE_DISABLED) { in wl_android_set_ap_mac_list()
1474 if ((macmode == MACLIST_MODE_ALLOW && !match) || in wl_android_set_ap_mac_list()
1475 (macmode == MACLIST_MODE_DENY && match)) { in wl_android_set_ap_mac_list()
1503 int macmode = MACLIST_MODE_DISABLED; in wl_android_set_mac_address_filter() local
1516 macmode = bcm_atoi(token); in wl_android_set_mac_address_filter()
1518 if (macmode < MACLIST_MODE_DISABLED || macmode > MACLIST_MODE_ALLOW) { in wl_android_set_mac_address_filter()
1519 ANDROID_ERROR(("%s : invalid macmode %d\n", __FUNCTION__, macmode)); in wl_android_set_mac_address_filter()
1554 if ((ret = wl_android_set_ap_mac_list(dev, macmode, list)) != 0) in wl_android_set_mac_address_filter()
H A Dwl_android.h239 int wl_android_set_ap_mac_list(struct net_device *dev, int macmode, struct maclist *maclist);
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath9k/
H A Dhw.c3069 u32 macmode; in ath9k_hw_set11nmac2040() local
3072 macmode = AR_2040_JOINED_RX_CLEAR; in ath9k_hw_set11nmac2040()
3074 macmode = 0; in ath9k_hw_set11nmac2040()
3076 REG_WRITE(ah, AR_2040_MODE, macmode); in ath9k_hw_set11nmac2040()

12