Lines Matching refs:sta_info
1304 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_sta_add() local
1307 atomic_set(&sta_info->pending_frames, 0); in carl9170_op_sta_add()
1319 for (i = 0; i < ARRAY_SIZE(sta_info->agg); i++) in carl9170_op_sta_add()
1320 RCU_INIT_POINTER(sta_info->agg[i], NULL); in carl9170_op_sta_add()
1322 sta_info->ampdu_max_len = 1 << (3 + sta->deflink.ht_cap.ampdu_factor); in carl9170_op_sta_add()
1323 sta_info->ht_sta = true; in carl9170_op_sta_add()
1334 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_sta_remove() local
1340 sta_info->ht_sta = false; in carl9170_op_sta_remove()
1343 for (i = 0; i < ARRAY_SIZE(sta_info->agg); i++) { in carl9170_op_sta_remove()
1346 tid_info = rcu_dereference(sta_info->agg[i]); in carl9170_op_sta_remove()
1347 RCU_INIT_POINTER(sta_info->agg[i], NULL); in carl9170_op_sta_remove()
1404 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_ampdu_action() local
1412 if (!sta_info->ht_sta) in carl9170_op_ampdu_action()
1423 tid_info->max = sta_info->ampdu_max_len; in carl9170_op_ampdu_action()
1435 rcu_assign_pointer(sta_info->agg[tid], tid_info); in carl9170_op_ampdu_action()
1444 tid_info = rcu_dereference(sta_info->agg[tid]); in carl9170_op_ampdu_action()
1452 RCU_INIT_POINTER(sta_info->agg[tid], NULL); in carl9170_op_ampdu_action()
1461 tid_info = rcu_dereference(sta_info->agg[tid]); in carl9170_op_ampdu_action()
1463 sta_info->stats[tid].clear = true; in carl9170_op_ampdu_action()
1464 sta_info->stats[tid].req = false; in carl9170_op_ampdu_action()
1692 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_sta_notify() local
1696 sta_info->sleeping = true; in carl9170_op_sta_notify()
1697 if (atomic_read(&sta_info->pending_frames)) in carl9170_op_sta_notify()
1702 sta_info->sleeping = false; in carl9170_op_sta_notify()