Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c240 static inline u8 rs_is_valid_ant(u8 valid_antenna, u8 ant_type) in rs_is_valid_ant() argument
242 return (ant_type & valid_antenna) == ant_type; in rs_is_valid_ant()
556 rate_n_flags |= ((tbl->ant_type << RATE_MCS_ANT_POS) & in rate_n_flags_from_tbl()
603 tbl->ant_type = (ant_msk >> RATE_MCS_ANT_POS); in rs_get_tbl_info_from_mcs()
655 if (!tbl->ant_type || tbl->ant_type > ANT_ABC) in rs_toggle_antenna()
658 if (!rs_is_valid_ant(valid_ant, tbl->ant_type)) in rs_toggle_antenna()
661 new_ant_type = ant_toggle_lookup[tbl->ant_type]; in rs_toggle_antenna()
663 while ((new_ant_type != tbl->ant_type) && in rs_toggle_antenna()
667 if (new_ant_type == tbl->ant_type) in rs_toggle_antenna()
670 tbl->ant_type = new_ant_type; in rs_toggle_antenna()
[all …]
Drs.h297 u8 ant_type; member
/Linux-v5.10/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.h2746 u8 ant_type; member
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c597 static inline u8 rs_is_valid_ant(u8 valid_antenna, u8 ant_type) in rs_is_valid_ant() argument
599 return (ant_type & valid_antenna) == ant_type; in rs_is_valid_ant()