Home
last modified time | relevance | path

Searched refs:rf_reg18 (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Drtw8822b.c438 u32 rf_reg18, rf_reg_be; in rtw8822b_set_channel_rf() local
440 rf_reg18 = rtw_read_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK); in rtw8822b_set_channel_rf()
442 rf_reg18 &= ~(RF18_BAND_MASK | RF18_CHANNEL_MASK | RF18_RFSI_MASK | in rtw8822b_set_channel_rf()
445 rf_reg18 |= (channel <= 14 ? RF18_BAND_2G : RF18_BAND_5G); in rtw8822b_set_channel_rf()
446 rf_reg18 |= (channel & RF18_CHANNEL_MASK); in rtw8822b_set_channel_rf()
448 rf_reg18 |= RF18_RFSI_GT_CH144; in rtw8822b_set_channel_rf()
450 rf_reg18 |= RF18_RFSI_GE_CH80; in rtw8822b_set_channel_rf()
457 rf_reg18 |= RF18_BW_20M; in rtw8822b_set_channel_rf()
460 rf_reg18 |= RF18_BW_40M; in rtw8822b_set_channel_rf()
463 rf_reg18 |= RF18_BW_80M; in rtw8822b_set_channel_rf()
[all …]
Drtw8822c.c1279 u32 rf_reg18 = 0; in rtw8822c_set_channel_rf() local
1282 rf_reg18 = rtw_read_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK); in rtw8822c_set_channel_rf()
1284 rf_reg18 &= ~(RF18_BAND_MASK | RF18_CHANNEL_MASK | RF18_RFSI_MASK | in rtw8822c_set_channel_rf()
1287 rf_reg18 |= (channel <= 14 ? RF18_BAND_2G : RF18_BAND_5G); in rtw8822c_set_channel_rf()
1288 rf_reg18 |= (channel & RF18_CHANNEL_MASK); in rtw8822c_set_channel_rf()
1290 rf_reg18 |= RF18_RFSI_GT_CH140; in rtw8822c_set_channel_rf()
1292 rf_reg18 |= RF18_RFSI_GE_CH80; in rtw8822c_set_channel_rf()
1299 rf_reg18 |= RF18_BW_20M; in rtw8822c_set_channel_rf()
1304 rf_reg18 |= RF18_BW_40M; in rtw8822c_set_channel_rf()
1308 rf_reg18 |= RF18_BW_80M; in rtw8822c_set_channel_rf()
[all …]