Home
last modified time | relevance | path

Searched refs:pri_ch (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/net/wireless/realtek/rtw89/
Dphy.c582 u8 pri_ch = chan->primary_channel; in rtw89_phy_get_txsc() local
592 txsc_idx = pri_ch > central_ch ? 1 : 2; in rtw89_phy_get_txsc()
596 if (pri_ch > central_ch) in rtw89_phy_get_txsc()
597 txsc_idx = (pri_ch - central_ch) >> 1; in rtw89_phy_get_txsc()
599 txsc_idx = ((central_ch - pri_ch) >> 1) + 1; in rtw89_phy_get_txsc()
601 txsc_idx = pri_ch > central_ch ? 9 : 10; in rtw89_phy_get_txsc()
605 if (pri_ch > central_ch) in rtw89_phy_get_txsc()
606 tmp = (pri_ch - central_ch) >> 1; in rtw89_phy_get_txsc()
608 tmp = ((central_ch - pri_ch) >> 1) + 1; in rtw89_phy_get_txsc()
624 txsc_idx = pri_ch > central_ch ? 13 : 14; in rtw89_phy_get_txsc()
[all …]
Drtw8852c.c1169 rtw8852c_ctrl_bw(struct rtw89_dev *rtwdev, u8 pri_ch, u8 bw, in rtw8852c_ctrl_bw() argument
1205 pri_ch, in rtw8852c_ctrl_bw()
1222 pri_ch, in rtw8852c_ctrl_bw()
1239 pri_ch, in rtw8852c_ctrl_bw()
1252 pri_ch); in rtw8852c_ctrl_bw()
1487 u8 pri_ch = chan->primary_channel; in rtw8852c_5m_mask() local
1494 mask_5m_low = pri_ch == 2; in rtw8852c_5m_mask()
1497 mask_5m_en = ((pri_ch == 3) || (pri_ch == 4)); in rtw8852c_5m_mask()
1498 mask_5m_low = pri_ch == 4; in rtw8852c_5m_mask()
Drtw8852a.c962 rtw8852a_ctrl_bw(struct rtw89_dev *rtwdev, u8 pri_ch, u8 bw, in rtw8852a_ctrl_bw() argument
997 pri_ch, in rtw8852a_ctrl_bw()
999 if (pri_ch == RTW89_SC_20_UPPER) in rtw8852a_ctrl_bw()
1010 pri_ch, in rtw8852a_ctrl_bw()
1015 pri_ch); in rtw8852a_ctrl_bw()
Dfw.c2067 RTW89_SET_FWCMD_CHINFO_PRI_CH(cmd, ch_info->pri_ch); in rtw89_fw_h2c_scan_list_offload()
2598 ch_info->pri_ch = scan_info->op_pri_ch; in rtw89_hw_scan_add_chan()
2644 ch_info->pri_ch = channel->hw_value; in rtw89_hw_scan_add_chan_list()
Dfw.h217 u8 pri_ch; member
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.h226 u8 pri_ch; member
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c463 ch->pri_ch = chandef->chan->hw_value; in mt7915_mcu_bss_rfch_tlv()