Home
last modified time | relevance | path

Searched refs:ant_type (Results 1 – 5 of 5) sorted by relevance

/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c235 static inline u8 rs_is_valid_ant(u8 valid_antenna, u8 ant_type) in rs_is_valid_ant() argument
237 return (ant_type & valid_antenna) == ant_type; in rs_is_valid_ant()
551 rate_n_flags |= ((tbl->ant_type << RATE_MCS_ANT_POS) & in rate_n_flags_from_tbl()
598 tbl->ant_type = (ant_msk >> RATE_MCS_ANT_POS); in rs_get_tbl_info_from_mcs()
650 if (!tbl->ant_type || tbl->ant_type > ANT_ABC) in rs_toggle_antenna()
653 if (!rs_is_valid_ant(valid_ant, tbl->ant_type)) in rs_toggle_antenna()
656 new_ant_type = ant_toggle_lookup[tbl->ant_type]; in rs_toggle_antenna()
658 while ((new_ant_type != tbl->ant_type) && in rs_toggle_antenna()
662 if (new_ant_type == tbl->ant_type) in rs_toggle_antenna()
665 tbl->ant_type = new_ant_type; in rs_toggle_antenna()
[all …]
Drs.h292 u8 ant_type; member
/drivers/net/wireless/intel/iwlegacy/
D4965-rs.c225 il4965_rs_is_valid_ant(u8 valid_antenna, u8 ant_type) in il4965_rs_is_valid_ant() argument
227 return (ant_type & valid_antenna) == ant_type; in il4965_rs_is_valid_ant()
508 ((tbl->ant_type << RATE_MCS_ANT_POS) & RATE_MCS_ANT_ABC_MSK); in il4965_rate_n_flags_from_tbl()
555 tbl->ant_type = (ant_msk >> RATE_MCS_ANT_POS); in il4965_rs_get_tbl_info_from_mcs()
602 if (!tbl->ant_type || tbl->ant_type > ANT_ABC) in il4965_rs_toggle_antenna()
605 if (!il4965_rs_is_valid_ant(valid_ant, tbl->ant_type)) in il4965_rs_toggle_antenna()
608 new_ant_type = ant_toggle_lookup[tbl->ant_type]; in il4965_rs_toggle_antenna()
610 while (new_ant_type != tbl->ant_type && in il4965_rs_toggle_antenna()
614 if (new_ant_type == tbl->ant_type) in il4965_rs_toggle_antenna()
617 tbl->ant_type = new_ant_type; in il4965_rs_toggle_antenna()
[all …]
Dcommon.h2747 u8 ant_type; member
/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c553 static inline u8 rs_is_valid_ant(u8 valid_antenna, u8 ant_type) in rs_is_valid_ant() argument
555 return (ant_type & valid_antenna) == ant_type; in rs_is_valid_ant()