Home
last modified time | relevance | path

Searched refs:mac_id (Results 1 – 25 of 81) sorted by relevance

1234

/freebsd/contrib/wpa/src/eap_common/
H A Deap_pax_common.c30 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 Deap_pax_common.h19 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 Deap_pax.c27 u8 mac_id, dh_group_id, public_key_id; member
107 pax->mac_id = req->mac_id; in eap_pax_alloc_resp()
180 if (eap_pax_initial_key_derivation(req->mac_id, data->ak, data->rand.e, in eap_pax_process_std_1()
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()
278 if (eap_pax_mac(data->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_process_std_3()
315 if (eap_pax_mac(data->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_process_std_3()
357 req->op_code, req->flags, req->mac_id, req->dh_group_id, in eap_pax_process()
362 if (data->state != PAX_INIT && data->mac_id != req->mac_id) { in eap_pax_process()
[all …]
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_pax.c27 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()
219 resp->op_code, resp->flags, resp->mac_id, resp->dh_group_id, in eap_pax_check()
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()
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Ddp_rx.h67 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 Ddp_tx.c294 static void ath11k_dp_tx_free_txbuf(struct ath11k_base *ab, u8 mac_id, in ath11k_dp_tx_free_txbuf() argument
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()
433 ath11k_dp_tx_free_txbuf(ab, mac_id, msdu_id, tx_ring); in ath11k_dp_tx_process_htt_tx_complete()
705 u8 mac_id; in ath11k_dp_tx_completion_handler() local
742 mac_id = FIELD_GET(DP_TX_DESC_ID_MAC_ID, desc_id); in ath11k_dp_tx_completion_handler()
748 mac_id, msdu_id, in ath11k_dp_tx_completion_handler()
764 ar = ab->pdevs[mac_id].ar; in ath11k_dp_tx_completion_handler()
823 int mac_id, u32 ring_id, in ath11k_dp_tx_get_ring_id_type() argument
[all …]
H A Ddp_rx.c343 int ath11k_dp_rxbufs_replenish(struct ath11k_base *ab, int mac_id, in ath11k_dp_rxbufs_replenish() argument
404 cookie = FIELD_PREP(DP_RXDMA_BUF_COOKIE_PDEV_ID, mac_id) | in ath11k_dp_rxbufs_replenish()
489 ath11k_dp_rxbufs_replenish(ar->ab, dp->mac_id, rx_ring, num_entries, in ath11k_dp_rxdma_ring_buf_setup()
580 dp->mac_id, DP_RXDMA_BUF_RING_SIZE); in ath11k_dp_rx_pdev_srng_alloc()
591 dp->mac_id + i, 1024); in ath11k_dp_rx_pdev_srng_alloc()
602 HAL_RXDMA_DST, 0, dp->mac_id + i, in ath11k_dp_rx_pdev_srng_alloc()
614 HAL_RXDMA_MONITOR_STATUS, 0, dp->mac_id + i, in ath11k_dp_rx_pdev_srng_alloc()
637 HAL_RXDMA_MONITOR_BUF, 0, dp->mac_id, in ath11k_dp_rx_pdev_srng_alloc()
646 HAL_RXDMA_MONITOR_DST, 0, dp->mac_id, in ath11k_dp_rx_pdev_srng_alloc()
655 HAL_RXDMA_MONITOR_DESC, 0, dp->mac_id, in ath11k_dp_rx_pdev_srng_alloc()
[all …]
H A Dhw.h239 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 Ddp_tx.h38 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 Ddp.h172 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 Ddp_mon.h80 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 Ddp_tx.c257 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
354 u8 pdev_id = ath12k_hw_mac_id_to_pdev_id(ab->hw_params, mac_id); in ath12k_dp_tx_free_txbuf()
411 void *desc, u8 mac_id, in ath12k_dp_tx_process_htt_tx_complete() argument
439 ath12k_dp_tx_free_txbuf(ab, msdu, mac_id, tx_ring); in ath12k_dp_tx_process_htt_tx_complete()
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()
617 pdev_id = ath12k_hw_mac_id_to_pdev_id(ab->hw_params, mac_id); in ath12k_dp_tx_completion_handler()
629 int mac_id, u32 ring_id, in ath12k_dp_tx_get_ring_id_type() argument
[all …]
H A Dhw.h193 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 Ddp_tx.h31 int mac_id, enum hal_ring_type ring_type,
36 int mac_id, enum hal_ring_type ring_type,
H A Dhw.c24 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 Ddp.h128 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 Ddp_mon.c877 u32 mac_id, struct sk_buff *head_msdu, in ath12k_dp_mon_rx_merg_msdus() argument
1137 static int ath12k_dp_mon_rx_deliver(struct ath12k *ar, u32 mac_id, in ath12k_dp_mon_rx_deliver() 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()
1983 ath12k_dp_mon_tx_process_ppdu_info(struct ath12k *ar, int mac_id, in ath12k_dp_mon_tx_process_ppdu_info() argument
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
2053 ath12k_dp_mon_tx_process_ppdu_info(ar, mac_id, napi, tx_data_ppdu_info); in ath12k_dp_mon_tx_parse_mon_status()
2054 ath12k_dp_mon_tx_process_ppdu_info(ar, mac_id, napi, tx_prot_ppdu_info); in ath12k_dp_mon_tx_parse_mon_status()
[all …]
H A Ddp_rx.h116 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 Ddp_rx.c259 int ath12k_dp_rx_bufs_replenish(struct ath12k_base *ab, int mac_id, in ath12k_dp_rx_bufs_replenish() argument
340 cookie = u32_encode_bits(mac_id, in ath12k_dp_rx_bufs_replenish()
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()
2554 u8 mac_id, pdev_id; in ath12k_dp_rx_process_received_packets() local
2564 mac_id = rxcb->mac_id; in ath12k_dp_rx_process_received_packets()
2565 pdev_id = ath12k_hw_mac_id_to_pdev_id(ab->hw_params, mac_id); in ath12k_dp_rx_process_received_packets()
2605 int mac_id; in ath12k_dp_rx_process() local
2624 mac_id = le32_get_bits(desc->info0, in ath12k_dp_rx_process()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Dmac-cfg.h117 * @mac_id: the mac which should send the probe response
124 __le32 mac_id;
134 * @mac_id: the mac for which the ucode sends the notification for
140 __le32 mac_id;
172 * @mac_id: the mac for which the ucode sends the notification for
176 __le32 mac_id;
203 * @mac_id: MAC ID for channel switch
214 __le32 mac_id;
226 * @mac_id: MAC ID to whom to apply the low-latency configurations
232 __le32 mac_id;
116 __le32 mac_id; global() member
132 __le32 mac_id; global() member
168 __le32 mac_id; global() member
206 __le32 mac_id; global() member
224 __le32 mac_id; global() member
475 __le32 mac_id; global() member
[all...]
/freebsd/sys/contrib/dev/rtw89/
H A Dps.c91 .macid = rtwvif->mac_id, in __rtw89_enter_lps()
101 static void __rtw89_leave_lps(struct rtw89_dev *rtwdev, u8 mac_id) in __rtw89_leave_lps()
104 .macid = mac_id, in __rtw89_leave_lps()
140 __rtw89_leave_lps(rtwdev, rtwvif->mac_id); in rtw89_leave_lps()
85 __rtw89_enter_lps(struct rtw89_dev * rtwdev,u8 mac_id) __rtw89_enter_lps() argument
97 __rtw89_leave_lps(struct rtw89_dev * rtwdev,u8 mac_id) __rtw89_leave_lps() argument
H A Dcore.c619 return rtwvif->mac_id; in rtw89_core_tx_get_mac_id()
622 return rtwsta->mac_id; in rtw89_core_tx_get_mac_id()
642 desc_info->mac_id = rtw89_core_tx_get_mac_id(rtwdev, tx_req); in rtw89_core_tx_update_mgmt_info()
845 desc_info->mac_id = rtw89_core_tx_get_mac_id(rtwdev, tx_req); in rtw89_core_tx_update_data_info()
1120 FIELD_PREP(RTW89_TXWD_BODY2_MACID, desc_info->mac_id); in rtw89_build_txwd_body2()
1300 FIELD_PREP(BE_TXD_BODY2_MACID, desc_info->mac_id); in rtw89_build_txwd_body2_v2()
1492 phy_ppdu->mac_id = in rtw89_core_rx_process_mac_ppdu()
1527 if (rtwsta->mac_id != phy_ppdu->mac_id || !phy_ppdu->to_self) in rtw89_core_rx_process_phy_ppdu_iter()
2207 .mac_id = desc_info->mac_id}; in rtw89_core_rx_process_ppdu_sts()
2295 desc_info->mac_id = le32_get_bits(rxd_l->dword5, AX_RXD_MAC_ID_MASK); in rtw89_core_query_rxdesc()
[all …]
/freebsd/sys/dev/dpaa/
H A Dif_dtsec_fdt.c119 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 Drx.c556 __le32 mac_id; member
653 u16 id = le32_to_cpu(data->mac_id); in iwl_mvm_stat_iterator()
831 data.mac_id = stats->mac_id; in iwl_mvm_verify_stats_len()
1229 data.mac_id = stats->rx.general.mac_id;
1251 data.mac_id = stats->rx.general.mac_id;
/freebsd/sys/contrib/dev/rtw88/
H A Dmain.c325 unsigned long mac_id; in rtw_acquire_macid() local
327 mac_id = find_first_zero_bit(rtwdev->mac_id_map, RTW_MAX_MAC_ID_NUM); in rtw_acquire_macid()
328 if (mac_id < RTW_MAX_MAC_ID_NUM) in rtw_acquire_macid()
329 set_bit(mac_id, rtwdev->mac_id_map); in rtw_acquire_macid()
331 return mac_id; in rtw_acquire_macid()
352 si->mac_id = rtw_acquire_macid(rtwdev); in rtw_sta_add()
353 if (si->mac_id >= RTW_MAX_MAC_ID_NUM) in rtw_sta_add()
357 rtwvif->mac_id = si->mac_id; in rtw_sta_add()
368 rtw_fw_media_status_report(rtwdev, si->mac_id, true); in rtw_sta_add()
374 sta->addr, si->mac_id); in rtw_sta_add()
[all …]

1234