Home
last modified time | relevance | path

Searched refs:link_cmd (Results 1 – 3 of 3) sorted by relevance

/drivers/net/wireless/intel/iwlwifi/dvm/
Dsta.c550 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()
[all …]
/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c256 struct hinic_port_link_cmd link_cmd; in hinic_port_link_state() local
258 u16 out_size = sizeof(link_cmd); in hinic_port_link_state()
261 link_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_link_state()
264 &link_cmd, sizeof(link_cmd), in hinic_port_link_state()
265 &link_cmd, &out_size); in hinic_port_link_state()
266 if (err || out_size != sizeof(link_cmd) || link_cmd.status) { in hinic_port_link_state()
268 err, link_cmd.status, out_size); in hinic_port_link_state()
272 *link_state = link_cmd.state; in hinic_port_link_state()
/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c3023 struct il_link_quality_cmd *link_cmd; in il4965_sta_alloc_lq() local
3027 link_cmd = kzalloc(sizeof(struct il_link_quality_cmd), GFP_KERNEL); in il4965_sta_alloc_lq()
3028 if (!link_cmd) { in il4965_sta_alloc_lq()
3047 link_cmd->rs_table[i].rate_n_flags = rate_n_flags; in il4965_sta_alloc_lq()
3049 link_cmd->general_params.single_stream_ant_msk = in il4965_sta_alloc_lq()
3052 link_cmd->general_params.dual_stream_ant_msk = in il4965_sta_alloc_lq()
3055 if (!link_cmd->general_params.dual_stream_ant_msk) { in il4965_sta_alloc_lq()
3056 link_cmd->general_params.dual_stream_ant_msk = ANT_AB; in il4965_sta_alloc_lq()
3058 link_cmd->general_params.dual_stream_ant_msk = in il4965_sta_alloc_lq()
3062 link_cmd->agg_params.agg_dis_start_th = LINK_QUAL_AGG_DISABLE_START_DEF; in il4965_sta_alloc_lq()
[all …]