Lines Matching refs:search_tbl

1426 	struct iwl_scale_tbl_info *search_tbl =  in rs_move_legacy_other()  local
1499 memcpy(search_tbl, tbl, sz); in rs_move_legacy_other()
1502 &search_tbl->current_rate, search_tbl)) { in rs_move_legacy_other()
1504 rs_set_expected_tpt_table(lq_sta, search_tbl); in rs_move_legacy_other()
1512 memcpy(search_tbl, tbl, sz); in rs_move_legacy_other()
1513 search_tbl->is_SGI = 0; in rs_move_legacy_other()
1515 search_tbl, index); in rs_move_legacy_other()
1528 memcpy(search_tbl, tbl, sz); in rs_move_legacy_other()
1529 search_tbl->is_SGI = 0; in rs_move_legacy_other()
1532 search_tbl->ant_type = ANT_AB; in rs_move_legacy_other()
1534 search_tbl->ant_type = ANT_AC; in rs_move_legacy_other()
1536 search_tbl->ant_type = ANT_BC; in rs_move_legacy_other()
1538 if (!rs_is_valid_ant(valid_tx_ant, search_tbl->ant_type)) in rs_move_legacy_other()
1542 search_tbl, index); in rs_move_legacy_other()
1553 memcpy(search_tbl, tbl, sz); in rs_move_legacy_other()
1554 search_tbl->is_SGI = 0; in rs_move_legacy_other()
1556 search_tbl->ant_type = ANT_ABC; in rs_move_legacy_other()
1558 if (!rs_is_valid_ant(valid_tx_ant, search_tbl->ant_type)) in rs_move_legacy_other()
1562 search_tbl, index); in rs_move_legacy_other()
1577 search_tbl->lq_type = LQ_NONE; in rs_move_legacy_other()
1586 search_tbl->action = tbl->action; in rs_move_legacy_other()
1601 struct iwl_scale_tbl_info *search_tbl = in rs_move_siso_to_other() local
1668 memcpy(search_tbl, tbl, sz); in rs_move_siso_to_other()
1670 &search_tbl->current_rate, search_tbl)) { in rs_move_siso_to_other()
1679 memcpy(search_tbl, tbl, sz); in rs_move_siso_to_other()
1680 search_tbl->is_SGI = 0; in rs_move_siso_to_other()
1683 search_tbl->ant_type = ANT_AB; in rs_move_siso_to_other()
1685 search_tbl->ant_type = ANT_AC; in rs_move_siso_to_other()
1687 search_tbl->ant_type = ANT_BC; in rs_move_siso_to_other()
1689 if (!rs_is_valid_ant(valid_tx_ant, search_tbl->ant_type)) in rs_move_siso_to_other()
1693 search_tbl, index); in rs_move_siso_to_other()
1707 memcpy(search_tbl, tbl, sz); in rs_move_siso_to_other()
1715 search_tbl->is_SGI = !tbl->is_SGI; in rs_move_siso_to_other()
1716 rs_set_expected_tpt_table(lq_sta, search_tbl); in rs_move_siso_to_other()
1719 if (tpt >= search_tbl->expected_tpt[index]) in rs_move_siso_to_other()
1722 search_tbl->current_rate = in rs_move_siso_to_other()
1723 rate_n_flags_from_tbl(priv, search_tbl, in rs_move_siso_to_other()
1729 memcpy(search_tbl, tbl, sz); in rs_move_siso_to_other()
1730 search_tbl->is_SGI = 0; in rs_move_siso_to_other()
1731 search_tbl->ant_type = ANT_ABC; in rs_move_siso_to_other()
1733 if (!rs_is_valid_ant(valid_tx_ant, search_tbl->ant_type)) in rs_move_siso_to_other()
1737 search_tbl, index); in rs_move_siso_to_other()
1749 search_tbl->lq_type = LQ_NONE; in rs_move_siso_to_other()
1758 search_tbl->action = tbl->action; in rs_move_siso_to_other()
1773 struct iwl_scale_tbl_info *search_tbl = in rs_move_mimo2_to_other() local
1833 memcpy(search_tbl, tbl, sz); in rs_move_mimo2_to_other()
1835 &search_tbl->current_rate, search_tbl)) { in rs_move_mimo2_to_other()
1846 memcpy(search_tbl, tbl, sz); in rs_move_mimo2_to_other()
1849 search_tbl->ant_type = ANT_A; in rs_move_mimo2_to_other()
1851 search_tbl->ant_type = ANT_B; in rs_move_mimo2_to_other()
1853 search_tbl->ant_type = ANT_C; in rs_move_mimo2_to_other()
1855 if (!rs_is_valid_ant(valid_tx_ant, search_tbl->ant_type)) in rs_move_mimo2_to_other()
1859 search_tbl, index); in rs_move_mimo2_to_other()
1876 memcpy(search_tbl, tbl, sz); in rs_move_mimo2_to_other()
1877 search_tbl->is_SGI = !tbl->is_SGI; in rs_move_mimo2_to_other()
1878 rs_set_expected_tpt_table(lq_sta, search_tbl); in rs_move_mimo2_to_other()
1887 if (tpt >= search_tbl->expected_tpt[index]) in rs_move_mimo2_to_other()
1890 search_tbl->current_rate = in rs_move_mimo2_to_other()
1891 rate_n_flags_from_tbl(priv, search_tbl, in rs_move_mimo2_to_other()
1898 memcpy(search_tbl, tbl, sz); in rs_move_mimo2_to_other()
1899 search_tbl->is_SGI = 0; in rs_move_mimo2_to_other()
1900 search_tbl->ant_type = ANT_ABC; in rs_move_mimo2_to_other()
1902 if (!rs_is_valid_ant(valid_tx_ant, search_tbl->ant_type)) in rs_move_mimo2_to_other()
1906 search_tbl, index); in rs_move_mimo2_to_other()
1919 search_tbl->lq_type = LQ_NONE; in rs_move_mimo2_to_other()
1927 search_tbl->action = tbl->action; in rs_move_mimo2_to_other()
1943 struct iwl_scale_tbl_info *search_tbl = in rs_move_mimo3_to_other() local
2003 memcpy(search_tbl, tbl, sz); in rs_move_mimo3_to_other()
2005 &search_tbl->current_rate, search_tbl)) in rs_move_mimo3_to_other()
2014 memcpy(search_tbl, tbl, sz); in rs_move_mimo3_to_other()
2017 search_tbl->ant_type = ANT_A; in rs_move_mimo3_to_other()
2019 search_tbl->ant_type = ANT_B; in rs_move_mimo3_to_other()
2021 search_tbl->ant_type = ANT_C; in rs_move_mimo3_to_other()
2023 if (!rs_is_valid_ant(valid_tx_ant, search_tbl->ant_type)) in rs_move_mimo3_to_other()
2027 search_tbl, index); in rs_move_mimo3_to_other()
2038 memcpy(search_tbl, tbl, sz); in rs_move_mimo3_to_other()
2039 search_tbl->is_SGI = 0; in rs_move_mimo3_to_other()
2041 search_tbl->ant_type = ANT_AB; in rs_move_mimo3_to_other()
2043 search_tbl->ant_type = ANT_AC; in rs_move_mimo3_to_other()
2045 search_tbl->ant_type = ANT_BC; in rs_move_mimo3_to_other()
2047 if (!rs_is_valid_ant(valid_tx_ant, search_tbl->ant_type)) in rs_move_mimo3_to_other()
2051 search_tbl, index); in rs_move_mimo3_to_other()
2068 memcpy(search_tbl, tbl, sz); in rs_move_mimo3_to_other()
2069 search_tbl->is_SGI = !tbl->is_SGI; in rs_move_mimo3_to_other()
2070 rs_set_expected_tpt_table(lq_sta, search_tbl); in rs_move_mimo3_to_other()
2079 if (tpt >= search_tbl->expected_tpt[index]) in rs_move_mimo3_to_other()
2082 search_tbl->current_rate = in rs_move_mimo3_to_other()
2083 rate_n_flags_from_tbl(priv, search_tbl, in rs_move_mimo3_to_other()
2095 search_tbl->lq_type = LQ_NONE; in rs_move_mimo3_to_other()
2103 search_tbl->action = tbl->action; in rs_move_mimo3_to_other()