/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | time-sync.c | 62 struct iwl_time_msmt_notify *notif = (void *)pkt->data; in iwl_mvm_time_sync_msmt_event() local 67 iwl_mvm_time_sync_find_skb(mvm, notif->peer_addr, in iwl_mvm_time_sync_msmt_event() 68 le32_to_cpu(notif->dialog_token)); in iwl_mvm_time_sync_msmt_event() 76 ts_10ns = iwl_mvm_get_64_bit(notif->t2_hi, notif->t2_lo); in iwl_mvm_time_sync_msmt_event() 81 ts_10ns = iwl_mvm_get_64_bit(notif->t3_hi, notif->t3_lo); in iwl_mvm_time_sync_msmt_event() 97 struct iwl_time_msmt_cfm_notify *notif = (void *)pkt->data; in iwl_mvm_time_sync_msmt_confirm_event() local 103 iwl_mvm_time_sync_find_skb(mvm, notif->peer_addr, in iwl_mvm_time_sync_msmt_confirm_event() 104 le32_to_cpu(notif->dialog_token)); in iwl_mvm_time_sync_msmt_confirm_event() 111 ts_10ns = iwl_mvm_get_64_bit(notif->t1_hi, notif->t1_lo); in iwl_mvm_time_sync_msmt_confirm_event() 116 ts_10ns = iwl_mvm_get_64_bit(notif->t4_hi, notif->t4_lo); in iwl_mvm_time_sync_msmt_confirm_event()
|
H A D | time-event.c | 10 #include "fw/notif-wait.h" 236 struct iwl_time_event_notif *notif) in iwl_mvm_te_handle_notify_csa() 241 if (!notif->status) in iwl_mvm_te_check_trigger() 246 if (!notif->status) in iwl_mvm_te_check_trigger() 251 if (!notif->status) { in iwl_mvm_te_check_trigger() 271 struct iwl_time_event_notif *notif, in iwl_mvm_te_check_trigger() 294 !(trig_action_bitmap & le32_to_cpu(notif->action)) || in iwl_mvm_te_handle_notif() 295 !(trig_status_bitmap & BIT(le32_to_cpu(notif->status)))) in iwl_mvm_te_handle_notif() 301 le32_to_cpu(notif->action), in iwl_mvm_te_handle_notif() 302 le32_to_cpu(notif in iwl_mvm_te_handle_notif() 204 iwl_mvm_te_handle_notify_csa(struct iwl_mvm * mvm,struct iwl_mvm_time_event_data * te_data,struct iwl_time_event_notif * notif) iwl_mvm_te_handle_notify_csa() argument 239 iwl_mvm_te_check_trigger(struct iwl_mvm * mvm,struct iwl_time_event_notif * notif,struct iwl_mvm_time_event_data * te_data) iwl_mvm_te_check_trigger() argument 296 iwl_mvm_te_handle_notif(struct iwl_mvm * mvm,struct iwl_mvm_time_event_data * te_data,struct iwl_time_event_notif * notif) iwl_mvm_te_handle_notif() argument 385 iwl_mvm_aux_roc_te_handle_notif(struct iwl_mvm * mvm,struct iwl_time_event_notif * notif) iwl_mvm_aux_roc_te_handle_notif() argument 436 struct iwl_time_event_notif *notif = (void *)pkt->data; iwl_mvm_rx_time_event_notif() local 831 struct iwl_mvm_session_prot_notif *notif = (void *)pkt->data; iwl_mvm_rx_session_protect_notif() local 1171 const u16 notif[] = { WIDE_ID(MAC_CONF_GROUP, SESSION_PROTECTION_NOTIF) }; iwl_mvm_schedule_session_protection() local [all...] |
H A D | rs-fw.c | 418 struct iwl_tlc_update_notif *notif; in iwl_mvm_tlc_update_notif() local 428 notif = (void *)pkt->data; in iwl_mvm_tlc_update_notif() 429 link_sta = rcu_dereference(mvm->fw_id_to_link_sta[notif->sta_id]); in iwl_mvm_tlc_update_notif() 430 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]); in iwl_mvm_tlc_update_notif() 437 notif->sta_id); in iwl_mvm_tlc_update_notif() 445 notif->sta_id); in iwl_mvm_tlc_update_notif() 449 flags = le32_to_cpu(notif->flags); in iwl_mvm_tlc_update_notif() 455 link_sta->link_id, notif->sta_id); in iwl_mvm_tlc_update_notif() 467 le32_to_cpu(notif->rate)); in iwl_mvm_tlc_update_notif() 472 iwl_new_rate_from_v1(le32_to_cpu(notif in iwl_mvm_tlc_update_notif() [all...] |
H A D | coex.c | 211 struct iwl_bt_coex_profile_notif *notif; 379 bt_activity_grading = le32_to_cpu(data->notif->bt_activity_grading); in iwl_mvm_bt_notif_per_link() 516 .notif = &mvm->last_bt_notif, in iwl_mvm_bt_coex_notif_handle() 598 struct iwl_bt_coex_profile_notif *notif = (void *)pkt->data; in iwl_mvm_coex_agg_time_limit() 601 IWL_DEBUG_COEX(mvm, "\tBT ci compliance %d\n", notif->bt_ci_compliance); in iwl_mvm_coex_agg_time_limit() 603 le32_to_cpu(notif->primary_ch_lut)); in iwl_mvm_coex_agg_time_limit() 605 le32_to_cpu(notif->secondary_ch_lut)); in iwl_mvm_coex_agg_time_limit() 607 le32_to_cpu(notif->bt_activity_grading)); in iwl_mvm_coex_agg_time_limit() 610 memcpy(&mvm->last_bt_notif, notif, sizeof(mvm->last_bt_notif)); in iwl_mvm_coex_agg_time_limit() 213 struct iwl_bt_coex_profile_notif *notif; global() member 526 struct iwl_bt_coex_profile_notif *notif = (void *)pkt->data; iwl_mvm_rx_bt_coex_notif() local
|
H A D | mac-ctxt.c | 1759 struct iwl_probe_resp_data_notif *notif = (void *)pkt->data; in iwl_mvm_channel_switch_start_notif() 1761 u32 id = le32_to_cpu(notif->mac_id); in iwl_mvm_channel_switch_start_notif() 1765 IWL_DEBUG_INFO(mvm, "Probe response data notif: noa %d, csa %d\n", in iwl_mvm_channel_switch_start_notif() 1766 notif->noa_active, notif->csa_counter); in iwl_mvm_channel_switch_start_notif() 1778 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mvm_channel_switch_start_notif() 1782 sizeof(new_data->notif.noa_attr) - 1; in iwl_mvm_channel_switch_start_notif() 1788 if (new_data->notif in iwl_mvm_channel_switch_start_notif() local 1714 struct iwl_probe_resp_data_notif *notif = (void *)pkt->data; iwl_mvm_probe_resp_data_notif() local 1775 struct iwl_channel_switch_start_notif_v1 *notif = (void *)pkt->data; iwl_mvm_channel_switch_start_notif() local 1861 struct iwl_channel_switch_error_notif *notif = (void *)pkt->data; iwl_mvm_channel_switch_error_notif() local [all...] |
H A D | rx.c | 1064 "Oper stats notif ver %d is not supported\n", in iwl_mvm_window_status_notif() 1094 "Part1 stats notif ver %d is not supported\n", 1318 struct iwl_ba_window_status_notif *notif = (void *)pkt->data; 1321 BUILD_BUG_ON(ARRAY_SIZE(notif->ra_tid) != BA_WINDOW_STREAMS_MAX); 1322 BUILD_BUG_ON(ARRAY_SIZE(notif->mpdu_rx_count) != BA_WINDOW_STREAMS_MAX); 1323 BUILD_BUG_ON(ARRAY_SIZE(notif->bitmap) != BA_WINDOW_STREAMS_MAX); 1324 BUILD_BUG_ON(ARRAY_SIZE(notif->start_seq_num) != BA_WINDOW_STREAMS_MAX); 1335 ratid = le16_to_cpu(notif->ra_tid[i]); 1340 received_mpdu = le16_to_cpu(notif->mpdu_rx_count[i]); 1351 bitmap = le64_to_cpu(notif 1045 struct iwl_ba_window_status_notif *notif = (void *)pkt->data; iwl_mvm_window_status_notif() local [all...] |
H A D | rfi.c | 154 struct iwl_rfi_deactivate_notif *notif = (void *)pkt->data; 156 IWL_INFO(mvm, "RFIm is deactivated, reason = %d\n", notif->reason); 150 struct iwl_rfi_deactivate_notif *notif = (void *)pkt->data; iwl_rfi_deactivate_notif_handler() local
|
H A D | nvm.c | 611 struct iwl_mcc_chub_notif *notif = (void *)pkt->data; in iwl_mvm_rx_chub_update_mcc() 619 if (iwl_mvm_is_vif_assoc(mvm) && notif->source_id == MCC_SOURCE_WIFI) { in iwl_mvm_rx_chub_update_mcc() 627 mcc[0] = le16_to_cpu(notif->mcc) >> 8; in iwl_mvm_rx_chub_update_mcc() 628 mcc[1] = le16_to_cpu(notif->mcc) & 0xff; in iwl_mvm_rx_chub_update_mcc() 630 src = notif->source_id; in iwl_mvm_rx_chub_update_mcc() 604 struct iwl_mcc_chub_notif *notif = (void *)pkt->data; iwl_mvm_rx_chub_update_mcc() local
|
H A D | tt.c | 160 struct ct_kill_notif *notif; in iwl_mvm_ct_kill_notif() local 162 notif = (struct ct_kill_notif *)pkt->data; in iwl_mvm_ct_kill_notif() 164 notif->temperature); in iwl_mvm_ct_kill_notif() 169 notif->dts, notif->scheme); in iwl_mvm_ct_kill_notif()
|
H A D | scan.c | 339 struct iwl_lmac_scan_complete_notif *notif = (void *)pkt->data; in iwl_mvm_rx_lmac_scan_iter_complete_notif() 343 notif->status, notif->scanned_channels); in iwl_mvm_rx_scan_match_found() 3223 struct iwl_umac_scan_complete *notif = (void *)pkt->data; 3224 u32 uid = __le32_to_cpu(notif->uid); in iwl_mvm_umac_scan_abort() 3225 bool aborted = (notif->status == IWL_SCAN_OFFLOAD_ABORTED); in iwl_mvm_umac_scan_abort() 3233 notif->status == IWL_SCAN_OFFLOAD_COMPLETED ? in iwl_mvm_umac_scan_abort() 3235 iwl_mvm_ebs_status_str(notif->ebs_status)); in iwl_mvm_umac_scan_abort() 3242 notif->last_schedule, notif in iwl_mvm_umac_scan_abort() 330 struct iwl_lmac_scan_complete_notif *notif = (void *)pkt->data; iwl_mvm_rx_lmac_scan_iter_complete_notif() local 3156 struct iwl_umac_scan_complete *notif = (void *)pkt->data; iwl_mvm_rx_umac_scan_complete_notif() local 3205 struct iwl_umac_scan_iter_complete_notif *notif = (void *)pkt->data; iwl_mvm_rx_umac_scan_iter_complete_notif() local [all...] |
H A D | d3.c | 3130 struct iwl_wowlan_wake_pkt_notif *notif, in iwl_mvm_wowlan_store_wake_pkt() argument 3134 u32 data_size, packet_len = le32_to_cpu(notif->wake_packet_length); in iwl_mvm_wowlan_store_wake_pkt() 3136 if (len < sizeof(*notif)) { in iwl_mvm_wowlan_store_wake_pkt() 3159 status->wake_packet = kmemdup(notif->wake_packet, data_size, in iwl_mvm_wowlan_store_wake_pkt() 3173 struct iwl_scan_offload_match_info *notif, in iwl_mvm_nd_match_info_handler() argument 3202 mvm->last_netdetect_scans = le32_to_cpu(notif->n_scans_done); in iwl_mvm_nd_match_info_handler() 3205 results->matched_profiles = le32_to_cpu(notif->matched_profiles); in iwl_mvm_nd_match_info_handler() 3210 memcpy(results->matches, notif->matches, matches_len); in iwl_mvm_nd_match_info_handler() 3270 struct iwl_wowlan_info_notif *notif = in iwl_mvm_wait_d3_notif() local 3273 iwl_mvm_parse_wowlan_info_notif(mvm, notif, in iwl_mvm_wait_d3_notif() [all …]
|
H A D | tdls.c | 208 struct iwl_tdls_channel_switch_notif *notif = (void *)pkt->data; in iwl_mvm_rx_tdls_notif() local 213 u32 sta_id = le32_to_cpu(notif->sta_id); in iwl_mvm_rx_tdls_notif() 218 if (!le32_to_cpu(notif->status)) { in iwl_mvm_rx_tdls_notif()
|
H A D | rxmq.c | 683 struct iwl_rxq_sync_notification *notif; in iwl_mvm_reorder_timer_expired() 687 notif = (void *)pkt->data; in iwl_mvm_reorder_timer_expired() 688 internal_notif = (void *)notif->payload; in iwl_mvm_reorder_timer_expired() 690 if (WARN_ONCE(len < sizeof(*notif) + sizeof(*internal_notif), in iwl_mvm_reorder_timer_expired() 692 len, (int)(sizeof(*notif) + sizeof(*internal_notif)))) in iwl_mvm_reorder_timer_expired() 694 len -= sizeof(*notif) + sizeof(*internal_notif); in iwl_mvm_reorder_timer_expired() 583 struct iwl_mvm_nssn_sync_data notif = { iwl_mvm_sync_nssn() local 843 struct iwl_rxq_sync_notification *notif; iwl_mvm_rx_queue_notif() local
|
H A D | debugfs.c | 534 iwl_mvm_coex_dump_mbox(struct iwl_bt_coex_profile_notif * notif,char * buf,int pos,int bufsz) iwl_mvm_coex_dump_mbox() argument 597 struct iwl_bt_coex_profile_notif *notif = &mvm->last_bt_notif; iwl_dbgfs_bt_notif_read() local
|
H A D | mac80211.c | 2181 struct iwl_mu_group_mgmt_notif *notif = _data; in iwl_mvm_set_sta_pkt_ext() 2189 (u8 *)¬if->membership_status, in iwl_mvm_set_sta_pkt_ext() 2190 (u8 *)¬if->user_position); in iwl_mvm_set_sta_pkt_ext() 2198 struct iwl_mu_group_mgmt_notif *notif = (void *)pkt->data; in iwl_mvm_set_sta_pkt_ext() 2202 iwl_mvm_mu_mimo_iface_iterator, notif); in iwl_mvm_set_sta_pkt_ext() 3455 struct iwl_mvm_pm_state_notification *notif = (void *)pkt->data; in iwl_mvm_check_he_obss_narrow_bw_ru() 3458 bool sleeping = (notif->type != IWL_MVM_PM_EVENT_AWAKE); in iwl_mvm_check_he_obss_narrow_bw_ru() 3460 if (WARN_ON(notif->sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_check_he_obss_narrow_bw_ru() 3464 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]); in iwl_mvm_check_he_obss_narrow_bw_ru() 3487 switch (notif in iwl_mvm_reset_cca_40mhz_workaround() 1972 struct iwl_mu_group_mgmt_notif *notif = _data; iwl_mvm_mu_mimo_iface_iterator() local 1989 struct iwl_mu_group_mgmt_notif *notif = (void *)pkt->data; iwl_mvm_mu_mimo_grp_notif() local 3260 struct iwl_mvm_pm_state_notification *notif = (void *)pkt->data; iwl_mvm_sta_pm_notif() local 6063 struct iwl_mvm_internal_rxq_notif notif; iwl_mvm_sync_rx_queues_internal() member [all...] |
H A D | power.c | 550 struct iwl_uapsd_misbehaving_ap_notif *notif = (void *)pkt->data; 551 u8 ap_sta_id = le32_to_cpu(notif->sta_id); 537 struct iwl_uapsd_misbehaving_ap_notif *notif = (void *)pkt->data; iwl_mvm_power_uapsd_misbehaving_ap_notif() local
|
H A D | ops.c | 15 #include "fw/notif-wait.h" 165 struct iwl_mvm_esr_mode_notif *notif = (void *)pkt->data; in iwl_mvm_rx_monitor_notif() 172 if (le32_to_cpu(notif->action) == ESR_RECOMMEND_ENTER) in iwl_mvm_rx_monitor_notif() 183 struct iwl_datapath_monitor_notif *notif = (void *)pkt->data; in iwl_mvm_rx_monitor_notif() 188 if (notif->type != cpu_to_le32(IWL_DP_MON_NOTIF_TYPE_EXT_CCA)) in iwl_mvm_rx_monitor_notif() 191 vif = iwl_mvm_get_vif_by_macid(mvm, notif->mac_id); in iwl_mvm_rx_monitor_notif() 168 struct iwl_datapath_monitor_notif *notif = (void *)pkt->data; iwl_mvm_rx_monitor_notif() local
|
H A D | sta.c | 2719 struct iwl_mvm_delba_data notif = { in iwl_mvm_free_reorder() 2724 ¬if, sizeof(notif)); in iwl_mvm_free_reorder() 4154 struct iwl_mvm_eosp_notification *notif = (void *)pkt->data; in iwl_mvm_rx_eosp_notif() 4156 u32 sta_id = le32_to_cpu(notif->sta_id); in iwl_mvm_sta_modify_disable_tx() 2689 struct iwl_mvm_delba_data notif = { iwl_mvm_sync_rxq_del_ba() local 4142 struct iwl_mvm_eosp_notification *notif = (void *)pkt->data; iwl_mvm_rx_eosp_notif() local
|
H A D | tx.c | 742 if (!resp_data->notif.noa_active) in iwl_mvm_probe_resp_set_noa() 772 memcpy(pos, &resp_data->notif.noa_attr, in iwl_mvm_probe_resp_set_noa()
|
/freebsd/sys/dev/iwm/ |
H A D | if_iwm_time_event.c | 180 struct iwm_time_event_notif *notif) in iwm_te_handle_notif() argument 184 le32toh(notif->unique_id), in iwm_te_handle_notif() 185 le32toh(notif->action)); in iwm_te_handle_notif() 187 if (!le32toh(notif->status)) { in iwm_te_handle_notif() 191 if (notif->action & htole32(IWM_TE_V2_NOTIF_HOST_EVENT_START)) in iwm_te_handle_notif() 200 if (le32toh(notif->action) & IWM_TE_V2_NOTIF_HOST_EVENT_END) { in iwm_te_handle_notif() 206 } else if (le32toh(notif->action) & IWM_TE_V2_NOTIF_HOST_EVENT_START) { in iwm_te_handle_notif() 220 struct iwm_time_event_notif *notif = (void *)pkt->data; in iwm_rx_time_event_notif() local 224 le32toh(notif->unique_id), in iwm_rx_time_event_notif() 225 le32toh(notif->action)); in iwm_rx_time_event_notif() [all …]
|
H A D | if_iwm_scan.c | 272 struct iwm_umac_scan_complete *notif = (void *)pkt->data; in iwm_rx_umac_scan_complete_notif() local 276 le32toh(notif->uid), in iwm_rx_umac_scan_complete_notif() 277 iwm_offload_status_str(notif->status), in iwm_rx_umac_scan_complete_notif() 278 iwm_ebs_status_str(notif->ebs_status)); in iwm_rx_umac_scan_complete_notif() 280 if (notif->ebs_status != IWM_SCAN_EBS_SUCCESS && in iwm_rx_umac_scan_complete_notif() 281 notif->ebs_status != IWM_SCAN_EBS_INACTIVE) in iwm_rx_umac_scan_complete_notif()
|
H A D | if_iwm.c | 5450 struct iwm_mcc_chub_notif *notif; in iwm_handle_rxb() local 5451 notif = (void *)pkt->data; in iwm_handle_rxb() 5453 sc->sc_fw_mcc[0] = (notif->mcc & 0xff00) >> 8; in iwm_handle_rxb() 5454 sc->sc_fw_mcc[1] = notif->mcc & 0xff; in iwm_handle_rxb() 5458 notif->source_id, sc->sc_fw_mcc); in iwm_handle_rxb() 5465 struct iwm_dts_measurement_notif_v1 *notif; in iwm_handle_rxb() local 5467 if (iwm_rx_packet_payload_len(pkt) < sizeof(*notif)) { in iwm_handle_rxb() 5472 notif = (void *)pkt->data; in iwm_handle_rxb() 5475 notif->temp); in iwm_handle_rxb() 5540 struct iwm_umac_scan_iter_complete_notif *notif; in iwm_handle_rxb() local [all …]
|
/freebsd/sys/dev/iwi/ |
H A D | if_iwi.c | 1355 iwi_notif_link_quality(struct iwi_softc *sc, struct iwi_notif *notif) in iwi_notif_link_quality() argument 1360 len = le16toh(notif->len); in iwi_notif_link_quality() 1363 notif->type, in iwi_notif_link_quality() 1371 notif->type, in iwi_notif_link_quality() 1376 lq = (struct iwi_notif_link_quality *)(notif + 1); in iwi_notif_link_quality() 1386 iwi_notification_intr(struct iwi_softc *sc, struct iwi_notif *notif) in iwi_notification_intr() argument 1396 switch (notif->type) { in iwi_notification_intr() 1398 chan = (struct iwi_notif_scan_channel *)(notif + 1); in iwi_notification_intr() 1408 scan = (struct iwi_notif_scan_complete *)(notif + 1); in iwi_notification_intr() 1434 auth = (struct iwi_notif_authentication *)(notif + 1); in iwi_notification_intr() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | coex.h |
|
/freebsd/sys/modules/iwlwifi/ |
H A D | Makefile | 15 SRCS+= fw/dbg.c fw/dump.c fw/img.c fw/notif-wait.c
|