Lines Matching refs:link_mode

330 	u8 link_mode;  member
2935 u8 level_id = 0, link_mode = 0, i, dbcc_2g_phy = 0; in _set_rf_trx_para() local
2938 link_mode = wl->role_info.link_mode; in _set_rf_trx_para()
2944 link_mode = wl->role_info_v1.link_mode; in _set_rf_trx_para()
2947 link_mode = wl->role_info_v2.link_mode; in _set_rf_trx_para()
2963 link_mode == BTC_WLINK_2G_STA && in _set_rf_trx_para()
2998 link_mode == BTC_WLINK_5G || in _set_rf_trx_para()
2999 link_mode == BTC_WLINK_NOLINK || in _set_rf_trx_para()
3062 mode = wl_rinfo->link_mode; in _set_bt_afh_info()
3065 mode = wl_rinfo_v1->link_mode; in _set_bt_afh_info()
3068 mode = wl_rinfo_v2->link_mode; in _set_bt_afh_info()
3071 mode = wl_rinfo_v7->link_mode; in _set_bt_afh_info()
3074 mode = wl_rinfo_v8->link_mode; in _set_bt_afh_info()
4086 if (wl_rinfo->link_mode == BTC_WLINK_2G_SCC && dm->tdma.rxflctrl) { in rtw89_btc_set_policy_v1()
4280 if (wl_rinfo->link_mode != BTC_WLINK_25G_MCC && in _set_ant_v1()
4844 wl_rinfo.link_mode = wl_rinfo_v0->link_mode; in _set_btg_ctrl()
4846 wl_rinfo.link_mode = wl_rinfo_v1->link_mode; in _set_btg_ctrl()
4848 wl_rinfo.link_mode = wl_rinfo_v2->link_mode; in _set_btg_ctrl()
4850 wl_rinfo.link_mode = wl_rinfo_v7->link_mode; in _set_btg_ctrl()
4852 wl_rinfo.link_mode = wl_rinfo_v8->link_mode; in _set_btg_ctrl()
4875 if (wl_rinfo.link_mode == BTC_WLINK_25G_MCC) in _set_btg_ctrl()
4879 else if (wl_rinfo.link_mode == BTC_WLINK_5G) in _set_btg_ctrl()
4919 u8 is_preagc, val, link_mode, dbcc_2g_phy; in _set_wl_preagc_ctrl() local
4928 link_mode = rinfo_v2->link_mode; in _set_wl_preagc_ctrl()
4932 link_mode = rinfo_v7->link_mode; in _set_wl_preagc_ctrl()
4936 link_mode = rinfo_v8->link_mode; in _set_wl_preagc_ctrl()
4942 if (link_mode == BTC_WLINK_25G_MCC) { in _set_wl_preagc_ctrl()
4946 } else if (link_mode == BTC_WLINK_5G) { in _set_wl_preagc_ctrl()
4948 } else if (link_mode == BTC_WLINK_NOLINK || in _set_wl_preagc_ctrl()
5077 mode = wl_rinfo->link_mode; in _set_wl_tx_limit()
5079 mode = wl_rinfo_v1->link_mode; in _set_wl_tx_limit()
5081 mode = wl_rinfo_v2->link_mode; in _set_wl_tx_limit()
5083 mode = wl_rinfo_v7->link_mode; in _set_wl_tx_limit()
5085 mode = wl_rinfo_v8->link_mode; in _set_wl_tx_limit()
5150 mode = wl_rinfo->link_mode; in _set_bt_rx_agc()
5152 mode = wl_rinfo_v1->link_mode; in _set_bt_rx_agc()
5154 mode = wl_rinfo_v2->link_mode; in _set_bt_rx_agc()
5156 mode = wl_rinfo_v7->link_mode; in _set_bt_rx_agc()
5158 mode = wl_rinfo_v8->link_mode; in _set_bt_rx_agc()
5774 wl_rinfo->link_mode = BTC_WLINK_NOLINK; in _update_wl_info()
5777 wl_rinfo->link_mode = BTC_WLINK_5G; in _update_wl_info()
5779 wl_rinfo->link_mode = BTC_WLINK_2G_NAN; in _update_wl_info()
5781 wl_rinfo->link_mode = BTC_WLINK_OTHER; in _update_wl_info()
5786 wl_rinfo->link_mode = BTC_WLINK_2G_STA; in _update_wl_info()
5789 wl_rinfo->link_mode = BTC_WLINK_2G_GO; in _update_wl_info()
5792 wl_rinfo->link_mode = BTC_WLINK_2G_GC; in _update_wl_info()
5795 wl_rinfo->link_mode = BTC_WLINK_2G_AP; in _update_wl_info()
5798 wl_rinfo->link_mode = BTC_WLINK_OTHER; in _update_wl_info()
5802 wl_rinfo->link_mode = BTC_WLINK_25G_MCC; in _update_wl_info()
5810 wl_rinfo->link_mode = BTC_WLINK_2G_SCC; in _update_wl_info()
5812 wl_rinfo->link_mode = BTC_WLINK_2G_MCC; in _update_wl_info()
5814 wl_rinfo->link_mode = BTC_WLINK_2G_MCC; in _update_wl_info()
5818 wl_rinfo->link_mode = BTC_WLINK_2G_STA; in _update_wl_info()
5820 wl_rinfo->link_mode = BTC_WLINK_2G_AP; in _update_wl_info()
5822 wl_rinfo->link_mode = BTC_WLINK_2G_GO; in _update_wl_info()
5824 wl_rinfo->link_mode = BTC_WLINK_2G_GC; in _update_wl_info()
5826 wl_rinfo->link_mode = BTC_WLINK_OTHER; in _update_wl_info()
5832 if (wl_rinfo->link_mode == BTC_WLINK_2G_SCC || in _update_wl_info()
5833 wl_rinfo->link_mode == BTC_WLINK_2G_MCC) { in _update_wl_info()
5834 wl_rinfo->link_mode = BTC_WLINK_2G_STA; in _update_wl_info()
5836 } else if (wl_rinfo->link_mode == BTC_WLINK_2G_GO || in _update_wl_info()
5837 wl_rinfo->link_mode == BTC_WLINK_2G_AP) { in _update_wl_info()
5838 wl_rinfo->link_mode = BTC_WLINK_NOLINK; in _update_wl_info()
5846 cnt_connect, cnt_connecting, wl_rinfo->link_mode); in _update_wl_info()
5924 wl_rinfo->link_mode = BTC_WLINK_NOLINK; in _update_wl_info_v1()
5927 wl_rinfo->link_mode = BTC_WLINK_5G; in _update_wl_info_v1()
5929 wl_rinfo->link_mode = BTC_WLINK_2G_NAN; in _update_wl_info_v1()
5931 wl_rinfo->link_mode = BTC_WLINK_OTHER; in _update_wl_info_v1()
5936 wl_rinfo->link_mode = BTC_WLINK_2G_STA; in _update_wl_info_v1()
5939 wl_rinfo->link_mode = BTC_WLINK_2G_GO; in _update_wl_info_v1()
5942 wl_rinfo->link_mode = BTC_WLINK_2G_GC; in _update_wl_info_v1()
5945 wl_rinfo->link_mode = BTC_WLINK_2G_AP; in _update_wl_info_v1()
5948 wl_rinfo->link_mode = BTC_WLINK_OTHER; in _update_wl_info_v1()
5952 wl_rinfo->link_mode = BTC_WLINK_25G_MCC; in _update_wl_info_v1()
5960 wl_rinfo->link_mode = BTC_WLINK_2G_SCC; in _update_wl_info_v1()
5962 wl_rinfo->link_mode = BTC_WLINK_2G_MCC; in _update_wl_info_v1()
5964 wl_rinfo->link_mode = BTC_WLINK_2G_MCC; in _update_wl_info_v1()
5968 wl_rinfo->link_mode = BTC_WLINK_2G_STA; in _update_wl_info_v1()
5970 wl_rinfo->link_mode = BTC_WLINK_2G_AP; in _update_wl_info_v1()
5972 wl_rinfo->link_mode = BTC_WLINK_2G_GO; in _update_wl_info_v1()
5974 wl_rinfo->link_mode = BTC_WLINK_2G_GC; in _update_wl_info_v1()
5976 wl_rinfo->link_mode = BTC_WLINK_OTHER; in _update_wl_info_v1()
5982 if (wl_rinfo->link_mode == BTC_WLINK_2G_SCC || in _update_wl_info_v1()
5983 wl_rinfo->link_mode == BTC_WLINK_2G_MCC) { in _update_wl_info_v1()
5984 wl_rinfo->link_mode = BTC_WLINK_2G_STA; in _update_wl_info_v1()
5986 } else if (wl_rinfo->link_mode == BTC_WLINK_2G_GO || in _update_wl_info_v1()
5987 wl_rinfo->link_mode == BTC_WLINK_2G_AP) { in _update_wl_info_v1()
5988 wl_rinfo->link_mode = BTC_WLINK_NOLINK; in _update_wl_info_v1()
5996 cnt_connect, cnt_connecting, wl_rinfo->link_mode); in _update_wl_info_v1()
6074 wl_rinfo->link_mode = BTC_WLINK_NOLINK; in _update_wl_info_v2()
6077 wl_rinfo->link_mode = BTC_WLINK_5G; in _update_wl_info_v2()
6079 wl_rinfo->link_mode = BTC_WLINK_2G_NAN; in _update_wl_info_v2()
6081 wl_rinfo->link_mode = BTC_WLINK_OTHER; in _update_wl_info_v2()
6086 wl_rinfo->link_mode = BTC_WLINK_2G_STA; in _update_wl_info_v2()
6089 wl_rinfo->link_mode = BTC_WLINK_2G_GO; in _update_wl_info_v2()
6092 wl_rinfo->link_mode = BTC_WLINK_2G_GC; in _update_wl_info_v2()
6095 wl_rinfo->link_mode = BTC_WLINK_2G_AP; in _update_wl_info_v2()
6098 wl_rinfo->link_mode = BTC_WLINK_OTHER; in _update_wl_info_v2()
6102 wl_rinfo->link_mode = BTC_WLINK_25G_MCC; in _update_wl_info_v2()
6110 wl_rinfo->link_mode = BTC_WLINK_2G_SCC; in _update_wl_info_v2()
6112 wl_rinfo->link_mode = BTC_WLINK_2G_MCC; in _update_wl_info_v2()
6114 wl_rinfo->link_mode = BTC_WLINK_2G_MCC; in _update_wl_info_v2()
6118 wl_rinfo->link_mode = BTC_WLINK_2G_STA; in _update_wl_info_v2()
6120 wl_rinfo->link_mode = BTC_WLINK_2G_AP; in _update_wl_info_v2()
6122 wl_rinfo->link_mode = BTC_WLINK_2G_GO; in _update_wl_info_v2()
6124 wl_rinfo->link_mode = BTC_WLINK_2G_GC; in _update_wl_info_v2()
6126 wl_rinfo->link_mode = BTC_WLINK_OTHER; in _update_wl_info_v2()
6132 if (wl_rinfo->link_mode == BTC_WLINK_2G_SCC || in _update_wl_info_v2()
6133 wl_rinfo->link_mode == BTC_WLINK_2G_MCC) { in _update_wl_info_v2()
6134 wl_rinfo->link_mode = BTC_WLINK_2G_STA; in _update_wl_info_v2()
6136 } else if (wl_rinfo->link_mode == BTC_WLINK_2G_GO || in _update_wl_info_v2()
6137 wl_rinfo->link_mode == BTC_WLINK_2G_AP) { in _update_wl_info_v2()
6138 wl_rinfo->link_mode = BTC_WLINK_NOLINK; in _update_wl_info_v2()
6146 cnt_connect, cnt_connecting, wl_rinfo->link_mode); in _update_wl_info_v2()
6250 u8 link_mode, connect_cnt; in _update_role_link_mode() local
6255 link_mode = rinfo_v7->link_mode; in _update_role_link_mode()
6259 link_mode = rinfo_v8->link_mode; in _update_role_link_mode()
6268 if (link_mode == BTC_WLINK_2G_SCC) { in _update_role_link_mode()
6270 rinfo_v7->link_mode = BTC_WLINK_2G_STA; in _update_role_link_mode()
6273 rinfo_v8->link_mode = BTC_WLINK_2G_STA; in _update_role_link_mode()
6276 } else if (link_mode == BTC_WLINK_2G_GO || in _update_role_link_mode()
6277 link_mode == BTC_WLINK_2G_AP) { in _update_role_link_mode()
6279 rinfo_v7->link_mode = BTC_WLINK_NOLINK; in _update_role_link_mode()
6282 rinfo_v8->link_mode = BTC_WLINK_NOLINK; in _update_role_link_mode()
6290 (link_mode == BTC_WLINK_2G_SCC || in _update_role_link_mode()
6291 link_mode == BTC_WLINK_2G_MCC || in _update_role_link_mode()
6292 link_mode == BTC_WLINK_25G_MCC || in _update_role_link_mode()
6293 link_mode == BTC_WLINK_5G)) { in _update_role_link_mode()
6443 wl_rinfo->link_mode = mode; in _update_wl_info_v7()
6615 wl_rinfo->link_mode = mode; in _update_wl_info_v8()
6823 mode = wl_rinfo->link_mode; in _run_coex()
6825 mode = wl_rinfo_v1->link_mode; in _run_coex()
6827 mode = wl_rinfo_v2->link_mode; in _run_coex()
6829 mode = wl_rinfo_v7->link_mode; in _run_coex()
6831 mode = wl_rinfo_v8->link_mode; in _run_coex()
7333 u8 mode = rtwdev->btc.cx.wl.role_info.link_mode; in _update_zb_coex_tbl()
7575 link_mode_ori = wl->role_info_v8.link_mode; in rtw89_btc_ntfy_role_info()
7579 if (wl->role_info_v8.link_mode != link_mode_ori) { in rtw89_btc_ntfy_role_info()
8188 mode = wl_rinfo->link_mode; in _show_wl_info()
8190 mode = wl_rinfo_v1->link_mode; in _show_wl_info()
8192 mode = wl_rinfo_v2->link_mode; in _show_wl_info()
8194 mode = wl_rinfo_v7->link_mode; in _show_wl_info()
8196 mode = wl_rinfo_v8->link_mode; in _show_wl_info()