Lines Matching refs:sta_info

1319 	struct carl9170_sta_info *sta_info = (void *) sta->drv_priv;  in carl9170_op_sta_add()  local
1322 atomic_set(&sta_info->pending_frames, 0); in carl9170_op_sta_add()
1334 for (i = 0; i < ARRAY_SIZE(sta_info->agg); i++) in carl9170_op_sta_add()
1335 RCU_INIT_POINTER(sta_info->agg[i], NULL); in carl9170_op_sta_add()
1337 sta_info->ampdu_max_len = 1 << (3 + sta->ht_cap.ampdu_factor); in carl9170_op_sta_add()
1338 sta_info->ht_sta = true; in carl9170_op_sta_add()
1349 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_sta_remove() local
1355 sta_info->ht_sta = false; in carl9170_op_sta_remove()
1358 for (i = 0; i < ARRAY_SIZE(sta_info->agg); i++) { in carl9170_op_sta_remove()
1361 tid_info = rcu_dereference(sta_info->agg[i]); in carl9170_op_sta_remove()
1362 RCU_INIT_POINTER(sta_info->agg[i], NULL); in carl9170_op_sta_remove()
1421 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_ampdu_action() local
1429 if (!sta_info->ht_sta) in carl9170_op_ampdu_action()
1440 tid_info->max = sta_info->ampdu_max_len; in carl9170_op_ampdu_action()
1452 rcu_assign_pointer(sta_info->agg[tid], tid_info); in carl9170_op_ampdu_action()
1462 tid_info = rcu_dereference(sta_info->agg[tid]); in carl9170_op_ampdu_action()
1470 RCU_INIT_POINTER(sta_info->agg[tid], NULL); in carl9170_op_ampdu_action()
1479 tid_info = rcu_dereference(sta_info->agg[tid]); in carl9170_op_ampdu_action()
1481 sta_info->stats[tid].clear = true; in carl9170_op_ampdu_action()
1482 sta_info->stats[tid].req = false; in carl9170_op_ampdu_action()
1731 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_sta_notify() local
1735 sta_info->sleeping = true; in carl9170_op_sta_notify()
1736 if (atomic_read(&sta_info->pending_frames)) in carl9170_op_sta_notify()
1741 sta_info->sleeping = false; in carl9170_op_sta_notify()