Searched refs:ant_type (Results 1 – 5 of 5) sorted by relevance
254 static inline u8 rs_is_valid_ant(u8 valid_antenna, u8 ant_type) in rs_is_valid_ant() argument256 return (ant_type & valid_antenna) == ant_type; in rs_is_valid_ant()573 rate_n_flags |= ((tbl->ant_type << RATE_MCS_ANT_POS) & in rate_n_flags_from_tbl()620 tbl->ant_type = (ant_msk >> RATE_MCS_ANT_POS); in rs_get_tbl_info_from_mcs()672 if (!tbl->ant_type || tbl->ant_type > ANT_ABC) in rs_toggle_antenna()675 if (!rs_is_valid_ant(valid_ant, tbl->ant_type)) in rs_toggle_antenna()678 new_ant_type = ant_toggle_lookup[tbl->ant_type]; in rs_toggle_antenna()680 while ((new_ant_type != tbl->ant_type) && in rs_toggle_antenna()684 if (new_ant_type == tbl->ant_type) in rs_toggle_antenna()687 tbl->ant_type = new_ant_type; in rs_toggle_antenna()[all …]
312 u8 ant_type; member
240 il4965_rs_is_valid_ant(u8 valid_antenna, u8 ant_type) in il4965_rs_is_valid_ant() argument242 return (ant_type & valid_antenna) == ant_type; in il4965_rs_is_valid_ant()523 ((tbl->ant_type << RATE_MCS_ANT_POS) & RATE_MCS_ANT_ABC_MSK); in il4965_rate_n_flags_from_tbl()570 tbl->ant_type = (ant_msk >> RATE_MCS_ANT_POS); in il4965_rs_get_tbl_info_from_mcs()617 if (!tbl->ant_type || tbl->ant_type > ANT_ABC) in il4965_rs_toggle_antenna()620 if (!il4965_rs_is_valid_ant(valid_ant, tbl->ant_type)) in il4965_rs_toggle_antenna()623 new_ant_type = ant_toggle_lookup[tbl->ant_type]; in il4965_rs_toggle_antenna()625 while (new_ant_type != tbl->ant_type && in il4965_rs_toggle_antenna()629 if (new_ant_type == tbl->ant_type) in il4965_rs_toggle_antenna()632 tbl->ant_type = new_ant_type; in il4965_rs_toggle_antenna()[all …]
2770 u8 ant_type; member
598 static inline u8 rs_is_valid_ant(u8 valid_antenna, u8 ant_type) in rs_is_valid_ant() argument600 return (ant_type & valid_antenna) == ant_type; in rs_is_valid_ant()