Lines Matching refs:rate_n_flags

98 il4965_hwrate_to_plcp_idx(u32 rate_n_flags)  in il4965_hwrate_to_plcp_idx()  argument
103 if (rate_n_flags & RATE_MCS_HT_MSK) { in il4965_hwrate_to_plcp_idx()
104 idx = (rate_n_flags & 0xff); in il4965_hwrate_to_plcp_idx()
119 if (il_rates[idx].plcp == (rate_n_flags & 0xFF)) in il4965_hwrate_to_plcp_idx()
131 struct il_lq_sta *lq_sta, u32 rate_n_flags);
137 u32 *rate_n_flags, int idx);
140 il4965_rs_dbgfs_set_mcs(struct il_lq_sta *lq_sta, u32 * rate_n_flags, int idx) in il4965_rs_dbgfs_set_mcs() argument
208 il4965_rs_extract_rate(u32 rate_n_flags) in il4965_rs_extract_rate() argument
210 return (u8) (rate_n_flags & 0xFF); in il4965_rs_extract_rate()
377 il4965_get_il4965_num_of_ant_from_rate(u32 rate_n_flags) in il4965_get_il4965_num_of_ant_from_rate() argument
379 return !!(rate_n_flags & RATE_MCS_ANT_A_MSK) + in il4965_get_il4965_num_of_ant_from_rate()
380 !!(rate_n_flags & RATE_MCS_ANT_B_MSK) + in il4965_get_il4965_num_of_ant_from_rate()
381 !!(rate_n_flags & RATE_MCS_ANT_C_MSK); in il4965_get_il4965_num_of_ant_from_rate()
485 u32 rate_n_flags = 0; in il4965_rate_n_flags_from_tbl() local
488 rate_n_flags = il_rates[idx].plcp; in il4965_rate_n_flags_from_tbl()
490 rate_n_flags |= RATE_MCS_CCK_MSK; in il4965_rate_n_flags_from_tbl()
497 rate_n_flags = RATE_MCS_HT_MSK; in il4965_rate_n_flags_from_tbl()
500 rate_n_flags |= il_rates[idx].plcp_siso; in il4965_rate_n_flags_from_tbl()
502 rate_n_flags |= il_rates[idx].plcp_mimo2; in il4965_rate_n_flags_from_tbl()
507 rate_n_flags |= in il4965_rate_n_flags_from_tbl()
513 rate_n_flags |= RATE_MCS_DUP_MSK; in il4965_rate_n_flags_from_tbl()
515 rate_n_flags |= RATE_MCS_HT40_MSK; in il4965_rate_n_flags_from_tbl()
518 rate_n_flags |= RATE_MCS_SGI_MSK; in il4965_rate_n_flags_from_tbl()
521 rate_n_flags |= RATE_MCS_GF_MSK; in il4965_rate_n_flags_from_tbl()
523 rate_n_flags &= ~RATE_MCS_SGI_MSK; in il4965_rate_n_flags_from_tbl()
528 return rate_n_flags; in il4965_rate_n_flags_from_tbl()
536 il4965_rs_get_tbl_info_from_mcs(const u32 rate_n_flags, in il4965_rs_get_tbl_info_from_mcs() argument
540 u32 ant_msk = (rate_n_flags & RATE_MCS_ANT_ABC_MSK); in il4965_rs_get_tbl_info_from_mcs()
542 il4965_get_il4965_num_of_ant_from_rate(rate_n_flags); in il4965_rs_get_tbl_info_from_mcs()
546 *rate_idx = il4965_hwrate_to_plcp_idx(rate_n_flags); in il4965_rs_get_tbl_info_from_mcs()
560 if (!(rate_n_flags & RATE_MCS_HT_MSK)) { in il4965_rs_get_tbl_info_from_mcs()
569 if (rate_n_flags & RATE_MCS_SGI_MSK) in il4965_rs_get_tbl_info_from_mcs()
572 if ((rate_n_flags & RATE_MCS_HT40_MSK) || in il4965_rs_get_tbl_info_from_mcs()
573 (rate_n_flags & RATE_MCS_DUP_MSK)) in il4965_rs_get_tbl_info_from_mcs()
576 if (rate_n_flags & RATE_MCS_DUP_MSK) in il4965_rs_get_tbl_info_from_mcs()
579 mcs = il4965_rs_extract_rate(rate_n_flags); in il4965_rs_get_tbl_info_from_mcs()
597 il4965_rs_toggle_antenna(u32 valid_ant, u32 *rate_n_flags, in il4965_rs_toggle_antenna() argument
618 *rate_n_flags &= ~RATE_MCS_ANT_ABC_MSK; in il4965_rs_toggle_antenna()
619 *rate_n_flags |= new_ant_type << RATE_MCS_ANT_POS; in il4965_rs_toggle_antenna()
837 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in il4965_rs_tx_status()
918 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in il4965_rs_tx_status()
944 tx_rate = le32_to_cpu(table->rs_table[i].rate_n_flags); in il4965_rs_tx_status()
2387 lq_cmd->rs_table[idx].rate_n_flags = cpu_to_le32(new_rate); in il4965_rs_fill_link_cmd()
2421 lq_cmd->rs_table[idx].rate_n_flags = in il4965_rs_fill_link_cmd()
2463 lq_cmd->rs_table[idx].rate_n_flags = cpu_to_le32(new_rate); in il4965_rs_fill_link_cmd()
2501 il4965_rs_dbgfs_set_mcs(struct il_lq_sta *lq_sta, u32 * rate_n_flags, int idx) in il4965_rs_dbgfs_set_mcs() argument
2515 *rate_n_flags = lq_sta->dbg_fixed_rate; in il4965_rs_dbgfs_set_mcs()
2644 rate_n_flags)); in il4965_rs_sta_dbgfs_scale_table_read()
2649 rate_n_flags), in il4965_rs_sta_dbgfs_scale_table_read()
2656 rate_n_flags), in il4965_rs_sta_dbgfs_scale_table_read()