Home
last modified time | relevance | path

Searched refs:new_ant_type (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/
D4965-rs.c600 u8 new_ant_type; in il4965_rs_toggle_antenna() local
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()
611 !il4965_rs_is_valid_ant(valid_ant, new_ant_type)) in il4965_rs_toggle_antenna()
612 new_ant_type = ant_toggle_lookup[new_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()
619 *rate_n_flags |= new_ant_type << RATE_MCS_ANT_POS; in il4965_rs_toggle_antenna()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c648 u8 new_ant_type; in rs_toggle_antenna() local
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()
659 !rs_is_valid_ant(valid_ant, new_ant_type)) in rs_toggle_antenna()
660 new_ant_type = ant_toggle_lookup[new_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()
667 *rate_n_flags |= new_ant_type << RATE_MCS_ANT_POS; in rs_toggle_antenna()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c938 u8 new_ant_type; in rs_toggle_antenna() local
943 new_ant_type = ant_toggle_lookup[rate->ant]; in rs_toggle_antenna()
945 while ((new_ant_type != rate->ant) && in rs_toggle_antenna()
946 !rs_is_valid_ant(valid_ant, new_ant_type)) in rs_toggle_antenna()
947 new_ant_type = ant_toggle_lookup[new_ant_type]; in rs_toggle_antenna()
949 if (new_ant_type == rate->ant) in rs_toggle_antenna()
952 rate->ant = new_ant_type; in rs_toggle_antenna()