Home
last modified time | relevance | path

Searched refs:ucast (Results 1 – 25 of 47) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcmwpa.c1592 const wpa_suite_ucast_t *ucast; in bcmwpa_decode_cipher_suite() local
1626 ucast = (const wpa_suite_ucast_t *)*ptr_inc; in bcmwpa_decode_cipher_suite()
1628 if ((*remain_len) < sizeof(ucast->count)) { in bcmwpa_decode_cipher_suite()
1633 if (!ucast->count.low && !ucast->count.high) { in bcmwpa_decode_cipher_suite()
1638 *p_count = ltoh16_ua(&ucast->count); in bcmwpa_decode_cipher_suite()
1643 if ((*remain_len) < (*p_count * WPA_SUITE_LEN + sizeof(ucast->count))) { in bcmwpa_decode_cipher_suite()
1649 if (IS_WPA_CIPHER(ucast->list[0].type)) { in bcmwpa_decode_cipher_suite()
1651 info->sta_cipher = ucast->list[0].type; in bcmwpa_decode_cipher_suite()
1658 if (IS_WPA_CIPHER(ucast->list[i].type)) { in bcmwpa_decode_cipher_suite()
1659 info->p_ciphers |= BIT(ucast->list[i].type); in bcmwpa_decode_cipher_suite()
[all …]
H A Dwl_cfgvif.c1893 const wpa_suite_ucast_t *ucast; in wl_validate_wpa2ie() local
1943 ucast = (const wpa_suite_ucast_t *)&mcast[1]; in wl_validate_wpa2ie()
1944 suite_count = ltoh16_ua(&ucast->count); in wl_validate_wpa2ie()
1945 switch (ucast->list[0].type) { in wl_validate_wpa2ie()
1975 mgmt = (const wpa_suite_auth_key_mgmt_t *)&ucast->list[suite_count]; in wl_validate_wpa2ie()
2113 const wpa_suite_ucast_t *ucast; in wl_validate_wpaie() local
2171 ucast = (const wpa_suite_ucast_t *)&mcast[1]; in wl_validate_wpaie()
2172 count = ltoh16_ua(&ucast->count); in wl_validate_wpaie()
2176 if (!bcmp(ucast->list[i].oui, WPA_OUI, WPA_OUI_LEN)) { in wl_validate_wpaie()
2177 if (IS_WPA_CIPHER(ucast->list[i].type)) { in wl_validate_wpaie()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/
H A Dqed_l2.c2697 struct qed_filter_ucast ucast; in qed_configure_filter_ucast() local
2705 memset(&ucast, 0, sizeof(ucast)); in qed_configure_filter_ucast()
2708 ucast.opcode = QED_FILTER_ADD; in qed_configure_filter_ucast()
2711 ucast.opcode = QED_FILTER_REMOVE; in qed_configure_filter_ucast()
2714 ucast.opcode = QED_FILTER_REPLACE; in qed_configure_filter_ucast()
2722 ucast.type = QED_FILTER_MAC_VLAN; in qed_configure_filter_ucast()
2723 ether_addr_copy(ucast.mac, params->mac); in qed_configure_filter_ucast()
2724 ucast.vlan = params->vlan; in qed_configure_filter_ucast()
2726 ucast.type = QED_FILTER_MAC; in qed_configure_filter_ucast()
2727 ether_addr_copy(ucast.mac, params->mac); in qed_configure_filter_ucast()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_cfgvif.c1900 const wpa_suite_ucast_t *ucast; in wl_validate_wpa2ie() local
1950 ucast = (const wpa_suite_ucast_t *)&mcast[1]; in wl_validate_wpa2ie()
1951 suite_count = ltoh16_ua(&ucast->count); in wl_validate_wpa2ie()
1952 switch (ucast->list[0].type) { in wl_validate_wpa2ie()
1982 mgmt = (const wpa_suite_auth_key_mgmt_t *)&ucast->list[suite_count]; in wl_validate_wpa2ie()
2120 const wpa_suite_ucast_t *ucast; in wl_validate_wpaie() local
2178 ucast = (const wpa_suite_ucast_t *)&mcast[1]; in wl_validate_wpaie()
2179 count = ltoh16_ua(&ucast->count); in wl_validate_wpaie()
2183 if (!bcmp(ucast->list[i].oui, WPA_OUI, WPA_OUI_LEN)) { in wl_validate_wpaie()
2184 if (IS_WPA_CIPHER(ucast->list[i].type)) { in wl_validate_wpaie()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c626 filter_cmd.filter.ucast.type = opcode; in qede_set_ucast_rx_mac()
627 filter_cmd.filter.ucast.mac_valid = 1; in qede_set_ucast_rx_mac()
628 ether_addr_copy(filter_cmd.filter.ucast.mac, mac); in qede_set_ucast_rx_mac()
641 filter_cmd.filter.ucast.type = opcode; in qede_set_ucast_rx_vlan()
642 filter_cmd.filter.ucast.vlan_valid = 1; in qede_set_ucast_rx_vlan()
643 filter_cmd.filter.ucast.vlan = vid; in qede_set_ucast_rx_vlan()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/brocade/bna/
H A Dbfi_enet.h678 u64 ucast; member
697 u64 ucast; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c1472 u64 ucast, mcast, bcast; in cgx_print_stats() local
1492 ucast = PRINT_CGX_CUML_NIXRX_STATUS(RX_UCAST, "rx_ucast_frames"); in cgx_print_stats()
1501 seq_printf(s, "rx_frames: %llu\n", ucast + mcast + bcast); in cgx_print_stats()
1514 ucast = PRINT_CGX_CUML_NIXTX_STATUS(TX_UCAST, "tx_ucast_frames"); in cgx_print_stats()
1523 seq_printf(s, "tx_frames: %llu\n", ucast + mcast + bcast); in cgx_print_stats()
/OK3568_Linux_fs/kernel/include/linux/qed/
H A Dqed_eth_if.h150 struct qed_filter_ucast_params ucast; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/
H A Dmoal_cfg80211.h173 bool ucast, bool mcast);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c245 bool ucast = false; in cxgb4vf_set_addr_hash() local
250 ucast |= is_unicast_ether_addr(entry->addr); in cxgb4vf_set_addr_hash()
253 return t4vf_set_addr_hash(adapter, pi->viid, ucast, vec, false); in cxgb4vf_set_addr_hash()
943 bool ucast = is_unicast_ether_addr(mac_addr); in cxgb4vf_mac_sync() local
948 NULL, ucast ? &uhash : &mhash, false); in cxgb4vf_mac_sync()
H A Dt4vf_hw.c1737 bool ucast, u64 vec, bool sleep_ok) in t4vf_set_addr_hash() argument
1749 FW_VI_MAC_CMD_HASHUNIEN_V(ucast) | in t4vf_set_addr_hash()
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/
H A Dmoal_cfg80211.h219 t_u8 key_index, bool ucast, bool mcast);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_cfg80211.c4854 wpa_suite_ucast_t *ucast; in wl_cfg80211_get_rsn_capa() local
4865 ucast = (wpa_suite_ucast_t *)&mcast[1]; in wl_cfg80211_get_rsn_capa()
4866 suite_count = ltoh16_ua(&ucast->count); in wl_cfg80211_get_rsn_capa()
4872 mgmt = (wpa_suite_auth_key_mgmt_t *)&ucast->list[suite_count]; in wl_cfg80211_get_rsn_capa()
8832 wpa_suite_ucast_t *ucast; in wl_validate_wpa2ie() local
8879 ucast = (wpa_suite_ucast_t *)&mcast[1]; in wl_validate_wpa2ie()
8880 suite_count = ltoh16_ua(&ucast->count); in wl_validate_wpa2ie()
8881 switch (ucast->list[0].type) { in wl_validate_wpa2ie()
8909 mgmt = (wpa_suite_auth_key_mgmt_t *)&ucast->list[suite_count]; in wl_validate_wpa2ie()
9032 wpa_suite_ucast_t *ucast; in wl_validate_wpaie() local
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/
H A Dvsx_utils.hpp358 #define VSX_IMPL_POPCNTU(Tvec, Tvec2, ucast) \ argument
360 { return ucast(vec_popcnt(a)); }
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/
H A Dvsx_utils.hpp358 #define VSX_IMPL_POPCNTU(Tvec, Tvec2, ucast) \ argument
360 { return ucast(vec_popcnt(a)); }
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/
H A Dvsx_utils.hpp358 #define VSX_IMPL_POPCNTU(Tvec, Tvec2, ucast) \ argument
360 { return ucast(vec_popcnt(a)); }
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c1707 static int rtw_cfg80211_set_cipher(struct security_priv *psecuritypriv, u32 cipher, bool ucast) in rtw_cfg80211_set_cipher() argument
1711 u32 *profile_cipher = ucast ? &psecuritypriv->dot11PrivacyAlgrthm : in rtw_cfg80211_set_cipher()
1714 DBG_8192C("%s, ucast =%d, cipher = 0x%x\n", __func__, ucast, cipher); in rtw_cfg80211_set_cipher()
1749 if (ucast) in rtw_cfg80211_set_cipher()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dwl_cfg80211.c5488 const wpa_suite_ucast_t *ucast; local
5509 ucast = (const wpa_suite_ucast_t *)&mcast[1];
5510 suite_count = ltoh16_ua(&ucast->count);
5521 mgmt = (const wpa_suite_auth_key_mgmt_t *)&ucast->list[suite_count];
10927 const wpa_suite_ucast_t *ucast; local
10977 ucast = (const wpa_suite_ucast_t *)&mcast[1];
10978 suite_count = ltoh16_ua(&ucast->count);
10979 switch (ucast->list[0].type) {
11010 mgmt = (const wpa_suite_auth_key_mgmt_t *)&ucast->list[suite_count];
11146 const wpa_suite_ucast_t *ucast; local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dwl_cfg80211.c5486 const wpa_suite_ucast_t *ucast; local
5507 ucast = (const wpa_suite_ucast_t *)&mcast[1];
5508 suite_count = ltoh16_ua(&ucast->count);
5519 mgmt = (const wpa_suite_auth_key_mgmt_t *)&ucast->list[suite_count];
10925 const wpa_suite_ucast_t *ucast; local
10975 ucast = (const wpa_suite_ucast_t *)&mcast[1];
10976 suite_count = ltoh16_ua(&ucast->count);
10977 switch (ucast->list[0].type) {
11008 mgmt = (const wpa_suite_auth_key_mgmt_t *)&ucast->list[suite_count];
11144 const wpa_suite_ucast_t *ucast; local
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dwl_cfg80211.c5359 const wpa_suite_ucast_t *ucast; local
5380 ucast = (const wpa_suite_ucast_t *)&mcast[1];
5381 suite_count = ltoh16_ua(&ucast->count);
5392 mgmt = (const wpa_suite_auth_key_mgmt_t *)&ucast->list[suite_count];
10829 const wpa_suite_ucast_t *ucast; local
10876 ucast = (const wpa_suite_ucast_t *)&mcast[1];
10877 suite_count = ltoh16_ua(&ucast->count);
10878 switch (ucast->list[0].type) {
10906 mgmt = (const wpa_suite_auth_key_mgmt_t *)&ucast->list[suite_count];
11039 const wpa_suite_ucast_t *ucast; local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath6kl/
H A Dcfg80211.c222 static int ath6kl_set_cipher(struct ath6kl_vif *vif, u32 cipher, bool ucast) in ath6kl_set_cipher() argument
224 u8 *ar_cipher = ucast ? &vif->prwise_crypto : &vif->grp_crypto; in ath6kl_set_cipher()
225 u8 *ar_cipher_len = ucast ? &vif->prwise_crypto_len : in ath6kl_set_cipher()
229 __func__, cipher, ucast); in ath6kl_set_cipher()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c353 bool ucast = false; in cxgb4_set_addr_hash() local
358 ucast |= is_unicast_ether_addr(entry->addr); in cxgb4_set_addr_hash()
361 return t4_set_addr_hash(adap, adap->mbox, pi->viid, ucast, in cxgb4_set_addr_hash()
379 bool ucast = is_unicast_ether_addr(mac_addr); in cxgb4_mac_sync() local
384 idx, ucast ? &uhash : &mhash, false); in cxgb4_mac_sync()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/os_dep/linux/
H A Dioctl_cfg80211.c2667 static int rtw_cfg80211_set_cipher(struct security_priv *psecuritypriv, u32 cipher, bool ucast) argument
2671 u32 *profile_cipher = ucast ? &psecuritypriv->dot11PrivacyAlgrthm :
2674 DBG_8192C("%s, ucast=%d, cipher=0x%x\n", __func__, ucast, cipher);
2721 if(ucast)
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/
H A Dioctl_cfg80211.c2704 static int rtw_cfg80211_set_cipher(struct security_priv *psecuritypriv, u32 cipher, bool ucast) argument
2708 u32 *profile_cipher = ucast ? &psecuritypriv->dot11PrivacyAlgrthm :
2711 DBG_8192C("%s, ucast=%d, cipher=0x%x\n", __func__, ucast, cipher);
2758 if(ucast)
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/
H A Dioctl_cfg80211.c2444 static int rtw_cfg80211_set_cipher(struct security_priv *psecuritypriv, u32 cipher, bool ucast) argument
2448 u32 *profile_cipher = ucast ? &psecuritypriv->dot11PrivacyAlgrthm :
2451 RTW_INFO("%s, ucast=%d, cipher=0x%x\n", __func__, ucast, cipher);
2496 if (ucast) {

12