Lines Matching refs:baid_data
2875 struct iwl_mvm_baid_data *baid_data = NULL; in iwl_mvm_sta_rx_agg() local
2888 u32 reorder_buf_size = buf_size * sizeof(baid_data->entries[0]); in iwl_mvm_sta_rx_agg()
2898 BUILD_BUG_ON(SMP_CACHE_BYTES % sizeof(baid_data->entries[0]) && in iwl_mvm_sta_rx_agg()
2899 sizeof(baid_data->entries[0]) % SMP_CACHE_BYTES); in iwl_mvm_sta_rx_agg()
2913 baid_data = kzalloc(sizeof(*baid_data) + in iwl_mvm_sta_rx_agg()
2917 if (!baid_data) in iwl_mvm_sta_rx_agg()
2924 baid_data->entries_per_queue = in iwl_mvm_sta_rx_agg()
2925 reorder_buf_size / sizeof(baid_data->entries[0]); in iwl_mvm_sta_rx_agg()
2951 baid_data->baid = baid; in iwl_mvm_sta_rx_agg()
2952 baid_data->timeout = timeout; in iwl_mvm_sta_rx_agg()
2953 baid_data->last_rx = jiffies; in iwl_mvm_sta_rx_agg()
2954 baid_data->rcu_ptr = &mvm->baid_map[baid]; in iwl_mvm_sta_rx_agg()
2955 timer_setup(&baid_data->session_timer, in iwl_mvm_sta_rx_agg()
2957 baid_data->mvm = mvm; in iwl_mvm_sta_rx_agg()
2958 baid_data->tid = tid; in iwl_mvm_sta_rx_agg()
2959 baid_data->sta_mask = iwl_mvm_sta_fw_id_mask(mvm, sta, -1); in iwl_mvm_sta_rx_agg()
2963 mod_timer(&baid_data->session_timer, in iwl_mvm_sta_rx_agg()
2966 iwl_mvm_init_reorder_buffer(mvm, baid_data, ssn, buf_size); in iwl_mvm_sta_rx_agg()
2976 rcu_assign_pointer(mvm->baid_map[baid], baid_data); in iwl_mvm_sta_rx_agg()
2989 baid_data = rcu_access_pointer(mvm->baid_map[baid]); in iwl_mvm_sta_rx_agg()
2990 if (WARN_ON(!baid_data)) in iwl_mvm_sta_rx_agg()
2994 iwl_mvm_free_reorder(mvm, baid_data); in iwl_mvm_sta_rx_agg()
2995 timer_shutdown_sync(&baid_data->session_timer); in iwl_mvm_sta_rx_agg()
2997 kfree_rcu(baid_data, rcu_head); in iwl_mvm_sta_rx_agg()
3013 kfree(baid_data); in iwl_mvm_sta_rx_agg()