Lines Matching refs:sta_info

1320 	struct carl9170_sta_info *sta_info = (void *) sta->drv_priv;  in carl9170_op_sta_add()  local
1323 atomic_set(&sta_info->pending_frames, 0); in carl9170_op_sta_add()
1335 for (i = 0; i < ARRAY_SIZE(sta_info->agg); i++) in carl9170_op_sta_add()
1336 RCU_INIT_POINTER(sta_info->agg[i], NULL); in carl9170_op_sta_add()
1338 sta_info->ampdu_max_len = 1 << (3 + sta->ht_cap.ampdu_factor); in carl9170_op_sta_add()
1339 sta_info->ht_sta = true; in carl9170_op_sta_add()
1350 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_sta_remove() local
1356 sta_info->ht_sta = false; in carl9170_op_sta_remove()
1359 for (i = 0; i < ARRAY_SIZE(sta_info->agg); i++) { in carl9170_op_sta_remove()
1362 tid_info = rcu_dereference(sta_info->agg[i]); in carl9170_op_sta_remove()
1363 RCU_INIT_POINTER(sta_info->agg[i], NULL); in carl9170_op_sta_remove()
1422 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_ampdu_action() local
1430 if (!sta_info->ht_sta) in carl9170_op_ampdu_action()
1441 tid_info->max = sta_info->ampdu_max_len; in carl9170_op_ampdu_action()
1453 rcu_assign_pointer(sta_info->agg[tid], tid_info); in carl9170_op_ampdu_action()
1463 tid_info = rcu_dereference(sta_info->agg[tid]); in carl9170_op_ampdu_action()
1471 RCU_INIT_POINTER(sta_info->agg[tid], NULL); in carl9170_op_ampdu_action()
1480 tid_info = rcu_dereference(sta_info->agg[tid]); in carl9170_op_ampdu_action()
1482 sta_info->stats[tid].clear = true; in carl9170_op_ampdu_action()
1483 sta_info->stats[tid].req = false; in carl9170_op_ampdu_action()
1732 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_sta_notify() local
1736 sta_info->sleeping = true; in carl9170_op_sta_notify()
1737 if (atomic_read(&sta_info->pending_frames)) in carl9170_op_sta_notify()
1742 sta_info->sleeping = false; in carl9170_op_sta_notify()