Lines Matching refs:tx_beacon_cmd
303 struct iwl_tx_beacon_cmd *tx_beacon_cmd,
322 tx_beacon_cmd->tim_idx = cpu_to_le16(tim_idx);
323 tx_beacon_cmd->tim_size = beacon[tim_idx+1];
331 struct iwl_tx_beacon_cmd *tx_beacon_cmd;
341 tx_beacon_cmd = &frame->u.beacon;
342 memset(tx_beacon_cmd, 0, sizeof(*tx_beacon_cmd));
345 frame_size = iwl_fill_beacon_frame(priv, tx_beacon_cmd->frame,
346 sizeof(frame->u) - sizeof(*tx_beacon_cmd));
351 tx_beacon_cmd->tx.len = cpu_to_le16((u16)frame_size);
352 tx_beacon_cmd->tx.sta_id = priv->hw_params.bcast_sta_id;
353 tx_beacon_cmd->tx.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE;
354 tx_beacon_cmd->tx.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK |
358 iwl_set_beacon_tim(priv, tx_beacon_cmd, (u8 *)tx_beacon_cmd->frame,
368 tx_beacon_cmd->tx.rate_n_flags = iwl_hw_set_rate_n_flags(rate,
371 return sizeof(*tx_beacon_cmd) + frame_size;