/freebsd/contrib/wpa/src/eap_common/ |
H A D | eap_pax_common.c | 30 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_kdf() argument 46 if (mac_id != EAP_PAX_MAC_HMAC_SHA1_128) in eap_pax_kdf() 87 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_mac() argument 99 if (mac_id != EAP_PAX_MAC_HMAC_SHA1_128) in eap_pax_mac() 129 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e, in eap_pax_initial_key_derivation() argument 133 if (eap_pax_kdf(mac_id, ak, EAP_PAX_AK_LEN, "Master Key", in eap_pax_initial_key_derivation() 135 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Confirmation Key", in eap_pax_initial_key_derivation() 137 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Integrity Check Key", in eap_pax_initial_key_derivation() 139 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Method ID", in eap_pax_initial_key_derivation()
|
H A D | eap_pax_common.h | 19 u8 mac_id; member 80 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, 84 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len, 89 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e,
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_pax.c | 27 u8 mac_id, dh_group_id, public_key_id; member 107 pax->mac_id = req->mac_id; in eap_pax_alloc_resp() 207 eap_pax_mac(req->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_process_std_1() 217 eap_pax_mac(req->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_process_std_1() 223 data->mac_id = req->mac_id; in eap_pax_process_std_1() 362 if (data->state != PAX_INIT && data->mac_id != req->mac_id) { in eap_pax_process() 365 data->mac_id, req->mac_id); in eap_pax_process() 388 if (req->mac_id != EAP_PAX_MAC_HMAC_SHA1_128) { in eap_pax_process() 390 req->mac_id); in eap_pax_process() 420 eap_pax_mac(req->mac_id, (u8 *) "", 0, in eap_pax_process() [all …]
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_server_pax.c | 27 u8 mac_id; member 58 data->mac_id = EAP_PAX_MAC_HMAC_SHA1_128; in eap_pax_init() 100 pax->mac_id = data->mac_id; in eap_pax_build_std_1() 110 if (eap_pax_mac(data->mac_id, (u8 *) "", 0, in eap_pax_build_std_1() 146 pax->mac_id = data->mac_id; in eap_pax_build_std_3() 152 if (eap_pax_mac(data->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_build_std_3() 166 if (eap_pax_mac(data->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_build_std_3() 244 if (data->mac_id != resp->mac_id) { in eap_pax_check() 246 "received 0x%x", data->mac_id, resp->mac_id); in eap_pax_check() 536 eap_pax_kdf(data->mac_id, data->mk, EAP_PAX_MK_LEN, in eap_pax_getKey() [all …]
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | dp_rx.h | 67 int ath11k_dp_process_rxdma_err(struct ath11k_base *ab, int mac_id, int budget); 72 int ath11k_dp_process_rx(struct ath11k_base *ab, int mac_id, 75 int ath11k_dp_rxbufs_replenish(struct ath11k_base *ab, int mac_id, 87 int ath11k_dp_rx_process_mon_rings(struct ath11k_base *ab, int mac_id, 89 int ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id, 91 int ath11k_dp_rx_mon_status_bufs_replenish(struct ath11k_base *ab, int mac_id,
|
H A D | dp_tx.c | 317 ar = ab->pdevs[mac_id].ar; in ath11k_dp_tx_free_txbuf() 395 void *desc, u8 mac_id, in ath11k_dp_tx_process_htt_tx_complete() argument 397 u8 *desc, u8 mac_id, in ath11k_dp_tx_process_htt_tx_complete() 705 u8 mac_id; in ath11k_dp_tx_completion_handler() local 748 mac_id, msdu_id, in ath11k_dp_tx_completion_handler() 764 ar = ab->pdevs[mac_id].ar; in ath11k_dp_tx_completion_handler() 924 mac_id); in ath11k_dp_tx_htt_srng_setup() 1117 mac_id); in ath11k_dp_tx_htt_rx_filter_setup() 1203 dp->mac_id, !reset); in ath11k_dp_tx_htt_monitor_mode_ring_config() 1240 dp->mac_id + i, in ath11k_dp_tx_htt_monitor_mode_ring_config() [all …]
|
H A D | dp_rx.c | 2641 int mac_id) in ath11k_dp_rx_process_received_packets() argument 2687 int buf_id, mac_id; in ath11k_dp_process_rx() local 2759 rxcb->mac_id = mac_id; in ath11k_dp_process_rx() 3825 int buf_id, mac_id; in ath11k_dp_process_rx_err() local 4137 int buf_id, mac_id; in ath11k_dp_rx_process_wbm_err() local 4174 buf_id, mac_id); in ath11k_dp_rx_process_wbm_err() 4268 mac_id)]; in ath11k_dp_process_rxdma_err() 4533 u8 mac_id) in ath11k_dp_rx_monitor_link_desc_return() argument 4870 dp->mac_id)) in ath11k_dp_rx_mon_mpdu_pop() 5484 dp->mac_id)) in ath11k_dp_rx_full_mon_mpdu_pop() [all …]
|
H A D | hw.h | 239 int (*mac_id_to_pdev_id)(struct ath11k_hw_params *hw, int mac_id); 240 int (*mac_id_to_srng_id)(struct ath11k_hw_params *hw, int mac_id); 311 int mac_id) in ath11k_hw_mac_id_to_pdev_id() argument 314 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath11k_hw_mac_id_to_pdev_id() 320 int mac_id) in ath11k_hw_mac_id_to_srng_id() argument 323 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath11k_hw_mac_id_to_srng_id()
|
H A D | dp_tx.h | 38 int mac_id, enum hal_ring_type ring_type, 42 int ath11k_dp_tx_htt_rx_full_mon_setup(struct ath11k_base *ab, int mac_id,
|
H A D | dp.h | 172 u32 mac_id; member 236 #define DP_HW2SW_MACID(mac_id) ((mac_id) ? ((mac_id) - 1) : 0) argument 237 #define DP_SW2HW_MACID(mac_id) ((mac_id) + 1) argument 1696 int mac_id, enum hal_ring_type ring_type); 1702 int mac_id, int num_entries);
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | dp_mon.h | 80 int mac_id, struct sk_buff *skb, 85 int ath12k_dp_mon_srng_process(struct ath12k *ar, int mac_id, 88 int ath12k_dp_mon_process_ring(struct ath12k_base *ab, int mac_id, 99 int mac_id, 104 int ath12k_dp_mon_rx_process_stats(struct ath12k *ar, int mac_id,
|
H A D | hw.h | 193 int (*mac_id_to_pdev_id)(const struct ath12k_hw_params *hw, int mac_id); 194 int (*mac_id_to_srng_id)(const struct ath12k_hw_params *hw, int mac_id); 211 int mac_id) in ath12k_hw_mac_id_to_pdev_id() argument 214 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath12k_hw_mac_id_to_pdev_id() 220 int mac_id) in ath12k_hw_mac_id_to_srng_id() argument 223 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath12k_hw_mac_id_to_srng_id()
|
H A D | dp_tx.c | 257 tx_desc->mac_id = ar->pdev_idx; in ath12k_dp_tx() 349 struct sk_buff *msdu, u8 mac_id, in ath12k_dp_tx_free_txbuf() argument 411 void *desc, u8 mac_id, in ath12k_dp_tx_process_htt_tx_complete() argument 548 u8 mac_id, pdev_id; in ath12k_dp_tx_completion_handler() local 603 mac_id = tx_desc->mac_id; in ath12k_dp_tx_completion_handler() 612 mac_id, msdu, in ath12k_dp_tx_completion_handler() 629 int mac_id, u32 ring_id, in ath12k_dp_tx_get_ring_id_type() argument 732 cmd->info0 |= le32_encode_bits(mac_id, in ath12k_dp_tx_htt_srng_setup() 921 le32_encode_bits(DP_SW2HW_MACID(mac_id), in ath12k_dp_tx_htt_rx_filter_setup() 925 le32_encode_bits(mac_id, in ath12k_dp_tx_htt_rx_filter_setup() [all …]
|
H A D | dp_tx.h | 31 int mac_id, enum hal_ring_type ring_type, 36 int mac_id, enum hal_ring_type ring_type,
|
H A D | hw.c | 24 int mac_id) in ath12k_hw_mac_id_to_pdev_id_qcn9274() argument 26 return mac_id; in ath12k_hw_mac_id_to_pdev_id_qcn9274() 30 int mac_id) in ath12k_hw_mac_id_to_srng_id_qcn9274() argument 49 int mac_id) in ath12k_hw_mac_id_to_pdev_id_wcn7850() argument 55 int mac_id) in ath12k_hw_mac_id_to_srng_id_wcn7850() argument 57 return mac_id; in ath12k_hw_mac_id_to_srng_id_wcn7850()
|
H A D | dp.h | 128 u32 mac_id; member 188 #define DP_HW2SW_MACID(mac_id) ({ typeof(mac_id) x = (mac_id); x ? x - 1 : 0; }) argument 189 #define DP_SW2HW_MACID(mac_id) ((mac_id) + 1) argument 285 u8 mac_id; member 1802 int mac_id, enum hal_ring_type ring_type); 1808 int mac_id, int num_entries);
|
H A D | dp_rx.h | 116 int ath12k_dp_rx_process(struct ath12k_base *ab, int mac_id, 119 int ath12k_dp_rx_bufs_replenish(struct ath12k_base *ab, int mac_id,
|
H A D | dp_mon.c | 877 u32 mac_id, struct sk_buff *head_msdu, in ath12k_dp_mon_rx_merg_msdus() argument 1147 mon_skb = ath12k_dp_mon_rx_merg_msdus(ar, mac_id, head_msdu, in ath12k_dp_mon_rx_deliver() 1235 int mac_id, in ath12k_dp_mon_rx_parse_mon_status() argument 1254 ath12k_dp_mon_rx_deliver(ar, mac_id, head_msdu, in ath12k_dp_mon_rx_parse_mon_status() 1996 ath12k_dp_mon_rx_deliver(ar, mac_id, head_msdu, in ath12k_dp_mon_tx_process_ppdu_info() 2006 int mac_id, in ath12k_dp_mon_tx_parse_mon_status() argument 2085 srng_id = ath12k_hw_mac_id_to_srng_id(ab->hw_params, mac_id); in ath12k_dp_mon_srng_process() 2136 ath12k_dp_mon_rx_parse_mon_status(ar, pmon, mac_id, in ath12k_dp_mon_srng_process() 2139 ath12k_dp_mon_tx_parse_mon_status(ar, pmon, mac_id, in ath12k_dp_mon_srng_process() 2587 struct ath12k *ar = ath12k_ab_to_ar(ab, mac_id); in ath12k_dp_mon_process_ring() [all …]
|
H A D | dp_rx.c | 534 u32 mac_id = dp->mac_id; in ath12k_dp_rx_pdev_srng_alloc() local 540 0, mac_id + i, in ath12k_dp_rx_pdev_srng_alloc() 551 0, mac_id + i, in ath12k_dp_rx_pdev_srng_alloc() 2564 mac_id = rxcb->mac_id; in ath12k_dp_rx_process_received_packets() 2605 int mac_id; in ath12k_dp_rx_process() local 2672 rxcb->mac_id = mac_id; in ath12k_dp_rx_process() 3401 int mac_id; in ath12k_dp_rx_process_err() local 3727 int mac_id; in ath12k_dp_rx_process_wbm_err() local 3769 mac_id = 0; in ath12k_dp_rx_process_wbm_err() 4187 mac_id + i, in ath12k_dp_rx_pdev_alloc() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | mac-cfg.h | 116 __le32 mac_id; member 132 __le32 mac_id; member 168 __le32 mac_id; member 206 __le32 mac_id; member 224 __le32 mac_id; member 475 __le32 mac_id; member
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | ps.c | 85 static void __rtw89_enter_lps(struct rtw89_dev *rtwdev, u8 mac_id) in __rtw89_enter_lps() argument 88 .macid = mac_id, in __rtw89_enter_lps() 97 static void __rtw89_leave_lps(struct rtw89_dev *rtwdev, u8 mac_id) in __rtw89_leave_lps() argument 100 .macid = mac_id, in __rtw89_leave_lps() 125 __rtw89_enter_lps(rtwdev, rtwvif->mac_id); in rtw89_enter_lps() 136 __rtw89_leave_lps(rtwdev, rtwvif->mac_id); in rtw89_leave_lps_vif()
|
H A D | core.c | 562 return rtwvif->mac_id; in rtw89_core_tx_get_mac_id() 565 return rtwsta->mac_id; in rtw89_core_tx_get_mac_id() 1060 FIELD_PREP(RTW89_TXWD_BODY2_MACID, desc_info->mac_id); in rtw89_build_txwd_body2() 1273 if (rtwsta->mac_id != phy_ppdu->mac_id || !phy_ppdu->to_self) in rtw89_core_rx_process_phy_ppdu_iter() 1795 .mac_id = desc_info->mac_id}; in rtw89_core_rx_process_ppdu_sts() 1886 u8 mac_id; member 1897 u8 mac_id = iter_data->mac_id; in rtw89_core_stats_sta_rx_status_iter() local 1899 if (mac_id != rtwsta->mac_id) in rtw89_core_stats_sta_rx_status_iter() 1921 iter_data.mac_id = desc_info->mac_id; in rtw89_core_stats_sta_rx_status() 2901 rtwsta->mac_id = rtwvif->mac_id; in rtw89_core_sta_add() [all …]
|
/freebsd/sys/dev/dpaa/ |
H A D | if_dtsec_fdt.c | 119 pcell_t fman_tx_cell, mac_id; in dtsec_fdt_attach() local 182 (void *)&mac_id, sizeof(mac_id)) <= 0) in dtsec_fdt_attach() 184 sc->sc_eth_id = mac_id; in dtsec_fdt_attach()
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | rx.c | 556 __le32 mac_id; member 637 u16 id = le32_to_cpu(data->mac_id); in iwl_mvm_stat_iterator() 798 data.mac_id = stats->mac_id; in iwl_mvm_stats_ver_14() 956 data.mac_id = stats->rx.general.mac_id; in iwl_mvm_handle_rx_statistics() 978 data.mac_id = stats->rx.general.mac_id; in iwl_mvm_handle_rx_statistics()
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | main.c | 316 unsigned long mac_id; in rtw_acquire_macid() local 319 if (mac_id < RTW_MAX_MAC_ID_NUM) in rtw_acquire_macid() 320 set_bit(mac_id, rtwdev->mac_id_map); in rtw_acquire_macid() 322 return mac_id; in rtw_acquire_macid() 344 if (si->mac_id >= RTW_MAX_MAC_ID_NUM) in rtw_sta_add() 348 rtwvif->mac_id = si->mac_id; in rtw_sta_add() 365 sta->addr, si->mac_id); in rtw_sta_add() 368 sta->addr, ":", si->mac_id); in rtw_sta_add() 382 rtw_release_macid(rtwdev, si->mac_id); in rtw_sta_remove() 394 sta->addr, si->mac_id); in rtw_sta_remove() [all …]
|