/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | hal_btc.c | 50 u8 h2c_parameter[3] = {0}; in rtl_8723e_bt_wifi_media_status_notify() local 57 h2c_parameter[0] = 0x1; /* 0: disconnected, 1:connected */ in rtl_8723e_bt_wifi_media_status_notify() 59 h2c_parameter[0] = 0x0; in rtl_8723e_bt_wifi_media_status_notify() 63 h2c_parameter[1] = chnl; in rtl_8723e_bt_wifi_media_status_notify() 67 h2c_parameter[2] = 0x30; in rtl_8723e_bt_wifi_media_status_notify() 69 h2c_parameter[2] = 0x20; in rtl_8723e_bt_wifi_media_status_notify() 73 h2c_parameter[0] << 16 | h2c_parameter[1] << 8 | in rtl_8723e_bt_wifi_media_status_notify() 74 h2c_parameter[2]); in rtl_8723e_bt_wifi_media_status_notify() 76 rtl8723e_fill_h2c_cmd(hw, 0x19, 3, h2c_parameter); in rtl_8723e_bt_wifi_media_status_notify() 95 u8 h2c_parameter[5]; in rtl8723e_dm_bt_set_fw_3a() local [all …]
|
H A D | hal_bt_coexist.c | 356 u8 h2c_parameter[3] = {0}; in rtl8723e_dm_bt_balance() local 359 h2c_parameter[2] = 1; in rtl8723e_dm_bt_balance() 360 h2c_parameter[1] = ms1; in rtl8723e_dm_bt_balance() 361 h2c_parameter[0] = ms0; in rtl8723e_dm_bt_balance() 364 h2c_parameter[2] = 0; in rtl8723e_dm_bt_balance() 365 h2c_parameter[1] = 0; in rtl8723e_dm_bt_balance() 366 h2c_parameter[0] = 0; in rtl8723e_dm_bt_balance() 372 balance_on ? "ON" : "OFF", ms0, ms1, h2c_parameter[0] << 16 | in rtl8723e_dm_bt_balance() 373 h2c_parameter[1] << 8 | h2c_parameter[2]); in rtl8723e_dm_bt_balance() 375 rtl8723e_fill_h2c_cmd(hw, 0xc, 3, h2c_parameter); in rtl8723e_dm_bt_balance()
|
/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H A D | halbtc8723b2ant.c | 331 u8 h2c_parameter[1] = {0}; in btc8723b2ant_query_bt_info() local 335 h2c_parameter[0] |= BIT0; /* trigger */ in btc8723b2ant_query_bt_info() 339 h2c_parameter[0]); in btc8723b2ant_query_bt_info() 341 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in btc8723b2ant_query_bt_info() 637 u8 h2c_parameter[1] = {0}; in btc8723b2ant_set_fw_dac_swing_level() local 642 h2c_parameter[0] = dac_swing_lvl; in btc8723b2ant_set_fw_dac_swing_level() 647 "[BTCoex], FW write 0x64=0x%x\n", h2c_parameter[0]); in btc8723b2ant_set_fw_dac_swing_level() 649 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in btc8723b2ant_set_fw_dac_swing_level() 656 u8 h2c_parameter[1] = {0}; in btc8723b2ant_set_fw_dec_bt_pwr() local 658 h2c_parameter[0] = dec_bt_pwr_lvl; in btc8723b2ant_set_fw_dec_bt_pwr() [all …]
|
H A D | halbtc8821a1ant.c | 394 u8 h2c_parameter[1] = {0}; in btc8821a1ant_query_bt_info() local 398 h2c_parameter[0] |= BIT0; /* trigger */ in btc8821a1ant_query_bt_info() 402 h2c_parameter[0]); in btc8821a1ant_query_bt_info() 404 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in btc8821a1ant_query_bt_info() 650 u8 h2c_parameter[6] = {0}; in btc8821a1ant_set_sw_penalty_tx_rate() local 652 h2c_parameter[0] = 0x6; /* opCode, 0x6= Retry_Penalty*/ in btc8821a1ant_set_sw_penalty_tx_rate() 655 h2c_parameter[1] |= BIT0; in btc8821a1ant_set_sw_penalty_tx_rate() 657 h2c_parameter[2] = 0x00; in btc8821a1ant_set_sw_penalty_tx_rate() 658 h2c_parameter[3] = 0xf7; /* MCS7 or OFDM54 */ in btc8821a1ant_set_sw_penalty_tx_rate() 659 h2c_parameter[4] = 0xf8; /* MCS6 or OFDM48 */ in btc8821a1ant_set_sw_penalty_tx_rate() [all …]
|
H A D | halbtc8821a2ant.c | 327 u8 h2c_parameter[1] = {0}; in btc8821a2ant_query_bt_info() local 331 h2c_parameter[0] |= BIT0; /* trigger */ in btc8821a2ant_query_bt_info() 335 h2c_parameter[0]); in btc8821a2ant_query_bt_info() 337 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in btc8821a2ant_query_bt_info() 621 u8 h2c_parameter[1] = {0}; in btc8821a2ant_set_fw_dac_swing_lvl() local 626 h2c_parameter[0] = dac_swing_lvl; in btc8821a2ant_set_fw_dac_swing_lvl() 631 "[BTCoex], FW write 0x64 = 0x%x\n", h2c_parameter[0]); in btc8821a2ant_set_fw_dac_swing_lvl() 633 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in btc8821a2ant_set_fw_dac_swing_lvl() 640 u8 h2c_parameter[1] = {0}; in btc8821a2ant_set_fw_dec_bt_pwr() local 642 h2c_parameter[0] = dec_bt_pwr_lvl; in btc8821a2ant_set_fw_dec_bt_pwr() [all …]
|
H A D | halbtc8192e2ant.c | 415 u8 h2c_parameter[1] = {0}; in btc8192e2ant_query_bt_info() local 419 h2c_parameter[0] |= BIT0; /* trigger */ in btc8192e2ant_query_bt_info() 423 h2c_parameter[0]); in btc8192e2ant_query_bt_info() 425 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in btc8192e2ant_query_bt_info() 727 u8 h2c_parameter[1] = {0}; in btc8192e2ant_set_fw_dac_swing_level() local 732 h2c_parameter[0] = dac_swing_lvl; in btc8192e2ant_set_fw_dac_swing_level() 737 "[BTCoex], FW write 0x64 = 0x%x\n", h2c_parameter[0]); in btc8192e2ant_set_fw_dac_swing_level() 739 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in btc8192e2ant_set_fw_dac_swing_level() 746 u8 h2c_parameter[1] = {0}; in btc8192e2ant_set_fw_dec_bt_pwr() local 748 h2c_parameter[0] = dec_bt_pwr_lvl; in btc8192e2ant_set_fw_dec_bt_pwr() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | dm.c | 302 u8 h2c_parameter[3] = { 0 }; in rtl8723be_dm_check_rssi_monitor() local 341 h2c_parameter[2] = in rtl8723be_dm_check_rssi_monitor() 343 h2c_parameter[1] = 0x20; in rtl8723be_dm_check_rssi_monitor() 344 h2c_parameter[0] = 0; in rtl8723be_dm_check_rssi_monitor() 345 rtl8723be_fill_h2c_cmd(hw, H2C_RSSIBE_REPORT, 3, h2c_parameter); in rtl8723be_dm_check_rssi_monitor()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | dm.c | 503 u8 h2c_parameter[4] = { 0 }; in rtl8821ae_dm_check_rssi_monitor() local 513 h2c_parameter[3] = 0x01; in rtl8821ae_dm_check_rssi_monitor() 515 h2c_parameter[3] = 0x00; in rtl8821ae_dm_check_rssi_monitor() 566 h2c_parameter[3] |= stbc_tx << 1; in rtl8821ae_dm_check_rssi_monitor() 568 h2c_parameter[2] = in rtl8821ae_dm_check_rssi_monitor() 570 h2c_parameter[1] = 0x20; in rtl8821ae_dm_check_rssi_monitor() 571 h2c_parameter[0] = 0; in rtl8821ae_dm_check_rssi_monitor() 574 h2c_parameter); in rtl8821ae_dm_check_rssi_monitor() 577 h2c_parameter); in rtl8821ae_dm_check_rssi_monitor()
|