Lines Matching refs:link_cmd
550 u8 sta_id, struct iwl_link_quality_cmd *link_cmd) in iwl_sta_fill_lq() argument
558 memset(link_cmd, 0, sizeof(*link_cmd)); in iwl_sta_fill_lq()
576 link_cmd->rs_table[i].rate_n_flags = rate_n_flags; in iwl_sta_fill_lq()
578 link_cmd->general_params.single_stream_ant_msk = in iwl_sta_fill_lq()
581 link_cmd->general_params.dual_stream_ant_msk = in iwl_sta_fill_lq()
584 if (!link_cmd->general_params.dual_stream_ant_msk) { in iwl_sta_fill_lq()
585 link_cmd->general_params.dual_stream_ant_msk = ANT_AB; in iwl_sta_fill_lq()
587 link_cmd->general_params.dual_stream_ant_msk = in iwl_sta_fill_lq()
591 link_cmd->agg_params.agg_dis_start_th = in iwl_sta_fill_lq()
593 link_cmd->agg_params.agg_time_limit = in iwl_sta_fill_lq()
596 link_cmd->sta_id = sta_id; in iwl_sta_fill_lq()
865 struct iwl_link_quality_cmd *link_cmd; in iwl_sta_alloc_lq() local
867 link_cmd = kzalloc(sizeof(struct iwl_link_quality_cmd), GFP_KERNEL); in iwl_sta_alloc_lq()
868 if (!link_cmd) { in iwl_sta_alloc_lq()
873 iwl_sta_fill_lq(priv, ctx, sta_id, link_cmd); in iwl_sta_alloc_lq()
875 return link_cmd; in iwl_sta_alloc_lq()
889 struct iwl_link_quality_cmd *link_cmd; in iwlagn_add_bssid_station() local
908 link_cmd = iwl_sta_alloc_lq(priv, ctx, sta_id); in iwlagn_add_bssid_station()
909 if (!link_cmd) { in iwlagn_add_bssid_station()
916 ret = iwl_send_lq_cmd(priv, ctx, link_cmd, 0, true); in iwlagn_add_bssid_station()
921 priv->stations[sta_id].lq = link_cmd; in iwlagn_add_bssid_station()
1269 struct iwl_link_quality_cmd *link_cmd; in iwlagn_alloc_bcast_station() local
1285 link_cmd = iwl_sta_alloc_lq(priv, ctx, sta_id); in iwlagn_alloc_bcast_station()
1286 if (!link_cmd) { in iwlagn_alloc_bcast_station()
1293 priv->stations[sta_id].lq = link_cmd; in iwlagn_alloc_bcast_station()
1308 struct iwl_link_quality_cmd *link_cmd; in iwl_update_bcast_station() local
1311 link_cmd = iwl_sta_alloc_lq(priv, ctx, sta_id); in iwl_update_bcast_station()
1312 if (!link_cmd) { in iwl_update_bcast_station()
1322 priv->stations[sta_id].lq = link_cmd; in iwl_update_bcast_station()