Lines Matching refs:baid_data
2895 struct iwl_mvm_baid_data *baid_data = NULL; in iwl_mvm_sta_rx_agg() local
2908 u32 reorder_buf_size = buf_size * sizeof(baid_data->entries[0]); in iwl_mvm_sta_rx_agg()
2918 BUILD_BUG_ON(SMP_CACHE_BYTES % sizeof(baid_data->entries[0]) && in iwl_mvm_sta_rx_agg()
2919 sizeof(baid_data->entries[0]) % SMP_CACHE_BYTES); in iwl_mvm_sta_rx_agg()
2933 baid_data = kzalloc(sizeof(*baid_data) + in iwl_mvm_sta_rx_agg()
2937 if (!baid_data) in iwl_mvm_sta_rx_agg()
2944 baid_data->entries_per_queue = in iwl_mvm_sta_rx_agg()
2945 reorder_buf_size / sizeof(baid_data->entries[0]); in iwl_mvm_sta_rx_agg()
2971 baid_data->baid = baid; in iwl_mvm_sta_rx_agg()
2972 baid_data->timeout = timeout; in iwl_mvm_sta_rx_agg()
2973 baid_data->last_rx = jiffies; in iwl_mvm_sta_rx_agg()
2974 baid_data->rcu_ptr = &mvm->baid_map[baid]; in iwl_mvm_sta_rx_agg()
2975 timer_setup(&baid_data->session_timer, in iwl_mvm_sta_rx_agg()
2977 baid_data->mvm = mvm; in iwl_mvm_sta_rx_agg()
2978 baid_data->tid = tid; in iwl_mvm_sta_rx_agg()
2979 baid_data->sta_mask = iwl_mvm_sta_fw_id_mask(mvm, sta, -1); in iwl_mvm_sta_rx_agg()
2980 baid_data->buf_size = buf_size; in iwl_mvm_sta_rx_agg()
2984 mod_timer(&baid_data->session_timer, in iwl_mvm_sta_rx_agg()
2987 iwl_mvm_init_reorder_buffer(mvm, baid_data, ssn); in iwl_mvm_sta_rx_agg()
2997 rcu_assign_pointer(mvm->baid_map[baid], baid_data); in iwl_mvm_sta_rx_agg()
3010 baid_data = rcu_access_pointer(mvm->baid_map[baid]); in iwl_mvm_sta_rx_agg()
3011 if (WARN_ON(!baid_data)) in iwl_mvm_sta_rx_agg()
3015 iwl_mvm_free_reorder(mvm, baid_data); in iwl_mvm_sta_rx_agg()
3016 timer_shutdown_sync(&baid_data->session_timer); in iwl_mvm_sta_rx_agg()
3018 kfree_rcu(baid_data, rcu_head); in iwl_mvm_sta_rx_agg()
3024 kfree(baid_data); in iwl_mvm_sta_rx_agg()