Home
last modified time | relevance | path

Searched refs:write_msg (Results 1 – 13 of 13) sorted by relevance

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
Dwal_hipriv.c618 wal_msg_write_stru write_msg; in wal_hipriv_addba_req() local
652 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_ADDBA_REQ, sizeof(mac_cfg_addba_req_param_stru)); in wal_hipriv_addba_req()
654 if (memcpy_s(write_msg.auc_value, sizeof(mac_cfg_addba_req_param_stru), &addba_req_param_info, in wal_hipriv_addba_req()
660 …WAL_MSG_WRITE_MSG_HDR_LENGTH + sizeof(mac_cfg_addba_req_param_stru), (hi_u8 *)&write_msg, HI_FALSE… in wal_hipriv_addba_req()
674 wal_msg_write_stru write_msg; in wal_hipriv_vap_info() local
684 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_VAP_INFO, sizeof(hi_u32)); in wal_hipriv_vap_info()
686 (hi_u8 *)&write_msg, HI_FALSE, HI_NULL); in wal_hipriv_vap_info()
702 wal_msg_write_stru write_msg; in wal_hipriv_set_tx_dscr_param() local
724 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_SET_DSCR, sizeof(mac_cfg_set_dscr_param_stru)); in wal_hipriv_set_tx_dscr_param()
726 set_dscr_param = (mac_cfg_set_dscr_param_stru *)(write_msg.auc_value); in wal_hipriv_set_tx_dscr_param()
[all …]
Dhi_wifi_driver_api.c366 wal_msg_write_stru write_msg; in hi_wifi_sta_get_ap_rssi() local
399 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_RSSI, sizeof(wlan_rssi_stru)); in hi_wifi_sta_get_ap_rssi()
401 … WAL_MSG_WRITE_MSG_HDR_LENGTH + sizeof(wlan_rssi_stru), (hi_u8 *)&write_msg, HI_FALSE, HI_NULL); in hi_wifi_sta_get_ap_rssi()
506 wal_msg_write_stru write_msg; in hi_wifi_set_pm_switch() local
534 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_SET_PM_SWITCH, sizeof(hi_u32)); in hi_wifi_set_pm_switch()
535 *((hi_u32 *)(write_msg.auc_value)) = pm_cfg; in hi_wifi_set_pm_switch()
537 (hi_u8 *)&write_msg, HI_FALSE, HI_NULL); in hi_wifi_set_pm_switch()
647 wal_msg_write_stru write_msg; in hi_wifi_send_custom_pkt() local
679 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_CUSTOM_PKT, sizeof(wlan_custom_pkt_stru)); in hi_wifi_send_custom_pkt()
680 pkt = (wlan_custom_pkt_stru *)(write_msg.auc_value); in hi_wifi_send_custom_pkt()
[all …]
Dwal_maintenance.c45 wal_msg_write_stru write_msg; in wal_data_acq_start_from_hso() local
60 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_DATA_ACQ_START, sizeof(wlan_data_acq_stru)); in wal_data_acq_start_from_hso()
62 …if (memcpy_s(write_msg.auc_value, sizeof(write_msg.auc_value), data_acq, sizeof(wlan_data_acq_stru… in wal_data_acq_start_from_hso()
68 (hi_u8 *)&write_msg, HI_FALSE, HI_NULL); in wal_data_acq_start_from_hso()
83 wal_msg_write_stru write_msg; in wal_data_acq_status_to_hso() local
110 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_DATA_ACQ_STATUS, sizeof(wlan_data_acq_stru)); in wal_data_acq_status_to_hso()
112 …if (memcpy_s(write_msg.auc_value, sizeof(write_msg.auc_value), data_acq, sizeof(wlan_data_acq_stru… in wal_data_acq_status_to_hso()
118 …WAL_MSG_WRITE_MSG_HDR_LENGTH + sizeof(wlan_data_acq_stru), (hi_u8 *)&write_msg, HI_FALSE, HI_NULL); in wal_data_acq_status_to_hso()
141 wal_msg_write_stru write_msg; in wal_data_acq_result_addr_to_hso() local
168 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_DATA_ACQ_REPORT, sizeof(wlan_data_acq_stru)); in wal_data_acq_result_addr_to_hso()
[all …]
Dwal_ioctl.c494 wal_msg_write_stru write_msg; in wal_cfg_vap_h2d_event() local
508 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_CFG_VAP_H2D, sizeof(mac_cfg_vap_h2d_stru)); in wal_cfg_vap_h2d_event()
509 ((mac_cfg_vap_h2d_stru *)write_msg.auc_value)->net_dev = netdev_cfg; in wal_cfg_vap_h2d_event()
513 …WAL_MSG_WRITE_MSG_HDR_LENGTH + sizeof(mac_cfg_vap_h2d_stru), (hi_u8 *)&write_msg, HI_TRUE, &rsp_ms… in wal_cfg_vap_h2d_event()
552 wal_msg_write_stru write_msg; in wal_host_dev_config() local
574 wal_write_msg_hdr_init(&write_msg, wid, 0); in wal_host_dev_config()
577 …g_event(netdev_cfg, WAL_MSG_TYPE_WRITE, WAL_MSG_WRITE_MSG_HDR_LENGTH, (hi_u8 *)&write_msg, HI_TRUE, in wal_host_dev_config()
662 wal_msg_write_stru write_msg; in wal_ioctl_set_mode() local
699 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_MODE, sizeof(mac_cfg_mode_param_stru)); in wal_ioctl_set_mode()
701 mac_cfg_mode_param_stru *mode_param = (mac_cfg_mode_param_stru *)(write_msg.auc_value); in wal_ioctl_set_mode()
[all …]
Dwal_customize.c715 wal_msg_write_stru write_msg; in wal_customize_init_log() local
728 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_SET_ALL_LOG_LEVEL, sizeof(hi_s32)); in wal_customize_init_log()
729 *((hi_u32 *)(write_msg.auc_value)) = l_loglevel; in wal_customize_init_log()
731 (hi_u8 *)&write_msg, HI_FALSE, HI_NULL); in wal_customize_init_log()
758 wal_msg_write_stru write_msg; in wal_customize_init_clock() local
773 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_SET_PM_CFG_PARAM, sizeof(mac_cfg_pm_param)); in wal_customize_init_clock()
774 ((mac_cfg_pm_param*)(write_msg.auc_value))->rtc_clk_freq = freq; in wal_customize_init_clock()
775 ((mac_cfg_pm_param*)(write_msg.auc_value))->clk_type = type; in wal_customize_init_clock()
778 (hi_u8 *)&write_msg, HI_FALSE, HI_NULL); in wal_customize_init_clock()
807 wal_msg_write_stru write_msg; in wal_customize_init_rf() local
[all …]
Dwal_cfg80211.c363 wal_msg_write_stru write_msg; in wal_set_p2p_status() local
366 …wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_SET_P2P_STATUS, sizeof(wlan_p2p_status_enum_uint32)); in wal_set_p2p_status()
368 if (memcpy_s(write_msg.auc_value, sizeof(write_msg.auc_value), in wal_set_p2p_status()
374 …WAL_MSG_WRITE_MSG_HDR_LENGTH + sizeof(wlan_p2p_status_enum_uint32), (hi_u8 *)&write_msg, HI_FALSE,… in wal_set_p2p_status()
691 wal_msg_write_stru write_msg; in wal_cfg80211_open_wmm() local
706 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_WMM_SWITCH, sizeof(hi_u8)); in wal_cfg80211_open_wmm()
708 … if (memcpy_s(write_msg.auc_value, sizeof(write_msg.auc_value), puc_param, sizeof(hi_u8)) != EOK) { in wal_cfg80211_open_wmm()
714 (hi_u8 *)&write_msg, HI_FALSE, HI_NULL); in wal_cfg80211_open_wmm()
747 wal_msg_write_stru write_msg; in wal_parse_wmm_ie() local
763 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_UAPSD_EN, sizeof(hi_u32)); in wal_parse_wmm_ie()
[all …]
Dwal_event.c73 wal_msg_write_stru write_msg; in wal_scan_result_clean_timeout_fn() local
76 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_CLEAN_SCAN_RESULT, sizeof(hi_u32)); in wal_scan_result_clean_timeout_fn()
78 (hi_u8 *)&write_msg, HI_FALSE, HI_NULL); in wal_scan_result_clean_timeout_fn()
469 wal_msg_write_stru write_msg; in wal_set_tpc_mode() local
470 mac_ioctl_alg_param_stru *alg_param = (mac_ioctl_alg_param_stru *)(write_msg.auc_value); in wal_set_tpc_mode()
478 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_ALG_PARAM, sizeof(mac_ioctl_alg_param_stru)); in wal_set_tpc_mode()
481 …WAL_MSG_WRITE_MSG_HDR_LENGTH + sizeof(mac_ioctl_alg_param_stru), (hi_u8 *)&write_msg, HI_FALSE, HI… in wal_set_tpc_mode()
832 wal_msg_write_stru write_msg; in wal_any_global_config() local
842 wal_write_msg_hdr_init(&write_msg, wid, 0); in wal_any_global_config()
844 …_cfg_event(netdev, WAL_MSG_TYPE_WRITE, WAL_MSG_WRITE_MSG_HDR_LENGTH, (hi_u8 *)&write_msg, HI_FALSE, in wal_any_global_config()
[all …]
Dwal_mac80211.c410 wal_msg_write_stru write_msg; in WalStopAp() local
435 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_DOWN_VAP, sizeof(mac_cfg_start_vap_param_stru)); in WalStopAp()
446 ((mac_cfg_start_vap_param_stru *)write_msg.auc_value)->p2p_mode = p2p_mode; in WalStopAp()
449 ((mac_cfg_start_vap_param_stru *)write_msg.auc_value)->net_dev = netDev; in WalStopAp()
452 …WAL_MSG_WRITE_MSG_HDR_LENGTH + sizeof(mac_cfg_start_vap_param_stru), (hi_u8 *)&write_msg, HI_FALSE… in WalStopAp()
520 wal_msg_write_stru write_msg; in PreSetMac() local
534 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_STATION_ID, sizeof(mac_cfg_staion_id_param_stru)); in PreSetMac()
535 mac_param = (mac_cfg_staion_id_param_stru *)write_msg.auc_value; in PreSetMac()
542 …WAL_MSG_WRITE_MSG_HDR_LENGTH + sizeof(mac_cfg_staion_id_param_stru), (hi_u8 *)&write_msg, HI_FALSE… in PreSetMac()
663 wal_msg_write_stru write_msg; in WalSetTxPower() local
[all …]
Dwal_11d.c314 wal_msg_write_stru write_msg; in wal_regdomain_update() local
351 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_COUNTRY, sizeof(mac_cfg_country_stru)); in wal_regdomain_update()
354 mac_cfg_country_stru *param = (mac_cfg_country_stru *)(write_msg.auc_value); in wal_regdomain_update()
359 …WAL_MSG_WRITE_MSG_HDR_LENGTH + sizeof(mac_cfg_country_stru), (hi_u8 *)&write_msg, HI_FALSE, HI_NUL… in wal_regdomain_update()
Dwal_scan.c606 wal_msg_write_stru write_msg; in wal_send_scan_abort_msg() local
612 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_SCAN_ABORT, sizeof(pedding_data)); in wal_send_scan_abort_msg()
614 …if (memcpy_s(write_msg.auc_value, sizeof(pedding_data), (hi_s8 *)&pedding_data, sizeof(pedding_dat… in wal_send_scan_abort_msg()
620 (hi_u8 *)&write_msg, HI_TRUE, &rsp_msg); in wal_send_scan_abort_msg()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hdfadapt/
Dnet_adpater.c115 wal_msg_write_stru write_msg = { 0 }; in wal_get_efuse_mac_addr() local
130 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_GET_EFUSE_MAC_ADDR, sizeof(hi_s32)); in wal_get_efuse_mac_addr()
132 (hi_u8 *)(&write_msg), HI_FALSE, HI_NULL); in wal_get_efuse_mac_addr()
335 wal_msg_write_stru write_msg; in hwal_lwip_remove_user() local
370 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_KICK_USER, sizeof(mac_cfg_kick_user_param_stru)); in hwal_lwip_remove_user()
373 kick_user_param = (mac_cfg_kick_user_param_stru *)(write_msg.auc_value); in hwal_lwip_remove_user()
385 (hi_u8 *)&write_msg, in hwal_lwip_remove_user()
409 wal_msg_write_stru write_msg; in hwal_lwip_set_beacon_priority() local
433 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_SET_BEACON_PRIORITY, sizeof(hi_u8)); in hwal_lwip_set_beacon_priority()
436 *((hi_u8 *)(write_msg.auc_value)) = prio; in hwal_lwip_set_beacon_priority()
[all …]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
Dhmac_event.c601 wal_msg_write_stru *write_msg = HI_NULL; in wal_config_process_write() local
624 write_msg = (wal_msg_write_stru *)(&puc_req_msg[us_req_idx]); in wal_config_process_write()
628 us_req_idx += write_msg->us_len + WAL_MSG_WRITE_MSG_HDR_LENGTH; /* 指向下一个WID设置消息 */ in wal_config_process_write()
632 if (write_msg->wid == g_ast_board_wid_op[us_cfgid].cfgid) { in wal_config_process_write()
641 … ret = g_ast_board_wid_op[us_cfgid].set_func(mac_vap, write_msg->us_len, write_msg->auc_value); in wal_config_process_write()
643 rsp_msg->wid = write_msg->wid; in wal_config_process_write()
658 us_cfgid, write_msg->wid, ret); in wal_config_process_write()
/device/soc/winnermicro/wm800/board/include/bt/
Dwm_bt_def.h1686 tls_spp_write_msg_t write_msg; member